/* Global Variables & Design Tokens - Luxury Edition */
:root {
    /* Colors - Ultra Premium Palette */
    --bg-primary: #000000;
    --bg-secondary: #080808;
    --bg-card: #0F0F0F;
    --bg-overlay: rgba(0, 0, 0, 0.85);

    /* Text */
    --text-primary: #F0F0F0;
    --text-secondary: #B0B0B0;
    --text-muted: #666666;

    /* Accent - Platinum/Gold */
    --accent-primary: #E0E0E0;
    --accent-gold: #C5A059;
    /* Refined Gold */
    --accent-platinum: #E5E4E2;

    /* Borders & Effects */
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(197, 160, 89, 0.4);
    /* Gold hint on hover */
    --glass-bg: rgba(10, 10, 10, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Typography - Luxury Fonts */
    --font-display: 'Cormorant Garamond', serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing - Generous */
    --spacing-xs: 12px;
    --spacing-sm: 20px;
    --spacing-md: 32px;
    --spacing-lg: 56px;
    --spacing-xl: 96px;
    --spacing-2xl: 140px;

    /* Transitions - Smooth & Refined */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-base: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.7s cubic-bezier(0.25, 1, 0.5, 1);

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 30px rgba(197, 160, 89, 0.15);
}

/* Lightbox Header */
.lightbox-header {
    display: flex;
    justify-content: space-between;
    /* Spread title/close apart or just keep close/share grouped? */
    justify-content: flex-end;
    /* Keep them right-aligned */
    align-items: center;
    gap: 20px;
    margin-bottom: 5px;
    padding-right: 10px;
}

.share-btn {
    background: rgba(197, 160, 89, 0.15);
    /* Transparent gold bg */
    border: 1px solid var(--accent-gold);
    /* Gold border */
    color: var(--accent-gold);
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Space between icon and text */
    border-radius: 3px;
    /* Match category badges */
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.share-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
}

.share-btn:hover {
    background: var(--accent-gold);
    color: #000;
    /* Black text on gold */
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.share-btn.copied {
    background: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

.copy-feedback {
    display: none;
    /* Hide old feedback style */
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateX(50%) translateY(-5px);
    }

    20% {
        opacity: 1;
        transform: translateX(50%) translateY(0);
    }

    80% {
        opacity: 1;
        transform: translateX(50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(50%) translateY(-5px);
    }
}

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



/* Reveal on Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

body.page-exiting {
    opacity: 0;
    pointer-events: none;
}


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

ul {
    list-style: none;
}

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

/* Typography Classes */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 300;
    /* Lighter weight for elegance */
    letter-spacing: -0.01em;
    font-family: var(--font-display);
    font-style: italic;
    /* Added italic for extra flair */
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-display);
}

h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

/* Header & Navigation - Luxury Glassmorphism */
/* Main Global Header */
body>header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    gap: var(--spacing-md);
}

/* Language Switcher (List Item Context) */
.lang-switcher-item {
    display: flex;
    align-items: center;
    margin-left: var(--spacing-sm);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.lang-switcher:hover {
    border-color: var(--accent-gold);
    background: rgba(197, 160, 89, 0.1);
}

.lang-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0;
    opacity: 0.7;
}

.lang-link:hover,
.lang-link.active {
    color: var(--accent-gold);
    opacity: 1;
}

.lang-link.active {
    font-weight: 600;
}

.lang-separator {
    color: var(--border-color);
    font-size: 0.7rem;
    opacity: 0.3;
}

/* Mobile Menu Adjustments */
@media screen and (max-width: 1024px) {
    /* Hide desktop switcher item if needed, but flex wrap handles it usually */
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        gap: 0;
        /* Stack items */
    }

    .lang-switcher-item {
        margin-left: 0;
        margin-top: var(--spacing-md);
        justify-content: center;
        width: 100%;
    }

    .lang-switcher {
        padding: 10px 20px;
        border-color: rgba(255, 255, 255, 0.1);
    }
}

.event-detail-page body>header {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header Signature (Left Side) */
.header-signature {
    font-family: var(--font-display);
    font-size: 1.35rem;
    /* Slightly smaller for better fit */
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.1em;
    font-weight: 400;
    transition: all 0.3s ease;
    z-index: 1001;
    white-space: nowrap;
}

.header-signature:hover {
    color: var(--accent-gold);
}

header:hover {
    background: rgba(0, 0, 0, 0.7);
    border-bottom-color: var(--border-hover);
    background: rgba(0, 0, 0, 0.85);
}

.logo {
    display: inline-block;
}

/* Home Splash Logo */
.home-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 50px auto;
    width: 600px;
    transition: transform 0.4s ease;
    cursor: pointer;
    text-decoration: none;
}

