/* Base Variables */
:root {
    --primary-purple: #9d4edd;
    --dark-purple: #3c096c;
    --light-purple: #e0aaff;
    --bg-color: #faf5ff;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --transition: all 0.3s ease-in-out;
    --font-playfair: 'Playfair Display', serif;
    --font-poppins: 'Poppins', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6, .elegant-title {
    font-family: 'Playfair Display', serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Typography */
h1, h2, h3 {
    color: var(--dark-purple);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-purple);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-purple);
}

.btn-outline {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-purple);
    color: var(--white);
}

/* Header & Nav */
.header {
    background-color: rgba(90, 24, 154, 0.85); /* Glassy deep purple */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
}

.logo img {
    height: 45px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a { font-weight: 500; color: #ffffff; transition: color 0.3s; }

.nav-links a:hover, .nav-links a.active { color: #f0d9ff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-purple);
}

/* Hero Section with Parallax Background */
.about-hero {
    padding: 18rem 0 10rem;
    background-image: url("../images/about-hero-new.jpg");
    background-size: cover;
    background-position: center 35%;
    position: relative; overflow: hidden;
}
.about-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(36, 0, 70, 0.4), rgba(36, 0, 70, 0.8));
    z-index: 1;
}
.about-hero .container {
    position: relative;
    z-index: 2;
}
.about-hero .elegant-title {
    font-size: 5rem;
    color: #ffffff !important;
    margin-bottom: 1rem;
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.about-hero .elegant-subtitle {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Split Layouts */
.about-split-layout {
    display: flex;
    align-items: center;
    gap: 5rem;
    padding: 6rem 0;
}
.about-split-layout.reverse {
    flex-direction: row-reverse;
}
.about-split-text {
    flex: 1;
}
.about-split-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.subtitle-accent {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Image Styling */
.about-split-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.about-split-image img {
    width: 100%;
    height: 85vh; min-height: 650px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.about-split-image:hover img {
    transform: scale(1.05);
}
.about-split-image.portrait img {
    height: 700px; /* Slightly taller for portrait */
}

/* The Craft Parallax Section */
.about-the-craft { background-image: url("../images/about-hero-new.jpg"); background-size: cover; background-position: center 35%; position: relative; padding: 10rem 0; margin: 4rem 0; }
.craft-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(36, 0, 70, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}
.craft-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem;
    border-radius: 20px;
    max-width: 700px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}
.craft-card .elegant-title {
    margin-bottom: 1.5rem;
}

/* Video Mockup Section */
.about-video-section {
    padding: 8rem 0 10rem;
    position: relative;
    background: radial-gradient(circle at 100% 0%, #f3e8ff 0%, #fdfbfb 50%, #faf5ff 100%);
    overflow: hidden;
}
.about-video-section::before {
    content: "\f005"; /* Stars */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    font-size: 20rem;
    color: rgba(157,78,221,0.03);
    top: -5%; right: -5%;
    transform: rotate(20deg);
}
.about-video-section::after {
    content: "";
    position: absolute;
    width: 600px; height: 85vh; min-height: 650px;
    background: radial-gradient(circle, rgba(157,78,221,0.08), transparent 60%);
    bottom: -150px; left: -150px;
    border-radius: 50%;
}

.video-mockup-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    position: relative;
    z-index: 2;
}
.mockup-text {
    flex: 1;
    max-width: 500px;
}
.mockup-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
}
/* 3D Phone Mockup Enhancements */
.phone-mockup-container {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1500px; /* Add perspective for 3D effect */
}

.phone-mockup {
    width: 420px;
    height: 720px;
    background: #000;
    border-radius: 45px;
    border: 14px solid #1a1a1a;
    position: relative;
    overflow: hidden;
    /* 3D metallic styling */
    box-shadow: 
        0 0 0 2px #444, 
        15px 20px 40px rgba(0,0,0,0.4), 
        -10px -10px 30px rgba(255,255,255,1),
        inset 0 0 15px rgba(255,255,255,0.2);
    transform-style: preserve-3d;
    animation: phone-float 6s ease-in-out infinite;
}

/* Add a glass glare effect over the phone */
.phone-mockup::after {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.0) 40%, rgba(255,255,255,0.2) 45%, rgba(255,255,255,0.0) 50%);
    transform: rotate(30deg);
    pointer-events: none; /* Let clicks pass through */
    z-index: 10;
}

@keyframes phone-float {
    0% { transform: translateY(0) rotateX(4deg) rotateY(-8deg); }
    50% { transform: translateY(-20px) rotateX(8deg) rotateY(-4deg); }
    100% { transform: translateY(0) rotateX(4deg) rotateY(-8deg); }
}

.phone-notch {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #1a1a1a;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 5;
    /* Add subtle camera lens */
    box-shadow: inset 0 -2px 5px rgba(255,255,255,0.1);
}
.phone-notch::before {
    content: "";
    position: absolute;
    top: 10px; right: 45px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #050505;
    box-shadow: inset 0 0 2px rgba(255,255,255,0.4);
}

