/* ============================================
   LUXURY PREMIUM DESIGN SYSTEM - ENHANCED 3D UX & PERFECT COLOR HARMONY
   ============================================ */

:root {
    /* ========== PREMIUM COLOR HARMONY SYSTEM ========== */
    /* Golden Luxury Palette */
    --primary-gold: #D4AF37;
    --warm-bronze: #CD7F32;
    --rose-gold: #E8B4CB;
    --platinum: #E5E4E2;
    --copper-accent: #B87333;
    --amber-glow: #FFBF00;
    --champagne: #F7E7CE;
    
    /* Enhanced Luxury Black Harmony */
    --text-primary: #0A0A0A;         /* Ultra deep black for maximum contrast */
    --text-secondary: #1A1A1A;       /* Deep charcoal for secondary content */
    --text-tertiary: #2A2A2A;        /* Medium dark for subtle content */
    --text-muted: #4A4A4A;           /* Sophisticated muted grey */
    --text-light: #6A6A6A;           /* Light grey for subtle elements */
    --text-inverse: #FFFFFF;         /* Pure white for dark backgrounds */
    
    /* 3D Depth Color System */
    --luxury-black: #000000;         /* Pure black for ultimate depth */
    --rich-graphite: #1C1C1C;        /* Premium graphite with depth */
    --charcoal: #2C2C2C;             /* Deep charcoal for layering */
    --deep-navy: #0F1419;            /* Luxury navy black with blue undertones */
    --obsidian: #0D1117;             /* Obsidian black for dramatic effect */
    --slate-dark: #1E293B;           /* Dark slate for sophisticated backgrounds */
    --midnight: #0C1322;             /* Midnight blue-black */
    
    /* ========== 3D SURFACE & ELEVATION SYSTEM ========== */
    --surface-base: #FFFFFF;
    --surface-elevated-1: #FAFBFC;   /* First elevation level */
    --surface-elevated-2: #F6F8FA;   /* Second elevation level */
    --surface-elevated-3: #F1F3F5;   /* Third elevation level */
    --surface-elevated-4: #EBEEF1;   /* Fourth elevation level */
    --surface-hover: #E6E9ED;        /* Interactive hover state */
    --surface-pressed: #DDE1E5;      /* Pressed state */
    --surface-dark: var(--luxury-black);
    --surface-glass: rgba(255, 255, 255, 0.08);
    
    /* ========== ADVANCED 3D SHADOW SYSTEM ========== */
    --shadow-3d-minimal: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-3d-sm: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
    --shadow-3d-md: 0 4px 16px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-3d-lg: 0 8px 32px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-3d-xl: 0 16px 64px rgba(0, 0, 0, 0.22), 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-3d-2xl: 0 32px 128px rgba(0, 0, 0, 0.25), 0 16px 64px rgba(0, 0, 0, 0.18);
    --shadow-3d-inner: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-glow-gold: 0 0 30px rgba(212, 175, 55, 0.4);
    --shadow-glow-soft: 0 0 20px rgba(212, 175, 55, 0.2);
    
    /* ========== 3D GRADIENTS & EFFECTS ========== */
    --gradient-3d-gold: linear-gradient(145deg, #D4AF37 0%, #B8941F 50%, #C9A961 100%);
    --gradient-3d-dark: linear-gradient(145deg, #1A1A1A 0%, #0A0A0A 50%, #2A2A2A 100%);
    --gradient-3d-surface: linear-gradient(145deg, #FFFFFF 0%, #F5F5F5 50%, #FAFAFA 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    --gradient-depth: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 100%);
    --gradient-luxury-bg: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 25%, #0F1419 50%, #1C1C1C 75%, #000000 100%);
    
    /* ========== 3D BORDERS & SHAPES ========== */
    --border-3d-light: 1px solid rgba(212, 175, 55, 0.2);
    --border-3d-medium: 2px solid rgba(212, 175, 55, 0.4);
    --border-3d-strong: 3px solid rgba(212, 175, 55, 0.6);
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
    --border-dark: 1px solid rgba(255, 255, 255, 0.05);
    
    /* Border Radius System */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 40px;
    --radius-full: 9999px;
    
    /* ========== 3D ANIMATION SYSTEM ========== */
    --transition-micro: 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-elegant: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-luxury: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    
    /* 3D Transform Presets */
    --transform-hover: translateY(-4px) scale(1.02);
    --transform-press: translateY(1px) scale(0.98);
    --transform-float: translateY(-8px) rotateX(5deg);
}

/* ============================================
   GLOBAL FOUNDATION WITH 3D ENHANCEMENTS
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--surface-base);
    overflow-x: hidden;
    perspective: 1000px;
}

/* ============================================
   ENHANCED 3D LUXURY NAVIGATION
   ============================================ */
.luxury-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: var(--border-3d-light);
    box-shadow: var(--shadow-3d-lg);
    transform: translateZ(0);
    transition: all var(--transition-smooth);
}

.luxury-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-3d-gold);
    opacity: 0.7;
}

