/* assets/css/style.css */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent: #d4af37;
    /* Gold/Champagne */
    --accent-hover: #f1c40f;
    --nav-bg: rgba(18, 18, 18, 0.95);
    --transition: all 0.3s ease;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

.mobile-only {
    display: none;
    /* Hide on desktop */
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .check-btn {
        display: none;
        /* Hide header button on tablet/mobile in favor of menu */
    }
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 300;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.5rem;
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--accent);
    color: var(--bg-color);
}

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

.btn-primary:hover {
    background: var(--accent-hover);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.check-btn {
    display: inline-block !important;
    /* Force visibility */
    flex-shrink: 0;
    /* Prevent shrinking */
    margin-left: auto;
    /* Push to right if needed, though proper order handles it */
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Adjust based on header height, usually 40-60px */
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active {
    font-weight: 700;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../MAINPAGE.png') center/cover no-repeat;
    padding: 0 1rem;
}

.hero-content h1 {
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Sections */
section {
    padding: 4rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background: #000;
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid #333;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    margin: 0 10px;
    font-size: 1.2rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        background: var(--nav-bg);
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: flex-start;
        /* Changed from center to allow scrolling if needed */
        padding-top: 2rem;
        transition: var(--transition);
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
        /* Ensure above nav-links if overlaps */
    }

    h1 {
        font-size: 2.2rem;
        /* Smaller font on mobile */
        letter-spacing: 1px;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    section {
        padding: 3rem 5%;
        /* Reduce padding */
    }

    .grid-3 {
        grid-template-columns: 1fr;
        /* Stack cards on mobile */
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    /* Adjust header button for small screens */
    .check-btn {
        display: inline-block;
        font-size: 0.7rem;
        padding: 6px 12px !important;
        margin-left: 10px !important;
    }
}

/* Ensure Nav has it? */
/* Actually, for mobile menu, the user usually expects the CTA inside the menu too. */
/* Current Approach: Header has button. Mobile menu does NOT. */
/* If I want it in mobile menu, I should duplicated it or use JS. */
/* Let's add it back to UL generally, but hide it on Desktop? */
/* No, simplest is: Header Button is visible on all sizes. */

/* Gallery Styles */
.gallery-grid {
    display: grid;
    /* Use auto-fill to keep columns consistent size even if few items */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        /* Force single column on small mobile */
        gap: 1rem;
    }
}

.gallery-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-media-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #000;
}

.gallery-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.gallery-media-wrapper.video-fallback::before,
.gallery-media-wrapper.video-fallback::after {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.gallery-media-wrapper.video-fallback::before {
    content: "VIDEO";
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 10px;
}

.gallery-media-wrapper.video-fallback::after {
    content: "▶";
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
}

.gallery-info {
    padding: 1rem;
    text-align: center;
}

.gallery-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}