/*
EPIC Quest Adventures Theme CSS

TABLE OF CONTENTS
1. Theme Variables
2. Global Reset
3. Typography
4. Header / Navigation
5. Buttons
6. Hero Section
7. Layout Utilities
8. General Sections
9. Featured Adventure Room
10. Cards
11. Events Section
12. FAQ Section
13. Booking CTA Section
14. Contact Section
15. Footer
16. Animations
17. Responsive Styles
*/

/* =========================================================
   1. Theme Variables
========================================================= */

:root {
    --black: #050403;
    --obsidian: #090806;
    --soft-black: #11100c;
    --gold: #d7a33f;
    --bright-gold: #ffd16a;
    --emerald: #1f4d35;
    --text: #fff6e6;
    --muted: #b8aa91;
    --border: rgba(255, 255, 255, 0.14);
    --card: rgba(255, 255, 255, 0.065);
}

/* =========================================================
   2. Global Reset
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* =========================================================
   3. Typography
========================================================= */

h1,
h2,
h3,
p {
    margin-top: 0;
}

.hero h1,
h2 {
    margin: 16px 0 22px;
    line-height: 0.92;
    letter-spacing: -0.055em;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
}

h2 {
    font-size: clamp(2.55rem, 6vw, 5.2rem);
}

p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.eyebrow {
    color: var(--bright-gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 950;
}

/* =========================================================
   4. Header / Navigation
========================================================= */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(5, 4, 3, 0.72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-wrap {
    max-width: 1220px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    height: 50px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    gap: 26px;
    align-items: center;
}

.main-nav a {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--bright-gold);
}

/* =========================================================
   5. Buttons
========================================================= */

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 900;
    transition: 0.22s ease;
}

.nav-cta,
.btn.primary {
    background: linear-gradient(135deg, var(--gold), var(--bright-gold));
    color: #1a1002;
    box-shadow: 0 0 28px rgba(215, 163, 63, 0.28);
}

.btn.secondary {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.055);
    color: var(--text);
}

.btn.large {
    padding: 17px 32px;
    font-size: 1.05rem;
}

.nav-cta:hover,
.btn:hover {
    transform: translateY(-2px);
}

/* =========================================================
   6. Hero Section
========================================================= */

.hero {
    position: relative;
    min-height: 78vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 125px 24px 75px;
    background:
        radial-gradient(circle at 65% 25%, rgba(255, 209, 106, 0.20), transparent 25%),
        radial-gradient(circle at 20% 80%, rgba(31, 77, 53, 0.32), transparent 30%),
        linear-gradient(135deg, #020201, #11100b 55%, #030302);
}

.hero-scene {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.65),
            rgba(0,0,0,.35),
            rgba(0,0,0,.65)
        ),
        url("../images/hero-temple.jpg");

    background-size: cover;
    background-position: center;

    opacity: .75;
    filter: saturate(1.05);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.hero-icon {
    width: 140px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 35px rgba(255, 209, 106, 0.24));
    animation: floatIcon 5s ease-in-out infinite;
}

