* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===============================
   FONT IMPORTS & ROOT VARIABLES
   =============================== */
@font-face {
  font-family: 'Supertalls';
  src: url('/fonts/Supertalls.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Belong Faith';
  src: url('/fonts/BelongFaith-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Termina Test';
  src: url('/fonts/TerminaTest-Demi.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: 'Supertalls', sans-serif;
  --font-script: 'Belong Faith', cursive;
  --bg: #0b0b0b;
  --panel: #0f0f10;
  --muted: #bdbdbd;
  --accent: #e6cfa3;
  --max-width: 1200px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --font-editorial: "Editorial", var(--font-sans);
  --font-termina: 'Termina Test', sans-serif;
}


body {
    overflow-x: hidden;
}

.wbgimage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.1;
}
/* Header Section */
.header-section {
    background: var(--accent);
    padding: 4rem 2rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 0 L100 100 M100 0 L0 100" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></svg>') repeat;
    opacity: 0.5;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

/* Animated Logo Circle */
.logo-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    position: relative;
}

.rotating-circle {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.logo-inner {
    position: absolute;
    inset: 10px;
    background: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    color: #1a4d2e;
}

.logo-inner img {
    width: 150px;
    height: 80px;
}

.header-title {
    font-size: clamp(3rem, 8vw, 5rem);
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    font-family: var(--font-display);
}

.header-subtitle {
    font-size: 1.2rem;
    color: white;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-family: var(--font-termina);
}

/* Section Headers */
.section-header {
    background: var(--accent);
    color: black;
    padding: 1.5rem 2rem;
    margin: 4rem 0 2rem;
    text-align: center;
    font-family: var(--font-display);
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.section-subheader {
    font-size: 1rem;
    color: white;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    font-family: var(--font-termina);
}

/* Carousel Section */
.carousel-section {
    max-width: 1600px;
    margin: 3rem auto;
    padding: 0 2rem;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 0;
}

.carousel-item {
    min-width: 25%;
    aspect-ratio: 4/5;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 2px solid #1a4d2e;
}

.carousel-item:last-child {
    border-right: none;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-item:hover {
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 77, 46, 0.9);
    color: #f5f1e8;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    border: 2px solid #d4af37;
}

.carousel-nav:hover {
    background: #d4af37;
    color: #1a4d2e;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev { left: 1rem; }
.carousel-nav.next { right: 1rem; }

/* Grid Section */
.grid-section {
    max-width: 1600px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
}

.grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid #1a4d2e;
    transition: all 0.4s ease;
    background: #fff;
    grid-column: span 4;
}

.grid-item.large {
    grid-column: span 6;
}

.grid-item.wide {
    grid-column: span 8;
}

.grid-item.tall::before {
    padding-top: 150%;
}

.grid-item::before {
    content: "";
    display: block;
    padding-top: 125%;
}

.grid-item > img {
    position: absolute;
    inset: 0;
}

.grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(26, 77, 46, 0.3);
    border-color: #d4af37;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border: 3px solid #d4af37;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: #d4af37;
    color: #1a4d2e;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 700;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.9);
    color: #1a4d2e;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: #d4af37;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev { left: -80px; }
.lightbox-nav.next { right: -80px; }

/* Back Button */
.back-button {
    position: fixed;
    top: 2rem;
    left: 2rem;
    background: black;
    color: #f5f1e8;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 2px solid #d4af37;
    font-family: var(--font-termina);
}

.back-button:hover {
    background: #d4af37;
    color: #1a4d2e;
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
    min-width: 50%;
    }

    .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    }

    .grid-item,
    .grid-item.large,
    .grid-item.wide,
    .grid-item.tall {
    grid-column: span 1;
    }

    .carousel-nav {
    width: 40px;
    height: 40px;
    }

    .logo-container {
    width: 140px;
    height: 140px;
    }

    .lightbox-nav {
    width: 50px;
    height: 50px;
    }

    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
}

@media (max-width: 480px) {
    .carousel-item {
    min-width: 100%;
    }

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

    .grid-item,
    .grid-item.large,
    .grid-item.wide,
    .grid-item.tall {
    grid-column: span 1;
    }

    .back-button {
    top: 1rem;
    left: 1rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    }
}
