/* =============================================
   NHASAN TAY BAC - MINIMALIST DESIGN SYSTEM
   Inspired by Go.arch architectural aesthetics
   ============================================= */

/* =============================================
   1. CSS VARIABLES & DESIGN SYSTEM
   ============================================= */
:root {
    /* Dark Theme Colors */
    --primary-dark: #0A0A0A;
    --secondary-dark: #1A1A1A;
    --tertiary-dark: #2A2A2A;
    
    /* Accent Colors */
    --accent-gold: #D4A574;
    --accent-gold-light: rgba(212, 165, 116, 0.1);
    --accent-gold-dark: #B8935F;
    
    /* Text Colors */
    --text-primary: #F5F5F5;
    --text-secondary: #A0A0A0;
    --text-muted: #666666;
    
    /* Background Colors */
    --bg-primary: #0A0A0A;
    --bg-secondary: #1A1A1A;
    --bg-tertiary: #2A2A2A;
    --bg-card: rgba(26, 26, 26, 0.8);
    --bg-overlay: rgba(0, 0, 0, 0.9);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1A1A1A, #0A0A0A);
    --gradient-gold: linear-gradient(135deg, #D4A574, #B8935F);
    --gradient-overlay: linear-gradient(180deg, transparent, rgba(0,0,0,0.8));
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    
    /* Font Sizes - Responsive with clamp() */
    --fs-hero-title: clamp(2.5rem, 6vw, 5rem);
    --fs-hero-subtitle: clamp(1rem, 2.5vw, 1.5rem);
    --fs-h1: clamp(2rem, 5vw, 4rem);
    --fs-h2: clamp(1.75rem, 4vw, 3rem);
    --fs-h3: clamp(1.5rem, 3vw, 2.25rem);
    --fs-h4: clamp(1.25rem, 2.5vw, 1.75rem);
    --fs-body: clamp(1rem, 1.5vw, 1.125rem);
    --fs-small: clamp(0.875rem, 1.2vw, 1rem);
    
    /* Spacing Scale */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    --spacing-4xl: 8rem;
    
    /* Container & Grid */
    --container-max: 1200px;
    --container-padding: clamp(1rem, 5vw, 2rem);
    --grid-gap: clamp(1rem, 3vw, 2rem);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(212, 165, 116, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-floating: 500;
}

/* =============================================
   2. RESET & BASE STYLES
   ============================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Selection Colors */
::selection {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

::-moz-selection {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-dark);
}

/* =============================================
   3. TYPOGRAPHY SYSTEM
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
    margin: 0;
    line-height: 1.7;
}

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

a:hover {
    color: var(--accent-gold);
}

strong {
    font-weight: 600;
    color: var(--accent-gold);
}

/* =============================================
   4. LAYOUT COMPONENTS
   ============================================= */

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-gold);
    z-index: var(--z-fixed);
    transition: width var(--transition-fast);
}

/* Section Spacing */
section {
    padding: var(--spacing-4xl) 0;
    position: relative;
}

section:nth-child(even) {
    background-color: var(--bg-secondary);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--accent-gold-light);
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-sm);
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

.section-title {
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--text-primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   5. HEADER & NAVIGATION
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--tertiary-dark);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-base);
}

.logo:hover .logo-img {
    transform: scale(1.5);
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-link {
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--spacing-xs) 0;
    position: relative;
    transition: all var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width var(--transition-fast);
}

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(20px);
    padding: var(--spacing-lg) 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-link {
    display: block;
    padding: var(--spacing-md) var(--container-padding);
    color: var(--text-primary);
    font-size: var(--fs-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--tertiary-dark);
}

.mobile-nav-link:hover {
    background: var(--accent-gold-light);
    color: var(--accent-gold);
}

/* =============================================
   6. HERO SECTION - Z-PATTERN
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(212, 165, 116, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: -35px;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    /* padding-top: var(--spacing-4xl); */
    min-height: 100vh;
}

/* Reversed layout for slide 2 */
.hero-container.reversed {
    grid-template-columns: 1fr 1fr;
}

.hero-container.reversed .hero-content {
    order: 2;
}

.hero-container.reversed .hero-image {
    order: 1;
}

/* Hero Navigation */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-xl);
    pointer-events: none;
    z-index: 10;
}

.hero-nav-prev,
.hero-nav-next {
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all var(--transition-fast);
}

.hero-nav-prev:hover,
.hero-nav-next:hover {
    background: var(--accent-gold);
    transform: scale(1.1);
}

.hero-nav-prev svg,
.hero-nav-next svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-gold);
    stroke-width: 2;
    fill: none;
}