.phone-mockup video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    border-radius: 30px;
}



/* 3D Phone Mockup Hover */
.phone-mockup-container:hover .phone-mockup {
    animation-play-state: paused;
    transform: scale(1.05) rotateX(2deg) rotateY(15deg) translateY(-10px);
    box-shadow: 
        0 0 0 2px #444, 
        25px 35px 50px rgba(0,0,0,0.5), 
        -15px -15px 40px rgba(255,255,255,0.8),
        inset 0 0 15px rgba(255,255,255,0.3);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.6s ease;
}
.phone-mockup {
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.6s ease;
}



/* =========================================
   ACCURATE RECOVERED HOME STYLES
   ========================================= */

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 660px;
    display: flex;
    overflow: hidden;
    background: transparent;
}

.hero-bg {
    width: 100%;
    height: 660px;
    display: block;
}

.hero-bg img {
    width: 100%;
    height: 660px;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

.hero-content {
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 12%;
    left: 0;
    display: flex;
    justify-content: center; 
    background: transparent;
    pointer-events: none; 
    z-index: 10;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    pointer-events: auto;
}

/* Banner Buttons */
.hero-buttons .btn-primary {
    background: var(--primary-purple) !important;
    color: white !important;
    border: none !important;
    backdrop-filter: none !important;
}
.hero-buttons .btn-primary:hover {
    background: var(--dark-purple) !important;
}

.hero-buttons .btn-outline {
    background: white !important;
    color: var(--primary-purple) !important;
    border: 2px solid var(--primary-purple) !important;
    backdrop-filter: none !important;
}
.hero-buttons .btn-outline:hover {
    background: var(--primary-purple) !important;
    color: white !important;
}

/* Services Marquee */
.marquee-section {
    background: #3c096c;
    color: white;
    padding: 1.2rem 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 3px dotted rgba(224, 170, 255, 0.6);
    border-bottom: 3px dotted rgba(224, 170, 255, 0.6);
}
.marquee-content {
    display: inline-flex;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
    font-size: 1.2rem;
    font-weight: 600;
}
.marquee-content span {
    padding: 0 1rem;
}
.marquee-content i {
    margin: 0 1rem;
    font-size: 1.2rem;
    color: #e0aaff;
    display: inline-block;
    animation: scissor-snip 1.5s ease-in-out infinite;
}
@keyframes scissor-snip {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(15deg); }
    50% { transform: scale(1) rotate(0deg); }
    75% { transform: scale(1.1) rotate(-15deg); }
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Typography Helpers */
.elegant-title {
    font-size: 3rem;
    color: var(--dark-purple);
    margin-bottom: 1rem;
}
.elegant-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
}
.text-center { text-align: center; }

/* Our Story Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.about-text {
    flex: 1;
}
.about-text h2 {
    font-size: 2.5rem;
    color: var(--dark-purple);
    margin-bottom: 1.5rem;
}
.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}
.about-image {
    flex: 1;
}

/* Salon Split Layout (Sticky Lookbook) */
.salon-split-section {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}
.split-left {
    flex: 1;
}
.sticky-content {
    position: sticky;
    top: 150px;
}
.service-highlight {
    background: #f3e8ff;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}
.service-highlight p {
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 1rem;
}
.service-highlight ul {
    list-style: none;
}
.service-highlight li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}
.service-highlight li::before {
    content: "\f005"; /* Star icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-purple);
}
.split-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.split-image-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    height: 700px;
}
.split-image-card img {
    width: 100%;
    height: auto;
    display: block;
}
.card-caption {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(255,255,255,0.9);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    color: var(--dark-purple);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Before After Section (Horizontal Split Layout) */
.before-after-section {
    background: #ffffff;
    padding: 6rem 0;
}
.ba-split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: #fdfaff;
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 15px 40px rgba(90, 24, 154, 0.05);
}
.ba-text-content {
    flex: 1;
}
.ba-text-content h2 {
    font-size: 2.5rem;
    color: var(--dark-purple);
    margin-bottom: 1rem;
}
.ba-text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}
.service-list {
    list-style: none;
}
.service-list li {
    margin-bottom: 0.8rem;
    color: var(--text-color);
}
.service-list i {
    color: var(--primary-purple);
    margin-right: 10px;
}
.ba-slider-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}
.ba-slider-container {
    width: 100%;
    max-width: 450px;
    height: 550px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    user-select: none;
    -webkit-user-select: none;
}

.ba-img-before, .ba-img-after {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}
.ba-img-after {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    z-index: 2;
}
.ba-slider-handle {
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 6px;
    background: var(--primary-purple);
    z-index: 5;
    cursor: ew-resize;
    transform: translateX(-50%);
}
.ba-slider-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    background: white;
    color: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.ba-label, .label {
    position: absolute;
    top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.6);
    color: white;
    border-radius: 5px;
    font-size: 0.9rem;
    z-index: 10;
}
.label-before { left: 1rem; }
.label-after { right: 1rem; }