.home-logo-link:hover {
    transform: scale(1.1);
}

.home-logo {
    width: 100%;
    height: auto;
    filter: invert(1) contrast(1.1) brightness(1.2) drop-shadow(0 0 25px rgba(0, 0, 0, 0.7));
}

.logo-label {
    margin-top: 5px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--accent-platinum);
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 0, 0, 1), 0 2px 10px rgba(0, 0, 0, 1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.home-logo-link:hover .logo-label {
    color: var(--accent-gold);
    opacity: 1;
}

@media screen and (max-width: 1024px) {
    .home-logo-link {
        width: 500px;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 480px) {
    .home-logo-link {
        width: 85%;
        max-width: 320px;
        margin-bottom: 20px;
    }

    .logo-label {
        font-size: 0.75rem;
        letter-spacing: 0.15em;
    }
}

.logo img {
    height: 100%;
    width: auto;
    filter: invert(1) contrast(1.1) brightness(1.2);
    transition: all var(--transition-base);
}

.logo:hover img {
    transform: scale(1.1);
    filter: invert(1) contrast(1.2) brightness(1.5);
}

nav ul {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-base);
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 1px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transition: transform var(--transition-base);
}

nav a:hover,
nav a.active {
    color: var(--text-primary);
}

nav a:hover::before,
nav a.active::before {
    transform: translateX(-50%) scaleX(1);
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    z-index: 1001;
}

/* Mobile Nav Logic will be in the unified block at the end */

/* Main Content Container */
main {
    padding-top: 80px;
    /* Space for fixed header */
    min-height: 80vh;
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.social-links a:hover {
    color: var(--text-primary);
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
/* General Responsive Logic moved to end */

/* Page Header */
.page-header {
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-md);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

/* Bio Hero - Minimal with Background */
.bio-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../assets/bio/comba_spritz_media_Farfus_21-07-25-22.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.bio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.75) 50%,
            rgba(0, 0, 0, 0.85) 100%);
    backdrop-filter: blur(2px);
}

.bio-content-center {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-xl);
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    mix-blend-mode: screen;
    box-shadow: var(--shadow-lg);
}

.bio-content-center h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bio-text-content {
    text-align: left;
}

.bio-text-content p {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.bio-text-content p.lead {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-xl);
    padding-left: 0;
    border-left: none;
    text-align: center;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.bio-text-content strong {
    color: var(--accent-gold);
    font-weight: 400;
}

/* Responsive */
/* Bio Responsive moved to end */

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url('../assets/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-secondary);
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.05);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    width: 100%;
}

/* Album Cards - Luxury Edition */
.album-card {
    position: relative;
    aspect-ratio: 4/3;
    mix-blend-mode: screen;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition-slow);
}

.album-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(232, 232, 232, 0.03) 0%,
            rgba(0, 0, 0, 0) 50%,
            rgba(232, 232, 232, 0.02) 100%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
    z-index: 1;
}

.album-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.album-card:hover::before {
    opacity: 1;
}

.album-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85) contrast(1.1);
    transition: all var(--transition-slow);
}

.album-card:hover img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.15);
}

.album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.7) 40%,
            transparent 100%);
    padding: var(--spacing-md);
    transform: translateY(0);
    transition: all var(--transition-base);
    z-index: 2;
}

.album-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-xs) 0;
    letter-spacing: 0.02em;
    text-transform: none;
    transform: translateY(0);
    transition: transform var(--transition-base);
}

.album-card:hover .album-overlay h3 {
    transform: translateY(-4px);
}

.album-count {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent-platinum);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--accent-platinum);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    opacity: 0.9;
    transition: all var(--transition-base);
}

.album-card:hover .album-count {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
    color: var(--text-primary);
    opacity: 1;
}

/* --- SEO Text Section (Home) --- */
.home-seo-section {
    padding: var(--spacing-xl) var(--spacing-lg);
    background: rgba(10, 10, 10, 0.6);
    /* Semi-transparent */
    backdrop-filter: blur(10px);
    /* Glass effect */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
}