.hero-nav-prev:hover svg,
.hero-nav-next:hover svg {
    stroke: var(--primary-dark);
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: var(--spacing-3xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.3);
    border: 1px solid var(--accent-gold);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-dot.active {
    width: 40px;
    border-radius: 20px;
    background: var(--accent-gold);
}

.hero-dot:hover {
    background: rgba(212, 165, 116, 0.6);
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--accent-gold-light);
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-xl);
    font-size: var(--fs-small);
    color: var(--accent-gold);
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: var(--fs-hero-title);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.03em;
}

.hero-title .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--fs-hero-subtitle);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

/* Floating Stats */
.floating-stats {
    position: absolute;
    bottom: -30px;
    right: 30px;
    display: flex;
    gap: var(--spacing-md);
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--tertiary-dark);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
}

.stat-suffix {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.stat-label {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
}

.scroll-text {
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 25px;
    position: relative;
    margin: 0 auto;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0%, 20% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* =============================================
   7. BUTTON SYSTEM
   ============================================= */
.btn-primary,
.btn-secondary,
.btn-text {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-size: var(--fs-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--tertiary-dark);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: var(--accent-gold-light);
}

.btn-text {
    background: transparent;
    color: #ffe1c2;
    padding: var(--spacing-sm) 0;
    text-transform: none;
}

.btn-text:hover {
    color: var(--text-primary);
}

.btn-text .arrow {
    transition: transform var(--transition-fast);
}

.btn-text:hover .arrow {
    transform: translateX(5px);
}

/* Large Button Variant */
.btn-primary.large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 1.25rem;
}

.btn-primary.full-width {
    width: 100%;
    justify-content: center;
}

/* =============================================
   8. ABOUT SECTION - F-PATTERN
   ============================================= */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-content {
    order: 1;
}

.about-intro {
    margin-bottom: var(--spacing-xl);
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.about-features {
    margin-bottom: var(--spacing-xl);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-content h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
}

.about-image {
    order: 2;
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--tertiary-dark);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    line-height: 1;
}

.badge-text {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* =============================================
   9. WHY WOODEN HOUSE - CARD GRID
   ============================================= */
.why-wooden-house {
    background: var(--bg-primary);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.reason-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--tertiary-dark);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.reason-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: var(--accent-gold-light);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon .icon {
    width: 40px;
    height: 40px;
    color: var(--accent-gold);
}

.card-title {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.card-features {
    list-style: none;
    text-align: left;
}

.card-features li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-lg);
    position: relative;
}

.card-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 600;
}

/* =============================================
   10. WHY CHOOSE US - Z-PATTERN GRID
   ============================================= */
.why-choose-us {
    background: var(--bg-secondary);
}

.choose-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.choose-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--tertiary-dark);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.choose-card:hover::before {
    transform: scaleX(1);
}

.choose-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
}

.choose-card.featured {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, var(--accent-gold-light), var(--bg-card));
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.card-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.card-unit {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card-icon {
    font-size: 3rem;
}

.card-title {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Statistics Bar */
.statistics-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--tertiary-dark);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================
   11. SERVICES SECTION - F-PATTERN
   ============================================= */
.services {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--tertiary-dark);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
}

.service-card.featured {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, var(--accent-gold-light), var(--bg-card));
}

.service-icon {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.service-icon .icon {
    width: 60px;
    height: 60px;
    color: var(--accent-gold);
}

.service-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-title {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-lg);
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.service-features li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-lg);
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 600;
}

.service-link {
    color: var(--accent-gold);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.service-link:hover {
    color: var(--text-primary);
}

/* =============================================
   12. PRODUCTS SECTION - F-PATTERN WITH TABS
   ============================================= */
.products {
    background: var(--bg-secondary);
}

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

.tab-btn {
    background: transparent;
    border: 2px solid var(--tertiary-dark);
    color: var(--text-secondary);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-size: var(--fs-body);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tab-btn:hover,
.tab-btn.active {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: var(--accent-gold-light);
}

.products-grid {
    /* Container for tabs - removed grid here */
    min-height: 400px; /* Consistent height */
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--spacing-xl);
    align-items: start; /* Align cards to top */
}

/* Ensure all individual tabs also use 2-column grid */
#traditional.active,
#modern.active,
#homestay.active,
#resort.active {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--spacing-xl) !important;
}


.product-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--tertiary-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    width: 100%; /* Ensure cards take full width of grid cell */
    max-width: 100%; /* Prevent overflow */
    min-width: 0; /* Prevent grid blowout */
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-badge.premium {
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
}

.product-info {
    padding: var(--spacing-xl);
}

