/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #222;
}

/* HERO */
.hero {
    height: 100vh;
    position: relative;
    color: white;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: background-image 1s ease-in-out;
}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 20px;
    z-index: 100;

    background-image: url("assets/header/header-tartan-1200x100.jpg"); /* your path */
    background-size: cover;
    background-position: center;
}

.nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6); /* readability */
}

.nav > * {
    position: relative;
    z-index: 1;
}

.logo {
    font-weight: bold;
    font-size: 1.2rem;
}

/* HAMBURGER */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 3px;
}


/* MENU CONTAINER */
.nav-menu {
    position: absolute;
    top: 70px;
    right: 20px;

    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(6px);

    display: none;
    flex-direction: column;

    min-width: 240px;
    border-radius: 14px;
    overflow: hidden;

    box-shadow: 
        0 10px 30px rgba(0,0,0,0.35),
        0 0 0 1px rgba(255,255,255,0.08);
}

/* OPEN STATE */
.nav-menu.open {
    display: flex;
}

/* LINKS */
.nav-menu a {
    padding: 16px 20px;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;

    display: flex;
    align-items: center;

    transition: background 0.2s ease, padding-left 0.2s ease;
}

/* DIVIDER */
.nav-menu a:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* HOVER */
.nav-menu a:hover {
    background: rgba(255,255,255,0.08);
    padding-left: 26px;
}


/* SECTIONS */
section {
    padding: 60px 20px;
}

.intro {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #222;
    color: white;
}

/* PAGE HEADER */
.page-header {
    padding: 140px 20px 80px;
    text-align: center;

    background:
        linear-gradient(
            rgba(0,0,0,0.55),
            rgba(0,0,0,0.55)
        ),
        url("assets/hero_images/IMG_2389-2048x1536.jpeg");

    background-size: cover;
    background-position: center;
    color: white;
}

.page-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}


/* VIDEO GRID */
.video-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
}

.video-card h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Responsive iframe */
.video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
}

/* MAP */
.map {
    width: 100%;
    height: 400px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* TERMS PAGE */
.terms {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.terms section {
    margin-bottom: 30px;
}

.terms h2 {
    margin-bottom: 10px;
}

.terms p {
    line-height: 1.7;
    color: #333;
}


/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #222;
    color: white;
}

/* PAGE HEADER */
.page-header {
    padding: 120px 20px 70px;
    text-align: center;

    background: #f7f7f7;
    border-bottom: 1px solid #e2e2e2;
}

.page-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 10px;
    color: #111;
}

.page-header p {
    font-size: 1.05rem;
    color: #555;
    max-width: 720px;
    margin: 0 auto;
}


/* VIDEO GRID */
.video-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
}

.video-card h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Responsive iframe */
.video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
}


/* MAP */
.map {
    height: 500px;

    border-radius: 16px;
    overflow: hidden;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.05);

    /* widen beyond content */
    width: 100%;
}

@media (min-width: 900px) {
    .map {
        width: calc(100% + 200px);
        margin-left: -100px;
    }
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}




/* GENERIC CONTENT LAYOUT */
.fancy-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.content-single {
    max-width: 850px;
    margin: 0 auto;
    padding: 50px 20px;

    display: flex;
    flex-direction: column;
    gap: 30px; /* controls vertical spacing */
}



/* GENERIC CARD */
.content-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.08),
        0 3px 8px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.12),
        0 6px 14px rgba(0, 0, 0, 0.06);
}

.content-card h2 {
    margin-bottom: 14px;
    font-size: 1.3rem;
    line-height: 1.3;
}

.content-card p {
    line-height: 1.7;
    color: #444;
}

/* LINKS INSIDE CONTENT CARDS */
.content-card a {
    display: inline-block;
    margin-top: 14px;

    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;

    border-bottom: 2px solid rgba(0,0,0,0.15);
    padding-bottom: 2px;

    transition:
        border-color 0.2s ease,
        color 0.2s ease;
}

.content-card a:hover {
    color: #000;
    border-color: #000;
}

.content-card-images {
    display: flex;
    gap: 10px;               /* spacing between images */
    margin-top: 20px;
    margin-bottom: 10px;
}

.content-card-images img {
    flex: 1;                  /* images evenly split */
    border-radius: 12px;      /* rounded corners */
    box-shadow: 0 6px 18px rgba(0,0,0,0.08); /* subtle shadow */
    object-fit: cover;
    height: 150px;            /* fixed height, scales width automatically */
    transition: transform 0.2s ease;
}

.content-card-images img:hover {
    transform: scale(1.03);  /* subtle zoom on hover */
}

/* Stack images on mobile */
@media (max-width: 768px) {
    .content-card-images {
        flex-direction: column; /* stack vertically */
    }

    .content-card-images img {
        height: 200px;       /* optional: taller for vertical layout */
    }
}


/* Table wrapper inside content card */
.table-wrapper {
    overflow-x: auto; /* allow horizontal scroll on mobile */
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Base table style */
.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    text-align: center;
}

/* Table header */
.table-wrapper th {
    background-color: #f8f8f8;
    font-weight: 600;
    padding: 12px;
}

/* Table cells */
.table-wrapper td {
    padding: 10px;
    color: #333;
}

/* Zebra stripes */
.table-wrapper tbody tr:nth-child(even) {
    background-color: #f4f4f4;
}

/* Optional hover */
.table-wrapper tbody tr:hover {
    background-color: #eaeaea;
}

.btn-view {
    display: inline-block;
    margin-left: 12px;
    padding: 6px 14px;
    font-size: 0.85rem;
    background: #f68b1e; /* bright orange for contrast */
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-view:hover {
    background: #555;
}