.home-seo-section h2 {
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--accent-platinum);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
    font-style: italic;
}

.home-seo-section p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.home-seo-section strong {
    color: var(--text-primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .home-seo-section {
        padding: var(--spacing-lg) 20px;
    }

    .home-seo-section h2 {
        font-size: 1.2rem;
    }

    .home-seo-section p {
        font-size: 0.85rem;
    }
}

.lightbox-album-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.lightbox-album-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    mix-blend-mode: screen;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.lightbox-album-grid img:hover {
    transform: scale(1.5);
    z-index: 10;
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

/* Responsive Grid */
/* Social Social Grid */
.social-journal {
    padding: var(--spacing-xl) var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.social-journal h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-display);
    font-style: italic;
    color: var(--text-primary);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-sm);
    max-width: 1400px;
    margin: 0 auto;
}

.social-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.social-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    filter: brightness(0.8);
}

.social-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.social-item:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.social-item:hover .social-overlay {
    opacity: 1;
}

.social-icon {
    width: 24px;
    height: 24px;
    color: #fff;
}

@media (max-width: 1024px) {
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-journal h2 {
        font-size: 1.5rem;
    }
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .lightbox-album-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Lightbox Grid Responsive moved to end */

@media (max-width: 480px) {
    .lightbox-album-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Full Image Viewer */
.fullimage-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.fullimage-viewer img {
    max-width: 95%;
    max-height: 95vh;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.close-fullimage {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 3001;
    transition: color 0.3s ease;
}

.close-fullimage:hover {
    color: var(--accent-color);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3001;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-arrow:hover {
    background: rgba(197, 160, 89, 0.3);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
}

.nav-prev {
    left: 30px;
}

.nav-next {
    right: 30px;
}

@media (max-width: 768px) {
    .nav-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .nav-prev {
        left: 15px;
    }

    .nav-next {
        right: 15px;
    }

    .close-fullimage {
        font-size: 2.5rem;
        top: 15px;
        right: 20px;
    }
}

/* Container for centered content */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Portfolio Main */
.portfolio-main {
    padding-top: 100px;
    padding-bottom: var(--spacing-xl);
    min-height: 80vh;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

/* Gallery Styles */
.category-filter {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.category-filter button {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-filter button:hover,
.category-filter button.active {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg) var(--spacing-xl);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    aspect-ratio: 1;
    /* Square thumbnails for albums */
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 4px;
}

.gallery-caption span {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    /* Hidden by default */
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    width: 90%;
    max-width: 1200px;
    height: 90%;
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    position: relative;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-lightbox {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-lightbox:hover {
    color: var(--accent-color);
}

#lightbox-title {
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--spacing-sm);
}

.lightbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.lightbox-grid img {
    width: 100%;
    mix-blend-mode: screen;
    transition: opacity 0.3s ease;
}

.lightbox-grid img:hover {
    opacity: 0.8;
}

/* YouTube Gallery Styles */
.video-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    padding: 0 5%;
}

.yt-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.video-item:hover .yt-thumb {
    transform: scale(1.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Lightbox Adjustments for Video */
.video-content {
    max-width: 1000px;
    height: auto !important;
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg) !important;
}

#yt-lightbox-title {
    margin-bottom: var(--spacing-md);
    font-size: 1.8rem;
    text-align: center;
    color: var(--text-primary);
}

.video-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    mix-blend-mode: screen;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-item:hover {
    transform: scale(1.02);
    border-color: var(--accent-gold);
}

/* --- HOME GATEWAY (New Redesign) --- */
.home-gateway {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gateway-bg {
    position: fixed;
    /* Fixed background for parallax content flow */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/img/home_bg.webp');
    background-size: cover;
    background-position: center;
    z-index: -2;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

.gateway-overlay {
    position: fixed;
    /* Fixed to match background */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.98) 100%);
    /* Reverted opacity */
    z-index: -1;
}

.gateway-content {
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: var(--spacing-md);
    z-index: 10;
    margin-top: -15vh;
    /* Shift center up */
}

.landing-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.landing-subtitle {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-platinum);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
}

.gateway-split {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.gateway-card {
    text-decoration: none;
    flex: 0 1 350px;
    height: 400px;
    /* Fixed height for elegance */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

.gateway-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.6));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gateway-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gateway-card:hover::before {
    opacity: 1;
}

.card-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gateway-card:hover .card-icon {
    opacity: 1;
    color: var(--accent-gold);
}

.gateway-card h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin: 0;
    color: var(--text-primary);
}

.explore-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-platinum);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
    padding-bottom: 4px;
}

.gateway-card:hover .explore-text {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Home Footer Tweaks */
/* Home Footer Tweaks */
.home-footer {
    position: relative;
    /* Fixed instead of absolute to stay at bottom of viewport */
    bottom: auto;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    /* Semi-transparent match */
    backdrop-filter: blur(10px);
    border: none;
    z-index: 100;
    pointer-events: auto;
    padding-bottom: 20px;
}

.home-footer .footer-content {
    pointer-events: auto;
    background: none;
    padding-bottom: 0;
    margin-bottom: 0;
}



/* Responsive Home */
/* Home Card Responsive moved to end */

/* --- HOME MINIMALIST ITERATION --- */
.gateway-overlay.minimalist {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 90%);
    /* Lighter overlay */
    backdrop-filter: blur(0px);
    /* Clearer background */
}

.minimal-title {
    font-size: 2rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: var(--spacing-2xl);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.gateway-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    /* Space between icons */
}

.icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.nav-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-sm);
    stroke: var(--text-primary);
    transition: all 0.3s ease;
    display: block;
    /* Checkered flag visibility shadows */
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 1)) drop-shadow(0 0 20px rgba(0, 0, 0, 1)) drop-shadow(0 4px 15px rgba(0, 0, 0, 1));
}