.product-title {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.product-specs {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.spec {
    background: var(--tertiary-dark);
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.product-desc {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.product-price {
    margin-bottom: var(--spacing-lg);
}

.price-label {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

.price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.product-btn {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.product-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* =============================================
   13. PROCESS TIMELINE
   ============================================= */
.process {
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto var(--spacing-3xl);
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--tertiary-dark);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-3xl);
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--tertiary-dark);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    max-width: 450px;
    box-shadow: var(--shadow-md);
    margin-left: auto;
    margin-right: var(--spacing-3xl);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: var(--spacing-3xl);
    margin-right: auto;
}

.timeline-title {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.timeline-duration {
    color: var(--accent-gold);
    font-size: var(--fs-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
    display: block;
}

.timeline-list {
    list-style: none;
}

.timeline-list li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-lg);
    position: relative;
}

.timeline-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 600;
}

.process-cta {
    text-align: center;
}

.cta-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* Process Zigzag Layout - New Design */
.process-zigzag {
    position: relative;
    max-width: 1200px;
    margin: 0 auto var(--spacing-3xl);
    padding: var(--spacing-xl) 0;
}

.zigzag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    position: relative;
}

.zigzag-top {
    margin-bottom: var(--spacing-xl);
}

.zigzag-bottom {
    margin-top: var(--spacing-xl);
}

/* Zigzag connector line */
.zigzag-connector {
    position: relative;
    height: 60px;
    overflow: hidden;
}

.zigzag-connector::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    width: 50%;
    height: 2px;
    background: linear-gradient(
        135deg,
        transparent 0%,
        var(--accent-gold) 20%,
        var(--accent-gold) 80%,
        transparent 100%
    );
    transform: translateY(-50%) rotate(15deg);
    opacity: 0.5;
}

/* Process Step Cards */
.process-step {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--tertiary-dark);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    transform: perspective(800px) rotateY(0deg);
    transform-style: preserve-3d;
}

/* Skew effect for cards */
.zigzag-top .process-step:nth-child(1) {
    transform: perspective(800px) rotateY(-5deg);
}

.zigzag-top .process-step:nth-child(2) {
    transform: perspective(800px) rotateY(5deg);
}

.zigzag-bottom .process-step:nth-child(1) {
    transform: perspective(800px) rotateY(-5deg);
}

.zigzag-bottom .process-step:nth-child(2) {
    transform: perspective(800px) rotateY(5deg);
}

.process-step:hover {
    transform: perspective(800px) rotateY(0deg) translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
}

/* Step Number */
.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

/* Step Content */
.step-content {
    padding-top: var(--spacing-lg);
}

