/* ==========================================================================
   MWAVULI PHOTOGRAPHY - MINIMALIST POLISHED DESIGN SYSTEM
   Refined off-white aesthetics, 3D Cover Flow, Segmented Controls, Masonry Gallery
   ========================================================================== */

:root {
    --bg-color: #FAF8F5;
    /* Warm, comfortable, organic ivory-beige background */
    --surface-color: #FFFFFF;
    --text-main: #0F172A;
    /* Deep high-contrast obsidian slate */
    --text-muted: #475569;
    /* Crisp slate gray */
    --accent: #0F172A;
    --purple-dot: #7C3AED;
    --border-color: #EAE6DF;
    --border-hover: #C084FC;
    --radius-img: 24px;
    --radius-card: 22px;
    --radius-btn: 9999px;
    /* Pill shape */
    --max-width: 1400px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --spring: cubic-bezier(0.25, 1, 0.5, 1);
    --font-main: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    --font-heading: 'Cormorant Garamond', 'Playfair Display', 'Syne', serif;
    --font-accent: 'Caveat', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    position: relative;
    font-family: var(--font-main);
    background-color: #FAF8F5;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Tangible, Comforting Vibrant Ambient Aurora Glow */
body::before {
    content: "";
    position: fixed;
    top: -12%;
    left: -8%;
    width: 70vw;
    height: 70vw;
    max-width: 1050px;
    max-height: 1050px;
    background: radial-gradient(circle, rgba(251, 207, 232, 0.65) 0%, rgba(221, 214, 254, 0.50) 45%, rgba(253, 230, 138, 0.38) 70%, transparent 85%);
    filter: blur(80px);
    z-index: -2;
    pointer-events: none;
    animation: auroraFloat1 20s ease-in-out infinite alternate;
    opacity: 0.9;
}

body::after {
    content: "";
    position: fixed;
    bottom: -8%;
    right: -8%;
    width: 75vw;
    height: 75vw;
    max-width: 1150px;
    max-height: 1150px;
    background: radial-gradient(circle, rgba(253, 230, 138, 0.60) 0%, rgba(251, 207, 232, 0.55) 40%, rgba(221, 214, 254, 0.40) 68%, transparent 85%);
    filter: blur(90px);
    z-index: -2;
    pointer-events: none;
    animation: auroraFloat2 24s ease-in-out infinite alternate;
    opacity: 0.9;
}

@keyframes auroraFloat1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 35px) scale(1.08);
    }

    100% {
        transform: translate(-30px, 60px) scale(0.94);
    }
}

@keyframes auroraFloat2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-40px, -45px) scale(1.06);
    }

    100% {
        transform: translate(35px, -25px) scale(0.96);
    }
}

a {
    text-decoration: none;
    color: inherit;
}

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

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 5%;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.5px;
    color: var(--text-main);
    cursor: pointer;
    transition: transform 0.3s var(--ease);
}

.logo:hover {
    transform: scale(1.04);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.logo img {
    height: 76px;
    width: auto;
    max-width: 360px;
    border-radius: 0;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    opacity: 0.7;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    display: inline-block;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    font-weight: 600;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-main);
    transition: transform 0.2s var(--ease);
}

.hero {
    padding: 185px 5% 60px;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    min-height: 75vh;
    overflow-x: hidden;
}

.hero-text {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(42px, 6.2vw, 72px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-main);
    background: linear-gradient(135deg, #0F172A 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Authentic Organic Real Paint Brush Stroke for "emotion" (Black texture mask with white font) */
.highlight-handwritten,
.brush-wrap {
    font-family: var(--font-accent);
    font-size: 1.22em;
    font-weight: 700;
    font-style: italic;
    position: relative;
    display: inline-block;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    padding: 4px 20px 6px 18px;
    margin-left: 4px;
    margin-right: 2px;
    transform: rotate(-1.5deg);
    line-height: 1.05;
    background: transparent;
    z-index: 1;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.4));
}