.icon-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    opacity: 0;
    /* Hidden by default for super minimal look, or 0.6 */
    transform: translateY(10px);
    transition: all 0.3s ease;
    color: var(--accent-platinum);
    text-shadow: 0 0 20px rgba(0, 0, 0, 1), 0 2px 10px rgba(0, 0, 0, 1);
}

/* Hover Effects */
.icon-link:hover .nav-icon {
    stroke: var(--accent-gold);
    transform: scale(1.1);
    /* Retain dark shadow even on hover for visibility */
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 1)) drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.icon-link:hover .icon-label {
    opacity: 1;
    transform: translateY(0);
    color: var(--accent-gold);
}

.separator-line {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Mobile Adjustments */
/* Minimalist Home Responsive moved to end */

/* --- MINIMAL FOOTER --- */
.minimal-footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) 0;
    background: none;
    /* Clean look */
}

@media (max-width: 768px) {
    .minimal-footer .footer-content {
        padding: 15px 0 !important;
        gap: 10px !important;
    }
}

.social-icon-minimal {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-icon-minimal svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.social-icon-minimal:hover {
    color: var(--accent-gold);
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* --- VIDEO CATEGORY SECTIONS --- */
.video-category-section {
    margin-bottom: 4rem;
}

.category-header-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 0 5%;
}

.category-title-main {
    font-size: 1rem;
    letter-spacing: 0.4em;
    font-weight: 300;
    color: var(--text-primary);
    text-transform: uppercase;
    opacity: 0.8;
}

.category-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
}

.category-grid {
    padding: 0 5% !important;
}

/* --- VIDEO PREVIEWS --- */
.video-thumbnail-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    overflow: hidden;
    cursor: pointer;
    mix-blend-mode: screen;
}