.step-title {
    font-size: 1.25rem;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.step-duration {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: var(--tertiary-dark);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-list li {
    position: relative;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

/* Step Arrows */
.step-arrow {
    position: absolute;
    font-size: 2rem;
    color: var(--accent-gold);
    opacity: 0.6;
    transition: all var(--transition-fast);
}

.zigzag-top .process-step:nth-child(1) .step-arrow {
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
}

.zigzag-top .process-step:nth-child(2) .step-arrow-down {
    bottom: -40px;
    right: 30px;
    transform: rotate(45deg);
}

.zigzag-bottom .process-step:nth-child(1) .step-arrow-up {
    top: -40px;
    left: 30px;
    transform: rotate(-45deg);
}

.zigzag-bottom .process-step:nth-child(1) .step-arrow:not(.step-arrow-up) {
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
}

.step-complete {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Hide old timeline */
.timeline {
    display: none;
}

/* =============================================
   14. PROJECTS GALLERY - F-PATTERN
   ============================================= */
.projects {
    background: var(--bg-secondary);
}

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

.filter-btn {
    background: transparent;
    border: 2px solid var(--tertiary-dark);
    color: var(--text-secondary);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-size: var(--fs-body);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: var(--accent-gold-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-lg) 0;
}

.pagination-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--tertiary-dark);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.pagination-numbers {
    display: flex;
    gap: var(--spacing-sm);
}

.pagination-number {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    border: 2px solid var(--tertiary-dark);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pagination-number:hover {
    background: var(--accent-gold-light);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.pagination-number.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 600;
}

/* Hide projects for pagination */
.project-item.hidden {
    display: none;
}

/* Smooth transition for project items */
.projects-grid.transitioning .project-item {
    animation: fadeInUp 0.3s ease; /* Reduced from 0.5s */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Performance optimizations */
.project-item,
.blog-card,
.service-card,
.pricing-card {
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Faster transitions for better UX */
@media (prefers-reduced-motion: reduce) {
    .projects-grid.transitioning .project-item {
        animation: none;
    }
    
    .project-item {
        transition: none;
    }
}

.project-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: all var(--transition-base);
    cursor: pointer;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-xl);
    opacity: 0;
    transition: all var(--transition-base);
    pointer-events: none;
}

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

.project-content {
    width: 100%;
}

.project-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.project-location {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.project-link {
    color: var(--accent-gold);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.project-link:hover {
    color: var(--text-primary);
}

.projects-cta {
    text-align: center;
}

/* =============================================
   15. BLOG SECTION
   ============================================= */
.blog {
    background: var(--bg-secondary);
    padding: var(--spacing-4xl) 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--tertiary-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.icon-calendar {
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
}

.blog-read-time {
    padding-left: var(--spacing-md);
    border-left: 1px solid var(--tertiary-dark);
}

.blog-title {
    margin-bottom: var(--spacing-md);
}

.blog-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color var(--transition-fast);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-title a:hover {
    color: var(--accent-gold);
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.blog-link:hover {
    gap: var(--spacing-sm);
}

.icon-arrow {
    width: 16px;
    height: 16px;
}

.blog-cta {
    text-align: center;
}

/* =============================================
   16. TESTIMONIALS - Z-PATTERN
   ============================================= */
.testimonials {
    background: var(--bg-primary);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 300%; /* 3 testimonials = 300% */
}

.testimonial-item {
    flex: 0 0 33.333%; /* Each item takes 1/3 of track width */
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.testimonial-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--tertiary-dark);
    border-radius: var(--radius-lg);
    padding: var(--spacing-3xl);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--accent-gold);
    font-family: serif;
}

.stars {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.testimonial-quote {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.author-name {
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-location {
    color: var(--text-secondary);
    font-size: var(--fs-small);
}

/* Testimonial Navigation */
.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
}

.testimonial-prev,
.testimonial-next {
    background: var(--bg-card);
    border: 1px solid var(--tertiary-dark);
    color: var(--text-secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: var(--accent-gold-light);
}

.testimonial-prev svg,
.testimonial-next svg {
    width: 20px;
    height: 20px;
}

.testimonial-dots {
    display: flex;
    gap: var(--spacing-sm);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--tertiary-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background: var(--accent-gold);
}

/* =============================================
   16. PRICING SECTION - F-PATTERN
   ============================================= */
.pricing {
    background: var(--bg-secondary);
}

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

.pricing-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--tertiary-dark);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, var(--accent-gold-light), var(--bg-card));
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    right: var(--spacing-lg);
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--tertiary-dark);
}

.pricing-title {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.pricing-price {
    margin-bottom: var(--spacing-md);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.price-unit {
    font-size: 1rem;
    color: var(--text-secondary);
    vertical-align: baseline;
}

.pricing-desc {
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.pricing-features li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-lg);
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 600;
}

.pricing-btn {
    display: block;
    width: 100%;
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
    text-align: center;
    text-decoration: none;
}

.pricing-btn:hover,
.pricing-btn.primary {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.pricing-note {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

/* =============================================
   17. FAQ SECTION
   ============================================= */
.faq {
    background: var(--bg-primary);
}

/* FAQ Grid Layout */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--tertiary-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--spacing-xl);
    text-align: left;
    color: var(--text-primary);
    font-size: var(--fs-body);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-icon {
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform var(--transition-fast);
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 var(--spacing-xl);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-xl) var(--spacing-xl);
}

.faq-item.active .faq-question {
    color: var(--accent-gold);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-gold);
}

/* =============================================
   18. CTA SECTION
   ============================================= */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 165, 116, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--text-primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: var(--fs-body);
}

.benefit-icon {
    font-size: 1.5rem;
}

/* =============================================
   19. BLOG MODAL
   ============================================= */
.blog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

.blog-modal.active {
    display: block;
}

.blog-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    animation: fadeIn 0.3s ease;
}

.blog-modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 1000px;
    height: 90vh;
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Modal Header */
.blog-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #0f0f0f;
    position: relative;
    flex-shrink: 0;
}

.blog-modal-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.blog-modal-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-modal-category {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-modal-info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.blog-modal-date,
.blog-modal-readtime {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.blog-modal-actions {
    display: flex;
    gap: var(--spacing-md);
}

.blog-modal-share {
    display: flex;
    gap: var(--spacing-sm);
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.share-btn:hover {
    background: var(--primary);
    color: var(--text-dark);
    border-color: var(--primary);
}

.blog-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.blog-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.blog-modal-close svg {
    width: 20px;
    height: 20px;
}

.blog-modal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modal Body */
.blog-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    background: #1a1a1a;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.blog-modal-body::-webkit-scrollbar {
    width: 8px;
}

.blog-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.blog-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.blog-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.blog-modal-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing-3xl);
}

.blog-modal-content {
    max-width: 750px;
    margin: 0 auto;
}

.blog-modal-article {
    max-width: 100%;
    margin-top: 30px;
}

.blog-modal-featured-image {
    width: 100%;
    height: 400px;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
}

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

.blog-modal-article {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.05rem;
}

.blog-modal-article .article-lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 400;
    border-left: 3px solid #f39c12;
    padding-left: 20px;
}

.blog-modal-article h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin: 40px 0 20px 0;
    position: relative;
    padding-bottom: 10px;
}

.blog-modal-article h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #f39c12, transparent);
}

.blog-modal-article h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
    margin: 30px 0 15px 0;
}

.blog-modal-article p {
    margin-bottom: var(--spacing-md);
}

.blog-modal-article ul,
.blog-modal-article ol {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
}

.blog-modal-article li {
    margin-bottom: var(--spacing-sm);
}

