/* ============================================================
   HOME DESIGNER - PREMIUM LUXURY STYLESHEET
   ============================================================
   Design Philosophy: Luxury, Elegance, Sophistication
   Inspired by: Apple, Airbnb Luxe, Studio McGee
   ============================================================ */

/* ===== 1. GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');

/* ===== 2. CSS CUSTOM PROPERTIES ===== */
:root {
    /* Colors - Luxury Palette */
    --color-gold: #C9A66B;
    --color-gold-light: #E8D5B0;
    --color-gold-dark: #B8944E;
    --color-dark: #2C2C2C;
    --color-dark-soft: #3A3A3A;
    --color-cream: #FAF8F5;
    --color-cream-dark: #F5F0EB;
    --color-white: #FFFFFF;
    --color-text: #3A3A3A;
    --color-text-light: #6B6B6B;
    --color-text-muted: #888888;
    --color-border: rgba(201, 166, 107, 0.15);
    --color-overlay: rgba(44, 44, 44, 0.6);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;

    /* Transitions */
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-premium: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 4px 15px rgba(201, 166, 107, 0.3);
    --shadow-gold-lg: 0 8px 25px rgba(201, 166, 107, 0.4);

    /* Spacing */
    --section-padding: 120px 5%;
    --section-padding-mobile: 80px 5%;
    --max-width: 1200px;
}

/* ===== 3. RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== 4. ANIMATED BACKGROUND GRADIENT ===== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #2C2C2C, #3A3A3A, #F5F0EB, #FAF8F5, #2C2C2C);
    background-size: 400% 400%;
    animation: gradientShift 25s ease infinite;
    opacity: 0.03;
    pointer-events: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 0%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 100%; }
    100% { background-position: 0% 50%; }
}

/* ===== 5. TYPOGRAPHY ===== */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    margin-bottom: 60px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.8;
}

/* ===== 6. BUTTONS - Premium Micro-interactions ===== */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.4s var(--transition-smooth),
                box-shadow 0.4s var(--transition-smooth),
                background 0.4s var(--transition-smooth);
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Shine effect */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s var(--transition-premium);
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

/* Click compress */
.btn:active {
    transform: scale(0.97) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-lg);
    background: linear-gradient(135deg, var(--color-gold-dark), #A8843E);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-lg);
    background: linear-gradient(135deg, var(--color-gold-dark), #A8843E);
}

/* ===== 7. NAVBAR - Glassmorphism with Scroll Effect ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.5s var(--transition-smooth);
    will-change: transform, padding;
}

body.sidebar-open {
    overflow: hidden;
}

/* Navbar scrolled state */
.navbar.scrolled {
    padding: 8px 5%;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .nav-logo .logo {
    width: 40px;
    height: 40px;
}

.navbar.scrolled .logo-text {
    font-size: 1.2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo .logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.5s var(--transition-smooth);
}

.logo-text {
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.5s var(--transition-smooth);
}

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-links-list {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-links-list li a {
    color: #4A4A4A;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

/* Animated underline */
.nav-links-list li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    border-radius: 2px;
    transition: transform 0.3s var(--transition-smooth);
}

.nav-links-list li a:hover::after,
.nav-links-list li a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-links-list li a:hover,
.nav-links-list li a.active {
    color: var(--color-gold);
    background-color: rgba(201, 166, 107, 0.08);
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.35s var(--transition-smooth);
    z-index: 1200;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sidebar-header {
    display: none;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
}

.sidebar-brand .logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.sidebar-brand .logo-text {
    display: block;
    font-size: 1.08rem;
    color: var(--color-white);
}

.sidebar-brand small {
    display: block;
    margin-top: 2px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar-close {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 28px;
    height: 2.5px;
    background-color: var(--color-dark);
    border-radius: 2px;
    transition: all 0.3s var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== 8. HERO SECTION - Ken Burns + Text Reveal ===== */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Ken Burns background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.55), rgba(44, 44, 44, 0.2)),
                url('../Asset/assets/img1.jpg') center/cover no-repeat;
    animation: kenBurns 25s ease-in-out infinite alternate;
    transform-origin: center;
    will-change: transform;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* Gradient overlay at bottom */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--color-cream), transparent);
    z-index: 1;
}

/* Floating decorative elements */
.hero .floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(201, 166, 107, 0.08);
    pointer-events: none;
    z-index: 1;
    animation: float 8s ease-in-out infinite;
}