/* Horizontal Scroll Reviews Section */
.reviews-section {
    padding: 8rem 0;
    background: radial-gradient(circle at center, #fdfaff, #f3e8ff);
    overflow: hidden; 
}
.horizontal-scroll-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 4rem;
}
.horizontal-scroll-container {
    display: flex;
    gap: 3rem;
    width: max-content;
    padding: 2rem 20vw;
}
.hs-card {
    width: 450px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(90, 24, 154, 0.05);
    border: 1px solid rgba(255, 255, 255, 1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    flex-shrink: 0;
}
.hs-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(90, 24, 154, 0.12);
}
.stars { color: #ffb703; margin-bottom: 1.5rem; font-size: 1.3rem; letter-spacing: 2px; }
.review-text { font-style: italic; color: var(--text-color); margin-bottom: 2rem; line-height: 1.8; font-size: 1.1rem; }
.reviewer-info { display: flex; align-items: center; gap: 15px; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 1.5rem; }
.reviewer-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--primary-purple); color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; }
.reviewer-name { font-weight: 700; color: var(--dark-purple); font-size: 1.1rem; line-height: 1.3; }
.reviewer-name span { font-size: 0.85rem; font-weight: 400; color: #888; }

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: #ffffff;
}
.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}
.faq-item {
    border-bottom: 1px solid #eee;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-purple);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--dark-purple);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}
.footer h3 {
    color: white;
    margin-bottom: 1.5rem;
}
.footer-links ul {
    list-style: none;
}
.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--light-purple);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}


/* Expanding Cards */
.signature-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fdfaff, #efe3ff);
}
.expanding-cards-container {
    display: flex;
    gap: 1rem;
    height: 650px;
    margin-top: 3rem;
}
.exp-card {
    flex: 1;
    border-radius: 20px;
    background-size: cover;
    background-position: center 35%;
    position: relative;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}
.exp-card:hover {
    flex: 4;
}
.exp-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(36, 0, 70, 0.9));
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.6s ease;
}
.exp-card:hover .exp-content {
    transform: translateY(0);
}
.expanding-cards-container:hover .exp-card:not(:hover) {
    filter: grayscale(100%) blur(2px);
}






/* Magic Sparkle Dust */
.magic-star {
    position: absolute;
    color: #ffb703;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 0 5px #ffb703);
    animation: sparkle-fade 1s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
}
@keyframes sparkle-fade {
    0% { opacity: 0; transform: scale(0) rotate(0deg); }
    30% { opacity: 1; transform: scale(1.2) rotate(45deg); }
    100% { opacity: 0; transform: scale(0.5) rotate(90deg); }
}

/* Before & After Labels */
.label-before, .label-after {
    position: absolute;
    top: 1rem;
    padding: 0.5rem 1.5rem;
    background: #3c096c;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 5px;
    z-index: 10;
}
.label-before { left: 1rem; }
.label-after { right: 1rem; }








.hero-buttons .btn {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background 0.3s ease !important;
}
.hero-buttons .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}



/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.scroll-animate.show {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0);
}
.slide-in-left {
    transform: translateX(-100px);
}
.slide-in-right {
    transform: translateX(100px);
}
.slide-in-up {
    transform: translateY(100px);
}
.scale-in {
    transform: scale(0.8);
}
.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}






/* Scratch Off Section */
.scratch-off-section {
    padding: 6rem 0;
    background: radial-gradient(circle at center, #fdfaff, #f3e8ff);
    position: relative;
    overflow: hidden;
}
.scratch-off-section::before {
    content: "";
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(157,78,221,0.1), transparent 70%);
    top: -50px; left: -50px;
    border-radius: 50%;
}
.scratch-off-section::after {
    content: "";
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(224,170,255,0.15), transparent 70%);
    bottom: -100px; right: -100px;
    border-radius: 50%;
}
.scratch-layout-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    height: 550px;
}
.scratch-container {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    max-width: 450px;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(90, 24, 154, 0.2);
    border: 8px solid white;
    z-index: 2;
}
.scratch-layout-wrapper.revealed .scratch-container {
    left: 0;
    transform: translateX(0) rotate(-2deg);
    box-shadow: 15px 25px 50px rgba(90, 24, 154, 0.3);
}
.scratch-reveal-text {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(100px);
    width: 450px;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;
    text-align: left;
    pointer-events: none;
}
.scratch-layout-wrapper.revealed .scratch-reveal-text {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}
.scratch-base-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
#scratch-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="%239d4edd"><path d="M7,14c-1.66,0-3,1.34-3,3s1.34,3,3,3s3-1.34,3-3S8.66,14,7,14z M21.22,4.88l-2.1-2.1c-0.39-0.39-1.02-0.39-1.41,0 L8.99,11.51c0.75,1.15,1.21,2.5,1.25,3.95l8.88-8.88C19.51,6.19,19.83,5.69,21.22,4.88z"/></svg>') 4 28, crosshair !important;
    z-index: 5;
    transition: opacity 1s ease-out;
}












