/* ==========================================================
   THE ADHISHA DIFFERENCE - PREMIUM EDITORIAL STYLESHEET
   ========================================================== */

/* Core variable mappings */
:root {
    --font-serif: 'Josefin Sans', serif;
    --font-sans: 'Outfit', sans-serif;
    --accent: var(--gold);
    
    /* Luxury editorial colors */
    --diff-bg: #FDFBF9;         /* Warm Ivory Page Background */
    --diff-bg-alt: #F7F4EF;     /* Soft Sandstone Section Background */
    --diff-text: #2C2520;       /* Sophisticated Espresso Body Text */
}

body.page-template-template-difference {
    background-color: var(--diff-bg);
    color: var(--diff-text);
}

.difference-brand-page {
    background-color: var(--diff-bg);
}

/* ==========================================================
   SECTION 1: HERO PHILOSOPHY
   ========================================================== */
.diff-hero-wrapper {
    position: relative;
    overflow: hidden;
    background-color: var(--diff-bg);
}

.diff-hero {
    padding: 150px 0 28px 0;
    text-align: center;
    background-color: var(--diff-bg);
    position: relative;
}

/* Side Ornamental Arcs for The Adhisha Difference Hero & Intro */
.diff-hero-wrapper .logo-side-arc {
    position: absolute;
    top: 56%;
    transform: translateY(-50%);
    width: min(220px, 18vw);
    height: 480px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

.diff-hero-wrapper .logo-side-arc.arc-left {
    left: 0;
}

.diff-hero-wrapper .logo-side-arc.arc-right {
    right: 0;
}

.diff-hero-wrapper .logo-side-arc svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 1100px) {
    .diff-hero-wrapper .logo-side-arc {
        display: none;
    }
}

/* Botanical-inspired mandala background illustration */
.diff-hero::before {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(500px, 100vw);
    height: min(500px, 100vw);
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iNDUiIHN0cm9rZT0iI2M0OWEzNSIgc3Ryb2tlLXdpZHRoPSIwLjMiIGZpbGw9Im5vbmUiIG9wYWNpdHk9IjAuMSIvPjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIHI9IjMwIiBzdHJva2U9IiNjNDlhMzUiIHN0cm9rZS13aWR0aD0iMC4yIiBmaWxsPSJub25lIiBvcGFjaXR5PSIwLjA4Ii8+PHBhdGggZD0iTTUwIDUgTDUwIDk1IE01IDUwIEw5NSA1MCBNMTggMTggTDgyIDgyIE0xOCA4MiBMODIgMTgiIHN0cm9rZT0iI2M0OWEzNSIgc3Ryb2tlLXdpZHRoPSIwLjEiIG9wYWNpdHk9IjAuMDgiLz48L3N2Zz4=');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.8;
    pointer-events: none;
}

.diff-sanskrit {
    font-family: var(--font-serif);
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: inline-block;
}

.diff-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(42px, 5.2vw, 70px);
    color: var(--text);
    font-weight: 400;
    line-height: 1.18;
    margin: 0 auto;
    max-width: 980px;
    letter-spacing: -0.01em;
}

.diff-divider {
    width: 60px;
    height: 1px;
    background: rgba(196, 154, 53, 0.4);
    margin: 32px auto 0 auto;
    position: relative;
}

.diff-divider::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--diff-bg);
}

/* ==========================================================
   SECTION 2: EDITORIAL INTRODUCTION
   ========================================================== */
.diff-intro {
    padding: 24px 0 44px 0;
    background-color: var(--diff-bg);
}

.diff-intro-content {
    max-width: 1020px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 0 24px;
}

