/* ==========================================================================
   Dương Lê Gia Football Portfolio — Custom Design System
   FC Barcelona-inspired Premium Dark Theme (Navy, Crimson, Gold)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Reset & Variables
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --bg-main: #030712;         /* Deepest midnight slate */
    --bg-card: rgba(15, 23, 42, 0.55); /* Glass card bg */
    --bg-card-hover: rgba(30, 41, 59, 0.8);
    --border-glass: rgba(255, 255, 255, 0.07);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    
    /* Accents (Barca-inspired Premium Modern Palette) */
    --accent-blue: #1e3a8a;     /* Classic royal blue */
    --accent-blue-glow: rgba(30, 58, 138, 0.5);
    --accent-crimson: #e11d48;  /* Vibrant rose-crimson */
    --accent-crimson-glow: rgba(225, 29, 72, 0.35);
    --accent-gold: #fbbf24;     /* Lustrous victory gold */
    --accent-gold-glow: rgba(251, 191, 36, 0.4);
    
    /* Text Colors */
    --text-main: #f3f4f6;       /* Warm light grey */
    --text-muted: #9ca3af;      /* Sleek slate grey */
    --text-dark: #0f172a;       /* Deep slate */
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Transitions & Blurs */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --blur-intensity: blur(16px);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky navbar */
}

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

/* Background Sportive Grid overlay for aesthetics */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(30, 58, 138, 0.1) 1px, transparent 1px),
                      radial-gradient(rgba(225, 29, 72, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    pointer-events: none;
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    font-family: inherit;
}

/* --------------------------------------------------------------------------
   2. Typography & Section Headers
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.pre-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    display: inline-block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
    text-transform: uppercase;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-crimson) 100%);
    margin: 16px auto 0;
    border-radius: 2px;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent-gold);
}

/* Helper highlights */
.highlight-blue {
    color: #60a5fa;
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.3);
}

.highlight-crimson {
    color: #fb7185;
    text-shadow: 0 0 8px rgba(251, 113, 133, 0.3);
}

.highlight-gold {
    color: var(--accent-gold);
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
}

/* --------------------------------------------------------------------------
   3. Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-crimson) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.5);
    background: linear-gradient(135deg, #2563eb 0%, #f43f5e 100%);
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-crimson) 100%);
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.btn-glow:hover::after {
    opacity: 0.6;
    filter: blur(10px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    backdrop-filter: var(--blur-intensity);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   4. Header & Sticky Navigation
   -------------------------------------------------------------------------- */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(3, 7, 18, 0.6);
    backdrop-filter: var(--blur-intensity);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.navbar-header.scrolled {
    background-color: rgba(3, 7, 18, 0.85);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.navbar-header.scrolled .nav-container {
    padding: 12px 24px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-accent {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-crimson) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    transition: var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-crimson) 100%);
    transition: var(--transition-smooth);
}

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

.nav-link.active {
    color: var(--accent-gold);
}

/* Mobile Toggle Hamburger Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* --------------------------------------------------------------------------
   5. Hero Section (Welcome)
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05);
    transition: transform 12s ease-out;
}

.hero-section:hover .hero-bg {
    transform: scale(1.0);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero-content .badge {
    background-color: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--accent-gold);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(48px, 8vw, 84px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.hero-content .subtitle {
    font-size: clamp(18px, 3vw, 24px);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-desc {
    font-size: clamp(15px, 2.5vw, 18px);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Scroll indicator pulsing arrow */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.arrow-down {
    color: var(--text-muted);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    background-color: rgba(255, 255, 255, 0.02);
    animation: bounce 2s infinite;
    transition: var(--transition-smooth);
}

.arrow-down:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background-color: rgba(251, 191, 36, 0.05);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* --------------------------------------------------------------------------
   6. About Section (Bio & Narrative)
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: 60px;
    align-items: start;
}

/* Profile Card Styling */
.about-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: var(--blur-intensity);
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-crimson) 100%);
}

.avatar-container {
    position: relative;
    width: 170px;
    height: 170px;
    margin: 0 auto 24px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-main);
    z-index: 2;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.avatar-glow {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-crimson) 100%);
    z-index: 1;
    opacity: 0.6;
    filter: blur(8px);
    animation: spinGlow 6s linear infinite;
}

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

.profile-tag {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent-gold) 0%, #ea580c 100%);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 900;
    padding: 4px 16px;
    border-radius: 20px;
    z-index: 3;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.about-card h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.profile-role {
    font-size: 13px;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-meta {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--border-glass);
    padding-top: 24px;
}

.profile-meta li {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.meta-label {
    color: var(--text-muted);
}

.meta-val {
    font-weight: 600;
}

/* Narrative Story Styling */
.about-story h3 {
    font-size: 28px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.story-paragraph {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.story-quote {
    border-left: 4px solid var(--accent-gold);
    padding: 16px 24px;
    background-color: rgba(251, 191, 36, 0.03);
    margin: 30px 0;
    border-radius: 0 16px 16px 0;
}

.story-quote p {
    font-style: italic;
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.6;
}

.about-bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
}

.about-bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.bullet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(251, 191, 36, 0.1);
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 2px;
    border: 1px solid rgba(251, 191, 36, 0.25);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.15);
    transition: var(--transition-fast);
}

