/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    /* Colors - Clean, Classic, Premium */
    --primary: #000000;
    /* Solid black, authoritative */
    --primary-light: #1A1A1A;
    --accent: #B8860B;
    /* Classic gold, numismatic feel */
    --accent-hover: #996B00;

    --bg-page: #FDFBF7;
    /* Warm off-white, paper/museum like */
    --bg-light: #F4F1EA;
    --bg-white: #FFFFFF;

    --text-main: #333333;
    --text-muted: #666666;

    --border-light: #E0DBCE;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Layout */
    --max-width: 1200px;
    --transition: 0.3s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 1rem;
    max-width: 600px;
    margin-inline: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.4s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.8rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    opacity: 0.9;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section - matches CPT COIN SHOW promotional graphic 1:1
   ========================================================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--primary);
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.58));
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 5.5rem; /* clears fixed navbar (~65px) with breathing room */
}

/* flex column: top-group at top, event-details grows to fill middle */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    color: white;
    padding-top: 3.5rem;
    padding-bottom: 1rem;
}

/* Groups title banner + features line together at the top */
.hero-top-group {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Main title banner - white left half / gold right half inside a white border */
.hero-title-banner {
    display: inline-flex;
    border: 3px solid rgba(255, 255, 255, 0.88);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.hero-title-left {
    background-color: rgba(255, 255, 255, 0.93);
    color: #111111;
    padding: 0.45rem 1.6rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(1.8rem, 6.5vw, 6.5rem);
    white-space: nowrap;
    letter-spacing: 3px;
    line-height: 1.1;
}

.hero-title-right {
    background-color: #B8965A;
    color: #ffffff;
    padding: 0.45rem 1.6rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(1.8rem, 6.5vw, 6.5rem);
    white-space: nowrap;
    letter-spacing: 3px;
    line-height: 1.1;
}

/* Features line */
.hero-features {
    color: white;
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-bottom: 0;
}

/* Event details - grows to fill the space between top-group and enquiries, centers content */
.hero-event-details {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
}

.hero-date {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: white;
    margin-bottom: 0;
    line-height: 1.2;
}

.hero-venue {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(2.1rem, 4.5vw, 3.6rem);
    color: white;
    margin-bottom: 0;
    line-height: 1.2;
}

.hero-doors {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1.3rem, 2.5vw, 2.1rem);
    color: white;
    line-height: 1.2;
}

/* Enquiries + SAAND row - direct child of hero-inner, guaranteed full width */
.hero-enquiries-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 5% 2.5rem;
    color: white;
}

.hero-enquiries {
    text-align: left;
    flex: 1;
}

.hero-enquiries p {
    color: white;
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.hero-enquiries a {
    color: white;
    transition: var(--transition);
}

.hero-enquiries a:hover {
    color: var(--accent);
}

.hero-enquiries a[href^="tel:"] {
    text-decoration: none;
}

/* SAAND sponsor block */
.hero-saand-sponsor {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.hero-saand-sponsor a {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.hero-saand-sponsor a:hover {
    opacity: 0.85;
}

.hero-saand-label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 0.3rem;
}

.hero-saand-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.hero-saand-logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    flex-shrink: 0;
}

.hero-saand-byline {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.35;
    text-align: left;
}

/* Centered ticket button inside enquiries row */
.hero-ticket-cta {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-ticket-btn {
    font-size: 1.1rem;
    padding: 0.85rem 2.4rem;
}

/* Footer bar - dark with gold top border */
.hero-footer {
    background-color: #111111;
    padding: 2.8rem 0;
    border-top: 3px solid var(--accent);
}

.hero-footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-footer-label {
    color: white;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-footer-sponsor {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.hero-footer-sponsor:hover {
    opacity: 0.85;
}

.hero-mint-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.hero-mint-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
    line-height: 1.3;
    text-align: left;
    text-transform: uppercase;
}

.hero-mint-gold {
    color: var(--accent);
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    font-size: 1.2em;
    letter-spacing: 0;
}

/* ==========================================================================
   Event Banner
   ========================================================================== */
.event-banner {
    background-color: var(--bg-white);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    margin-top: -50px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    max-width: var(--max-width);
    margin-inline: auto;
    width: 90%;
}

.event-banner-container {
    display: flex;
    justify-content: space-between;
    padding: 2.5rem 0;
}

.event-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
}

.event-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 1px;
    background-color: var(--border-light);
}

.event-icon {
    font-size: 2.5rem;
    color: var(--accent);
}

.event-info h3 {
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
    font-family: var(--font-body);
    color: var(--text-main);
}

.event-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    border: 4px solid white;
}

.about-content .section-title {
    margin-bottom: 2rem;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.section-text {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.about-features {
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.about-features i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    display: block;
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: inherit;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--accent);
}

.gallery-caption {
    padding: 1.5rem;
}

.gallery-caption h4 {
    font-family: var(--font-body);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.gallery-caption p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Location Section
   ========================================================================== */
.location-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.map-container {
    height: 100%;
    min-height: 400px;
}

/* iframe carries a fixed height attr - make it fill the column so the map
   stays flush with the (taller) info panel next to it */
.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.location-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.address-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.address-card i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: -2px;
}

.address-card h4 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    margin-bottom: 0.3rem;
}

.address-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.cta-box {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
    border: 1px dashed var(--border-light);
}

.cta-box h4 {
    color: var(--primary);
    font-family: var(--font-body);
    margin-bottom: 0.5rem;
}

.cta-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--primary);
    color: white;
    padding-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    opacity: 0.8;
    margin: 1.5rem 0;
    max-width: 300px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--accent);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
}

.social-links a:hover {
    background-color: var(--accent);
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .event-banner-container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }

    .event-item:not(:last-child)::after {
        display: none;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .location-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title-left,
    .hero-title-right {
        padding: 0.35rem 0.9rem;
    }

    .hero-enquiries-row {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }

    .hero-enquiries {
        text-align: center;
    }

    .hero-saand-sponsor {
        text-align: center;
    }

    .hero-saand-sponsor a {
        align-items: center;
    }

    .hero-footer-inner {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }

    .hero-mint-text {
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .navbar.mobile-open {
        background-color: var(--primary);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        padding: 2rem 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-cta.active {
        display: block;
        position: absolute;
        top: calc(100% + 180px);
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
    }
}