.diff-intro-content p {
    font-family: var(--font-serif);
    font-style: normal;
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.75;
    color: #2C2520;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

.diff-intro-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================
   SECTION 3: MOSAIC COLLAGE GALLERY
   ========================================================== */
.diff-mosaic {
    padding: 0 0 50px 0;
    background-color: var(--diff-bg);
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
}

.mosaic-item {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(24, 18, 12, 0.03);
    cursor: pointer;
    border: 1px solid rgba(196, 154, 53, 0.06);
    background-color: var(--diff-bg-alt);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease;
}

.mosaic-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    pointer-events: none;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.mosaic-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(24, 18, 12, 0.06);
}

.mosaic-item:hover img {
    transform: scale(1.03);
}

/* Collage asymmetry sizing */
.mosaic-size-large-h {
    grid-column: span 7;
    height: 400px;
}

.mosaic-size-tall {
    grid-column: span 5;
    height: 400px;
}

.mosaic-size-medium {
    grid-column: span 5;
    height: 400px;
}

.mosaic-size-large-w {
    grid-column: span 7;
    height: 400px;
}

/* ==========================================================
   SECTION 4: ALTERNATING CONTENT SECTIONS
   ========================================================== */
.diff-section {
    padding: 70px 0;
    background-color: var(--diff-bg);
    position: relative;
    overflow: hidden;
}

.diff-section:nth-of-type(even) {
    background-color: var(--diff-bg-alt);
}

.diff-impact-sec {
    background-color: var(--diff-bg-alt) !important;
    position: relative;
}

/* Botanical fine-line circle watermark */
.diff-impact-sec::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(580px, 100vw);
    height: min(580px, 100vw);
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48Y2lyY2xlIGN4PSI5MCIgY3k9IjUwIiByPSI0MCIgc3Ryb2tlPSIjYzQ5YTM1IiBzdHJva2Utd2lkdGg9IjAuMTUiIGZpbGw9Im5vbmUiIG9wYWNpdHk9IjAuMTUiLz48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSIyNSIgc3Ryb2tlPSIjYzQ5YTM1IiBzdHJva2Utd2lkdGg9IjAuMTUiIGZpbGw9Im5vbmUiIG9wYWNpdHk9IjAuMSIvPjxwYXRoIGQ9Ik01MCA1IEw1MCA5NSBNNSA1MCBMOTUgNTAiIHN0cm9rZT0iI2M0OWEzNSIgc3Ryb2tlLXdpZHRoPSIwLjA4IiBvcGFjaXR5PSIwLjEiLz48L3N2Zz4=');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

.diff-impact-sec .container {
    position: relative;
    z-index: 2;
}

/* Subtle graphic watermark overlay */
.diff-section::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSI0MCIgc3Ryb2tlPSIjYzQ5YTM1IiBzdHJva2Utd2lkdGg9IjAuMyIgZmlsbD0ibm9uZSIgb3BhY2l0eT0iMC4xMiIvPjwvc3ZnPg==');
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    opacity: 0.5;
}

.diff-section:nth-of-type(odd)::after {
    right: -80px;
    bottom: -80px;
}

.diff-section:nth-of-type(even)::after {
    left: -80px;
    top: -80px;
}

.diff-section-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 100px;
    align-items: center;
}

.diff-section.alt-layout .diff-section-grid {
    grid-template-columns: 0.85fr 1.15fr;
}

.diff-section.alt-layout .section-text {
    grid-column: 1;
}

.diff-section.alt-layout .section-media {
    grid-column: 2;
    order: 2;
}

.section-media {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 25px 60px rgba(16, 12, 8, 0.05);
    border: 1px solid rgba(196, 154, 53, 0.08);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.section-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.section-media:hover img {
    transform: scale(1.03);
}

.section-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 540px;
    position: relative;
    z-index: 2;
}

.section-label {
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--accent);
    margin-bottom: 24px;
    font-weight: 700;
}

.section-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(36px, 4.5vw, 54px);
    color: var(--text);
    line-height: 1.15;
    margin: 0 0 26px 0;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Elegant LEFT-BORDERED Quote Layout for Subtitles */