.blog-modal-article blockquote,
.blog-modal-article .article-quote {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #f39c12;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 10px;
    font-style: italic;
}

.blog-modal-article blockquote p,
.blog-modal-article .article-quote p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.blog-modal-article blockquote cite,
.blog-modal-article .article-quote cite {
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: block;
    margin-top: var(--spacing-sm);
}

.blog-highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin: var(--spacing-xl) 0;
}

.blog-highlight h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.blog-highlight p {
    color: rgba(0, 0, 0, 0.8);
}

.blog-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.blog-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* Modal Sidebar */
.blog-modal-sidebar {
    position: sticky;
    top: 0;
}

.sidebar-section {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.sidebar-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.related-post {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-post:hover {
    background: rgba(255, 255, 255, 0.05);
}

.related-post-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.related-post-content h4 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.related-post-content span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.875rem;
}

.newsletter-form input::placeholder {
    color: var(--text-secondary);
}

.newsletter-form button {
    background: var(--primary);
    color: var(--text-dark);
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Modal Navigation */
.blog-modal-navigation {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 100;
}

.blog-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-nav-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.blog-nav-btn:hover {
    background: rgba(243, 156, 18, 0.2);
    border-color: rgba(243, 156, 18, 0.5);
    transform: scale(1.05);
}

.blog-nav-btn.prev:hover svg {
    transform: translateX(-3px);
}

.blog-nav-btn.next:hover svg {
    transform: translateX(3px);
}

.blog-nav-btn:active {
    transform: scale(0.98);
}

.blog-nav-btn span {
    font-size: 0.875rem;
}

.blog-nav-btn strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.blog-nav-btn:hover strong {
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-modal-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .blog-modal-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .blog-modal-container {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .blog-modal-body {
        padding: 20px;
        padding-bottom: 100px; /* Space for navigation */
    }
    
    .blog-modal-title {
        font-size: 1.8rem;
    }
    
    .blog-modal-featured-image {
        height: 250px;
    }
    
    .blog-modal-article {
        font-size: 1rem;
    }
    
    .blog-modal-article h2 {
        font-size: 1.5rem;
    }
    
    .blog-modal-article h3 {
        font-size: 1.2rem;
    }
    
    .blog-modal-navigation {
        bottom: 20px;
        gap: 10px;
    }
    
    .blog-nav-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .blog-nav-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* =============================================
   20. CONTACT SECTION - Z-PATTERN
   ============================================= */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--tertiary-dark);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--tertiary-dark);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    color: var(--text-primary);
    font-size: var(--fs-body);
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.info-card,
.benefits-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--tertiary-dark);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.info-card h3,
.benefits-card h4 {
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.info-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-content h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.info-content p {
    color: var(--text-secondary);
}

.info-content a {
    color: var(--accent-gold);
}

.info-content a:hover {
    color: var(--text-primary);
}

.benefits-card ul {
    list-style: none;
}

.benefits-card li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-lg);
    position: relative;
}

.benefits-card li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