.hero-text {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.25rem;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.fog {
    position: absolute;
    width: 70vw;
    height: 45vh;
    background: radial-gradient(circle, rgba(255,255,255,.11), transparent 70%);
    filter: blur(50px);
    opacity: .42;
    animation: drift 14s ease-in-out infinite alternate;
}

.fog-one {
    top: 20%;
    left: -20%;
}

.fog-two {
    bottom: 5%;
    right: -25%;
    animation-duration: 18s;
}

.hero-glow {
    position: absolute;
    inset: auto 0 -20% 0;
    height: 40vh;
    background: radial-gradient(circle, rgba(215,163,63,.18), transparent 70%);
}

.hero-brand {
    color: var(--bright-gold);
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
}

.hero-location {
    margin-top: 24px;
    color: rgba(255, 246, 230, 0.82);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

/* =========================================================
   7. Layout Utilities
========================================================= */

.container {
    max-width: 1220px;
    margin: 0 auto;
}

.center {
    text-align: center;
}

.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 58px;
    align-items: center;
}

.reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

/* =========================================================
   8. General Sections
========================================================= */

.section {
    padding: 110px 24px;
    background: var(--obsidian);
}

.section.dark {
    background:
        radial-gradient(circle at top left, rgba(31, 77, 53, 0.28), transparent 35%),
        var(--soft-black);
}

/* =========================================================
   9. Featured Adventure Room
========================================================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 32px 0;
}

.stats-grid div {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--card);
}

.stats-grid strong {
    display: block;
    color: var(--bright-gold);
    font-size: 1.5rem;
}

.stats-grid span {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.artifact-card {
    min-height: 500px;
    display: flex;
    align-items: end;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 34px;
    background:
        linear-gradient(180deg, transparent, rgba(0,0,0,.9)),
        radial-gradient(circle at 50% 25%, rgba(255,209,106,.34), transparent 28%),
        linear-gradient(135deg, #20160a, #060504);
    box-shadow: 0 30px 90px rgba(0,0,0,.38);
}

.artifact-card-inner h3 {
    font-size: 2.7rem;
    line-height: 1;
    margin: 0 0 14px;
}

.artifact-card-inner p {
    color: var(--bright-gold);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 900;
}

.artifact-card-inner span {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* =========================================================
   10. Cards
========================================================= */

.cards.three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 44px;
    text-align: left;
}

.card {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
    box-shadow: 0 30px 90px rgba(0,0,0,.38);
}

.step {
    color: var(--bright-gold);
    font-weight: 950;
    letter-spacing: .12em;
}

.card h3 {
    font-size: 1.7rem;
}

/* =========================================================
   11. Events Section
========================================================= */

.event-panel {
    padding: 34px;
    display: grid;
    gap: 18px;
    border: 1px solid var(--border);
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
    box-shadow: 0 30px 90px rgba(0,0,0,.38);
}

.event-panel h3 {
    margin: 0;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255,255,255,.055);
    color: var(--bright-gold);
}

/* =========================================================
   12. FAQ Section
========================================================= */

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 38px;
}

.faq-grid div {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: var(--card);
}

.faq-grid h3 {
    color: var(--bright-gold);
    font-size: 1.4rem;
}

/* =========================================================
   13. Booking CTA Section
========================================================= */

.book-section {
    background:
        radial-gradient(circle at center top, rgba(255,209,106,.20), transparent 28%),
        linear-gradient(135deg, #050403, #15110a);
}

.book-section p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.book-icon {
    width: 120px;
    filter: drop-shadow(0 0 34px rgba(255,209,106,.22));
}

/* =========================================================
   14. Contact Section
========================================================= */

.contact-section {
    background:
        radial-gradient(circle at center, rgba(31,77,53,.24), transparent 35%),
        var(--obsidian);
}

/* =========================================================
   15. Footer
========================================================= */

.site-footer {
    padding: 48px 24px;
    background: #030302;
    border-top: 1px solid var(--border);
}

.footer-grid {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
}

/* =========================================================
   16. Animations
========================================================= */

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes drift {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(120px);
    }
}

/* =========================================================
   17. Responsive Styles
========================================================= */

@media (max-width: 950px) {
    .main-nav {
        display: none;
    }

    .split,
    .reverse,
    .stats-grid,
    .cards.three,
	.mission-grid,
	.future-grid,
    .faq-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .brand img {
        height: 46px;
    }

    .nav-cta {
        padding: 11px 16px;
        font-size: .85rem;
    }

    .hero {
        min-height: 82vh;
        padding-top: 120px;
    }

    .hero-icon {
        width: 115px;
    }
}

/* =========================================================
   18. Future Adventures
========================================================= */

.future-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.future-card {
    padding: 40px;
    border-radius: 32px;
    border: 1px solid var(--border);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.03)
        );

    box-shadow: 0 25px 80px rgba(0,0,0,.35);
}

.future-card span {
    color: var(--bright-gold);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .75rem;
    font-weight: 900;
}

.future-card h3 {
    font-size: 2rem;
    margin-top: 18px;
}