.luxury-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.luxury-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    background: var(--gradient-3d-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateZ(0);
    transition: all var(--transition-elegant);
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.luxury-logo:hover {
    transform: var(--transform-hover);
    filter: drop-shadow(var(--shadow-glow-soft));
}

.luxury-nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.luxury-nav-link {
    position: relative;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
    transform: translateZ(0);
    overflow: hidden;
}

.luxury-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-3d-surface);
    opacity: 0;
    transform: translateY(100%);
    transition: all var(--transition-elegant);
    z-index: -1;
}

.luxury-nav-link:hover {
    color: var(--text-primary);
    background: var(--surface-elevated-2);
    box-shadow: var(--shadow-3d-sm);
    transform: var(--transform-hover);
}

.luxury-nav-link:hover::before {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   3D ENHANCED LUXURY CARDS
   ============================================ */
.luxury-card {
    background: var(--surface-base);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-3d-lg);
    border: var(--border-3d-light);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    transition: all var(--transition-elegant);
    backdrop-filter: blur(10px) saturate(120%);
}

.luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-3d-gold);
    opacity: 0.8;
    transform: scaleX(0);
    transition: transform var(--transition-luxury);
}

.luxury-card:hover {
    transform: var(--transform-hover);
    box-shadow: var(--shadow-3d-xl), var(--shadow-glow-soft);
    border-color: rgba(212, 175, 55, 0.4);
}

.luxury-card:hover::before {
    transform: scaleX(1);
}

/* ============================================
   3D ENHANCED BUTTONS
   ============================================ */
.luxury-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-3d-gold);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-3d-md);
    transform: translateZ(0);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
}

.luxury-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left var(--transition-elegant);
}

.luxury-btn:hover {
    transform: var(--transform-hover);
    box-shadow: var(--shadow-3d-xl), var(--shadow-glow-gold);
    filter: brightness(1.1);
}

.luxury-btn:hover::before {
    left: 100%;
}

.luxury-btn:active {
    transform: var(--transform-press);
    box-shadow: var(--shadow-3d-sm);
}

/* ============================================
   3D ENHANCED TYPOGRAPHY
   ============================================ */
.luxury-heading-xl {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: var(--gradient-3d-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--shadow-3d-sm);
}

.luxury-heading-lg {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
}

.luxury-heading-md {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.luxury-text-gold {
    background: var(--gradient-3d-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* ============================================
   3D ENHANCED CONTAINER SYSTEM
   ============================================ */
.luxury-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* ============================================
   3D ENHANCED HERO SECTIONS
   ============================================ */
.luxury-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-luxury-bg);
    overflow: hidden;
    perspective: 1000px;
}

.luxury-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.luxury-hero-content {
    text-align: center;
    color: var(--text-inverse);
    z-index: 2;
    transform: translateZ(50px);
    animation: heroFloat 6s ease-in-out infinite alternate;
}

@keyframes heroFloat {
    0% { transform: translateZ(50px) translateY(0px); }
    100% { transform: translateZ(50px) translateY(-10px); }
}

/* ============================================
   MOBILE RESPONSIVE 3D ENHANCEMENTS
   ============================================ */
.luxury-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-smooth);
}

.luxury-mobile-bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-smooth);
    transform-origin: center;
}

