﻿/* ============================================
   OBSCURE - Premium Royal Brand Theme
   Mystery • Depth • Exploration • Emotion
   ============================================ */

/* ============================================
   1. CSS VARIABLES (Official Brand Colors)
   ============================================ */
:root {
    /* Primary Brand Colors */
    --timberwolf: #E0DCD1;
    --eerie-black: #1D1C1C;
    --quick-silver: #AAA498;
    --boy-red: #6A6254;
    
    /* Extended Palette */
    --cream-light: #F5F3EE;
    --cream-dark: #D4CFC3;
    --charcoal: #252322;
    --charcoal-light: #2E2C2A;
    --warm-gray: #8A847A;
    --gold-muted: #B8A88A;
    --bronze: #8B7355;
    
    /* Semantic Colors */
    --bg-primary: var(--eerie-black);
    --bg-secondary: var(--charcoal);
    --bg-tertiary: var(--charcoal-light);
    
    --text-primary: var(--timberwolf);
    --text-secondary: var(--quick-silver);
    --text-muted: var(--warm-gray);
    --text-dark: var(--eerie-black);
    
    --accent: var(--gold-muted);
    --accent-hover: var(--timberwolf);
    
    --border-subtle: rgba(170, 164, 152, 0.15);
    --border-medium: rgba(170, 164, 152, 0.25);
    
    /* Gradients */
    --gradient-royal: linear-gradient(135deg, var(--boy-red) 0%, var(--bronze) 50%, var(--gold-muted) 100%);
    --gradient-warm: linear-gradient(135deg, rgba(184, 168, 138, 0.1) 0%, rgba(106, 98, 84, 0.05) 100%);
    
    /* Functional */
    --success: #7D9B7D;
    --warning: #C4A35A;
    --error: #B85C5C;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Cairo', sans-serif;
    
    /* Spacing */
    --section-padding: clamp(5rem, 12vw, 10rem);
    --container-max: 1400px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(184, 168, 138, 0.15);
}

/* ============================================
   PREMIUM INTRO LOADER (Home Page Only)
   ============================================ */
.intro-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #0a0a0c;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-loader.fade-out {
    animation: introFadeOut 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes introFadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* Background Effects */
.intro-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.intro-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 8s ease-in-out infinite;
}

.intro-gradient-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 168, 138, 0.3) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.intro-gradient-orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.25) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -3s;
}

.intro-gradient-orb--3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(224, 220, 209, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

.intro-gradient-orb--3 {
    animation-name: orbFloatCenter;
}

@keyframes orbFloatCenter {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* Animated Lines */
.intro-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.intro-lines span {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(184, 168, 138, 0.1), transparent);
    animation: lineMove 3s ease-in-out infinite;
}

.intro-lines span:nth-child(1) { left: 10%; animation-delay: 0s; }
.intro-lines span:nth-child(2) { left: 30%; animation-delay: 0.5s; }
.intro-lines span:nth-child(3) { left: 50%; animation-delay: 1s; }
.intro-lines span:nth-child(4) { left: 70%; animation-delay: 1.5s; }
.intro-lines span:nth-child(5) { left: 90%; animation-delay: 2s; }

@keyframes lineMove {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* Content */
.intro-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

/* Logo Wrapper */
.intro-logo-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rotating Rings */
.intro-logo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
}

.intro-logo-ring--outer {
    width: 100%;
    height: 100%;
    border-color: rgba(184, 168, 138, 0.2);
    border-top-color: var(--gold-muted);
    border-right-color: var(--gold-muted);
    animation: ringRotate 3s linear infinite;
}

.intro-logo-ring--inner {
    width: 85%;
    height: 85%;
    border-color: rgba(184, 168, 138, 0.1);
    border-bottom-color: rgba(224, 220, 209, 0.5);
    border-left-color: rgba(224, 220, 209, 0.5);
    animation: ringRotate 2s linear infinite reverse;
}

@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

/* Logo */
.intro-logo {
    position: relative;
    z-index: 5;
    animation: logoReveal 1s ease-out 0.3s both, logoPulse 2s ease-in-out 1.3s infinite;
}

.intro-logo img {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(184, 168, 138, 0.4));
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.5);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Logo Shine Effect */
.intro-logo-shine {
    position: absolute;
    top: 50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: translateY(-50%) skewX(-20deg);
    animation: logoShine 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes logoShine {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}

/* Animated Text */
.intro-text {
    margin-bottom: 3rem;
}

.intro-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 0.5em;
    color: var(--timberwolf);
    margin-bottom: 1rem;
    overflow: hidden;
}