.video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* Controlled by JS for fade-in */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.video-item:hover .video-preview {
    transform: scale(1.03);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.video-item:hover .play-overlay .play-icon {
    background: var(--accent-gold);
    color: #000;
    transform: scale(1.1);
}

/* ==========================================================================
   UNIFIED RESPONSIVE STYLES (Consolidated & Fixed)
   ========================================================================== */
@media (max-width: 768px) {

    /* Global & Typography */
    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 0.95rem;
    }

    /* Header & Navigation */
    body>header {
        padding: 15px 5%;
    }

    .logo {
        height: 70px;
    }

    .menu-toggle {
        display: block !important;
        position: relative;
        z-index: 1001;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-md);
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 1000;
        padding: var(--spacing-xl) var(--spacing-lg);
        border-left: 1px solid var(--border-color);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    }

    nav ul.open {
        right: 0 !important;
        transform: none !important;
    }

    nav a {
        font-size: 1.1rem;
        letter-spacing: 0.2em;
        padding: 15px 0;
    }

    /* Home Page (index.html) */
    .minimal-title {
        font-size: 1rem !important;
        letter-spacing: 0.2em !important;
        margin-bottom: 20px !important;
        padding: 0 10px;
        line-height: 1.6;
    }

    .gateway-icons {
        flex-direction: column;
        gap: 15px !important;
    }

    .nav-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .separator-line {
        width: 30px !important;
        height: 1px !important;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
        margin: 2px 0 !important;
    }

    .icon-label {
        opacity: 0.9 !important;
        transform: translateY(0) !important;
        font-size: 0.8rem;
    }

    /* Gallery Grids (foto.html, video.html) */
    .gallery-grid,
    .category-grid,
    .portfolio-grid,
    .video-grid-container,
    .lightbox-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 5% !important;
    }

    .portfolio-filters,
    .category-filter {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-bottom: 25px !important;
        padding: 0 5% !important;
    }

    .filter-btn {
        padding: 8px 15px !important;
        font-size: 0.75rem !important;
        white-space: nowrap;
    }

    /* Category Headers */
    .category-header-main {
        padding: 0 5%;
        margin-bottom: 1.5rem;
        gap: 15px;
    }

    .category-title-main {
        font-size: 0.8rem !important;
        letter-spacing: 0.2em !important;
    }

    /* Biography Page */
    .bio-hero {
        padding: 80px 5% !important;
        background-attachment: scroll !important;
    }

    .bio-content-center {
        padding: 40px 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .bio-content-center h1 {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
    }

    .bio-text-content p.lead {
        font-size: 1rem !important;
        max-width: 100% !important;
        line-height: 1.6 !important;
    }

    .bio-text-content p {
        font-size: 0.85rem !important;
        line-height: 1.7 !important;
    }

    /* Lightbox & General Popups */
    .lightbox-content {
        width: 95% !important;
        height: 90% !important;
        padding: 20px !important;
    }

    .close-lightbox {
        top: 10px !important;
        right: 15px !important;
        font-size: 2.22rem !important;
    }

    .lightbox-album-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .minimal-title {
        font-size: 0.85rem !important;
        letter-spacing: 0.15em !important;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN - UNIFIED BLOCKS
   ========================================================================== */

/* Medium Devices (Tablets, 1024px and down) */
@media screen and (max-width: 1024px) {
    .container {
        width: 92%;
    }

    .bio-content-center {
        max-width: 800px;
        padding: var(--spacing-xl);
    }
}

/* Mobile Devices (768px and down) */
@media screen and (max-width: 768px) {
    :root {
        --spacing-lg: 40px;
        --spacing-xl: 60px;
        --spacing-2xl: 80px;
    }

    /* Header & Navigation Fixes */
    body>header {
        padding: var(--spacing-sm) 20px;
    }

    .menu-toggle {
        display: block !important;
        position: absolute !important;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Fix Toggle Alignment: Take nav out of flow so toggle goes to right edge */
    nav {
        position: absolute;
        width: 0;
        height: 0;
    }


    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: var(--spacing-md);
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    nav ul.open {
        right: 0;
    }

    nav a {
        font-size: 1.2rem;
        letter-spacing: 0.2em;
    }

    /* Home Gateway Fixes */
    .home-gateway {
        padding-top: 80px;
        padding-bottom: 40px;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .gateway-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 0;
    }

    .gateway-icons {
        flex-direction: row;
        gap: 30px;
    }

    .separator-line {
        width: 1px;
        height: 50px;
    }

    .home-footer {
        position: relative !important;
        bottom: auto !important;
        width: 100% !important;
        padding-top: 20px;
    }

    /* Bio Fixes */
    .bio-hero {
        padding: var(--spacing-xl) 20px;
        background-attachment: scroll;
        /* Better performance on mobile */
    }

    .bio-content-center {
        padding: var(--spacing-lg) 24px;
        margin: 0 10px;
    }

    .bio-content-center h1 {
        font-size: 2.8rem;
        margin-bottom: var(--spacing-lg);
    }

    .bio-text-content p.lead {
        font-size: 1.2rem;
        max-width: 100%;
    }

    /* Gallery Fixes */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        padding: 0 20px var(--spacing-xl);
    }

    .portfolio-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    /* Video Fixes */
    .video-grid-container {
        grid-template-columns: 1fr;
    }

    /* Footer Fixes */
    .footer-content {
        width: 100%;
        padding: 0 20px;
    }

    /* Lightbox Fixes */
    .lightbox-content {
        width: 95%;
        height: 95%;
        padding: 24px 16px;
    }

    .lightbox-album-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

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

    .logo {
        height: 55px;
    }

    .bio-content-center h1 {
        font-size: 2.2rem;
    }

    .lightbox-album-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Contact Form Button */
.submit-btn {
    width: 100%;
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    border: 1px solid var(--accent-gold);
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: transparent;
    color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
}

.client-tag {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.client-tag:hover {
    border-color: var(--accent-gold);
    color: var(--text-primary);
    background: rgba(197, 160, 89, 0.1);
}

@media (max-width: 768px) {
    .bio-text-content>div {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
}

.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 15px;
    align-items: center;
    justify-items: center;
}

.client-logo {
    max-width: 100%;
    width: 80px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.6;
    transition: all 0.3s ease;
    padding: 0;
    background: none;
    mix-blend-mode: screen;
}

.client-logo:hover {
    opacity: 0.9;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .client-logos-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 12px;
    }

    .client-logo {
        width: 70px;
        height: 35px;
    }
}

/* --- Cookie Consent Banner (Luxury Redesign) --- */
#cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    /* Subtle Gold Border */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.05);
    padding: 2rem;
    border-radius: 2px;
    /* Sharper corners for elegance */
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10000;
    color: var(--text-color);
}

#cookie-banner.active {
    display: flex;
    animation: fadeUpLuxury 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#cookie-banner p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    color: #e0e0e0;
    text-align: center;
}

#cookie-banner a {
    color: var(--gold-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

#cookie-banner a:hover {
    border-color: var(--gold-accent);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cookie-btn {
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 0;
    /* Sharp for luxury */
    background: transparent;
    font-weight: 500;
}

.cookie-accept {
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
}

.cookie-accept:hover {
    background: var(--gold-accent);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.cookie-decline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.cookie-decline:hover {
    border-color: #fff;
    color: #fff;
}

@keyframes fadeUpLuxury {
    from {
        opacity: 0;
        transform: translate(-50%, 30px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 480px) {
    #cookie-banner {
        width: 95%;
        bottom: 1rem;
        padding: 1.5rem;
    }
}

/* ===================================
   EVENTI PAGE STYLES
   =================================== */

.eventi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-slow);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.event-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.event-card:hover .event-image {
    transform: scale(1.05);
    transition: transform var(--transition-slow);
}

.event-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex-grow: 1;
}

.event-category {
    display: inline-block;
    padding: 4px 12px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 3px;
    width: fit-content;
}

.event-category.concorso {
    background: rgba(197, 160, 89, 0.15);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.event-category.salone {
    background: rgba(66, 135, 245, 0.15);
    color: #4287f5;
    border: 1px solid #4287f5;
}

.event-category.evento {
    background: rgba(229, 228, 226, 0.1);
    color: var(--accent-platinum);
    border: 1px solid var(--accent-platinum);
}

.event-category.luxury {
    background: rgba(197, 160, 89, 0.2);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.event-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.event-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.event-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.event-meta {
    display: flex;
    gap: var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-location {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-cta {
    margin-top: auto;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.cta-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all var(--transition-fast);
}

.event-card:hover .cta-btn {
    letter-spacing: 0.15em;
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .eventi-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .event-image {
        height: 200px;
    }
}


/* --- Single Event Article Page --- */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 160px 20px 80px;
    /* Extra top padding for fixed header */
}

.article-header {
    text-align: center;
    margin-bottom: 4rem;
}

.article-category {
    display: inline-block;
    padding: 6px 16px;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(197, 160, 89, 0.05);
}

.article-date {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-style: italic;
}

.article-hero {
    width: 100%;
    height: auto;
    border-radius: 2px;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.article-content {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 5rem;
}

.article-content p {
    margin-bottom: 2rem;
}

.article-content strong {
    color: var(--accent-gold);
    font-weight: 500;
}

.gallery-cta {
    text-align: center;
    padding: 5rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 5rem;
}

.gallery-cta h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.gallery-cta p {
    font-family: var(--font-body);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.article-back-nav {
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .article-container {
        padding-top: 120px;
    }

    .article-title {
        font-size: 2.2rem;
    }

    .article-content {
        font-size: 1.05rem;
    }
}

/* Event Detail CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 35px;
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    margin-top: 1rem;
}

.cta-button:hover {
    background: var(--accent-gold);
    color: #000;
    /* Contrast on gold */
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
    transform: translateY(-3px);
}

.cta-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s ease;
}

.cta-button:hover svg {
    transform: scale(1.1);
}

/* --- Video Gallery Redesign (Luxury) --- */

.video-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    padding: 20px 0;
}

.video-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.video-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 160, 89, 0.1);
}

.video-thumbnail-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.yt-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.9);
}