.about-bullet-list li:hover .bullet-icon {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.bullet-text {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    transition: var(--transition-fast);
}

.about-bullet-list li:hover .bullet-text {
    color: var(--text-main);
}

.text-lead {
    font-size: 18px !important;
    line-height: 1.6;
    color: var(--text-main) !important;
}

/* Timeline Milestones Styling */
.about-timeline {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.about-timeline::after {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%;
    width: 76%;
    height: 2px;
    background: linear-gradient(90deg, var(--border-glass) 0%, var(--accent-gold) 50%, var(--border-glass) 100%);
    z-index: 1;
}

.timeline-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-year {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--bg-main);
    border: 3px solid var(--accent-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 0 15px rgba(30, 58, 138, 0.4);
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(even) .timeline-year {
    border-color: var(--accent-crimson);
    box-shadow: 0 0 15px rgba(225, 29, 72, 0.4);
}

.timeline-item:hover .timeline-year {
    transform: scale(1.15) rotate(5deg);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.6);
}

.timeline-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 13px;
    color: var(--text-muted);
    padding: 0 8px;
}

/* --------------------------------------------------------------------------
   7. Passion Section (Three Cards)
   -------------------------------------------------------------------------- */
.passion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.passion-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: var(--blur-intensity);
    transition: var(--transition-smooth);
}

.card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.passion-card:hover .card-bg {
    transform: scale(1.0);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    width: 100%;
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.passion-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.passion-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: rgba(255, 255, 255, 0.1);
}

.passion-card h3 {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.passion-card h4 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.passion-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. Collection Section (Filterable Grid & Detail Modals)
   -------------------------------------------------------------------------- */
.collection-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-crimson) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: var(--transition-smooth);
}

.collection-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: var(--blur-intensity);
    transition: var(--transition-smooth);
}

.collection-item.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.9);
}

.collection-img-box {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.collection-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-item:hover .collection-img {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 7, 18, 0.8), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.category-badge {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.item-info {
    padding: 24px;
}

.item-info h3 {
    font-size: 19px;
    margin-bottom: 8px;
    font-weight: 700;
}

.item-brief {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    min-height: 44px; /* Fixed height for line alignment */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-detail {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.collection-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.collection-item:hover .btn-detail {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

/* --------------------------------------------------------------------------
   9. Gallery Section (Grid & Lightbox Modal)
   -------------------------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(30, 58, 138, 0.25) 0%, rgba(3, 7, 18, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
    text-align: center;
}

.zoom-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 28px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transform: scale(0.8);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-caption {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

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

.collection-img-box:hover .gallery-overlay,
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.collection-img-box:hover .zoom-icon,
.gallery-item:hover .zoom-icon {
    transform: scale(1);
}

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

/* --------------------------------------------------------------------------
   10. Contact Section
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-intro {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.info-item:hover .info-icon {
    color: var(--text-dark);
    background-color: var(--accent-gold);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    transform: scale(1.1) rotate(5deg);
}

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

.info-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.info-link {
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.info-link:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Feedback message styled card */
.message-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
}

.message-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-crimson) 100%);
    border-radius: 2px 0 0 2px;
}

.message-quote {
    color: rgba(251, 191, 36, 0.15);
    margin-bottom: 16px;
}

.message-text {
    font-size: 16px;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 24px;
}

.message-signature {
    text-align: right;
}

.signature-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-gold);
}

.signature-title {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   11. Footer & Back-to-Top Button
   -------------------------------------------------------------------------- */
.footer {
    background-color: rgba(3, 7, 18, 0.95);
    border-top: 1px solid var(--border-glass);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.copyright {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
    font-style: italic;
}

.scroll-to-top {
    position: absolute;
    right: 24px;
    bottom: 8px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-crimson) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.4);
    transform: translateY(-5px);
}

/* --------------------------------------------------------------------------
   12. Modals (Detail View and Lightbox View)
   -------------------------------------------------------------------------- */

/* General Modal overlay */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content-wrapper {
    position: relative;
    background-color: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--border-glass-hover);
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content-wrapper {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 36px;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: #fff;
    transform: scale(1.1);
}

.modal-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
}

.modal-image-box {
    height: 100%;
    min-height: 400px;
    background-color: #000;
}

.modal-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-category {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 900;
    color: var(--accent-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
}

.modal-details h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.modal-divider {
    width: 50px;
    height: 3px;
    background-color: var(--accent-gold);
    margin-bottom: 24px;
}

.modal-story {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.modal-highlight-box {
    margin-top: 24px;
    background-color: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--accent-blue);
    padding: 16px;
    border-radius: 0 12px 12px 0;
    font-size: 14px;
    color: var(--text-main);
}

/* Lightbox specific styling */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background-color: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 40px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: #fff;
    transform: scale(1.1);
}

.lightbox-image-box {
    position: relative;
    max-width: 85%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-box img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-glass-hover);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-caption {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin-top: 18px;
    text-transform: uppercase;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 10;
}

.lightbox-btn:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-btn.prev {
    left: 40px;
}

.lightbox-btn.next {
    right: 40px;
}

/* --------------------------------------------------------------------------
   13. Scroll Reveal Animation Classes
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Delays for children staggered reveals */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* --------------------------------------------------------------------------
   14. Responsive Layout Breakpoints
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .about-timeline::after {
        display: none; /* Hide timeline horizontal line on medium screens */
    }
    
    .passion-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 24px;
    }
    
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .message-card {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .modal-content-wrapper {
        max-width: 700px;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-image-box {
        height: 250px;
        min-height: auto;
    }
    
    .modal-details {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu Drawer style */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: rgba(3, 7, 18, 0.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-glass-hover);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Cross icon animation for hamburger toggle */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .hero-content h1 {
        margin-bottom: 12px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .about-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
    
    .lightbox-btn {
        width: 44px;
        height: 44px;
    }
    
    .lightbox-btn.prev {
        left: 16px;
    }
    
    .lightbox-btn.next {
        right: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .scroll-to-top {
        right: 50%;
        transform: translateX(50%) translateY(20px);
    }
    
    .scroll-to-top.visible {
        transform: translateX(50%) translateY(0);
    }
}