.intro-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: letterReveal 0.6s ease forwards;
}

.intro-letter:nth-child(1) { animation-delay: 0.5s; }
.intro-letter:nth-child(2) { animation-delay: 0.6s; }
.intro-letter:nth-child(3) { animation-delay: 0.7s; }
.intro-letter:nth-child(4) { animation-delay: 0.8s; }
.intro-letter:nth-child(5) { animation-delay: 0.9s; }
.intro-letter:nth-child(6) { animation-delay: 1.0s; }
.intro-letter:nth-child(7) { animation-delay: 1.1s; }

@keyframes letterReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-tagline {
    font-size: 0.9rem;
    color: var(--gold-muted);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress Bar */
.intro-progress {
    width: 200px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards 1.5s;
}

.intro-progress-track {
    height: 2px;
    background: rgba(184, 168, 138, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.intro-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-muted), var(--timberwolf));
    border-radius: 2px;
    transition: width 0.1s ease;
    box-shadow: 0 0 20px var(--gold-muted);
}

/* Corner Decorations */
.intro-corner {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(184, 168, 138, 0.2);
    opacity: 0;
    animation: cornerReveal 0.8s ease forwards;
}

.intro-corner--tl {
    top: 40px;
    left: 40px;
    border-right: none;
    border-bottom: none;
    animation-delay: 0.2s;
}

.intro-corner--tr {
    top: 40px;
    right: 40px;
    border-left: none;
    border-bottom: none;
    animation-delay: 0.4s;
}

.intro-corner--bl {
    bottom: 40px;
    left: 40px;
    border-right: none;
    border-top: none;
    animation-delay: 0.6s;
}

.intro-corner--br {
    bottom: 40px;
    right: 40px;
    border-left: none;
    border-top: none;
    animation-delay: 0.8s;
}

@keyframes cornerReveal {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .intro-logo-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .intro-logo img {
        width: 120px;
    }
    
    .intro-corner {
        width: 40px;
        height: 40px;
    }
    
    .intro-corner--tl,
    .intro-corner--tr { top: 20px; }
    .intro-corner--bl,
    .intro-corner--br { bottom: 20px; }
    .intro-corner--tl,
    .intro-corner--bl { left: 20px; }
    .intro-corner--tr,
    .intro-corner--br { right: 20px; }
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background-color: var(--boy-red);
    color: var(--timberwolf);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* ============================================
   4. LAYOUT
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section--dark {
    background-color: var(--bg-secondary);
}

.section--alt {
    background-color: var(--bg-tertiary);
}

.section--cream {
    background-color: var(--timberwolf);
    color: var(--text-dark);
}

.section--cream h1, .section--cream h2, .section--cream h3, .section--cream h4 {
    color: var(--eerie-black);
}

.section--cream p {
    color: var(--boy-red);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ============================================
   5. HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--transition-smooth);
    background: linear-gradient(180deg, rgba(29, 28, 28, 0.9) 0%, rgba(29, 28, 28, 0) 100%);
}

.header--scrolled {
    background: rgba(29, 28, 28, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header--scrolled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 168, 138, 0.3), transparent);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.logo__img {
    height: 123px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-smooth);
}

.header--scrolled .logo__img {
    height: 42px;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #ffffff;
    position: relative;
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
    border-radius: 4px;
}

.nav__link::before {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-royal);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav__link:hover {
    color: var(--text-primary);
    background: rgba(184, 168, 138, 0.08);
}

.nav__link:hover::before {
    width: 60%;
}

.nav__link--active {
    color: var(--accent);
}

.nav__link--active::before {
    width: 60%;
}