@media (max-width: 768px) {
    .luxury-nav-links {
        display: none;
    }
    
    .luxury-mobile-toggle {
        display: flex;
    }
    
    .luxury-container {
        padding: 0 1rem;
    }
    
    .luxury-card {
        padding: 1.5rem;
    }
    
    /* Reduced 3D effects on mobile for performance */
    .luxury-card:hover {
        transform: translateY(-2px);
    }
    
    .luxury-btn:hover {
        transform: translateY(-2px);
    }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   ============================================ */

/* Mobile First Approach */
@media (max-width: 480px) {
    /* Extra Small Devices - Phones */
    .luxury-container {
        padding: 0 0.75rem;
        max-width: 100%;
    }
    
    .luxury-heading-xl {
        font-size: 1.75rem !important;
        line-height: 1.3;
        text-align: center;
    }
    
    .luxury-heading-lg {
        font-size: 1.5rem !important;
    }
    
    .luxury-heading-md {
        font-size: 1.25rem !important;
    }
    
    .luxury-body-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .luxury-hero {
        min-height: 60vh !important;
        padding: 80px 0 2rem !important;
    }
    
    .luxury-hero-content {
        text-align: center;
        padding: 1rem;
    }
    
    .luxury-card {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .luxury-btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .luxury-nav-container {
        padding: 0 1rem;
    }
    
    .luxury-logo {
        font-size: 1.25rem !important;
    }
    
    /* Grid adjustments for mobile */
    .luxury-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    /* Service cards mobile layout */
    .service-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    /* Blog grid mobile */
    .blog-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Portfolio grid mobile */
    .portfolio-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Contact form mobile */
    .contact-form {
        padding: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Hide complex 3D effects on small screens */
    .luxury-card {
        transform: none !important;
        box-shadow: var(--shadow-3d-sm) !important;
    }
    
    .luxury-card:hover {
        transform: translateY(-1px) !important;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    /* Small Devices - Tablets Portrait */
    .luxury-container {
        padding: 0 1.5rem;
        max-width: 100%;
    }
    
    .luxury-heading-xl {
        font-size: 2.25rem;
    }
    
    .luxury-hero {
        min-height: 70vh;
        padding: 100px 0 3rem;
    }
    
    .luxury-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .luxury-card {
        padding: 2rem;
    }
    
    .luxury-btn {
        padding: 1rem 2rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Medium Devices - Tablets Landscape */
    .luxury-container {
        padding: 0 2rem;
        max-width: 100%;
    }
    
    .luxury-heading-xl {
        font-size: 2.75rem;
    }
    
    .luxury-hero {
        min-height: 80vh;
    }
    
    .luxury-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    /* Large Devices - Desktops */
    .luxury-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .luxury-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1441px) {
    /* Extra Large Devices - Large Desktops */
    .luxury-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 3rem;
    }
}

/* ============================================
   RESPONSIVE NAVIGATION ENHANCEMENTS
   ============================================ */

@media (max-width: 768px) {
    .luxury-nav {
        padding: 0.75rem 0;
    }
    
    .luxury-nav-container {
        justify-content: space-between;
    }
    
    .luxury-nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--surface-base);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transform: translateX(-100%);
        transition: transform var(--transition-smooth);
        z-index: 999;
        box-shadow: var(--shadow-3d-lg);
    }
    
    .luxury-nav-links.active {
        transform: translateX(0);
    }
    
    .luxury-nav-links li {
        margin: 1rem 0;
        width: 80%;
        text-align: center;
    }
    
    .luxury-nav-link {
        display: block;
        padding: 1rem;
        font-size: 1.125rem;
        border-radius: var(--radius-lg);
        transition: all var(--transition-smooth);
    }
    
    .luxury-nav-link:hover {
        background: var(--surface-elevated-2);
        transform: translateX(5px);
    }
}

/* ============================================
   RESPONSIVE FORM ENHANCEMENTS
   ============================================ */

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-group {
        flex: 1;
    }
    
    .form-control {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    textarea.form-control {
        min-height: 120px;
    }
}

/* ============================================
   RESPONSIVE IMAGE & MEDIA ENHANCEMENTS
   ============================================ */

@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }
    
    .hero-image,
    .featured-image {
        height: 250px !important;
        object-fit: cover;
    }
    
    .gallery-image {
        height: 200px !important;
        object-fit: cover;
    }
    
    /* Video responsive */
    .video-container {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
    }
    
    .video-container iframe,
    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* ============================================
   RESPONSIVE UTILITY CLASSES
   ============================================ */

.hide-mobile {
    display: block;
}

.show-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    
    .show-mobile {
        display: block !important;
    }
    
    .text-center-mobile {
        text-align: center !important;
    }
    
    .padding-mobile {
        padding: 1rem !important;
    }
    
    .margin-mobile {
        margin: 1rem !important;
    }
}

/* ============================================
   RESPONSIVE BREADCRUMB
   ============================================ */