.highlight-handwritten::before,
.brush-wrap::before {
    content: "";
    position: absolute;
    inset: -6px -14px -6px -14px;
    background: linear-gradient(135deg, #F89D2A 0%, #EA580C 100%); /* Warm brand logo orange */
    z-index: -1;
    -webkit-mask-image: url('https://2.bp.blogspot.com/-CJzyIpsXrR8/VaakNgVIzeI/AAAAAAAAJv0/U0IlTFJK-Bs/s1600/2015-06-27%252525252022.10.31.png');
    mask-image: url('https://2.bp.blogspot.com/-CJzyIpsXrR8/VaakNgVIzeI/AAAAAAAAJv0/U0IlTFJK-Bs/s1600/2015-06-27%252525252022.10.31.png');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    filter: drop-shadow(0px 4px 12px rgba(248, 157, 42, 0.45));
    transform: rotate(-0.5deg);
}

.hero-text p {
    font-size: clamp(15px, 2vw, 17px);
    color: var(--text-muted);
    margin: 0 auto 32px;
    max-width: 620px;
    line-height: 1.6;
}

/* 3D Carousel UI - Poker Card Fan Spread */
.carousel-3d-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    perspective: 1200px;
    overflow: visible;
}

.carousel-3d-track {
    position: relative;
    height: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.carousel-3d-item {
    position: absolute;
    width: 620px;
    max-width: 80vw;
    aspect-ratio: 16/10;
    border-radius: var(--radius-img);
    overflow: hidden;
    transform-origin: center bottom;
    transition: transform 0.6s var(--spring), opacity 0.6s var(--spring), filter 0.6s var(--spring);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    will-change: transform, opacity, filter;
    -webkit-user-select: none;
    user-select: none;
}

.carousel-3d-item img,
.carousel-3d-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* 3D State Classes for Fan Spread (Tilting outward at top, anchored at bottom) */
.carousel-3d-item.active {
    transform: translateX(0) translateY(0) rotate(0deg) scale(1);
    z-index: 5;
    opacity: 1;
    filter: brightness(1);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.25);
}

.carousel-3d-item.prev-1 {
    transform: translateX(-38%) translateY(14px) rotate(-7deg) rotateY(10deg) scale(0.88);
    z-index: 4;
    opacity: 0.92;
    filter: brightness(0.88);
}

.carousel-3d-item.next-1 {
    transform: translateX(38%) translateY(14px) rotate(7deg) rotateY(-10deg) scale(0.88);
    z-index: 4;
    opacity: 0.92;
    filter: brightness(0.88);
}

.carousel-3d-item.prev-2 {
    transform: translateX(-70%) translateY(32px) rotate(-14deg) rotateY(18deg) scale(0.76);
    z-index: 3;
    opacity: 0.65;
    filter: brightness(0.65);
}

.carousel-3d-item.next-2 {
    transform: translateX(70%) translateY(32px) rotate(14deg) rotateY(-18deg) scale(0.76);
    z-index: 3;
    opacity: 0.65;
    filter: brightness(0.65);
}

.carousel-3d-item.hidden {
    transform: translateX(0) translateY(50px) rotate(0deg) scale(0.5);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

/* 3D Carousel Controls */
.carousel-3d-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.carousel-3d-btn {
    background: transparent;
    border: none;
    font-size: 18px;
    color: #9ca3af;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s var(--ease), transform 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-3d-btn:hover {
    color: var(--text-main);
    transform: scale(1.15);
}

.carousel-3d-btn:active {
    transform: scale(0.9);
}

.carousel-3d-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.carousel-3d-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s var(--spring);
}

.carousel-3d-dot.active {
    background: var(--purple-dot);
    transform: scale(1.3);
}

.gallery-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 5% 100px;
}

.view-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.segmented-control {
    display: inline-flex;
    background: #EBEBEF;
    padding: 6px;
    border-radius: var(--radius-btn);
    position: relative;
}

.segment-btn {
    background: transparent;
    border: none;
    padding: 12px 32px;
    border-radius: var(--radius-btn);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.3s var(--ease);
}

.segment-btn.active {
    color: var(--text-main);
}

.segment-indicator {
    position: absolute;
    top: 6px;
    left: 6px;
    height: calc(100% - 12px);
    background: var(--surface-color);
    border-radius: var(--radius-btn);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 1;
    transition: transform 0.4s var(--ease), width 0.4s var(--ease);
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.album-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.06);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.album-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 22px 48px -12px rgba(124, 58, 237, 0.15), 0 8px 20px rgba(0, 0, 0, 0.04);
}