/* Header Actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.btn--sm {
    padding: 0.65rem 1.25rem;
    font-size: 0.7rem;
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    padding: 0.75rem;
    flex-direction: column;
    gap: 5px;
    transition: all var(--transition-fast);
    border-radius: 8px;
}

.nav__toggle:hover {
    border-color: var(--accent);
    background: rgba(184, 168, 138, 0.1);
}

.nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

/* Toggle Animation - X shape when open */
.nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Navigation */
@media (max-width: 1200px) {
    .nav__list { gap: 0.25rem; }
    .nav__link { 
        padding: 0.6rem 0.75rem; 
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .nav__toggle { display: flex; }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(135deg, #0f0f12 0%, #1a1a1f 50%, #0f0f12 100%);
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(184, 168, 138, 0.2);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
        overflow-y: auto;
    }
    
    .nav--open { right: 0; }
    
    /* Mobile Nav Header */
    .nav::before {
        content: 'MENU';
        display: block;
        font-family: var(--font-heading);
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.3em;
        color: var(--gold-muted);
        text-align: center;
        padding: 2rem 2rem 1rem;
        border-bottom: 1px solid rgba(184, 168, 138, 0.1);
        margin-bottom: 1rem;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 1rem 1.5rem 2rem;
    }
    
    .nav__list li {
        opacity: 0;
        transform: translateX(30px);
        animation: navSlideIn 0.4s ease forwards;
    }
    
    .nav--open .nav__list li:nth-child(1) { animation-delay: 0.1s; }
    .nav--open .nav__list li:nth-child(2) { animation-delay: 0.15s; }
    .nav--open .nav__list li:nth-child(3) { animation-delay: 0.2s; }
    .nav--open .nav__list li:nth-child(4) { animation-delay: 0.25s; }
    .nav--open .nav__list li:nth-child(5) { animation-delay: 0.3s; }
    .nav--open .nav__list li:nth-child(6) { animation-delay: 0.35s; }
    .nav--open .nav__list li:nth-child(7) { animation-delay: 0.4s; }
    .nav--open .nav__list li:nth-child(8) { animation-delay: 0.45s; }
    .nav--open .nav__list li:nth-child(9) { animation-delay: 0.5s; }
    
    @keyframes navSlideIn {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav__link {
        font-size: 1.15rem;
        font-weight: 500;
        padding: 1.1rem 1.5rem;
        width: 100%;
        text-align: left;
        border: none;
        border-radius: 12px;
        display: flex;
        align-items: center;
        gap: 1rem;
        position: relative;
        overflow: hidden;
        margin-bottom: 0.25rem;
    }
    
    /* Link Number */
    .nav__link::after {
        content: counter(nav-counter, decimal-leading-zero);
        counter-increment: nav-counter;
        position: absolute;
        right: 1.5rem;
        font-size: 0.7rem;
        font-weight: 400;
        color: var(--text-muted);
        opacity: 0.5;
    }
    
    .nav__list {
        counter-reset: nav-counter;
    }
    
    .nav__link:hover {
        background: rgba(184, 168, 138, 0.1);
        color: var(--gold-muted);
        transform: translateX(5px);
    }
    
    .nav__link--active {
        background: linear-gradient(90deg, rgba(184, 168, 138, 0.15), rgba(184, 168, 138, 0.05));
        color: var(--gold-muted);
        border-left: 3px solid var(--gold-muted);
    }
    
    .nav__link::before { display: none; }
    
    /* Mobile Nav Footer */
    .nav::after {
        content: '';
        display: block;
        margin-top: auto;
        padding: 2rem;
        border-top: 1px solid rgba(184, 168, 138, 0.1);
        text-align: center;
    }
    
    .header__actions .btn { display: none; }
    
    /* Overlay */
    body.no-scroll::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

@media (max-width: 576px) {
    .logo__img { height: 45px; }
    .header--scrolled .logo__img { height: 38px; }
    
    .nav__link {
        font-size: 1.05rem;
        padding: 1rem 1.25rem;
    }
}

/* ============================================
   6. HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(106, 98, 84, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(184, 168, 138, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(139, 115, 85, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(29, 28, 28, 0.6) 0%, rgba(29, 28, 28, 0.3) 50%, rgba(29, 28, 28, 0.8) 100%);
}

.hero__content {
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1;
}

.hero__tagline {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.hero__tagline::before,
.hero__tagline::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.hero__title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--text-primary);
}

.hero__title em {
    font-style: italic;
    font-weight: 400;
    background: var(--gradient-royal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero__cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: bounce 2s infinite;
}

.hero__scroll-text {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero__scroll-icon {
    width: 20px;
    height: 32px;
    border: 1px solid var(--border-medium);
    border-radius: 10px;
    position: relative;
}

.hero__scroll-icon::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 3px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollDown {
    0%, 100% { opacity: 1; top: 6px; }
    50% { opacity: 0.4; top: 14px; }
}

/* ============================================
   7. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gradient-royal);
    color: var(--timberwolf);
    box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium), var(--shadow-glow);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn--outline:hover {
    background: rgba(224, 220, 209, 0.05);
    border-color: var(--accent);
    color: var(--accent);
}

.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.5rem 0;
}

.btn--ghost:hover {
    color: var(--accent);
}

.btn__icon {
    transition: transform var(--transition-fast);
}

.btn:hover .btn__icon {
    transform: translateX(4px);
}

/* ============================================
   8. SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header__tagline {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.section-header__tagline::before,
.section-header__tagline::after {
    content: '?';
    font-size: 0.4rem;
    opacity: 0.5;
}

.section-header__title {
    margin-bottom: 1.25rem;
}

.section-header__subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.section-header--left {
    text-align: left;
    margin-left: 0;
}

.section-header--left .section-header__tagline::before {
    display: none;
}

/* ============================================
   9. PROJECT CARDS
   ============================================ */
.project-card {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-tertiary);
    transition: all var(--transition-smooth);
    border: 1px solid var(--border-subtle);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-medium);
}

.project-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-secondary);
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform var(--transition-slow);
}

