/* =============================================
   SRI ISHWARYAM COLLECTIONS & TAILORING
   Premium Boutique Website Stylesheet
   Theme: Deep Maroon & Temple Gold (Chennai)
   ============================================= */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Primary Colors - Deep Maroon (Kanchipuram Silk) */
    --primary-50: #FDF2F4;
    --primary-100: #FAE0E6;
    --primary-200: #F5C2CD;
    --primary-300: #EC94A8;
    --primary-400: #DF5F7D;
    --primary-500: #C93D5D;
    --primary-600: #A82B4B;
    --primary-700: #7B1F3A;
    --primary-800: #5A1029;
    --primary-900: #3D0A1C;

    /* Accent Colors - Temple Gold */
    --accent-50: #FDF8EB;
    --accent-100: #FAF0D2;
    --accent-200: #F5E1A5;
    --accent-300: #F0D78C;
    --accent-400: #E8C565;
    --accent-500: #D4A853;
    --accent-600: #B8903F;
    --accent-700: #8E6D2E;
    --accent-800: #6B521F;
    --accent-900: #4A3915;

    /* Neutrals - Warm tones */
    --neutral-50: #FDF8F0;
    --neutral-100: #FAF3E8;
    --neutral-200: #F0E8DA;
    --neutral-300: #DDD2C2;
    --neutral-400: #B8AE9E;
    --neutral-500: #8E8578;
    --neutral-600: #6B6560;
    --neutral-700: #4A4540;
    --neutral-800: #2D2A26;
    --neutral-900: #1A1816;

    /* Semantic */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 6rem 0;
    --container-max: 1200px;
    --container-padding: 0 1.5rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(45, 42, 38, 0.08);
    --shadow-md: 0 4px 12px rgba(45, 42, 38, 0.1);
    --shadow-lg: 0 8px 30px rgba(45, 42, 38, 0.12);
    --shadow-xl: 0 20px 60px rgba(45, 42, 38, 0.15);
    --shadow-gold: 0 8px 30px rgba(212, 168, 83, 0.2);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.section {
    padding: var(--section-padding);
    position: relative;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-500);
    background: var(--accent-50);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid var(--accent-200);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--neutral-800);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-accent {
    color: var(--primary-700);
    position: relative;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-700), var(--accent-500));
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--neutral-500);
    max-width: 550px;
    margin: 1rem auto 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
    color: #fff;
    box-shadow: 0 4px 15px rgba(123, 31, 58, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-700));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 31, 58, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--neutral-200);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 1001;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent-500);
    transition: transform var(--transition-base);
}

.logo-icon-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.nav-logo:hover .logo-icon-img {
    transform: scale(1.1) rotate(5deg);
}

.nav-logo:hover .logo-icon {
    transform: rotate(45deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-700);
    transition: color var(--transition-fast);
}

.navbar:not(.scrolled) .logo-name {
    color: #fff;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--neutral-500);
    text-transform: uppercase;
}

.navbar:not(.scrolled) .logo-sub {
    color: rgba(255, 255, 255, 0.7);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-700);
}

.navbar:not(.scrolled) .nav-link:hover,
.navbar:not(.scrolled) .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-500);
    border-radius: 1px;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-600)) !important;
    color: #fff !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.5rem 1.2rem !important;
    margin-left: 0.5rem;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(123, 31, 58, 0.3);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    width: 26px;
    height: 2.5px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.navbar:not(.scrolled) .hamburger-line {
    background: #fff;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        url('images/sri-ishwaryam-boutique-hero-silk-sarees.png') center center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(90, 16, 41, 0.92) 0%,
            rgba(123, 31, 58, 0.85) 30%,
            rgba(61, 10, 28, 0.88) 70%,
            rgba(26, 24, 22, 0.95) 100%);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.05;
    background-image:
        radial-gradient(circle at 25% 25%, var(--accent-500) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, var(--accent-500) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 168, 83, 0.15);
    border: 1px solid rgba(212, 168, 83, 0.3);
    color: var(--accent-300);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1rem;
    color: var(--accent-400);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, var(--accent-300), var(--accent-500), var(--accent-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.55em;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-top: 0.3rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 300;
    min-height: 3.4em;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-400);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    letter-spacing: 0.03em;
}

.stat-divider {
    width: 1px;
    height: 35px;
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-500), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.7);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ===== ABOUT ===== */
.about {
    background: var(--neutral-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

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

.about-img-wrapper:hover img {
    transform: scale(1.03);
}

.about-img-accent {
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent-500);
    border-radius: var(--radius-lg);
    transform: translate(12px, 12px);
    z-index: -1;
    opacity: 0.4;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 110px;
    height: 110px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow-gold);
    border: 3px solid var(--accent-500);
    z-index: 2;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: 2px;
}