.video-item:hover .yt-thumb {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-item:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: rgba(197, 160, 89, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 24px;
    padding-left: 4px;
    /* Optical center alignment for triangle */
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-item:hover .play-icon {
    transform: scale(1);
}

.gallery-caption {
    padding: 20px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-caption h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.video-item:hover .gallery-caption h3 {
    color: var(--accent-gold);
}

.gallery-caption span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.video-item:hover .gallery-caption span {
    color: var(--accent-primary);
}

/* Lightbox Enhancements for Video */
.video-lightbox .lightbox-content {
    background: #000;
    border: 1px solid var(--accent-gold);
}

.video-container iframe {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}


/* --- Cinematic Stream Redesign (Netflix Style) --- */

.video-section-container {
    padding: 0 0 60px 0;
    max-width: 100vw;
    overflow-x: hidden;
}

.video-category-header {
    padding: 0 5% 20px 5%;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.video-category-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-primary);
    margin: 0;
    text-transform: capitalize;
}

.video-category-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to right, var(--accent-gold), transparent);
    opacity: 0.3;
}

.video-row-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 0 5% 40px 5%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.video-row-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Cinematic Card */
.cinematic-card {
    flex: 0 0 auto;
    width: 400px;
    /* Desktop width */
    aspect-ratio: 16/9;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    background: #000;
}