/* =============================================
   20. FOOTER
   ============================================= */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--tertiary-dark);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.footer-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-title {
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.footer-contact a {
    color: var(--accent-gold);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--tertiary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.copyright {
    color: var(--text-secondary);
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-links a {
    color: var(--text-secondary);
    font-size: var(--fs-small);
}

.footer-bottom-links a:hover {
    color: var(--accent-gold);
}

/* =============================================
   21. FLOATING ELEMENTS
   ============================================= */

/* Floating Contact Buttons */
.floating-contacts {
    position: fixed;
    right: var(--spacing-lg);
    bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    z-index: var(--z-floating);
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.floating-btn:hover::before {
    opacity: 1;
}

.floating-btn svg,
.floating-btn .zalo-text {
    position: relative;
    z-index: 2;
    transition: all var(--transition-fast);
}

.floating-btn.phone {
    background: #25d366;
    color: white;
}

.floating-btn.zalo {
    background: #0084ff;
    color: white;
}

.floating-btn.messenger {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.floating-btn svg {
    width: 24px;
    height: 24px;
}

.zalo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    left: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--tertiary-dark);
    border-radius: 50%;
    color: var(--accent-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: var(--z-floating);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--accent-gold);
    background: var(--accent-gold-light);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* =============================================
   22. RESPONSIVE DESIGN
   ============================================= */

/* Tablet (768px and down) */
@media (max-width: 768px) {
    :root {
        --spacing-4xl: 4rem;
        --spacing-3xl: 3rem;
        --spacing-2xl: 2rem;
    }
    
    /* Testimonials responsive */
    .testimonials-track {
        width: 300%; /* Still 3 testimonials */
    }
    
    .testimonial-item {
        flex: 0 0 33.333%;
    }
    
    .testimonial-content {
        padding: var(--spacing-lg);
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    /* Header */
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Logo responsive */
    .logo-icon {
        width: 50px;
        height: 50px;
    }
    
    .logo-title {
        font-size: 1.1rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    /* Hero */
    .hero-container,
    .hero-container.reversed {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .hero-image,
    .hero-container.reversed .hero-image {
        order: -1;
    }
    
    .hero-container.reversed .hero-content {
        order: 1;
    }
    
    .hero-nav {
        display: none;
    }
    
    .hero-dots {
        bottom: var(--spacing-xl);
    }
    
    .floating-stats {
        position: static;
        justify-content: center;
        margin-top: var(--spacing-lg);
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .about-content {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    /* Choose Us */
    .choose-us-grid {
        grid-template-columns: 1fr;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Products */
    .product-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--spacing-sm);
    }
    
    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* Single column on mobile */
    .tab-content.active,
    #traditional.active,
    #modern.active,
    #homestay.active,
    #resort.active {
        grid-template-columns: 1fr !important; /* Single column on mobile */
        min-height: 300px;
    }
    
    .products-grid {
        min-height: 300px; /* Smaller on mobile */
    }
    
    /* Timeline */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .timeline-number {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: none;
    }
    
    /* Process Zigzag - Mobile */
    .process-zigzag {
        padding: var(--spacing-md) 0;
    }
    
    .zigzag-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .zigzag-connector {
        display: none;
    }
    
    .zigzag-top .process-step,
    .zigzag-bottom .process-step {
        transform: none !important;
    }
    
    .process-step {
        margin-bottom: var(--spacing-xl);
    }
    
    .step-arrow,
    .step-arrow-up,
    .step-arrow-down {
        display: none;
    }
    
    .step-complete {
        right: 20px;
    }
    
    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* Blog Grid - Mobile */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* FAQ Grid - Mobile */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Floating elements */
    .floating-contacts {
        right: var(--spacing-md);
        bottom: var(--spacing-md);
    }
    
    .back-to-top {
        bottom: var(--spacing-md);
        left: var(--spacing-md);
    }
}

/* Mobile (480px and down) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    /* Logo mobile small */
    .logo-icon {
        width: 45px;
        height: 45px;
    }
    
    .logo-title {
        font-size: 1rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .floating-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-benefits {
        flex-direction: column;
        align-items: center;
    }
}

/* Medium screens and up (769px+) - Desktop and Tablet */
@media (min-width: 769px) {
    /* Force 2 columns for ALL product tabs on desktop/tablet */
    .tab-content.active,
    #traditional.active,
    #modern.active,
    #homestay.active,
    #resort.active {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .product-card {
        width: 100%;
        min-width: 0;
    }
}

/* Large screens (1400px and up) */
@media (min-width: 1400px) {
    :root {
        --container-max: 1400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xl);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image img,
    .about-image img,
    .project-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .scroll-wheel {
        animation: none;
    }
}

/* Print styles */
/* =============================================
   PROJECT MODAL STYLES
   ============================================= */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
}

.project-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.project-modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    max-height: 800px;
    z-index: 1;
    animation: slideUp 0.3s ease;
}

.project-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.project-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: rotate(90deg);
}

.project-modal-gallery {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-gallery-controls {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 5;
}

.gallery-zoom,
.gallery-fullscreen {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-zoom:hover,
.gallery-fullscreen:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
}

.project-gallery-main {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#projectMainImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.project-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-nav-prev {
    left: 20px;
}

.project-nav-next {
    right: 20px;
}

.project-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
}

.project-gallery-info {
    padding: 20px;
    background: rgba(26, 26, 26, 0.9);
    border-radius: 0 0 12px 12px;
    text-align: center;
}

.project-modal-title {
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-modal-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-image-counter {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.current-image {
    color: var(--accent-gold);
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .project-modal-container {
        width: 95%;
        height: 80vh;
    }
    
    .project-modal-close {
        top: 10px;
        right: 10px;
    }
    
    .project-nav {
        width: 40px;
        height: 40px;
    }
    
    .project-nav-prev { left: 10px; }
    .project-nav-next { right: 10px; }
    
    .project-modal-title {
        font-size: 1.2rem;
    }
    
    .project-gallery-controls {
        top: 10px;
        left: 10px;
    }
}

@media print {
    .header,
    .floating-contacts,
    .back-to-top,
    .scroll-indicator {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }
    
    section {
        padding: var(--spacing-lg) 0;
        page-break-inside: avoid;
    }
    
    .section-title {
        color: var(--primary-dark) !important;
        -webkit-text-fill-color: var(--primary-dark) !important;
    }
}

/* =============================================
   23. UTILITY CLASSES
   ============================================= */
.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;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.hidden { display: none; }
.visible { display: block; }

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   24. ANIMATIONS & LOADING STATES
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1200px 0;
    }
    100% {
        background-position: 1200px 0;
    }
}

.loading {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--tertiary-dark) 50%, var(--bg-secondary) 75%);
    background-size: 1200px 100%;
    animation: shimmer 2s infinite;
}

/* Smooth scrolling enhancement */
html {
    scroll-padding-top: 80px;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --accent-gold: #FFD700;
        --text-primary: #FFFFFF;
        --text-secondary: #CCCCCC;
        --bg-primary: #000000;
        --bg-secondary: #111111;
    }
}/* =============================================
   25. PRODUCT DETAIL MODAL
   ============================================= */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
}