.about-intro {
    font-size: 1.15rem;
    color: var(--neutral-700);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-text {
    font-size: 0.95rem;
    color: var(--neutral-500);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    background: var(--neutral-100);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.feature-item:hover,
.feature-item.hover-active {
    background: var(--primary-50);
    border-color: var(--primary-200);
    transform: translateX(4px);
}

.feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary-700);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--neutral-700);
}

/* ===== SERVICES ===== */
.services {
    background: linear-gradient(180deg, var(--neutral-100) 0%, var(--neutral-50) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2.5rem 1.8rem;
    text-align: center;
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-700), var(--accent-500));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-spring);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.service-icon {
    width: 64px;
    height: 64px;
    color: var(--primary-700);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 0.8rem;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--neutral-500);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.service-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-700);
    background: var(--accent-50);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    border: 1px solid var(--accent-200);
    letter-spacing: 0.03em;
}

/* ===== GALLERY ===== */
.gallery {
    background: var(--neutral-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1rem;
}

.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-wide {
    grid-column: span 2;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

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

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-slow);
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(90, 16, 41, 0.8), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.gallery-label {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== REVIEWS ===== */
.reviews {
    background: linear-gradient(180deg, var(--neutral-100) 0%, var(--neutral-50) 100%);
}

.reviews-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1.5rem;
}

.rating-stars {
    font-size: 1.5rem;
    color: var(--accent-500);
    letter-spacing: 0.1em;
}

.rating-text {
    font-size: 0.9rem;
    color: var(--neutral-500);
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.review-card {
    min-width: 100%;
    padding: 2.5rem;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 30px;
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--primary-100);
    line-height: 1;
    pointer-events: none;
}

.review-stars {
    font-size: 1.2rem;
    color: var(--accent-500);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.05rem;
    color: var(--neutral-600);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

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

.review-name {
    font-weight: 600;
    color: var(--neutral-800);
    font-size: 0.95rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--neutral-400);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: #fff;
    border: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--neutral-600);
    transition: all var(--transition-base);
}

.carousel-btn:hover {
    background: var(--primary-700);
    color: #fff;
    border-color: var(--primary-700);
    transform: scale(1.05);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--neutral-300);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.carousel-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary-700);
}

/* ===== LOCATION ===== */
.location {
    background: var(--neutral-50);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    min-height: 450px;
}

.location-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.location-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-700);
}

.location-icon svg {
    width: 22px;
    height: 22px;
}

.location-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: 0.2rem;
}

.location-item p {
    font-size: 0.9rem;
    color: var(--neutral-500);
    line-height: 1.6;
}

.location-phone-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-700);
    text-decoration: none;
    transition: color var(--transition-base);
}

.location-phone-link:hover,
.location-phone-link.hover-active {
    color: var(--accent-500);
}

.location-icon--whatsapp {
    background: #e8f5e9;
    color: #25D366;
}

.location-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.3rem;
    background: #25D366;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-base);
}

.location-whatsapp-btn:hover,
.location-whatsapp-btn.hover-active {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
    border: 2px solid var(--neutral-200);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
}

.footer-top {
    padding: 4rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-name {
    color: #fff;
}

.footer-logo .logo-sub {
    color: var(--neutral-400);
}

.footer-logo .logo-icon {
    color: var(--accent-500);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--neutral-400);
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-500);
    border-radius: 1px;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--neutral-400);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-links a:hover,
.footer-links a.hover-active {
    color: var(--accent-400);
    transform: translateX(4px);
}

.footer-services li {
    font-size: 0.9rem;
    color: var(--neutral-400);
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--neutral-400);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--accent-400);
    transition: all var(--transition-fast);
}

.footer-map-link:hover,
.footer-map-link.hover-active {
    color: var(--accent-300);
    transform: translateX(4px);
}

/* ===== MOBILE CENTER-HOVER COMPANIONS ===== */
/* These mirror the existing :hover rules so the JS-driven .hover-active class works */

.service-card.hover-active {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}
.service-card.hover-active::before {
    transform: scaleX(1);
}
.service-card.hover-active .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.footer-services ul li.hover-active {
    color: var(--accent-400);
    transform: translateX(4px);
    transition: all var(--transition-fast);
}

.btn-primary.hover-active {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-700));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 31, 58, 0.4);
}

