@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --primary-gold: #c5a059;
    --primary-gold-light: #dfc18d;
    --bg-dark: #121212;
    --bg-light: #fdfdfd;
    --text-main: #1a1a1a;
    --text-on-dark: #ffffff;
    --text-muted: #666666;
    --border-light: #e0e0e0;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- Header & Navigation --- */
header {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.8rem;
    text-decoration: none;
    color: var(--text-on-dark);
    letter-spacing: 2px;
    z-index: 1100;
}

.logo span {
    color: var(--primary-gold);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 50px;
}

nav a {
    text-decoration: none;
    color: var(--text-on-dark);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    opacity: 0.8;
}

nav a:hover {
    color: var(--primary-gold);
    opacity: 1;
}

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1100;
    background: none;
    border: none;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background-color: var(--text-on-dark);
    transition: var(--transition);
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero-wrapper {
    position: relative;
    height: 85vh;
    width: 100%;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.8) 0%, rgba(18, 18, 18, 0.2) 50%, rgba(18, 18, 18, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--text-on-dark);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 400;
    font-style: italic;
}

.hero-content p {
    color: var(--primary-gold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 40px;
    font-weight: 400;
}

/* --- Sections --- */
section {
    padding: 80px 2%;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    width: 96%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.section-title h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
    margin: 0 auto;
}

/* --- Cards & Grid --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    width: 100%;
}

.luxury-card {
    background: white;
    padding: 60px 40px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: var(--transition);
}

.luxury-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.luxury-card h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.luxury-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Spotters List --- */
.spotter-list-premium {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.spotter-row {
    display: flex;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.spotter-row:hover {
    padding-left: 20px;
}

.spotter-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-right: 50px;
    width: 40px;
}

.spotter-main {
    flex-grow: 1;
}

.spotter-main h4 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.spotter-main p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.spotter-brackets {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary-gold);
    opacity: 0.3;
}

/* --- Footer --- */
footer {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 100px 10% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 100px;
    margin-bottom: 80px;
}

.footer-brand h4 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #888;
    max-width: 300px;
}

.footer-links h5 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-gold);
    margin-bottom: 30px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-on-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* --- Gallery & Upload --- */
.upload-container {
    max-width: 600px;
    margin: 150px auto;
    padding: 60px;
    background: white;
    border: 1px solid var(--border-light);
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-gold);
    font-weight: 600;
}

.form-group input, .form-group select {
    padding: 12px;
    border: 1px solid var(--border-light);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary-gold);
}

.btn-submit {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 15px;
    border: none;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--primary-gold);
}

/* Gallery Grid */
.gallery-grid {
    column-count: 2;
    column-gap: 30px;
    padding: 20px 0;
    width: 100%;
    display: block; /* Use block to enable column-count */
}

.gallery-item {
    break-inside: avoid; /* Prevent items from breaking across columns */
    display: inline-block; /* Ensure items behave correctly in columns */
    width: 100%;
    margin-bottom: 30px; /* Space between vertically stacked items */
    position: relative;
    background-color: transparent;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 480px) {
    .gallery-grid { 
        column-count: 2;
        column-gap: 10px;
    }
    .gallery-item {
        margin-bottom: 10px;
    }
}

.gallery-item:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 30px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    color: white;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay .meta-who {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--primary-gold-light);
}

.gallery-overlay .meta-where {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-gold);
}

.gallery-overlay .meta-when {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    header { 
        padding: 0 5%; 
        height: 70px;
        position: fixed; /* Keep header fixed on mobile for easier navigation */
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(10px);
    }

    .logo {
        font-size: 1.4rem;
    }
    
    .hamburger {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-dark);
        transition: var(--transition);
        z-index: 1050;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    nav a {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }

    /* Hero Section Mobile Optimization */
    .hero-wrapper {
        height: 70vh;
    }

    .hero-content h1 { 
        font-size: 2.2rem;
        padding: 0 20px;
    }

    .hero-content p {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }

    section {
        padding: 60px 5%;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    /* Grid & Card Mobile Optimization */
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .luxury-card {
        padding: 40px 20px;
    }

    /* Spotters List Mobile Optimization */
    .spotter-row {
        flex-direction: column;
        text-align: center;
        padding: 30px 0;
    }

    .spotter-num {
        margin-right: 0;
        margin-bottom: 15px;
        font-size: 1.2rem;
    }

    .spotter-main h4 {
        font-size: 1.4rem;
    }

    .spotter-brackets {
        display: none; /* Hide decorative brackets on mobile to save space */
    }

    /* Footer Mobile Optimization */
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-brand h4 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 8px;
    }

    .gallery-overlay {
        padding: 15px;
    }

    .gallery-overlay .meta-who {
        font-size: 0.9rem;
    }

    .gallery-overlay .meta-where, 
    .gallery-overlay .meta-when {
        font-size: 0.6rem;
    }
}