/* =========================================
   RESPONSIVE DESIGN (GLOBAL & MOBILE)
   ========================================= */

@media (max-width: 992px) {
    /* Navbar */
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(36, 0, 70, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        z-index: 999;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: block;
        color: white;
    }

    /* Hero Banner */
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; padding: 0 1rem; }
    .hero-buttons { flex-direction: column; gap: 1rem; }
    .hero-buttons .btn { width: 100%; text-align: center; padding: 1rem; }

    /* Home Layouts */
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .about-image {
        width: 100%;
    }
    .about-image img {
        width: 100%;
        height: auto;
    }
    .salon-split-section {
        flex-direction: column;
        text-align: center;
        margin: 3rem auto;
        padding: 0 1rem;
    }
    .sticky-content { position: relative; top: 0; margin-bottom: 2rem; }
    .split-right { align-items: center; }
    .split-image-card { width: 100%; height: 400px; }
    
    .ba-split-layout {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    .ba-slider-wrapper {
        width: 100%;
        min-height: 400px;
    }
    .ba-slider-container {
        width: 100%;
        max-width: 100%;
        height: 400px;
    }
    
    .editorial-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* About Page Layouts */
    .about-split-layout, .about-split-layout.reverse {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .video-mockup-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }
    .mockup-text { max-width: 100%; }
    .about-hero .elegant-title { font-size: 2.5rem; }
    
    /* Scratch Container Mobile Overrides */
    .scratch-layout-wrapper {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    .scratch-container {
        position: relative;
        left: 0;
        transform: none;
        width: 100%;
        max-width: 90vw;
        height: 400px;
        margin: 0 auto;
    }
    .scratch-reveal-text {
        position: relative;
        transform: none;
        right: 0;
        top: 0;
        width: 100%;
        text-align: center;
        margin-top: 2rem;
        padding: 1rem;
        opacity: 1; /* Always visible on mobile if they scratch, but handled by class */
    }
    .scratch-layout-wrapper.revealed .scratch-container {
        left: 0;
        transform: none;
        box-shadow: 0 10px 20px rgba(90, 24, 154, 0.2);
    }
    .scratch-layout-wrapper.revealed .scratch-reveal-text {
        transform: none;
        opacity: 1;
    }
    
    /* Phone Mockup */
    .phone-mockup {
        width: 320px;
        height: 640px;
    }
    
    /* Native Horizontal Scroll for Reviews on Mobile */
    .horizontal-scroll-wrapper {
        overflow-x: auto !important;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2rem;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    .horizontal-scroll-container {
        padding: 1rem 5vw;
        width: max-content;
        gap: 1.5rem;
    }
    .hs-card {
        scroll-snap-align: center;
        width: 85vw;
    }
}









/* Poster Gallery CSS */
.poster-gallery-section {
    padding: 6rem 0;
    background: #fdfaff; /* Synced with website light theme */
    color: var(--text-color);
    overflow: hidden;
    position: relative;
}
.poster-gallery-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(157, 78, 221, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.poster-gallery-section .elegant-title {
    color: var(--dark-purple) !important;
}
.poster-carousel-container {
    margin-top: 4rem;
    position: relative;
    width: 100%;
    height: 85vh; min-height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}
.poster-track {
    position: relative;
    width: 450px;
    height: 650px;
    transform-style: preserve-3d;
}
.poster-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(157, 78, 221, 0.15); /* Elegant light shadow */
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.8s ease;
    cursor: pointer;
    background: #fff;
}
.poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
/* Glassy layer for inactive cards */
.poster-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(253, 250, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 1;
    transition: all 0.6s ease;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 20px;
}
.poster-card.active {
    box-shadow: 0 30px 60px rgba(157, 78, 221, 0.25);
}
.poster-card.active::after { opacity: 0; backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); }

@media(max-width: 768px) { .poster-carousel-container { transform: scale(0.65); transform-origin: top center; height: 500px !important; min-height: 500px !important; } }


/* High Visibility Booking Button */
.btn-booking {
    display: inline-block !important;
    padding: 1rem 2.5rem !important;
    background: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%) !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.4) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    margin-top: 2rem !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.btn-booking:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(157, 78, 221, 0.6) !important;
    background: linear-gradient(135deg, #7b2cbf 0%, #5a189a 100%) !important;
}