.hero .floating-element:nth-child(2) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.hero .floating-element:nth-child(3) {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: -3%;
    animation-delay: -3s;
}

.hero .floating-element:nth-child(4) {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 10%;
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero-content {
    max-width: 850px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Word-by-word reveal for heading */
.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    color: var(--color-white);
    font-weight: 700;
    margin-bottom: 24px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.2);
    line-height: 1.15;
    opacity: 0;
    transform: translateY(30px);
    animation: heroTextReveal 1.2s var(--transition-premium) 0.3s forwards;
}

@keyframes heroTextReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content p {
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 300;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: heroTextReveal 1.2s var(--transition-premium) 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: heroTextReveal 1s var(--transition-premium) 0.9s forwards;
}

/* ===== 9. SCROLL ANIMATIONS (Intersection Observer) ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition-premium),
                transform 0.8s var(--transition-premium);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.animate-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--transition-smooth),
                transform 0.6s var(--transition-smooth);
}

.animate-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(4) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(5) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(6) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(7) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(8) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(9) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(10) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(11) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(12) { transition-delay: 0.65s; opacity: 1; transform: translateY(0); }

/* Scale reveal */
.animate-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s var(--transition-premium),
                transform 0.8s var(--transition-premium);
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Slide from left */
.animate-slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--transition-premium),
                transform 0.8s var(--transition-premium);
}

.animate-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from right */
.animate-slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--transition-premium),
                transform 0.8s var(--transition-premium);
}

.animate-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== 10. ABOUT PREVIEW ===== */
.about-preview {
    padding: var(--section-padding);
    background-color: var(--color-cream);
}

.about-content {
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 70px);
    max-width: var(--max-width);
    margin: 0 auto;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-gold-light);
    border-radius: 18px;
    z-index: 0;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    transition: transform 0.6s var(--transition-smooth);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--color-dark);
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-text p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.stat-item {
    text-align: center;
    padding: 25px 15px;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-item .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    display: block;
    font-family: var(--font-heading);
}

.stat-item .label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 6px;
    display: block;
    font-weight: 500;
}

/* ===== 11. SERVICES SECTION ===== */
.services {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-card {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s var(--transition-smooth);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

/* Gold top border on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transform: scaleX(0);
    transition: transform 0.5s var(--transition-premium);
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(201, 166, 107, 0.12);
    border-color: var(--color-gold);
}

.service-card .icon {
    font-size: 3.2rem;
    margin-bottom: 24px;
    display: block;
    transition: transform 0.5s var(--transition-bounce);
}

.service-card:hover .icon {
    transform: scale(1.2) rotate(-5deg);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.service-card p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-card .btn {
    padding: 10px 30px;
    font-size: 0.85rem;
}

/* ===== 12. WHY CHOOSE US ===== */
.why-choose-us {
    padding: var(--section-padding);
    background-color: var(--color-white);
}

.why-content {
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 70px);
    max-width: var(--max-width);
    margin: 0 auto;
}

.why-image {
    flex: 1;
    position: relative;
}

.why-image::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-gold-light);
    border-radius: 18px;
    z-index: 0;
}

.why-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    transition: transform 0.6s var(--transition-smooth);
}

.why-image:hover img {
    transform: scale(1.02);
}

.why-text {
    flex: 1;
}

.why-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--color-dark);
    margin-bottom: 35px;
    line-height: 1.3;
}

.features-list {
    display: grid;
    gap: 14px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.05rem;
    color: #4A4A4A;
    padding: 16px 20px;
    background-color: var(--color-cream);
    border-radius: 12px;
    transition: all 0.4s var(--transition-smooth);
    border: 1px solid transparent;
}

.features-list li:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-gold-light);
    box-shadow: 0 4px 15px rgba(201, 166, 107, 0.1);
    transform: translateX(8px);
}