.section-text .section-subtitle {
    font-family: var(--font-serif);
    font-style: normal;
    font-size: clamp(19px, 2.2vw, 23px);
    line-height: 1.5;
    color: var(--accent);
    border-left: 2px solid var(--accent);
    padding: 12px 24px;
    margin: 10px 0 30px 0;
    background: rgba(196, 154, 53, 0.03);
    border-radius: 0 16px 16px 0;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.section-text p {
    font-size: 17px;
    line-height: 1.95;
    color: #4A423B;
    margin: 0 0 20px 0;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.section-text p:last-of-type {
    margin-bottom: 0;
}

/* ==========================================================
   IMPACT SECTION SPECIFIC STYLINGS (CARDS & CONTAINERS)
   ========================================================= */
.space-header {
    margin-bottom: 36px;
}

.space-intro-text {
    max-width: 820px;
    margin: 18px auto 0 auto;
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.85;
    color: #4A423B;
    font-weight: 300;
}

.diff-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 36px;
    text-align: left;
}

/* Translucent Soft Sandstone/White Panel Cards */
.impact-col {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(196, 154, 53, 0.09);
    border-radius: 28px;
    padding: 36px 32px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    box-shadow: 0 15px 35px rgba(24, 18, 12, 0.01);
}

.impact-col:hover {
    background: #ffffff;
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(24, 18, 12, 0.05);
    border-color: var(--accent);
}

.impact-col h3 {
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--text);
    margin-bottom: 18px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.impact-col p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #4A423B;
    margin: 0;
    font-weight: 300;
}

.impact-badge-box {
    margin-top: 40px;
    background: #ffffff;
    border-left: 4px solid var(--accent);
    border-top: 1px solid rgba(196, 154, 53, 0.14);
    border-right: 1px solid rgba(196, 154, 53, 0.14);
    border-bottom: 1px solid rgba(196, 154, 53, 0.14);
    border-radius: 8px 24px 24px 8px;
    padding: 30px 40px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 50px rgba(24, 18, 12, 0.07);
}

.impact-badge-title {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.45;
}

.impact-badge-sub {
    font-size: 15px;
    color: #554D45;
    margin: 0;
    font-weight: 300;
}

/* Inline Link CTA Styling */
.section-text a {
    color: var(--accent);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-bottom: 1px solid rgba(196, 154, 53, 0.25);
    padding-bottom: 5px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-top: 20px;
    outline: none;
}