.cinematic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    opacity: 0.8;
}

.cinematic-card:hover {
    transform: scale(1.05);
    /* Zoom effect */
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--accent-gold);
}

.cinematic-card:hover img {
    transform: scale(1.1);
    opacity: 0.4;
    /* Darken image to make text pop */
}

.cinematic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.cinematic-info h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 5px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.cinematic-card:hover .cinematic-info h3 {
    transform: translateY(0);
    color: var(--accent-gold);
}

.cinematic-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    transition: all 0.4s ease;
}

.cinematic-card:hover .cinematic-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.cinematic-play svg {
    width: 60px;
    height: 60px;
    color: var(--accent-gold);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
}

@media (max-width: 768px) {
    .cinematic-card {
        width: 300px;
    }

    .video-category-title {
        font-size: 1.5rem;
    }
}

/* --- Scroll Arrows --- */
.video-row-wrapper {
    position: relative;
    /* Wrapper to contain arrows and row */
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(1);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.scroll-arrow:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
}

.scroll-arrow.left {
    left: 10px;
}

.scroll-arrow.right {
    right: 10px;
}

.scroll-arrow svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .scroll-arrow {
        display: none;
        /* Hide arrows on mobile, use touch scroll */
    }
}

/* --- Contact Page --- */
.contact-page {
    padding-top: 80px;
    min-height: 100vh;
}

.contact-hero {
    padding: 6rem 0 4rem;
    text-align: center;
}

.contact-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.contact-hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.contact-split {
    padding-bottom: 8rem;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.info-intro {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 4rem;
    font-family: 'Playfair Display', serif;
}

.info-intro p {
    margin-bottom: 1.5rem;
}

.info-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-block {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.info-block p,
.info-block a {
    font-size: 1rem;
    color: var(--text-primary);
    text-decoration: none;
}

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

.social-mini-links a {
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

/* Luxury Form */
.contact-form-panel {
    display: none !important;
    /* EMERGENCY HIDE */
    background: rgba(255, 255, 255, 0.03);
    padding: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    color: white;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.submit-btn {
    background: white;
    color: black;
    border: none;
    padding: 1.25rem 3rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--color-accent);
    color: black;
    transform: translateY(-2px);
}

.form-status {
    margin-top: 2rem;
    font-size: 0.9rem;
    text-align: center;
}

.form-status.success {
    color: #4caf50;
}

.form-status.info {
    color: var(--text-secondary);
}

@media (max-width: 992px) {
    .split-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-form-panel {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 3rem;
    }

    .info-intro {
        font-size: 1.25rem;
    }

    .info-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}