/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Gentium Basic';
    src: url('GenBasR.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('SourceSansPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-dark: #2F312E;
    --color-light: #F5FFF9;
    --color-white: #ffffff;
    --color-accent: #c0392b;
    --color-highlight: #f1c40f;
    --color-grey: #f9f9f9;
    --font-heading: 'Gentium Basic', Georgia, serif;
    --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --nav-height: 70px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== NAVBAR (hidden initially, slides in on scroll) ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--color-dark);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-100%);
    transition: transform 0.35s ease;
}

.navbar.visible {
    transform: translateY(0);
}

.nav-inner {
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5rem;
}

.nav-logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.75;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== HERO ===== */
.hero {
    background: url('hero.jpg') no-repeat center center/cover;
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47, 49, 46, 0.55) 0%, rgba(47, 49, 46, 0.05) 70%);
}

/* Large logo on the hero - top left */
.hero-logo {
    position: absolute;
    top: 1.5rem;
    left: 3rem;
    z-index: 2;
}

.hero-logo img {
    height: 220px;
    width: auto;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.4));
}

/* Nav links on the hero - top right, aligned with where navbar links will be */
.hero-nav {
    position: absolute;
    top: 1.5rem;
    right: 5rem;
    z-index: 2;
    display: flex;
    gap: 2.5rem;
    height: var(--nav-height);
    align-items: center;
}

.hero-nav a {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    transition: opacity 0.2s ease;
}

.hero-nav a:hover {
    opacity: 0.75;
}

/* Hero text content */
.hero-overlay {
    position: relative;
    z-index: 1;
    padding: 0 6%;
    color: var(--color-white);
}