.features-list li .check {
    color: var(--color-gold);
    font-weight: 700;
    font-size: 1.3rem;
    background: rgba(201, 166, 107, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== 13. FEATURED PROJECTS / PORTFOLIO ===== */
.projects {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--color-cream-dark) 0%, var(--color-cream) 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto 50px;
}

.project-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.5s var(--transition-smooth);
    will-change: transform;
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--transition-smooth);
    will-change: transform;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent 20%, rgba(44, 44, 44, 0.9));
    color: var(--color-white);
    padding: 40px 25px 25px;
    transition: all 0.5s var(--transition-smooth);
    transform: translateY(30px);
    opacity: 0.9;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: var(--color-white);
    transform: translateY(10px);
    transition: transform 0.4s var(--transition-smooth) 0.1s;
}

.project-card:hover .project-overlay h3 {
    transform: translateY(0);
}

.project-overlay p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 8px;
    transform: translateY(10px);
    transition: transform 0.4s var(--transition-smooth) 0.15s;
}

.project-card:hover .project-overlay p {
    transform: translateY(0);
}

.project-overlay .style-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: translateY(10px);
    transition: transform 0.4s var(--transition-smooth) 0.2s;
}

.project-card:hover .project-overlay .style-tag {
    transform: translateY(0);
}

.projects .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* ===== 14. BEFORE & AFTER COMPARISON SLIDER ===== */
.before-after-section {
    padding: var(--section-padding);
    background-color: var(--color-white);
}

.before-after-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.before-after-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.after-image {
    clip-path: inset(0 50% 0 0);
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--color-white);
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.slider-handle::before {
    content: '⟷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s var(--transition-smooth);
}

.slider-handle:hover::before {
    transform: translate(-50%, -50%) scale(1.1);
}

.slider-label {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.6);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 5;
    pointer-events: none;
}

.slider-label.before {
    left: 20px;
}

.slider-label.after {
    right: 20px;
}

/* ===== 15. DESIGN PROCESS TIMELINE ===== */
.design-process {
    padding: var(--section-padding);
    background-color: var(--color-white);
}

.timeline {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 50px 0 30px;
}

/* Progress line that fills on scroll */
.timeline-progress {
    position: absolute;
    top: 55px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: rgba(201, 166, 107, 0.2);
    transform: translateY(-50%);
    border-radius: 2px;
    overflow: hidden;
}

.timeline-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
    border-radius: 2px;
    transition: width 1.5s var(--transition-premium);
}

.timeline-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
    transition: all 0.4s var(--transition-smooth);
}

.timeline-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--color-cream), var(--color-cream-dark));
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 18px;
    border: 3px solid var(--color-gold);
    transition: all 0.5s var(--transition-smooth);
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(201, 166, 107, 0.15);
    position: relative;
}

/* Step active state */
.timeline-step.active .step-number {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
    transform: scale(1.12);
    box-shadow: 0 8px 25px rgba(201, 166, 107, 0.3);
}

.timeline-step h4 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.timeline-step p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ===== 16. STATISTICS SECTION - Animated Counters ===== */
.stats {
    padding: 100px 5%;
    background: linear-gradient(135deg, var(--color-dark), var(--color-dark-soft));
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 166, 107, 0.08), transparent);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.5s var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(201, 166, 107, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.stat-card .number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--color-gold);
    display: block;
    font-family: var(--font-heading);
    line-height: 1.1;
}

.stat-card .label {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-top: 12px;
    display: block;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* ===== 17. TESTIMONIALS - Fade + Swipe ===== */
.testimonials {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--color-cream), var(--color-cream-dark));
}

.testimonials-slider {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s var(--transition-premium);
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 100%;
    background-color: var(--color-white);
    border-radius: 24px;
    padding: 50px 45px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid var(--color-border);
    position: relative;
    opacity: 0.6;
    transition: opacity 0.6s var(--transition-premium);
}

.testimonial-card.active {
    opacity: 1;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--color-gold);
    position: absolute;
    top: 10px;
    left: 30px;
    opacity: 0.15;
    line-height: 1;
}

.testimonial-card .client-img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--color-gold-light);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.testimonial-card h4 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.testimonial-card .stars {
    color: var(--color-gold);
    font-size: 1.3rem;
    margin-bottom: 24px;
    letter-spacing: 3px;
}