/* Modern Video Section for About Us */
.about-video-modern {
    padding: 6rem 0;
    background: #fdfaff;
}
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}
.video-content-box {
    padding-right: 2rem;
}
.video-content-box .editorial-tag {
    display: inline-block;
    color: #9d4edd;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.video-content-box .elegant-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #3c096c;
}
.video-content-box p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2.5rem;
}
.video-player-box {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(157, 78, 221, 0.2);
    padding: 1rem;
    background: white;
    box-shadow: 0 25px 50px rgba(0,0,0,0.05);
}
.video-player-box video {
    width: 100%;
    border-radius: 12px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.video-overlay-accent {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(157,78,221,0.2) 0%, transparent 70%);
    bottom: -30px;
    right: -30px;
    z-index: -1;
}
@media(max-width: 992px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .video-content-box {
        padding-right: 0;
        text-align: center;
    }
    .video-content-box .elegant-title {
        font-size: 2.5rem;
    }
}

.btn-3d-push {
    box-shadow: 0 8px 0 #5a189a, 0 15px 25px rgba(90,24,154,0.4) !important;
    transform: translateY(-8px);
    transition: all 0.1s ease !important;
}
.btn-3d-push:active {
    box-shadow: 0 2px 0 #5a189a, 0 5px 10px rgba(90,24,154,0.4) !important;
    transform: translateY(-2px) !important;
}