.btn-secondary.hover-active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--neutral-500);
}

.footer-credit {
    color: var(--accent-500) !important;
}

/* ===== VIEW COLLECTIONS FLOAT ===== */
.collections-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(123, 31, 58, 0.4);
    transition: all var(--transition-base);
    animation: floatBounce 3s ease-in-out infinite;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
    /* Hidden until user scrolls past hero */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.collections-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.collections-float:hover::before {
    left: 100%;
}

.collections-float:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 28px rgba(123, 31, 58, 0.5);
    background: linear-gradient(135deg, var(--primary-800), var(--primary-700));
}

.collections-float.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--neutral-800);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

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

.back-to-top:hover {
    background: var(--primary-700);
    transform: translateY(-4px);
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== KOLAM-INSPIRED DECORATIVE ELEMENTS ===== */
.services::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            transparent,
            var(--primary-100),
            var(--accent-200),
            var(--primary-100),
            transparent);
}

.reviews::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            transparent,
            var(--primary-100),
            var(--accent-200),
            var(--primary-100),
            transparent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    /* Nav: tighten spacing so links don't crowd */
    .nav-link {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
    }

    .nav-cta {
        padding: 0.45rem 1rem !important;
    }

    /* Services: 4-col → 2-col */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Gallery: 4-col → 2-col */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .gallery-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-wide {
        grid-column: span 2;
    }

    /* Footer: 4-col → 2-col with better ratio */
    .footer-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 2rem;
    }

    /* Location: add rule missing from original — prevent grid breaking at ~1000px */
    .location-grid {
        gap: 1.5rem;
    }

    /* About: reduce gap at tablet sizes */
    .about-grid {
        gap: 2.5rem;
    }

    /* Hero CTA: ensure wrapping is tidy */
    .hero-cta-group {
        gap: 0.8rem;
    }
}

/* ===== NAV HAMBURGER TRIGGER (920px) ===== */
/* Between 769-920px the desktop nav is too cramped — switch to mobile nav */
@media (max-width: 920px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100dvh;
        background: rgba(253, 248, 240, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0.3rem;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--neutral-700) !important;
        padding: 0.9rem 1.2rem;
        font-size: 1.05rem;
        border-radius: var(--radius-md);
        transition: all 0.3s ease;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: var(--primary-50);
        color: var(--primary-700) !important;
        transform: translateX(6px);
    }

    .nav-cta {
        margin-left: 0 !important;
        margin-top: 1rem;
        text-align: center;
        justify-content: center;
    }

    .navbar.scrolled .hamburger-line {
        background: var(--neutral-700);
    }
}