.testimonial-card .feedback {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.9;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(201, 166, 107, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    padding: 0;
}

.testimonial-dot.active {
    background: var(--color-gold);
    width: 30px;
    border-radius: 5px;
}

.testimonial-dot:hover {
    background: var(--color-gold);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.testimonial-controls button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    background-color: var(--color-white);
    color: var(--color-gold);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-controls button:hover {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 166, 107, 0.3);
}

.testimonial-controls button:active {
    transform: scale(0.95);
}

/* ===== 18. CTA SECTION ===== */
.cta-section {
    padding: 130px 5%;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.85), rgba(44, 44, 44, 0.5)),
                url('../Asset/assets/img2.jpg') center/cover no-repeat;
    text-align: center;
    background-attachment: fixed;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--color-white);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ===== 19. BLOG SECTION ===== */
.blog {
    padding: var(--section-padding);
    background-color: var(--color-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.blog-card {
    background-color: var(--color-cream);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s var(--transition-smooth);
    border: 1px solid rgba(201, 166, 107, 0.06);
    will-change: transform;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold-light);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card .blog-content {
    padding: 28px;
}

.blog-card .blog-content .date {
    color: var(--color-gold);
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card .blog-content h3 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card .blog-content p {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.blog-card .blog-content .read-more {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card .blog-content .read-more:hover {
    color: var(--color-gold-dark);
    gap: 10px;
}

/* ===== 20. CONTACT PREVIEW ===== */
.contact-preview {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--color-cream-dark), var(--color-cream));
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-detail .icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-cream), var(--color-cream-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 1px solid var(--color-gold-light);
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    transition: transform 0.4s var(--transition-smooth);
}

.contact-detail:hover .icon {
    transform: scale(1.1);
}

.contact-detail h4 {
    color: var(--color-dark);
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-detail p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Form - Floating effect */
.contact-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    border: 1px solid var(--color-border);
    transform: translateY(0);
    transition: transform 0.5s var(--transition-smooth);
}

.contact-form:hover {
    transform: translateY(-5px);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid #E5E0DB;
    border-radius: 12px;
    font-size: 1rem;
    margin-bottom: 20px;
    background-color: var(--color-white);
    color: var(--color-text);
    transition: all 0.4s var(--transition-smooth);
    font-family: var(--font-body);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #AAA;
}

/* Input focus animation */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(201, 166, 107, 0.1);
    transform: translateY(-2px);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.map-container {
    margin-top: 60px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===== 21. FOOTER ===== */
.footer {
    background-color: var(--color-dark);
    color: rgba(255,255,255,0.8);
    padding: 80px 5% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1.5fr 1.5fr;
    gap: 60px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-col h3 {
    color: var(--color-gold-light);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    border-radius: 2px;
}

.footer-col p {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.9;
    margin-bottom: 24px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    transition: all 0.3s var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s var(--transition-smooth);
    color: var(--color-gold);
}

.footer-col ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-col ul li a:hover {
    color: var(--color-gold);
    padding-left: 0;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--transition-smooth);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.06);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 6px 20px rgba(201, 166, 107, 0.3);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px 0 0 50px;
    font-size: 0.9rem;
    outline: none;
    background: rgba(255,255,255,0.05);
    color: var(--color-white);
    font-family: var(--font-body);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.35);
}

.newsletter-form input:focus {
    border-color: var(--color-gold);
}

.newsletter-form button {
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, var(--color-gold-dark), #A8843E);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 28px;
    margin-top: 60px;
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

/* ===== 22. PAGE BANNER ===== */
.page-banner {
    padding: 140px 5% 70px;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.85), rgba(44, 44, 44, 0.6)),
                url('../Asset/assets/img1.jpg') center/cover no-repeat;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 12px;
    color: var(--color-white);
}

.page-banner p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== 23. ABOUT PAGE ===== */
.about-page-content {
    padding: 100px 5%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.about-page-content .about-section {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-page-content .about-section:nth-child(even) {
    flex-direction: row-reverse;
}

.about-page-content .about-section img {
    width: 45%;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.6s var(--transition-smooth);
}

.about-page-content .about-section:hover img {
    transform: scale(1.02);
}

.about-page-content .about-section div {
    flex: 1;
}

.about-page-content .about-section h2 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 24px;
}

.about-page-content .about-section p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

.team-section {
    padding: 100px 5%;
    background-color: var(--color-cream-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.team-card {
    text-align: center;
    padding: 35px 20px;
    background-color: var(--color-white);
    border-radius: 18px;
    transition: all 0.5s var(--transition-smooth);
    border: 1px solid rgba(201, 166, 107, 0.06);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    will-change: transform;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold-light);
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--color-gold-light);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.5s var(--transition-smooth);
}

.team-card:hover img {
    transform: scale(1.08);
}

.team-card h3 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.team-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ===== 24. SERVICES PAGE ===== */
.services-page-content {
    padding: 100px 5%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.services-page-content .service-detail {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
    padding: 50px;
    background-color: var(--color-white);
    border-radius: 24px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.04);
    border: 1px solid var(--color-border);
    transition: all 0.5s var(--transition-smooth);
}

.services-page-content .service-detail:hover {
    box-shadow: 0 10px 50px rgba(0,0,0,0.06);
    transform: translateY(-5px);
}

.services-page-content .service-detail:nth-child(even) {
    flex-direction: row-reverse;
}

.services-page-content .service-detail img {
    width: 40%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.6s var(--transition-smooth);
}

.services-page-content .service-detail:hover img {
    transform: scale(1.03);
}

.services-page-content .service-detail div {
    flex: 1;
}

.services-page-content .service-detail h2 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    margin-bottom: 18px;
}

.services-page-content .service-detail p {
    color: #666;
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 18px;
}

/* ===== 25. PORTFOLIO PAGE ===== */
.portfolio-page-content {
    padding: 100px 5%;
}

.portfolio-filter {
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-filter button {
    padding: 12px 28px;
    border: 1.5px solid #E0D5C8;
    background: transparent;
    color: #5A5A5A;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    margin: 4px 6px;
    transition: all 0.4s var(--transition-smooth);
    font-family: var(--font-body);
}

.portfolio-filter button.active,
.portfolio-filter button:hover {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
    border-color: var(--color-gold);
    box-shadow: 0 4px 15px rgba(201, 166, 107, 0.25);
    transform: translateY(-2px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.5s var(--transition-smooth);
    will-change: transform;
}

.portfolio-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--transition-smooth);
    will-change: transform;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.85), rgba(44, 44, 44, 0.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    opacity: 0;
    transition: all 0.5s var(--transition-smooth);
    padding: 20px;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item .overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--color-white);
    transform: translateY(15px);
    transition: transform 0.4s var(--transition-smooth) 0.1s;
}