@media (max-width: 768px) {
    .luxury-breadcrumb {
        padding: 0.75rem 0;
    }
    
    .luxury-breadcrumb ol {
        font-size: 0.8rem;
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .luxury-breadcrumb li {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ============================================
   TOUCH ENHANCEMENTS FOR MOBILE
   ============================================ */

@media (hover: none) and (pointer: coarse) {
    /* Touch devices */
    .luxury-btn,
    .luxury-nav-link,
    .luxury-card {
        transition: none; /* Remove hover transitions on touch devices */
    }
    
    .luxury-btn:active {
        transform: scale(0.98);
    }
    
    .luxury-card:active {
        transform: scale(0.995);
    }
    
    /* Increase touch targets */
    .luxury-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .luxury-nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE GRID SYSTEM
   ============================================ */

.luxury-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin: 2rem 0;
}

.luxury-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.luxury-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.luxury-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Service specific grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Blog grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Flex utilities */
.luxury-flex {
    display: flex;
    gap: 1rem;
}

.luxury-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.luxury-flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.luxury-flex-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.luxury-flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ============================================
   ENHANCED LOADING ANIMATIONS
   ============================================ */
@keyframes luxuryPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

@keyframes luxurySlideIn {
    from { 
        opacity: 0; 
        transform: translateY(30px) rotateX(10deg); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) rotateX(0); 
    }
}

/* Apply animations to elements as they come into view */
.luxury-card {
    animation: luxurySlideIn 0.8s var(--transition-elegant) forwards;
}

.luxury-card:nth-child(even) {
    animation-delay: 0.1s;
}

.luxury-card:nth-child(odd) {
    animation-delay: 0.2s;
}

/* ============================================
   SCROLL ENHANCEMENTS
   ============================================ */
html {
    scroll-padding-top: 100px;
}

/* Custom scrollbar with 3D styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-elevated-1);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-3d-gold);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-3d-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
    box-shadow: var(--shadow-3d-md);
}

/* ============================================
   NAVIGATION RESPONSIVE ENHANCEMENTS
   ============================================ */

/* Navigation actions container */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language switcher in navigation */
.luxury-nav .language-switcher {
    margin-right: 1rem;
}

/* Mobile navigation adjustments */
@media (max-width: 768px) {
    .nav-actions {
        gap: 0.5rem;
    }
    
    .luxury-nav-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .luxury-nav-links {
        order: 3;
        width: 100%;
        flex-direction: column;
        background: rgba(0,0,0,0.95);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-smooth);
    }
    
    .luxury-nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .language-switcher {
        order: 2;
    }
    
    .luxury-mobile-toggle {
        order: 4;
    }
}

/* ============================================
   PORTFOLIO PAGE SPECIFIC STYLES
   ============================================ */

/* Portfolio Hero Enhancements */
.portfolio-hero-bg {
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.95) 0%, 
        rgba(45, 45, 45, 0.9) 50%, 
        rgba(26, 26, 26, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,0 100,0 50,100" fill="rgba(212,175,55,0.05)"/></svg>');
    background-size: cover, 200px 200px;
    background-attachment: fixed;
}

/* Portfolio Flipbook Container */
.portfolio-flipbook-container {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    border: 3px solid transparent;
    background-clip: padding-box;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-luxury);
}

.portfolio-flipbook-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-3d-xl);
}

.portfolio-flipbook-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-3d-gold);
    z-index: -1;
    margin: -3px;
    border-radius: var(--radius-xl);
}

/* Portfolio Category Cards */
.portfolio-category-card {
    position: relative;
    transition: all var(--transition-luxury);
}

.portfolio-category-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: var(--shadow-3d-xl);
    border-color: var(--primary-gold);
}

.portfolio-category-card:hover .category-icon {
    transform: scale(1.2) rotate(10deg);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Portfolio Stats Enhancement */
.portfolio-stats {
    animation: statsCountUp 1s ease-out forwards;
}

@keyframes statsCountUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Category Cards Grid */
.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* CTA Section Enhancements */
.luxury-cta-section {
    position: relative;
    overflow: hidden;
}

.luxury-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.trust-indicators {
    animation: fadeInUp 1s ease-out 0.5s forwards;
    opacity: 0;
}

.cta-buttons {
    animation: fadeInUp 1s ease-out 0.7s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Optimizations for Portfolio */
@media (max-width: 768px) {
    .portfolio-flipbook-container {
        margin: 1rem;
        border-radius: var(--radius-lg);
    }
    
    .category-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-category-card {
        padding: 2rem 1.5rem !important;
    }
    
    .portfolio-stats {
        flex-direction: column;
        gap: 2rem !important;
    }
    
    .trust-indicators {
        gap: 2rem !important;
    }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .category-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