.section-text a:hover {
    border-bottom-color: var(--accent);
    color: var(--gold, #c49a35);
}

/* ==========================================================
   SECTION 5: BRAND CTA
   ========================================================== */
.diff-cta {
    padding: 80px 0;
    text-align: center;
    background-color: var(--diff-bg);
    position: relative;
    border-top: 1px solid rgba(196, 154, 53, 0.05);
}

.diff-cta h2 {
    font-family: var(--font-serif);
    font-size: clamp(38px, 5.5vw, 62px);
    color: var(--text);
    margin: 0 0 28px 0;
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.15;
}

.diff-cta p {
    font-size: clamp(16px, 1.8vw, 19px);
    color: #4A423B;
    max-width: 720px;
    margin: 0 auto 36px auto;
    line-height: 1.85;
    font-weight: 300;
}

.diff-cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-premium {
    background: var(--accent);
    color: white;
    padding: 18px 42px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid var(--accent);
    box-shadow: 0 10px 30px rgba(196, 154, 53, 0.15);
}

.btn-premium:hover {
    background: transparent;
    color: var(--accent);
    box-shadow: 0 10px 30px rgba(196, 154, 53, 0);
}

.btn-premium-outline {
    background: transparent;
    color: var(--text);
    padding: 18px 42px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(196, 154, 53, 0.35);
    transition: all 0.3s ease;
}

.btn-premium-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ==========================================================
   RESPONSIVE LAYOUT BREAKPOINTS
   ========================================================== */
@media (max-width: 991px) {
    .diff-hero {
        padding: 130px 0 24px 0;
    }
    
    .diff-intro {
        padding: 20px 0 36px 0;
    }

    .diff-intro-content {
        max-width: 90%;
        padding: 0 16px;
    }

    .diff-intro-content p {
        font-size: clamp(17px, 2.2vw, 20px);
        line-height: 1.7;
        margin-bottom: 20px;
    }
    
    .diff-mosaic {
        padding: 0 0 80px 0;
    }
    
    .mosaic-grid {
        gap: 20px;
    }
    
    .mosaic-size-large-h, .mosaic-size-tall, .mosaic-size-medium, .mosaic-size-large-w {
        height: 360px !important;
    }
    
    .diff-section {
        padding: 110px 0;
    }
    
    .diff-section-grid {
        grid-template-columns: 1fr !important;
        gap: 50px;
    }
    
    .section-media {
        grid-column: auto !important;
        order: 1 !important;
        height: 440px;
        width: 100%;
        aspect-ratio: auto;
    }
    
    .section-text {
        grid-column: auto !important;
        order: 2 !important;
        max-width: 100%;
    }
    
    .diff-section.alt-layout .section-media {
        order: 1 !important;
    }
    
    .diff-section.alt-layout .section-text {
        order: 2 !important;
    }
    
    .diff-impact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .impact-badge-box {
        padding: 35px 40px;
    }
}

@media (max-width: 767px) {
    .diff-hero {
        padding: 110px 0 20px 0;
    }
    
    .diff-sanskrit {
        font-size: 14px;
        letter-spacing: 0.2em;
        margin-bottom: 14px;
    }

    .diff-hero h1 {
        font-size: clamp(32px, 8vw, 44px);
    }

    .diff-divider {
        margin: 24px auto 0 auto;
    }

    .diff-intro {
        padding: 16px 0 32px 0;
    }

    .diff-intro-content {
        max-width: 100%;
        padding: 0 16px;
    }

    .diff-intro-content p {
        font-size: 16px;
        line-height: 1.65;
        margin-bottom: 18px;
    }
    
    .diff-mosaic {
        padding: 0 0 70px 0;
    }
    
    .mosaic-item {
        grid-column: span 12 !important;
        height: 280px !important;
        border-radius: 20px;
    }
    
    .diff-section {
        padding: 80px 0;
    }
    
    .section-media {
        height: 300px;
        border-radius: 24px;
    }
    
    .diff-cta {
        padding: 110px 0;
    }
    
    .impact-badge-box {
        padding: 30px 24px;
        text-align: center;
        border-left: none;
        border-top: 3px solid var(--accent);
        border-radius: 20px;
    }
}



/* ==========================================================
   GALLERY LIGHTBOX OVERLAY
   ========================================================== */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(24, 18, 12, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s ease;
    z-index: 99999;
}

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

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 16px;
    object-fit: contain;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: fixed;
    top: 24px;
    right: 24px;
    color: #FAF5ED;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1000005;
}

.lightbox-close:hover {
    background: rgba(197, 160, 89, 0.95);
    border-color: rgba(197, 160, 89, 0.95);
    color: #1a1208;
    transform: scale(1.08) rotate(90deg);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FAF5ED;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100000;
    padding: 0;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.lightbox-arrow svg {
    width: 24px;
    height: 24px;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    .lightbox-arrow {
        width: 48px;
        height: 48px;
    }
    .lightbox-prev {
        left: 15px;
    }
    .lightbox-next {
        right: 15px;
    }
}

@media (max-width: 767px) {
    .lightbox-close {
        top: -60px;
        right: 10px;
    }
    .lightbox-arrow {
        top: auto;
        bottom: 20px;
        transform: none;
        width: 46px;
        height: 46px;
    }
    .lightbox-prev {
        left: 30px;
    }
    .lightbox-next {
        right: 30px;
    }
    .lightbox-img {
        max-height: 70vh;
    }
    .lightbox-content {
        margin-bottom: 60px;
    }
}