.exp-content h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.exp-content p {
    color: #f8f9fa !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

/* Interactive Stack Gallery */
.stack-gallery-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.stack-container {
    position: relative;
    width: 400px;
    max-width: 90vw;
    height: 550px;
    margin: 4rem auto;
    perspective: 1200px;
    transform-style: preserve-3d;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.stack-card {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(60, 9, 108, 0.15);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease;
    transform-origin: bottom center;
    background: #fff;
    border: 8px solid #fff;
}
.stack-card img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 12px;
}
.stack-hint {
    margin-top: 5rem;
    font-size: 1.1rem;
    color: var(--dark-purple);
    font-weight: 600;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

/* Horizontal Scroll Gallery */
.horizontal-gallery-wrapper { overflow-x: hidden; background: #faf5ff; color: #3c096c; }
.horizontal-gallery-container {
    height: 100vh;
    display: flex;
    flex-wrap: nowrap;
    width: 500vw; /* 5 images = 500vw */
}
.horizontal-panel {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.horizontal-panel img {
    width: 60%;
    height: 80%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    filter: brightness(0.7);
    transition: filter 0.5s, transform 0.5s;
}
.horizontal-panel:hover img {
    filter: brightness(1);
    transform: scale(1.05);
}
.panel-text {
    position: absolute;
    bottom: 15%;
    left: 20%;
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}
.horizontal-panel:hover .panel-text {
    opacity: 1;
    transform: translateY(0);
}
.gallery-intro { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #faf5ff; color: #3c096c; }

/* Page Specific Banners */
.page-header.services-banner {
    background-image: linear-gradient(rgba(157, 78, 221, 0.7), rgba(60, 9, 108, 0.8)), url('https://images.unsplash.com/photo-1560066984-138dadb4c035?q=80&w=1500&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
}
.page-header.blog-banner {
    background-image: linear-gradient(rgba(36, 0, 70, 0.6), rgba(36, 0, 70, 0.8)), url('https://images.unsplash.com/photo-1512496015851-a1cbfb9bb142?q=80&w=1500&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
}
.gallery-intro {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url("../images/gal-int-1.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
}

.blog-post-header {
    background-image: linear-gradient(rgba(60, 9, 108, 0.8), rgba(60, 9, 108, 0.9)), url('https://images.unsplash.com/photo-1595959183082-7b570b7e08e2?q=80&w=1500&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
}



@media (min-width: 769px) {
    .gallery-intro {
        background-position: center 20% !important;
    }
}

/* Draggable Scatter Gallery */
.draggable-gallery-section {
    position: relative;
    height: 120vh;
    min-height: 800px;
    background: #faf5ff;
    overflow: hidden;
    /* subtle dot pattern for a canvas look */
    background-image: radial-gradient(#d8b4e2 1px, transparent 1px);
    background-size: 20px 20px;
}
.drag-bounds {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.drag-photo {
    position: absolute;
    width: 250px;
    height: 320px;
    background: #fff;
    padding: 12px 12px 45px 12px; /* Polaroid look */
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(60, 9, 108, 0.15);
    cursor: grab;
    user-select: none;
    touch-action: none; /* Important for mobile dragging */
    transition: box-shadow 0.2s ease;
    will-change: transform, left, top;
}
.drag-photo:active {
    cursor: grabbing;
    box-shadow: 0 20px 45px rgba(60, 9, 108, 0.3);
}
.drag-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    pointer-events: none;
}
.drag-instruction {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--dark-purple);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 1rem;
    animation: pulse 2s infinite;
}

/* Drag to Spin 3D Ring */
.ring-scene {
    position: relative;
    width: 100vw;
    height: 100vh;
    perspective: 1200px;
    background: #0a0a0a;
    overflow: hidden;
    cursor: grab;
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: none; /* Crucial for touch dragging */
}
.ring-scene:active {
    cursor: grabbing;
}
.ring {
    position: relative;
    width: 320px;
    height: 480px;
    transform-style: preserve-3d;
    will-change: transform;
}
.ring-panel {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    /* Backface visibility creates a cool effect when they spin fast */
    backface-visibility: visible;
}
.ring-panel img {
    width: 100%; height: 100%; object-fit: cover;
    pointer-events: none;
    user-select: none;
}
.ring-instruction {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    pointer-events: none;
    animation: pulse 2s infinite;
}

/* Image Trail Gallery */
.image-trail-section {
    position: relative;
    height: 100vh;
    min-height: 800px;
    background: #faf5ff;
    overflow: hidden;
    cursor: crosshair;
    touch-action: none;
}
.trail-img {
    position: absolute;
    width: 260px;
    height: 360px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(60, 9, 108, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.5);
    will-change: transform, opacity;
}
.trail-instruction h2 {
    font-size: 4rem;
    color: var(--dark-purple);
    text-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.trail-instruction p {
    font-size: 1.5rem;
    color: #666;
    animation: pulse 2s infinite;
}
/* Editorial Sticky Sidebar Gallery */
.editorial-gallery {
    display: flex;
    background: #faf5ff;
    min-height: 100vh;
    position: relative;
    padding: 0;
    margin: 0;
}
.gallery-sidebar {
    width: 35%;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-left: 5%;
    background: #faf5ff;
    z-index: 10;
}
.category-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-nav li {
    margin-bottom: 2.5rem;
}
.category-nav a {
    text-decoration: none;
    font-size: 3.5rem;
    font-family: var(--font-playfair);
    color: rgba(60, 9, 108, 0.15); /* Very faded purple */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
    position: relative;
    line-height: 1.1;
}
.category-nav a:hover {
    color: rgba(60, 9, 108, 0.5);
}
.category-nav a.active {
    color: var(--dark-purple);
    transform: translateX(30px);
}
.category-nav a.active::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary-purple);
    border-radius: 2px;
}
.gallery-content {
    width: 65%;
    padding: 5rem 8% 5rem 0;
}
.category-section {
    margin-bottom: 12rem;
}
.category-section:last-child {
    margin-bottom: 5rem;
}
.editorial-img-large, .editorial-img-small {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}
.editorial-img-large img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}
.editorial-img-small img {
    width: 100%;
    height: 40vh;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}
.editorial-img-large:hover img, .editorial-img-small:hover img {
    transform: scale(1.04);
}
.editorial-row {
    display: flex;
    gap: 2rem;
}
.editorial-row .editorial-img-small {
    flex: 1;
}

/* Mobile Adjustments */
@media(max-width: 900px) {
    .editorial-gallery {
        flex-direction: column;
    }
    .gallery-sidebar {
        width: 100%;
        height: auto;
        position: sticky;
        top: 60px; /* Below navbar */
        padding: 1.5rem;
        background: rgba(250, 245, 255, 0.95);
        backdrop-filter: blur(10px);
        justify-content: flex-start;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .category-nav {
        display: flex;
        gap: 2rem;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }
    .category-nav li {
        margin-bottom: 0;
    }
    .category-nav a {
        font-size: 1.5rem;
    }
    .category-nav a.active {
        transform: translateX(0);
        color: var(--primary-purple);
    }
    .category-nav a.active::before {
        display: none;
    }
    .gallery-content {
        width: 100%;
        padding: 2rem;
    }
    .editorial-row {
        flex-direction: column;
        gap: 0;
    }
    .editorial-img-large img {
        height: 60vh;
    }
    .editorial-img-small img {
        height: 50vh;
    }
}







/* WordPress Active Menu State */
.nav-links .current-menu-item > a,
.nav-links .current-page-ancestor > a {
    color: #f0d9ff !important; 
    text-shadow: 0 0 10px rgba(255,255,255,0.5) !important;
}

/* ================================================
   MEERA THEME - ENHANCED STYLES
   ================================================ */

/* Services Banner - Taller, Full Impact */
header.page-header.services-banner,
.page-header.services-banner {
    min-height: 55vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 !important;
    background-image: linear-gradient(rgba(60, 9, 108, 0.6), rgba(157, 78, 221, 0.5)),
        url('https://images.unsplash.com/photo-1560066984-138dadb4c035?q=80&w=1920&auto=format&fit=crop') !important;
    background-size: cover !important;
    background-position: center 30% !important;
    position: relative;
    overflow: hidden;
}
.page-header.services-banner h1,
header.page-header.services-banner h1 {
    font-size: clamp(2.5rem, 6vw, 5rem) !important;
    text-shadow: 0 4px 30px rgba(0,0,0,0.4);
    margin-bottom: 1rem;
}
.page-header.services-banner p {
    font-size: 1.25rem !important;
    opacity: 0.9;
}

/* Blog Banner - Taller */
.page-header.blog-banner {
    min-height: 40vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 !important;
}
.page-header.blog-banner h1 {
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* ================================================
   3D BLOG CARDS
   ================================================ */
.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(100, 30, 180, 0.12);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease;
    transform-style: preserve-3d;
    position: relative;
}
.blog-card:hover {
    transform: translateY(-12px) rotateX(3deg);
    box-shadow:
        0 30px 60px rgba(100, 30, 180, 0.2),
        0 0 0 1px rgba(157, 78, 221, 0.1),
        inset 0 1px 0 rgba(255,255,255,0.6);
}
.blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}
.blog-card:hover::before { opacity: 1; }

.blog-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-img {
    transform: scale(1.06);
}

.blog-card .blog-content {
    padding: 1.8rem;
    position: relative;
    z-index: 2;
    background: white;
}
.blog-card .blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}
.blog-card .blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* Blog Read More Button */
.blog-card .btn.btn-outline {
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
.blog-card .btn.btn-outline:hover {
    background: var(--primary-purple);
    color: white;
    box-shadow: 0 5px 20px rgba(157, 78, 221, 0.4);
    transform: translateY(-2px);
}

/* Blog Grid perspective */
.blog-container {
    perspective: 1000px;
}

/* ================================================
   BLOG POST PAGE IMPROVEMENTS
   ================================================ */
.blog-post-container .blog-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--dark-purple);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-purple);
}
.blog-post-container .blog-content h3 {
    font-size: 1.4rem;
    color: #444;
    margin: 2rem 0 0.8rem;
}
.blog-post-container .blog-content p {
    margin-bottom: 1.4rem;
    line-height: 1.9;
    color: #3a3a3a;
}
.blog-post-container .blog-content img {
    border-radius: 12px;
    max-width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    margin: 2rem auto;
    display: block;
}
.blog-post-container .blog-content blockquote {
    border-left: 5px solid var(--primary-purple);
    background: #fdf4ff;
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--dark-purple);
    margin: 2rem 0;
}

/* TOC Styles */
.meera-toc {
    background: linear-gradient(135deg, #fdfaf6, #f3e8ff) !important;
    border-radius: 16px !important;
    border-left: 5px solid var(--primary-purple) !important;
    box-shadow: 0 8px 30px rgba(157, 78, 221, 0.1) !important;
}
.meera-toc ul li a {
    transition: all 0.25s ease !important;
    display: block;
    padding: 2px 0;
}
.meera-toc ul li a:hover {
    color: var(--primary-purple) !important;
    padding-left: 8px;
}

/* =====================================================
   BLOG ARCHIVE PAGE - COMPLETE REDESIGN
   ===================================================== */

/* Hero Banner */
.blog-archive-hero {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.blog-archive-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 50px;
    background: #f7f3ff;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.blog-archive-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.75rem;
    text-shadow: 0 3px 15px rgba(0,0,0,0.3);
}
.blog-archive-hero p {
    font-size: 1.1rem;
    opacity: 0.88;
    max-width: 500px;
    margin: 0 auto;
}

.blog-archive-section {
    background: #f7f3ff;
    padding: 4rem 0 5rem;
}

/* 3-column grid on desktop, 2 on tablet, 1 on mobile */
.blog-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 900px) {
    .blog-grid-layout { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 580px) {
    .blog-grid-layout { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Card */
.blog-card-item {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(100, 30, 180, 0.1);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}
.blog-card-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 50px rgba(100, 30, 180, 0.2);
}

.blog-card-img-wrap {
    display: block;
    overflow: hidden;
    height: 200px;
    position: relative;
}
.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.blog-card-item:hover .blog-card-img { transform: scale(1.07); }

.blog-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(60,9,108,0.35) 0%, transparent 60%);
}

.blog-card-body {
    padding: 1.4rem 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.blog-card-cat {
    color: var(--primary-purple);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}
.meta-dot { color: #ccc; }

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.7rem;
    color: var(--dark-purple);
}
.blog-card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}
.blog-card-title a:hover { color: var(--primary-purple); }

.blog-card-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.2rem;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}
.blog-read-more {
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}
.blog-read-more:hover { gap: 10px; }
.blog-read-time {
    font-size: 0.8rem;
    color: #bbb;
}

/* Pagination */
.blog-pagination {
    margin-top: 3.5rem;
    text-align: center;
}
.blog-pagination .nav-links { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.blog-pagination .page-numbers {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-purple);
    background: white;
    border: 2px solid #e0d0f5;
    font-weight: 600;
    transition: all 0.2s;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

/* Empty State */
.blog-empty-state {
    text-align: center;
    padding: 5rem 1rem;
    color: #bbb;
}
.blog-empty-state i { font-size: 3rem; margin-bottom: 1rem; display: block; }

/* =====================================================
   SINGLE POST PAGE - STICKY SIDEBAR TOC
   ===================================================== */

/* Hero */
.single-hero {
    padding: 7rem 1.5rem 5rem;
    color: white;
    text-align: center;
    position: relative;
}
.single-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    height: 50px;
    background: #fff;
    clip-path: ellipse(60% 100% at 50% 100%);
}
.single-breadcrumb {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.single-breadcrumb a { color: white; text-decoration: none; }
.single-breadcrumb span { opacity: 0.7; }
.single-cats { margin-bottom: 1rem; }
.single-cat-badge {
    background: rgba(255,255,255,0.18);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    margin: 3px;
    display: inline-block;
    backdrop-filter: blur(5px);
}
.single-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    text-shadow: 0 3px 15px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.single-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
    flex-wrap: wrap;
}
.single-meta span { display: flex; align-items: center; gap: 6px; }

/* Two-column layout: article + sidebar */
.single-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
    align-items: start;
    padding-top: 3rem;
    padding-bottom: 4rem;
}
@media (max-width: 900px) {
    .single-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Article Content */
.single-article {
    min-width: 0;
    line-height: 1.9;
    font-size: 1.05rem;
    color: #333;
}
.single-article h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--dark-purple);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-purple);
}
.single-article h3 {
    font-size: 1.3rem;
    color: #444;
    margin: 2rem 0 0.8rem;
}
.single-article p { margin-bottom: 1.4rem; }
.single-article img {
    border-radius: 12px;
    max-width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    margin: 2rem auto;
    display: block;
}
.single-article blockquote {
    border-left: 5px solid var(--primary-purple);
    background: #fdf4ff;
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--dark-purple);
    margin: 2rem 0;
}
.single-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}
.single-tag {
    background: #f3e8ff;
    color: var(--primary-purple);
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    margin: 3px;
    display: inline-block;
    transition: background 0.2s;
}
.single-tag:hover { background: var(--primary-purple); color: white; }