.album-card:active {
    transform: scale(0.98);
}

.album-cover {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.album-cover img,
.album-cover video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.album-card:hover .album-cover img,
.album-card:hover .album-cover video {
    transform: scale(1.08);
}

.album-info {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.album-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.album-count {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-color);
    padding: 6px 14px;
    border-radius: var(--radius-btn);
}

.header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.back-btn {
    background: transparent;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s var(--ease);
}

.back-btn:hover {
    transform: translateX(-4px);
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    grid-auto-flow: dense;
}

.photo-item {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    cursor: pointer;
    background: #eaeaea;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.photo-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.photo-item:active {
    transform: scale(0.96);
}

.photo-item.tall {
    grid-row: span 2;
}

.photo-item.wide {
    grid-column: span 2;
}

.photo-item img,
.photo-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}

.photo-item:hover img,
.photo-item:hover video {
    transform: scale(1.05);
}

/* Lightbox Modal - Solid Black Backdrop & Aspect Ratio Containment */
.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    background: #000000;
    /* Deep solid black backdrop for maximum detail & clarity */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img,
.lightbox video {
    max-width: 98vw;
    max-height: 96vh;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Full natural image size within viewport bounds */
    border-radius: 0;
    /* Zero border radius for sharp edge-to-edge clarity */
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
    transform: scale(0.98);
    transition: transform 0.25s var(--ease);
    -webkit-user-select: none;
    user-select: none;
}

.lightbox.active img,
.lightbox.active video {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 22px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease);
    z-index: 2010;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

.lightbox-audio-btn {
    position: absolute;
    top: 24px;
    right: 84px;
    font-size: 18px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease);
    z-index: 2010;
}

.lightbox-audio-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

.lightbox-audio-btn:active {
    transform: scale(0.94);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease);
    z-index: 2010;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

/* ==========================================================================
   SKELETON SHIMMER LOADING STATES (EMPTY CARD LOADERS)
   ========================================================================== */
@keyframes shimmerPulse {
    0% {
        background-position: -200% 0;
    }

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

.skel-card,
.skel-shimmer,
.skeleton-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: #E2E8F0;
    background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
    background-size: 200% 100%;
    animation: shimmerPulse 1.5s infinite ease-in-out;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.carousel-3d-item.skeleton-card {
    border: 1px solid #CBD5E1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.album-card.skeleton-card {
    aspect-ratio: 4/3;
    border-radius: 20px;
}

.gallery-item.skel {
    position: relative;
    min-height: 220px;
    background: #E2E8F0;
    border-radius: var(--radius-img);
    overflow: hidden;
}

.gallery-item.skel .skel-shimmer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    inset: 0;
    z-index: 2100;
    pointer-events: none;
}

.mobile-sidebar.open {
    pointer-events: auto;
}

.sidebar-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(247, 247, 249, 0.8);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.mobile-sidebar.open .sidebar-backdrop {
    opacity: 1;
}

.sidebar-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 80vw);
    height: 100%;
    background: var(--surface-color);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.05);
}

.mobile-sidebar.open .sidebar-panel {
    transform: translateX(0);
}

.sidebar-close {
    align-self: flex-end;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    margin-bottom: 40px;
}

.sidebar-panel ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-panel ul a {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
    transition: transform 0.2s var(--ease);
    display: inline-block;
}

.sidebar-panel ul a:active {
    transform: scale(0.95);
}

/* Additional Sections Styling for Completeness */
.services-section,
.about-section,
.contact-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 5%;
}

.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head h2 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-head p {
    color: var(--text-muted);
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-box {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 36px 28px;
    border-radius: var(--radius-card);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-box:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 18px 40px -10px rgba(124, 58, 237, 0.14);
}

.service-box i {
    font-size: 32px;
    color: var(--purple-dot);
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-box p {
    color: var(--text-muted);
    font-size: 14px;
}

.contact-card {
    background: var(--surface-color);
    padding: 48px;
    border-radius: var(--radius-card);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #EBEBEF;
    background: var(--bg-color);
    border-radius: var(--radius-card);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--purple-dot);
}

.submit-btn {
    background: var(--text-main);
    color: #ffffff;
    padding: 16px 36px;
    border: none;
    border-radius: var(--radius-btn);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s var(--ease), background 0.3s var(--ease);
}

.submit-btn:hover {
    transform: translateY(-2px);
    background: #000000;
}

/* ==========================================================================
   ENHANCED ABOUT SECTION
   ========================================================================== */
.about-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 90px 5%;
}