.product-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--tertiary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
    color: var(--text-primary);
}

.modal-close:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: rotate(90deg);
}

.modal-content {
    display: flex;
    flex-direction: column;
    height: 90vh;
    max-height: 90vh;
    overflow: hidden;
}

/* Gallery Section */
.modal-gallery {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    overflow-y: auto;
    flex: 2;
    min-width: 0;
    justify-content: center;
}

.gallery-main {
    position: relative;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 400px;
    max-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.gallery-main:hover img {
    transform: scale(1.05);
}

.gallery-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--accent-gold);
    opacity: 0.9;
    pointer-events: auto;
    z-index: 10;
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
    margin-left: 450px;
}

.gallery-prev svg,
.gallery-next svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    opacity: 1;
    transform: scale(1.1);
}

.gallery-thumbs {
    display: flex;
    gap: var(--spacing-sm);
    /* overflow-x: auto; */
    padding: var(--spacing-sm) 0;
}

.thumb-item {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    background: var(--bg-tertiary);
}

.thumb-item.active {
    border-color: var(--accent-gold);
}

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

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Section */
.modal-info {
    padding: var(--spacing-xl);
    overflow-y: auto;
    background: var(--bg-secondary);
    flex: 1;
}

.modal-header {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--tertiary-dark);
}

.modal-title {
    font-size: var(--fs-h3);
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--text-primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-badges {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.modal-specs {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.modal-specs .spec {
    background: var(--tertiary-dark);
    color: var(--text-secondary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: var(--fs-small);
}

.modal-price {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.modal-price .price-label {
    display: block;
    font-size: var(--fs-small);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

.modal-price .price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.modal-description,
.modal-features {
    margin-bottom: var(--spacing-xl);
}

.modal-description h3,
.modal-features h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.description-content {
    color: var(--text-secondary);
    line-height: 1.7;
}

.features-list {
    list-style: none;
}

.features-list li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-lg);
    position: relative;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: var(--spacing-md);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--tertiary-dark);
}

.modal-contact {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.modal-share {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-container {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-content {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }
    
    .modal-gallery {
        padding: var(--spacing-md);
        max-height: 60vh;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .modal-info {
        padding: var(--spacing-md);
        max-height: 40vh;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

/* =============================================
   IMAGE LIGHTBOX MODAL
   ============================================= */

.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.lightbox-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

/* Close Button */
.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: rotate(90deg);
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Main Image Container */
.lightbox-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: grab;
    transition: transform var(--transition-base);
    user-select: none;
}

.lightbox-image.dragging {
    cursor: grabbing;
}

.lightbox-image.zoomed {
    cursor: grab;
}

/* Zoom Controls */
.lightbox-zoom-controls {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    display: flex;
    gap: var(--spacing-xs);
    z-index: 10;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-sm);
    color: var(--accent-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.zoom-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.zoom-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* Navigation Arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    color: var(--accent-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.lightbox-nav:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* Image Info */
.lightbox-info {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--text-primary);
}

.lightbox-title {
    font-size: var(--fs-h4);
    margin-bottom: var(--spacing-xs);
    color: var(--accent-gold);
}

.lightbox-description {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.lightbox-counter {
    font-size: var(--fs-small);
    background: rgba(26, 26, 26, 0.8);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    display: inline-block;
    border: 1px solid var(--accent-gold);
}

/* Loading Spinner */
.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.lightbox-loader.hidden {
    display: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--tertiary-dark);
    border-top: 3px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lightbox-container {
        width: 95%;
        height: 95%;
        padding: var(--spacing-sm);
        flex-direction: column;
        align-items: stretch;
    }
    
    .lightbox-close {
        top: -40px;
        right: -10px;
        width: 36px;
        height: 36px;
    }
    
    .lightbox-close svg {
        width: 16px;
        height: 16px;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
    }
    
    .lightbox-prev {
        left: -60px;
    }
    
    .lightbox-next {
        right: -60px;
    }
    
    .lightbox-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .lightbox-zoom-controls {
        top: var(--spacing-sm);
        left: var(--spacing-sm);
    }
    
    .zoom-btn {
        width: 36px;
        height: 36px;
    }
    
    .zoom-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .lightbox-image-container {
        flex: 1;
        margin-bottom: var(--spacing-md);
    }
    
    .lightbox-info {
        position: relative;
        bottom: auto;
        flex-shrink: 0;
        padding: var(--spacing-md);
        background: rgba(0, 0, 0, 0.8);
        border-radius: var(--radius-md);
    }
    
    .lightbox-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .lightbox-nav {
        display: none;
    }
    
    .lightbox-container {
        flex-direction: column;
        padding: var(--spacing-xs);
    }
    
    .lightbox-image-container {
        flex: 1;
        margin-bottom: var(--spacing-sm);
    }
    
    .lightbox-zoom-controls {
        position: relative;
        top: auto;
        left: auto;
        justify-content: center;
        margin-top: var(--spacing-sm);
    }
    
    .lightbox-info {
        position: relative;
        bottom: auto;
        padding: var(--spacing-sm);
        background: rgba(0, 0, 0, 0.9);
        border-radius: var(--radius-md);
        margin-top: var(--spacing-md);
    }
}

/* Cursor styles for different states */
.lightbox-image.zoom-1 {
    cursor: zoom-in;
}

.lightbox-image.zoom-2,
.lightbox-image.zoom-3 {
    cursor: grab;
}

.lightbox-image.zoom-2.dragging,
.lightbox-image.zoom-3.dragging {
    cursor: grabbing;
}

/* Animation for modal entrance */
.lightbox-modal.active .lightbox-container {
    animation: lightboxZoomIn 0.3s ease-out;
}

@keyframes lightboxZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* =============================================
   DESIGN TEMPLATES SECTION
   ============================================= */
.design-templates {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.design-templates::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(212, 165, 116, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.design-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.design-slider {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.design-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
    transform: translateX(100px);
}

.design-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.design-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

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

.design-slide:hover .design-img {
    transform: scale(1.05);
}

.design-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: var(--spacing-xl);
    transform: translateY(50px);
    transition: transform var(--transition-base);
}

.design-slide:hover .design-overlay {
    transform: translateY(0);
}

.design-info {
    color: var(--text-primary);
}

.design-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h4);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-gold);
}

.design-desc {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.design-view-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.design-view-btn:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.3);
}

.design-view-btn .btn-arrow {
    transition: transform var(--transition-fast);
}

.design-view-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Design Navigation */
.design-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-md);
    pointer-events: none;
    z-index: 10;
}

.design-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    color: var(--accent-gold);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
}

.design-slider-container:hover .design-nav-btn {
    opacity: 1;
    visibility: visible;
}

.design-nav-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.design-nav-btn:active {
    transform: scale(0.95);
}

/* Design Dots */
.design-dots {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 10;
}

.design-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

.design-dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

.design-dot:hover {
    background: var(--accent-gold);
    transform: scale(1.1);
}

/* Design Modal */
.design-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
}

.design-modal.active {
    display: flex;
    animation: fadeIn var(--transition-base) ease-out;
}

.design-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.design-modal-content {
    position: relative;
    width: 95%;
    max-width: 1200px;
    height: 90%;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid !important;
    grid-template-areas: 
        "thumbnails"
        "main"
        "info" !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto 1fr auto !important;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
}

.design-modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    color: var(--accent-gold);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.design-modal-close:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.design-modal-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-md);
    z-index: 10;
}