/* Author Box */
.single-author-box {
    background: linear-gradient(135deg, #fdf4ff, #ede7ff);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
@media (max-width: 480px) {
    .single-author-box { flex-direction: column; text-align: center; }
}
.author-avatar { border-radius: 50%; border: 3px solid var(--primary-purple); flex-shrink: 0; }
.author-name { margin: 0 0 0.4rem; color: var(--dark-purple); font-size: 1.1rem; }
.author-bio { margin: 0; color: #555; font-size: 0.9rem; }

/* Post Nav */
.single-nav {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.single-nav-btn {
    flex: 1;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-decoration: none;
    color: #333;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.single-nav-btn:hover { box-shadow: 0 10px 30px rgba(100,30,180,0.15); transform: translateY(-3px); }
.single-nav-btn.prev { border-left: 4px solid var(--primary-purple); }
.single-nav-btn.next { border-right: 4px solid var(--primary-purple); text-align: right; }
.nav-label { font-size: 0.8rem; color: #999; text-transform: uppercase; letter-spacing: 0.05em; }
.nav-post-title { font-weight: 700; font-size: 0.95rem; color: var(--dark-purple); }

/* ========== STICKY TOC SIDEBAR ========== */
.single-toc-sidebar {
    position: sticky;
    top: 90px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(100,30,180,0.12);
    border-top: 4px solid var(--primary-purple);
    overflow: hidden;
}

/* Desktop: always show content */
.toc-mobile-toggle { display: none; }
.toc-content { display: block; padding: 1.5rem; }
.toc-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-purple);
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.toc-item { margin-bottom: 0.2rem; }
.toc-link {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    line-height: 1.4;
}
.toc-link:hover {
    background: #f3e8ff;
    color: var(--primary-purple);
    border-left-color: var(--primary-purple);
    padding-left: 1rem;
}
.toc-link.toc-active {
    background: #f3e8ff;
    color: var(--primary-purple);
    border-left-color: var(--primary-purple);
    font-weight: 600;
    padding-left: 1rem;
}

/* Mobile: TOC becomes collapsible accordion at top */
@media (max-width: 900px) {
    .single-toc-sidebar {
        position: static;
        order: -1;
        margin-bottom: 2rem;
        border-radius: 12px;
    }
    .toc-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 1rem 1.2rem;
        background: linear-gradient(135deg, var(--dark-purple), var(--primary-purple));
        color: white;
        font-weight: 700;
        font-size: 1rem;
        border: none;
        cursor: pointer;
        gap: 0.5rem;
    }
    .toc-chevron {
        transition: transform 0.3s;
        margin-left: auto;
    }
    .toc-content {
        display: none;
        padding: 1.2rem;
    }
    .toc-content.toc-open { display: block; }
    .toc-heading { display: none; }
}