.portfolio-item:hover .overlay h3 {
    transform: translateY(0);
}

.portfolio-item .overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transform: translateY(15px);
    transition: transform 0.4s var(--transition-smooth) 0.15s;
}

.portfolio-item:hover .overlay p {
    transform: translateY(0);
}

/* ===== 26. CONTACT PAGE ===== */
.contact-page-content {
    padding: 100px 5%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-page-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--color-dark);
    margin-bottom: 30px;
}

.contact-page-info p {
    color: #666;
    opacity: 1;
    line-height: 1.9;
}

.contact-page-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 24px;
    background-color: var(--color-cream);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--color-border);
    transition: all 0.4s var(--transition-smooth);
}

.contact-page-info .contact-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transform: translateX(8px);
}

.contact-page-info .contact-item .icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--color-cream), var(--color-cream-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid var(--color-gold-light);
    transition: transform 0.4s var(--transition-smooth);
}

.contact-page-info .contact-item:hover .icon {
    transform: scale(1.1);
}

.contact-page-info .contact-item h4 {
    color: var(--color-dark);
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-page-info .contact-item p {
    color: #777;
    font-size: 0.95rem;
    opacity: 1;
}

.contact-page-form {
    background-color: var(--color-white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid var(--color-border);
    transform: translateY(0);
    transition: transform 0.5s var(--transition-smooth);
}

.contact-page-form:hover {
    transform: translateY(-5px);
}

.contact-page-form h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--color-dark);
    margin-bottom: 30px;
}

.contact-page-form .form-group {
    margin-bottom: 24px;
}

.contact-page-form .form-group label {
    display: block;
    color: #4A4A4A;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-page-form .form-group input,
.contact-page-form .form-group textarea,
.contact-page-form .form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid #E5E0DB;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.4s var(--transition-smooth);
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-text);
}

.contact-page-form .form-group input::placeholder,
.contact-page-form .form-group textarea::placeholder {
    color: #AAA;
}