.hero-overlay h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.9;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.starter-pack {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 220px;
    z-index: 2;
    filter: drop-shadow(4px 4px 12px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.starter-pack:hover {
    transform: scale(1.03);
}

/* ===== MOBILE PROMO BANNER ===== */
.mobile-banner {
    display: none;
    background: var(--color-accent);
    color: var(--color-white);
    text-align: center;
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
}

.mobile-banner-subtext {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.highlight-word {
    color: var(--color-highlight);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 0.5rem;
}

.section-header p {
    opacity: 0.8;
    font-size: 1.05rem;
}

/* ===== CAROUSEL ===== */
.carousel-section {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 4rem 1rem;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    flex: 0 0 50%;
    min-width: 50%;
    box-sizing: border-box;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.slide img {
    width: 200px;
    height: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.slide img:hover {
    transform: scale(1.05);
}

.caption {
    max-width: 400px;
    text-align: left;
}

.caption h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.caption p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--color-white);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.carousel-btn:hover {
    opacity: 1;
}

.carousel-btn.left {
    left: 10px;
}

.carousel-btn.right {
    right: 10px;
}

/* ===== INTRO SECTION ===== */
.intro-section {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 4rem 2rem;
}

.intro-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.intro-inner h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 1.25rem;
}

.intro-inner p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* ===== MAP SECTION (DESKTOP) ===== */
.fw-map-section {
    background: var(--color-light);
    color: var(--color-dark);
    position: relative;
    width: 100%;
}

.fw-map-background {
    position: relative;
    width: 100%;
}

.static-map {
    width: 100%;
    display: block;
}

.fw-locator-box {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(4px);
    padding: 2.5rem 3rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.fw-locator-box h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.fw-locator-box p,
.fw-locator-box span {
    font-size: 1rem;
    line-height: 1.5;
}

.location-details {
    margin-top: 1.5rem;
}

.location-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.location-details p {
    margin-bottom: 0.75rem;
}

.map-hotspot {
    position: absolute;
    display: block;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.map-hotspot:hover {
    transform: scale(1.15);
}

/* Hotspot positions */
.centre1 { top: 16.5%; left: 50.5%; width: 4.3%; height: 7%; }
.centre2 { top: 27.5%; left: 51.1%; width: 2.7%; height: 8.5%; border-radius: 50%; }
.centre3 { top: 42%; left: 72.5%; width: 4.3%; height: 7%; }
.centre4 { top: 41.8%; left: 81.45%; width: 2.7%; height: 8.5%; border-radius: 50%; }
.centre5 { top: 53.8%; left: 80.7%; width: 4.3%; height: 5.1%; }
.centre6 { top: 67.4%; left: 80.65%; width: 4.2%; height: 4.5%; }
.centre7 { top: 77%; left: 74.8%; width: 2.9%; height: 8.5%; border-radius: 50%; }

/* ===== MOBILE MAP ===== */
.map-info-mob-container {
    background: var(--color-light);
    color: var(--color-dark);
    padding: 3rem 2rem 1.5rem;
    text-align: center;
}

.map-info-mob-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.map-info-mob-container p {
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

.mobile-map-container {
    position: relative;
    width: 100%;
}

.mobile-map {
    width: 100%;
    display: block;
}

.map-hotspot-mobile {
    position: absolute;
    background: none;
    border: none;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
}

.spot1 { top: 15%; left: 15%; width: 12%; height: 18%; }
.spot2 { top: 20%; left: 65%; width: 12%; height: 18%; }
.spot3 { top: 50%; left: 64%; width: 20%; height: 18%; }
.spot4 { top: 74%; left: 53%; width: 12%; height: 18%; }

/* ===== MOBILE MODALS ===== */
.mobile-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 1rem;
}

.mobile-modal-content {
    background: var(--color-light);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--color-dark);
    transition: opacity 0.2s;
}

.close-modal:hover {
    opacity: 0.6;
}

.modal-region {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.modal-centre {
    margin-bottom: 1.5rem;
}

.modal-centre h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.modal-centre p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* ===== LINK BUTTON ===== */
.link-button {
    display: inline-block;
    padding: 10px 24px;
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 4rem 2rem;
    background: var(--color-grey);
}

.faq-section h2 {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 2.5rem;
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-family: var(--font-heading);
    padding: 1.25rem 0.5rem;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--color-dark);
    background: none;
    border: none;
    gap: 1rem;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #555;
}

.faq-text {
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-toggle {
    transform: rotate(135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    line-height: 1.7;
    color: #555;
    font-size: 1rem;
    padding: 0 0.5rem;
}

.faq-answer::after {
    content: '';
    display: block;
    height: 1.5rem;
}

/* ===== FOOTER ===== */
.footer-container {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 4rem 2rem;
    text-align: center;
}

.footer-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-block {
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    max-height: 65px;
    margin-bottom: 1.25rem;
    object-fit: contain;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-text {
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.footer-button {
    display: inline-block;
    padding: 10px 24px;
    background: var(--color-white);
    color: var(--color-dark);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-copyright {
    background: var(--color-white);
    color: #555;
    font-size: 0.85rem;
    text-align: center;
    padding: 1rem 0;
}

/* ===== RESPONSIVE - TABLET ===== */
@media screen and (max-width: 1024px) {
    .fw-locator-box {
        max-width: 380px;
        padding: 2rem;
    }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media screen and (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    /* Nav */
    .nav-inner {
        padding: 0 1.2rem;
    }

    .nav-links {
        display: flex;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-dark);
        flex-direction: column;
        padding: 0 2rem;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .nav-links.active {
        max-height: 300px;
    }

    .nav-links li {
        padding: 0.6rem 0;
    }

    .nav-links li:first-child {
        padding-top: 1.5rem;
    }

    .nav-links li:last-child {
        padding-bottom: 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-logo img {
        height: 45px;
    }

    /* Hero */
    .hero {
        height: 70vh;
        min-height: 450px;
        background-position: 60% center;
    }

    .hero-logo {
        top: 1.2rem;
        left: auto;
        right: 0.8rem;
    }

    .hero-logo img {
        height: 120px;
    }

    .hero-nav {
        display: none;
    }

    .hero-overlay {
        padding: 0 6%;
        position: absolute;
        bottom: 6%;
    }

    .starter-pack {
        display: none;
    }

    .mobile-banner {
        display: block;
    }

    /* Carousel */
    .carousel-section {
        padding: 3rem 1rem;
    }

    .slide {
        flex: 0 0 100%;
        min-width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .slide img {
        width: 180px;
    }

    .caption {
        max-width: 300px;
        text-align: center;
    }

    .carousel-btn {
        font-size: 1.8rem;
    }

    /* Intro */
    .intro-section {
        padding: 3rem 1.5rem;
    }

    /* Map */
    .fw-map-section {
        display: none;
    }

    /* FAQ */
    .faq-section {
        padding: 3rem 1.5rem;
    }

    /* Footer */
    .footer-content {
        gap: 2rem;
    }

    .footer-container {
        padding: 3rem 1.5rem;
    }
}

/* Hide mobile map on desktop */
@media (min-width: 769px) {
    .mobile-map-container {
        display: none;
    }

    .map-info-mob-container {
        display: none;
    }
}

/* ===== SCROLLBAR STYLING ===== */
.mobile-modal-content::-webkit-scrollbar {
    width: 6px;
}

.mobile-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}