.future-card.active {
    border-color: rgba(255,209,106,.45);
}

/* =========================================================
   19. Mission Section
========================================================= */

.mission-intro {
    max-width: 850px;
    margin: 0 auto 60px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mission-card {
    padding: 40px;
    border-radius: 32px;
    border: 1px solid var(--border);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.03)
        );

    box-shadow: 0 25px 80px rgba(0,0,0,.35);
}

.mission-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 20px;
}

.mission-card h3 {
    color: var(--bright-gold);
    font-size: 2rem;
}

/* =========================================================
   20. Adventure Video
========================================================= */

.featured-adventure-wrap {
    max-width: 980px;
    text-align: center;
}

.featured-copy {
    max-width: 820px;
    margin: 0 auto;
}

.adventure-video {
    max-width: 760px;
    margin: 56px auto 0;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 209, 106, 0.28);
    box-shadow: 0 28px 80px rgba(0,0,0,.45);
    background: #000;
}

.adventure-video video {
    width: 100%;
    display: block;
}

/* =========================================================
   Adventures Page
========================================================= */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 170px 24px 100px;
}

.adventure-page-clean {
    background:
        radial-gradient(circle at center top, rgba(255,209,106,.18), transparent 24%),
        radial-gradient(circle at left bottom, rgba(31,77,53,.22), transparent 28%),
        linear-gradient(135deg, #020201, #11100b 55%, #030302);
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-hero h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: .92;
    letter-spacing: -0.055em;
    margin: 16px 0 22px;
}

.page-hero p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
}

.adventure-detail {
    max-width: 980px;
}

.adventure-detail-video {
    max-width: 720px;
    margin: 0 auto 56px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 209, 106, 0.25);
    background: #000;
    box-shadow: 0 28px 80px rgba(0,0,0,.45);
}

.adventure-detail-video video {
    width: 100%;
    display: block;
}

.adventure-detail-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.adventure-detail-content h2 {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.stats-grid.compact {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 950px) {
    .stats-grid.compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .adventure-detail-video {
        max-width: 100%;
    }
}

/* =========================================================
   Scroll Reveal Animations
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.card.reveal,
.mission-card.reveal,
.future-card.reveal,
.faq-grid > div.reveal,
.event-panel h3.reveal {
    transition:
        opacity 0.65s ease,
        transform 0.65s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.card:nth-child(2).reveal,
.mission-card:nth-child(2).reveal,
.future-card:nth-child(2).reveal {
    transition-delay: 0.08s;
}

.card:nth-child(3).reveal,
.mission-card:nth-child(3).reveal,
.future-card:nth-child(3).reveal {
    transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================================
   Footer
========================================================= */

.site-footer {
    background:
        radial-gradient(circle at top left, rgba(255,209,106,.10), transparent 28%),
        #030302;
    border-top: 1px solid var(--border);
}

.footer-accent {
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,209,106,.75),
        transparent
    );
}

.footer-inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 70px 24px 48px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr;
    gap: 36px;
}

.footer-brand img {
    max-width: 210px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 1rem;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.footer-socials a {
    padding: 9px 13px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: .85rem;
    font-weight: 800;
}

.footer-socials a:hover {
    color: var(--bright-gold);
    border-color: rgba(255,209,106,.45);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h4 {
    color: var(--bright-gold);
    margin: 0 0 8px;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .13em;
}

.footer-column a,
.footer-column p {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.6;
}

.footer-column a:hover {
    color: var(--bright-gold);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: .85rem;
    color: rgba(184,170,145,.75);
}

@media (max-width: 950px) {
    .footer-inner {
        grid-template-columns: 1fr;
        padding-top: 50px;
    }

    .footer-brand img {
        max-width: 180px;
    }
}

/* =========================================================
   Mobile Overflow Fixes
========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 950px) {
    .mission-grid,
    .future-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .mission-card,
    .future-card {
        width: 100%;
        max-width: 100%;
    }

    .section,
    .hero,
    .page-hero {
        overflow-x: hidden;
    }
}