.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.about-container:hover {
    border-color: var(--border-hover);
    box-shadow: 0 25px 55px -15px rgba(124, 58, 237, 0.12), 0 8px 24px rgba(0, 0, 0, 0.04);
}

.about-image-wrap {
    position: relative;
    border-radius: var(--radius-img);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.about-image-wrap:hover img {
    transform: scale(1.06);
}

.about-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(12px);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.badge-number {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: #fbcfe8;
}

.badge-text {
    font-size: 13px;
    opacity: 0.85;
    font-weight: 500;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-tag {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: #7C3AED;
    text-transform: uppercase;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 6px 16px;
    border-radius: 99px;
    display: inline-block;
    align-self: flex-start;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.about-content p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 10px;
}

.stat-card {
    background: #F8FAFC;
    padding: 18px 16px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid #E2E8F0;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--purple-dot);
    background: #FFFFFF;
}

.stat-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
}

.stat-card p {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 4px;
}

.btn-about-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    background: var(--text-main);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    margin-top: 10px;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn-about-cta:hover {
    transform: translateY(-3px) scale(1.03);
    background: #000000;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple-dot);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    transition: transform 0.3s var(--spring), background 0.3s var(--ease);
}

.service-box:hover .service-icon {
    transform: scale(1.15) rotate(6deg);
    background: var(--purple-dot);
    color: #ffffff;
}

/* ==========================================================================
   DRAMATIC POP-IN BOOK NOW FAB
   ========================================================================== */
@keyframes dramaticPopIn {
    0% {
        opacity: 0;
        transform: translateY(140px) scale(0.3);
    }

    60% {
        opacity: 1;
        transform: translateY(-12px) scale(1.08);
    }

    80% {
        transform: translateY(4px) scale(0.96);
    }

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

.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    cursor: pointer;
    opacity: 1;
    pointer-events: auto;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
    text-decoration: none;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.whatsapp-fab i {
    font-size: 30px;
    color: #ffffff;
    transition: transform 0.3s var(--ease);
}

.whatsapp-fab:hover {
    transform: translateY(-4px) scale(1.08);
    background: #1EBE5D;
    box-shadow: 0 16px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-fab:hover i {
    transform: rotate(10deg) scale(1.1);
}

footer {
    padding: 60px 5% 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid #EBEBEF;
    background: var(--surface-color);
}

/* Responsive Breakpoints & Mobile Touch Scaling */
@media (max-width: 900px) {
    .lightbox-prev,
    .lightbox-next {
        display: none !important;
    }

    .lightbox-audio-btn {
        top: 18px;
        right: 72px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    header {
        padding: 20px 4%;
    }

    .logo img {
        height: 76px;
        max-width: 340px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.04);
    }

    .about-container {
        grid-template-columns: 1fr;
        padding: 36px 28px;
        gap: 32px;
        border-radius: 28px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .hero {
        padding: 110px 4% 40px;
        gap: 28px;
        min-height: auto;
    }

    .carousel-3d-track {
        height: 320px;
    }

    .carousel-3d-item {
        width: 82vw;
        aspect-ratio: 16/10;
        border-radius: 20px;
    }

    .carousel-3d-item.prev-1 {
        transform: translateX(-28%) translateY(10px) rotate(-5deg) scale(0.86);
    }

    .carousel-3d-item.next-1 {
        transform: translateX(28%) translateY(10px) rotate(5deg) scale(0.86);
    }

    .carousel-3d-item.prev-2,
    .carousel-3d-item.next-2 {
        opacity: 0;
        pointer-events: none;
    }

    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 14px;
    }

    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .lightbox-nav {
        width: 46px;
        height: 46px;
        font-size: 16px;
    }

    .lightbox-prev {
        left: 14px;
    }

    .lightbox-next {
        right: 14px;
    }

    .lightbox-close {
        top: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
        font-size: 24px;
    }

    .book-now-fab {
        bottom: 24px;
        right: 24px;
        padding: 14px 22px;
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    header {
        padding: 16px 4%;
    }

    .logo img {
        height: 72px;
        max-width: 300px;
    }

    .hero {
        padding: 98px 4% 32px;
        gap: 28px;
    }

    .hero-text h1 {
        font-size: clamp(30px, 8.5vw, 42px);
        letter-spacing: -0.03em;
        margin-bottom: 16px;
        line-height: 1.15;
    }

    .highlight-handwritten {
        font-size: 1.18em;
        padding: 3px 14px;
        border-radius: 12px;
        margin-left: 4px;
    }

    .hero-text p {
        font-size: 16px;
        margin-bottom: 24px;
        line-height: 1.6;
    }

    .carousel-3d-container {
        overflow: hidden;
    }

    .carousel-3d-track {
        height: 215px;
    }

    .carousel-3d-item {
        width: 78vw;
        max-width: 320px;
        aspect-ratio: 16/10;
        border-radius: 14px;
    }

    .carousel-3d-item.prev-1 {
        transform: translateX(-24%) translateY(6px) rotate(-3deg) scale(0.85);
    }

    .carousel-3d-item.next-1 {
        transform: translateX(24%) translateY(6px) rotate(3deg) scale(0.85);
    }

    .carousel-3d-controls {
        gap: 16px;
        margin-top: 16px;
    }

    .segmented-control {
        width: 100%;
        max-width: 360px;
        padding: 6px;
    }

    .segment-btn {
        flex: 1;
        padding: 12px 16px;
        font-size: 14px;
        font-weight: 700;
        text-align: center;
    }

    .gallery-container {
        padding: 10px 4% 60px;
    }

    .view-controls {
        margin-bottom: 32px;
    }

    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .album-card {
        border-radius: 16px;
    }

    .album-info {
        padding: 12px 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .album-title {
        font-size: 15px;
        font-weight: 700;
        line-height: 1.25;
    }

    .album-count {
        font-size: 11px;
        font-weight: 600;
        padding: 3px 8px;
    }

    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .photo-item {
        border-radius: 16px;
    }

    .photo-item.wide {
        grid-column: span 2;
    }

    .photo-item.tall {
        grid-row: span 2;
    }

    .about-section,
    .services-section,
    .contact-section {
        padding: 56px 4%;
    }

    .about-container {
        padding: 28px 20px;
        border-radius: 24px;
        gap: 24px;
    }

    .about-image-wrap {
        aspect-ratio: 4/4.5;
        border-radius: 20px;
    }

    .about-badge {
        bottom: 14px;
        left: 14px;
        padding: 12px 18px;
        border-radius: 16px;
    }

    .badge-number {
        font-size: 26px;
    }

    .badge-text {
        font-size: 12px;
        font-weight: 600;
    }

    .about-tag {
        font-size: 13px;
        padding: 6px 18px;
    }

    .about-content h2 {
        font-size: clamp(26px, 6.5vw, 32px);
        line-height: 1.25;
    }

    .about-content p {
        font-size: 16px;
        line-height: 1.65;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 14px 8px;
        border-radius: 16px;
    }

    .stat-card h3 {
        font-size: 22px;
    }

    .stat-card p {
        font-size: 11px;
    }

    .btn-about-cta {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
        font-weight: 700;
    }

    .section-head {
        margin-bottom: 36px;
    }

    .section-head h2 {
        font-size: 28px;
    }

    .section-head p {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-box {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .service-box h3 {
        font-size: 21px;
    }

    .service-box p {
        font-size: 15px;
    }

    .contact-card {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 14px 16px;
        font-size: 15px;
        border-radius: 14px;
    }

    .submit-btn {
        width: 100%;
        padding: 15px 24px;
        font-size: 16px;
        font-weight: 700;
    }

    .whatsapp-fab {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-fab i {
        font-size: 26px;
    }

    .lightbox img,
    .lightbox video {
        max-width: 98vw;
        max-height: 94vh;
        border-radius: 0;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .lightbox-prev {
        left: 8px;
    }

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

@media (max-width: 400px) {
    .logo img {
        height: 66px;
        max-width: 200px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .carousel-3d-track {
        height: 180px;
    }

    .carousel-3d-item {
        width: 74vw;
        max-width: 270px;
        aspect-ratio: 16/10;
        border-radius: 12px;
    }

    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .album-info {
        padding: 10px 10px;
    }

    .album-title {
        font-size: 13px;
    }

    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .stat-card h3 {
        font-size: 18px;
    }

    .stat-card p {
        font-size: 10px;
    }

    .whatsapp-fab {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }

    .whatsapp-fab i {
        font-size: 24px;
    }
}

/* ==========================================================================
   FIXED WHATSAPP FLOATING ACTION BUTTON (FAB)
   ========================================================================== */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    z-index: 2500;
    text-decoration: none;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.whatsapp-fab i {
    font-size: 30px;
    color: #FFFFFF;
}

.whatsapp-fab:hover {
    background: #1EBE5D;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-fab-tooltip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #0F172A;
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    display: inline-block !important;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.whatsapp-fab:hover .whatsapp-fab-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   BOOKING DIALOGUE POPUP MODAL (ON SCROLL TO BOTTOM)
   ========================================================================== */
.nav-book-btn {
    background: #0F172A;
    color: #FFFFFF;
    border: none;
    padding: 10px 22px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-book-btn:hover {
    background: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.booking-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 13, 22, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.booking-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.booking-modal-card {
    background: #FFFFFF;
    border-radius: 28px;
    width: 100%;
    max-width: 620px;
    padding: 36px 32px;
    position: relative;
    transform: translateY(40px) scale(0.94);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.35), 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.9);
    max-height: 88vh;
    max-height: 88dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: auto;
}

.booking-modal-overlay.active .booking-modal-card {
    transform: translateY(0) scale(1);
}

.booking-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 26px;
    line-height: 1;
    background: #F1F5F9;
    color: #334155;
    border: none;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s var(--ease);
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

.booking-modal-close:hover,
.booking-modal-close:active {
    background: #E2E8F0;
    color: #0F172A;
    transform: scale(1.08);
}

.booking-modal-header {
    margin-bottom: 22px;
    padding-right: 36px;
}

.booking-modal-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #7C3AED;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.booking-modal-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 6px;
    line-height: 1.25;
}

.booking-modal-header p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
}

.booking-modal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.booking-modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.booking-modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-modal-form label {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.booking-modal-form input[type="text"],
.booking-modal-form input[type="email"],
.booking-modal-form input[type="tel"],
.booking-modal-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    color: #0F172A;
    outline: none;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.booking-modal-form input:focus,
.booking-modal-form textarea:focus {
    border-color: #7C3AED;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.service-chips .chip {
    padding: 8px 16px;
    min-height: 38px;
    border-radius: 99px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.service-chips .chip:hover,
.service-chips .chip:active {
    border-color: #7C3AED;
    background: #F3E8FF;
    color: #7C3AED;
}

.service-chips .chip.active {
    border-color: #7C3AED;
    background: #7C3AED;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.28);
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-modal-submit {
    flex: 1;
    padding: 14px 20px;
    min-height: 48px;
    background: #0F172A;
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.btn-modal-submit:hover,
.btn-modal-submit:active {
    background: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.btn-modal-whatsapp {
    padding: 14px 18px;
    min-height: 48px;
    background: #25D366;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.btn-modal-whatsapp:hover,
.btn-modal-whatsapp:active {
    background: #1EBE5D;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.booking-status-text {
    text-align: center;
    font-size: 13px;
    margin-top: 8px;
    min-height: 18px;
}

/* Mobile & Tablet Specific Responsive Overrides */
@media (max-width: 640px) {
    .booking-modal-overlay {
        padding: 12px;
    }

    .booking-modal-card {
        padding: 24px 18px;
        border-radius: 22px;
        max-height: 92vh;
        max-height: 92dvh;
    }

    .booking-modal-header h2 {
        font-size: 20px;
    }

    .booking-modal-header p {
        font-size: 13px;
    }

    .booking-modal-form input[type="text"],
    .booking-modal-form input[type="email"],
    .booking-modal-form input[type="tel"],
    .booking-modal-form textarea {
        font-size: 16px; /* Prevents iOS Safari auto-zoom on field focus */
        padding: 12px 14px;
    }

    .booking-modal-form .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-chips .chip {
        padding: 8px 14px;
        font-size: 12px;
        flex: 1 1 calc(50% - 8px);
        text-align: center;
    }

    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }
}