/* Option: Use cover for cards that need cropping */
.project-card--cover .project-card__image img {
    object-fit: cover;
}

.project-card:hover .project-card__image img {
    transform: scale(1.08);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(29, 28, 28, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

.project-card__category {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0.35rem 1rem;
    background: rgba(184, 168, 138, 0.15);
    border: 1px solid var(--accent);
    backdrop-filter: blur(10px);
}

.project-card__content {
    padding: 1.75rem;
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.project-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

.project-card:hover .project-card__title {
    color: var(--accent);
}

.project-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   10. SERVICE CARDS
   ============================================ */
.service-card {
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    padding: 2.5rem;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-royal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    background: var(--gradient-royal);
    color: var(--timberwolf);
    font-size: 1.25rem;
}

.service-card__title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-card__description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.service-card__link {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card__link:hover {
    color: var(--text-primary);
}

.service-card__link i {
    transition: transform var(--transition-fast);
}

.service-card__link:hover i {
    transform: translateX(4px);
}

/* ============================================
   11. STATS SECTION
   ============================================ */
.stats {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(184, 168, 138, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(139, 115, 85, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
}

.stat {
    padding: 2rem;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 300;
    background: var(--gradient-royal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat__label {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================
   12. PARTNERS SECTION
   ============================================ */
.partners {
    overflow: hidden;
}

.partners__track {
    display: flex;
    gap: 5rem;
    animation: scroll 35s linear infinite;
}

.partners__logo {
    flex-shrink: 0;
    height: 50px;
    opacity: 0.4;
    filter: grayscale(100%) brightness(1.5);
    transition: all var(--transition-fast);
}

.partners__logo:hover {
    opacity: 0.8;
    filter: grayscale(0%);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   13. CTA SECTION
   ============================================ */
.cta {
    background: var(--bg-secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 50% 100%, rgba(106, 98, 84, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 0%, rgba(184, 168, 138, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta__content {
    position: relative;
    z-index: 1;
}

.cta__title {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta__subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta__buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   14. FOOTER
   ============================================ */
.footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-subtle);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse at 50% 0%, rgba(184, 168, 138, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
}

@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    font-family: var(--font-accent);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.footer__tagline {
    color: var(--accent);
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.footer__heading {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer__links {
    list-style: none;
}

.footer__link {
    display: block;
    color: var(--text-muted);
    padding: 0.4rem 0;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer__link:hover {
    color: var(--accent);
    padding-left: 0.5rem;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer__contact-icon {
    color: var(--accent);
    margin-top: 0.25rem;
    width: 16px;
}

.footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    background: var(--gradient-royal);
    border-color: transparent;
    color: var(--timberwolf);
    transform: translateY(-2px);
}

.footer__bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer__legal {
    display: flex;
    gap: 2rem;
}

.footer__legal a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer__legal a:hover {
    color: var(--accent);
}

/* ============================================
   15. UTILITIES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

.no-scroll {
    overflow: hidden;
}

.img-placeholder {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.divider {
    width: 60px;
    height: 2px;
    background: var(--gradient-royal);
    margin: 2rem auto;
}

/* ============================================
   IMAGE DISPLAY OPTIONS
   ============================================ */
/* Default: Show full image (contain) */
.img-full {
    object-fit: contain !important;
    object-position: center !important;
}

/* Cover: Fill container and crop */
.img-cover {
    object-fit: cover !important;
    object-position: center !important;
}

/* Scale down: Never upscale, only shrink */
.img-scale-down {
    object-fit: scale-down !important;
    object-position: center !important;
}

/* Responsive image container */
.img-container {
    position: relative;
    width: 100%;
    background: var(--bg-secondary);
    overflow: hidden;
}

.img-container--16-9 { aspect-ratio: 16/9; }
.img-container--4-3 { aspect-ratio: 4/3; }
.img-container--1-1 { aspect-ratio: 1/1; }
.img-container--auto { aspect-ratio: auto; }

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* ============================================
   16. FORMS
   ============================================ */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    outline: none;
    transition: all var(--transition-fast);
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184, 168, 138, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   17. RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero__content { padding: 1rem; }
    
    .hero__cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero__cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section { padding: 3rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat { padding: 1.5rem 1rem; }
}

@media (max-width: 480px) {
    .stats__grid { grid-template-columns: 1fr; }
    .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ============================================
   18. PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
    position: relative;
    padding: 12rem 0 6rem;
    background: var(--bg-primary);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(106, 98, 84, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(184, 168, 138, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, transparent, var(--bg-primary));
    pointer-events: none;
}

.page-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.page-hero__breadcrumb a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.page-hero__breadcrumb a:hover {
    color: var(--accent);
}

.page-hero__breadcrumb span {
    color: var(--accent);
}

.page-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.page-hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ============================================
   19. ENHANCED PROJECT CARDS
   ============================================ */
.project-card--featured {
    grid-column: span 2;
}

.project-card--featured .project-card__image {
    aspect-ratio: 16/9;
}

@media (max-width: 768px) {
    .project-card--featured {
        grid-column: span 1;
    }
}

.project-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-royal);
    color: var(--timberwolf);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 0.75rem;
    z-index: 2;
}

.project-card__meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.project-card__meta i {
    margin-right: 0.25rem;
    color: var(--accent);
}

/* ============================================
   20. ENHANCED SERVICE CARDS
   ============================================ */
.service-card--large {
    padding: 3rem;
}

.service-card--large .service-card__icon {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.service-card--hover-lift:hover {
    transform: translateY(-8px);
}

.service-card__number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 300;
    color: var(--border-subtle);
    line-height: 1;
}

.service-card__features {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.service-card__features li::before {
    content: '?';
    color: var(--accent);
    font-weight: bold;
}

/* ============================================
   21. TEAM MEMBER CARDS
   ============================================ */
.team-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-royal);
    transition: width var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-medium);
}

.team-card:hover::before {
    width: 100%;
}

.team-card__image {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-subtle);
    transition: all var(--transition-smooth);
    position: relative;
}

.team-card:hover .team-card__image {
    border-color: var(--accent);
    transform: scale(1.05);
}

.team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.team-card:hover .team-card__image img {
    transform: scale(1.1);
}

.team-card__name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    transition: color var(--transition-fast);
}

.team-card:hover .team-card__name {
    color: var(--accent);
}

.team-card__role {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.team-card__bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-card__social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.team-card__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    transition: all var(--transition-fast);
    font-size: 0.875rem;
}

.team-card__social a:hover {
    background: var(--gradient-royal);
    border-color: transparent;
    color: var(--timberwolf);
    transform: translateY(-2px);
}

/* ============================================
   22. GALLERY & ALBUM CARDS
   ============================================ */
.album-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
}

.album-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-medium);
}

.album-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-secondary);
}

.album-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform var(--transition-slow);
}

.album-card:hover .album-card__image img {
    transform: scale(1.1);
}

.album-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(29, 28, 28, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: all var(--transition-smooth);
}

.album-card__count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(29, 28, 28, 0.8);
    backdrop-filter: blur(10px);
    color: var(--timberwolf);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.album-card__title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

.album-card:hover .album-card__title {
    color: var(--accent);
}

.album-card__description {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.album-card__view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: var(--gradient-royal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--timberwolf);
    font-size: 1.25rem;
    transition: all var(--transition-smooth);
    opacity: 0;
}

.album-card:hover .album-card__view {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Gallery Grid (Masonry-like) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-grid__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-grid__item:nth-child(4n+1) {
    grid-row: span 2;
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-grid__item:hover img {
    transform: scale(1.1);
}

.gallery-grid__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(29, 28, 28, 0);
    transition: background var(--transition-fast);
}

.gallery-grid__item:hover::after {
    background: rgba(29, 28, 28, 0.3);
}

.gallery-grid__zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background: var(--gradient-royal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--timberwolf);
    z-index: 2;
    transition: all var(--transition-fast);
    opacity: 0;
}

.gallery-grid__item:hover .gallery-grid__zoom {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid__item:nth-child(4n+1) {
        grid-row: span 1;
    }
}

/* ============================================
   23. BLOG POST CARDS
   ============================================ */
.blog-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-medium);
}

.blog-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-secondary);
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform var(--transition-slow);
}

/* ============================================
   GALLERY GRID - Standardized Image Sizes
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    margin: 0;
    cursor: pointer;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* مربع - حجم موحد */
    overflow: hidden;
    background: var(--bg-tertiary);
}

.gallery-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* يملأ المربع ويقص الزائد */
    object-position: center;
    transition: transform 0.5s ease;
}

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