.contact-page-form .form-group input:focus,
.contact-page-form .form-group textarea:focus,
.contact-page-form .form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(201, 166, 107, 0.08);
    transform: translateY(-2px);
    background-color: var(--color-white);
}

.contact-page-form .form-group textarea {
    height: 150px;
    resize: vertical;
}

/* ===== 27. SECTION DIVIDER ANIMATION ===== */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold-light), transparent);
    transform: scaleX(0);
    transition: transform 1.2s var(--transition-premium);
    transform-origin: center;
}

.section-divider.visible {
    transform: scaleX(1);
}

/* ===== 28. ACCESSIBILITY - Reduced Motion ===== */
@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;
    }

    .hero::before {
        animation: none !important;
    }

    .animate-on-scroll,
    .animate-stagger > *,
    .animate-scale,
    .animate-slide-left,
    .animate-slide-right {
        opacity: 1 !important;
        transform: none !important;
    }

    .stats::before {
        animation: none !important;
    }
}

/* ===== 29. FOCUS STATES - Accessibility ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* ===== 30. RESPONSIVE DESIGN ===== */

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    .services-grid,
    .projects-grid,
    .blog-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: clamp(2rem, 4vw, 3.2rem);
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(280px, 80vw);
        height: 100dvh;
        padding: 24px 18px 24px;
        background: linear-gradient(145deg, rgba(44, 44, 44, 0.98), rgba(31, 31, 31, 0.96));
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.24);
        z-index: 1500;
        transform: translateX(-105%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.35s var(--transition-smooth), opacity 0.35s var(--transition-smooth), visibility 0.35s var(--transition-smooth);
        border-top-right-radius: 24px;
        border-bottom-right-radius: 24px;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 18px;
    }

    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 22px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        margin-bottom: 8px;
    }

    .sidebar-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: var(--color-white);
        cursor: pointer;
        transition: all 0.3s var(--transition-smooth);
    }

    .sidebar-close:hover {
        background: rgba(201, 166, 107, 0.18);
        border-color: rgba(201, 166, 107, 0.4);
        transform: rotate(90deg);
    }

    .nav-links-list li a {
        display: flex;
        align-items: center;
        font-size: 1rem;
        padding: 14px 16px;
        border-radius: 12px;
        color: rgba(255, 255, 255, 0.9);
        border-left: 3px solid transparent;
        transition: all 0.3s var(--transition-smooth);
    }

    .nav-links-list li a:hover,
    .nav-links-list li a.active {
        color: var(--color-gold-light);
        background: rgba(201, 166, 107, 0.12);
        border-left-color: var(--color-gold);
        transform: translateX(4px);
    }

    .nav-links-list li a::after {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .why-content {
        flex-direction: column;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid,
    .projects-grid,
    .blog-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        flex-wrap: wrap;
        gap: 35px;
    }

    .timeline::before,
    .timeline-progress {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper,
    .contact-page-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .about-page-content .about-section {
        flex-direction: column !important;
    }

    .about-page-content .about-section img {
        width: 100%;
    }

    .services-page-content .service-detail {
        flex-direction: column !important;
        padding: 30px;
    }

    .services-page-content .service-detail img {
        width: 100%;
    }

    .footer-grid {
        gap: 40px;
    }

    .contact-page-form {
        padding: 30px;
    }

    .cta-section h2 {
        font-size: 2.2rem;
    }

    .testimonial-card {
        padding: 35px 25px;
    }

    .before-after-container {
        border-radius: 12px;
    }

    .slider-handle::before {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section {
        padding: 80px 5%;
    }

    .hero {
        min-height: 600px;
    }

    .contact-form {
        padding: 25px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-card::before {
        font-size: 4rem;
        left: 15px;
    }

    .portfolio-filter button {
        padding: 10px 20px;
        font-size: 0.8rem;
        margin: 3px 4px;
    }

    .slider-label {
        font-size: 0.75rem;
        padding: 5px 12px;
        top: 12px;
    }

    .slider-label.before { left: 12px; }
    .slider-label.after { right: 12px; }
}

/* ===== 31. SELECTION STYLING ===== */
::selection {
    background: var(--color-gold);
    color: var(--color-white);
}

/* ===== 32. SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}