/* ===== TABLET MID (900px) — prevents jump straight to mobile ===== */
@media (max-width: 900px) {
    /* About: switch to single-column early to prevent element splitting */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-img-wrapper {
        order: -1;
    }

    /* About experience badge: keep inside wrapper bounds */
    .about-experience-badge {
        bottom: 12px;
        right: 12px;
        width: 90px;
        height: 90px;
    }

    .about-features {
        grid-template-columns: 1fr 1fr;
    }

    /* Hero stats: hide dividers when wrapping to avoid orphaned lines */
    .hero-stats {
        gap: 1rem 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    /* Location: switch to single column */
    .location-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer: 4-col → 2-col (only if not already caught by 1024px rule) */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    /* Services: reduce card padding at tablet-mid */
    .service-card {
        padding: 2rem 1.4rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3.5rem 0;
    }

    /* ---- Mobile Nav (already handled at 920px, just keep overrides here) ---- */
    .nav-toggle {
        display: flex;
    }

    /* ---- Mobile Nav panel (already defined at 920px; reset here for clean cascade) ---- */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100dvh;
        background: rgba(253, 248, 240, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0.3rem;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--neutral-700) !important;
        padding: 0.9rem 1.2rem;
        font-size: 1.05rem;
        border-radius: var(--radius-md);
        transition: all 0.3s ease;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: var(--primary-50);
        color: var(--primary-700) !important;
        transform: translateX(6px);
    }

    .nav-cta {
        margin-left: 0 !important;
        margin-top: 1rem;
        text-align: center;
        justify-content: center;
    }

    .navbar.scrolled .hamburger-line {
        background: var(--neutral-700);
    }

    /* ---- Hero Section Mobile ---- */
    .hero {
        min-height: 100dvh;
    }

    .hero-content {
        padding: 0 1rem;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: clamp(0.85rem, 3.5vw, 1.05rem);
        line-height: 1.6;
        max-width: 90%;
        margin: 0 auto;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .hero-stats {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-divider {
        display: none;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
        padding: 0 0.5rem;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* ---- Section Headers Mobile ---- */
    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .section-tag {
        font-size: 0.75rem;
    }

    /* ---- About Mobile ---- */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-img-wrapper {
        order: -1;
    }

    .about-img-wrapper img {
        height: 260px;
        border-radius: var(--radius-lg);
    }

    .about-experience-badge {
        bottom: 10px;
        right: 10px;
        width: 80px;
        height: 80px;
        font-size: 0.75rem;
    }

    .about-img-wrapper {
        overflow: visible;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .about-content p {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    /* ---- Services Mobile ---- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .service-card {
        padding: 1.8rem 1.3rem;
    }

    .service-card:active {
        transform: scale(0.98);
        box-shadow: var(--shadow-md);
    }

    .service-icon-wrapper {
        width: 56px;
        height: 56px;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-desc {
        font-size: 0.88rem;
    }

    /* ---- Gallery Mobile ---- */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
        gap: 0.6rem;
    }

    /* All gallery items equal-sized in 2-col grid — no span-2 asymmetry */
    .gallery-large {
        grid-column: span 1;
        grid-row: span 1;
        height: auto;
    }

    .gallery-wide {
        grid-column: span 1;
        height: auto;
    }

    .gallery-item {
        border-radius: var(--radius-md);
    }

    .gallery-item img {
        animation: none;
    }

    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
    }

    .gallery-label {
        font-size: 0.8rem;
    }

    /* Mobile gallery tap hint */
    .gallery-item::after {
        content: '🔍';
        position: absolute;
        top: 8px;
        right: 8px;
        font-size: 0.85rem;
        background: rgba(0, 0, 0, 0.4);
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 3;
        opacity: 0.8;
    }

    /* ---- Reviews Mobile ---- */
    .review-card {
        padding: 1.5rem 1.2rem;
    }

    .review-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .review-author {
        font-size: 0.95rem;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .carousel-dots {
        margin-top: 1.2rem;
    }

    /* ---- Location Mobile ---- */
    .location-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .location-map {
        min-height: 280px;
        border-radius: var(--radius-lg);
    }

    .location-info h3 {
        font-size: 1.3rem;
    }

    .location-detail {
        font-size: 0.9rem;
    }

    /* ---- Footer Mobile ---- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* ---- Floating Buttons Mobile ---- */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 1.2rem;
        right: 1.2rem;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 1.2rem;
        left: 1.2rem;
    }

    /* ---- Scroll Progress Mobile ---- */
    .scroll-progress {
        height: 2px;
    }

    /* ---- Lightbox Mobile ---- */
    .lightbox-content {
        max-width: 95vw;
        padding: 0 10px;
    }

    .lightbox-content img {
        border-radius: var(--radius-md);
        max-height: 70vh;
    }

    .lightbox-close {
        position: fixed;
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10002;
    }

    .lightbox-prev,
    .lightbox-next {
        position: fixed;
        top: 50%;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.4);
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .lightbox-label {
        bottom: -30px;
        font-size: 0.85rem;
    }

    /* ---- Mobile Animations (buttery smooth) ---- */
    .animate-on-scroll {
        transform: translateY(20px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .animate-fade-up {
        animation-duration: 0.7s;
        animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* Keep shimmer on mobile */
    .hero-title-accent {
        animation: shimmerGold 4s linear infinite;
    }

    /* Keep badge glow on mobile */
    .hero-badge {
        animation: glowPulse 3s ease-in-out infinite;
    }

    /* Keep experience badge float on mobile */
    .about-experience-badge {
        animation: floatSlow 6s ease-in-out infinite;
    }

    /* Service card — smooth transitions for both scroll-reveal and hover-active */
    .service-card {
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                    border-color 0.3s ease;
    }

    /* Disable 3D tilt on mobile — it conflicts with transform animations */
    .service-card {
        transform-style: flat;
        perspective: none;
    }
}

/* ===== GALLERY SINGLE-COLUMN (560px) ===== */
/* At widths like 487px, the 2-col gallery makes gallery-large/wide fill the
   full row while normal items take only half — looks misaligned. Fix: go
   single-column at 560px. */
@media (max-width: 560px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
        gap: 0.8rem;
    }

    .gallery-large,
    .gallery-wide {
        grid-column: span 1;
        height: auto;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 3rem 0;
    }

    .hero-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-stats {
        gap: 0.6rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
        gap: 0.8rem;
    }

    .gallery-large,
    .gallery-wide {
        grid-column: span 1;
        height: auto;
    }

    .review-card {
        padding: 1.3rem 1rem;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
    }

    .section-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }

    .about-img-wrapper img {
        height: 220px;
    }

    .service-card {
        padding: 1.5rem 1.2rem;
    }

    .location-map {
        min-height: 240px;
    }

    .footer-section h4 {
        font-size: 1rem;
    }
}

/* ===== NEW KEYFRAME ANIMATIONS ===== */
@keyframes shimmerGold {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(212, 168, 83, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(212, 168, 83, 0.6), 0 0 40px rgba(212, 168, 83, 0.2);
    }
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes typingCursor {

    0%,
    100% {
        border-right-color: var(--accent-400);
    }

    50% {
        border-right-color: transparent;
    }
}

@keyframes rippleEffect {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes revealLine {
    from {
        width: 0;
    }

    to {
        width: 60px;
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-10px) rotate(1deg);
    }

    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-700), var(--accent-500), var(--primary-500));
    z-index: 10000;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(212, 168, 83, 0.5);
}

/* ===== HERO PARTICLES CANVAS ===== */
#heroParticles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

/* ===== HERO TYPING EFFECT ===== */
.hero-subtitle.typing {
    border-right: 2px solid var(--accent-400);
    animation: typingCursor 0.8s infinite;
    white-space: normal;
    min-height: 3.4em;
}

/* ===== SHIMMER EFFECT ON GOLD TEXT ===== */
.hero-title-accent {
    background: linear-gradient(90deg,
            var(--accent-300) 0%,
            var(--accent-500) 25%,
            #FFE4A0 50%,
            var(--accent-500) 75%,
            var(--accent-300) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerGold 4s linear infinite;
}

/* ===== ENHANCED BADGE GLOW ===== */
.hero-badge {
    animation: glowPulse 3s ease-in-out infinite;
}

/* ===== SECTION LINE REVEAL ===== */
.section-line.visible {
    animation: revealLine 0.8s ease forwards;
}

/* ===== 3D TILT CARD EFFECT (desktop only) ===== */
@media (min-width: 769px) {
    .service-card {
        transform-style: preserve-3d;
        perspective: 1000px;
    }

    .service-card:hover {
        transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
        box-shadow: var(--shadow-xl), 0 20px 40px rgba(123, 31, 58, 0.1);
        border-color: var(--primary-200);
    }

    .service-card .service-icon-wrapper {
        transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .service-card:hover .service-icon-wrapper {
        transform: scale(1.15) rotate(5deg) translateZ(20px);
    }
}

/* ===== GALLERY KEN BURNS ===== */
.gallery-item img {
    animation: kenBurns 20s ease-in-out infinite;
}

.gallery-item:hover img {
    animation-play-state: paused;
    transform: scale(1.08);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(10, 8, 6, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

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

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-label {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-heading);
    font-size: 1rem;
    white-space: nowrap;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

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

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

@media (max-width: 768px) {
    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .lightbox-label {
        bottom: -30px;
        font-size: 0.85rem;
    }
}

/* ===== ENHANCED BUTTON RIPPLE ===== */
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    animation: rippleEffect 0.6s ease-out forwards;
    pointer-events: none;
}

/* ===== ENHANCED ABOUT SECTION REVEALS ===== */
.about-image.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.about-content.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

/* ===== REVIEW CARD ENHANCEMENTS ===== */
.review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ===== ENHANCED EXPERIENCE BADGE ===== */
.about-experience-badge {
    animation: floatSlow 6s ease-in-out infinite;
}

/* ===== UTILITY: SELECTION ===== */
::selection {
    background: var(--primary-200);
    color: var(--primary-900);
}

/* ===== UTILITY: SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-100);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-500);
}
/* ===================================================================
   MONTH END SALE POPUP
   =================================================================== */

/* Overlay */
.sale-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.sale-popup-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Popup card */
.sale-popup {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    max-width: 380px;
    width: 100%;
    transform: scale(0.85) translateY(30px);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sale-popup-overlay.is-visible .sale-popup {
    transform: scale(1) translateY(0);
}

/* Banner image */
.sale-popup-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Close button */
.sale-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.sale-popup-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Footer CTA */
.sale-popup-footer {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d0a16 100%);
}

.sale-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.sale-popup-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Mobile tweaks */
@media (max-width: 480px) {
    .sale-popup {
        max-width: 92vw;
        border-radius: 16px;
    }
    .sale-popup-btn {
        font-size: 0.88rem;
        padding: 0.75rem 1rem;
    }
}