.design-modal-prev,
.design-modal-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    color: var(--accent-gold);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.design-modal-prev:hover,
.design-modal-next:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.design-modal-thumbnails {
    grid-area: thumbnails;
    display: flex;
    flex-direction: row;
    gap: var(--spacing-sm);
    overflow-x: auto;
    padding: var(--spacing-sm);
    justify-content: center;
}

.design-thumbnail {
    width: 100px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
    background: none;
    padding: 0;
    flex-shrink: 0;
}

.design-thumbnail.active {
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.3);
}

.design-thumbnail:hover {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.design-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.design-modal-main {
    grid-area: main;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

#designModalImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.design-modal-info {
    grid-area: info;
    padding: var(--spacing-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
}

#designModalTitle {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-sm);
}

#designModalDesc {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .design-slider {
        height: 500px;
    }
    
    .design-modal-content {
        grid-template-areas: 
            "main"
            "thumbnails"
            "info";
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto auto;
    }
    
    .design-modal-thumbnails {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .design-thumbnail {
        min-width: 80px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .design-templates {
        padding: var(--spacing-3xl) 0;
    }
    
    .design-slider {
        height: 400px;
    }
    
    .design-overlay {
        padding: var(--spacing-md);
    }
    
    .design-title {
        font-size: var(--fs-h5);
    }
    
    .design-desc {
        font-size: var(--fs-small);
    }
    
    .design-navigation {
        padding: 0 var(--spacing-sm);
    }
    
    .design-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .design-modal-content {
        width: 98%;
        height: 95%;
        padding: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .design-slider {
        height: 300px;
    }
    
    .design-overlay {
        padding: var(--spacing-sm);
        transform: translateY(0);
    }
    
    .design-navigation {
        display: none;
    }
    
    .design-modal-nav {
        display: none;
    }
}