.gallery-item__caption {
    padding: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

/* Album Card - Also standardized */
.album-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-secondary);
}

.album-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.album-card:hover .album-card__image img {
    transform: scale(1.05);
}


.blog-card:hover .blog-card__image img {
    transform: scale(1.08);
}

.blog-card__category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-royal);
    color: var(--timberwolf);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 0.75rem;
}

.blog-card__content {
    padding: 1.75rem;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.blog-card__meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-card__meta i {
    color: var(--accent);
    font-size: 0.75rem;
}

.blog-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-card__title {
    color: var(--accent);
}

.blog-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.blog-card__link {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.blog-card__link:hover {
    color: var(--text-primary);
}

.blog-card__link i {
    transition: transform var(--transition-fast);
}

.blog-card__link:hover i {
    transform: translateX(4px);
}

/* ============================================
   24. FILTER TABS
   ============================================ */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-tab--active {
    background: var(--gradient-royal);
    border-color: transparent;
    color: var(--timberwolf);
}

/* ============================================
   25. PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.pagination__link {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.pagination__link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination__link--active {
    background: var(--gradient-royal);
    border-color: transparent;
    color: var(--timberwolf);
}

.pagination__link--disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ============================================
   26. EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-tertiary);
    border: 1px dashed var(--border-medium);
}

.empty-state__icon {
    font-size: 4rem;
    color: var(--border-medium);
    margin-bottom: 1.5rem;
}

.empty-state__title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.empty-state__text {
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================
   27. LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(13, 13, 12, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.lightbox--open {
    opacity: 1;
    visibility: visible;
}

.lightbox__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox__close:hover {
    background: var(--gradient-royal);
    border-color: transparent;
}

.lightbox__image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox__nav:hover {
    background: var(--gradient-royal);
    border-color: transparent;
}

.lightbox__nav--prev {
    left: 2rem;
}

.lightbox__nav--next {
    right: 2rem;
}

/* ============================================
   28. LOADING ANIMATION
   ============================================ */
.loading-skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   29. SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-royal);
    border: none;
    color: var(--timberwolf);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
    box-shadow: var(--shadow-soft);
}

.scroll-top--visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}
