/* --- "Warm Pink Professional - Logo Aligned" Design System --- */
:root {
    /* Palette (Pink base with warm accents directly from logo) */
    --primary-pink-base: #FFE4F1; /* Base background pink - Soft & welcoming */
    --primary-pink-light: #FFF5FA; /* Lighter pink for accents/cards */
    --heading-color: #F09A8D; /* Heading color - Logo Base Inspired (Warm Pink/Peach) */
    --heading-glow-color: #FFBDAF; /* Heading glow color - Logo Glow Inspired */
    --accent-color: var(--heading-color); /* Use Heading color for main accents/links */
    --accent-hover-color: var(--heading-glow-color); /* Use Glow color for hover */
    --glow-color: var(--heading-glow-color); /* General glow uses logo glow */

    --rose-gold: #E1A8B3; /* Keeping rose gold as secondary accent */
    --white: #FFFFFF;
    --dark-text: #4a2f3a; /* Slightly adjusted dark text for better contrast/sophistication */
    --warm-neutral: #FFFBF9; /* Option for neutral background sections */
    --dark-bg-footer: #33292d; /* Slightly adjusted dark footer bg */
    --light-text-on-dark: #FFE8EF;
    --gold-accent: #EECDA3; /* Retained for potential use, but less prominent now */
    --gold-gradient: linear-gradient(45deg, #f9efdf, var(--rose-gold)); /* Subtle gradient for card borders */
    --border-color: rgba(240, 154, 141, 0.25); /* Border based on heading color, slightly stronger */
    --border-color-light: rgba(240, 154, 141, 0.15); /* Lighter border */
    /* Gradients & Textures (Adjusted to new palette) */
    --gradient-hero: linear-gradient(145deg, rgba(255, 189, 175, 0.85) 0%, rgba(240, 154, 141, 0.95) 100%); /* Warm pink/peach hero gradient - Adjusted opacity */
    --gradient-button: linear-gradient(65deg, var(--accent-color) 0%, var(--heading-color) 100%); /* Button gradient */
    --gradient-button-hover: linear-gradient(65deg, #ffc8be 0%, #f3aea3 100%); /* Lighter hover */
    --gradient-section-alt: linear-gradient(135deg, var(--primary-pink-base) 0%, var(--primary-pink-light) 100%); /* Alt section bg */
    /* Typography */
    --heading-font: 'Assistant', sans-serif;
    --body-font: 'Assistant', sans-serif;
    --accent-font: 'Playfair Display', serif;
    /* Spacing, Radius, Shadows (Adjusted glows for sophistication) */
    --spacing-unit: 8px;
    --border-radius-smooth: 18px;
    --border-radius-pill: 60px;
    --border-radius-base: 14px;
    --shadow-ambient: 0 6px 20px rgba(240, 154, 141, 0.12); /* Shadows based on heading color, slightly softer */
    --shadow-card-hover: 0 12px 30px rgba(240, 154, 141, 0.18), 0 0 18px rgba(var(--heading-glow-color-rgb, 255, 189, 175), 0.25); /* Card hover uses heading glow, refined intensity */
    --shadow-interactive: 0 8px 22px rgba(240, 154, 141, 0.15);
    --shadow-nav: 0 5px 25px rgba(180, 120, 110, 0.08); /* Subtler nav shadow */
    --shadow-inner: inset 0 1px 3px rgba(0,0,0,0.05);
    --glow-soft: 0 0 45px rgba(var(--heading-glow-color-rgb, 255, 189, 175), 0.28); /* Soft glow uses heading glow, slightly more spread */
    --heading-glow-color-rgb: 255, 189, 175; /* RGB for heading glow */
    --accent-color-rgb: 240, 154, 141; /* RGB for accent color (form focus) */
    --primary-pink-light-rgb: 255, 245, 250; /* RGB for light pink (nav bg) */
    --white-rgb: 255, 255, 255; /* Added white RGB */
    /* Transitions & Animations - Original Speeds, potentially adjust if needed */
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.7s cubic-bezier(0.68, -0.6, 0.265, 1.6);
    --transition-fast: 0.35s ease-out; /* Slightly slower for smoother feel */
    --transition-color: 0.35s ease;
    --animation-stagger: 0.1s;
}

/* --- Base & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--body-font);
    font-size: 1.08rem;
    line-height: 1.85; /* Adjusted for readability */
    color: var(--dark-text);
    background-color: var(--primary-pink-base); /* Pink base background */
    direction: rtl;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 85px; /* Match initial nav height */
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 4);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-base);
}

/* --- Typography Refinements --- */
h1, h2, h3, h4 {
    font-family: var(--heading-font);
    color: var(--heading-color); /* Use new heading color */
    line-height: 1.35;
    margin-bottom: calc(var(--spacing-unit) * 3.5);
    font-weight: 700;
    /* Refined text-shadow for a more subtle, elegant glow */
    text-shadow: 0 0 8px rgba(var(--heading-glow-color-rgb), 0.3), /* Main glow */
    0 0 16px rgba(var(--heading-glow-color-rgb), 0.18), /* Wider, fainter glow */
    0 2px 3px rgba(0, 0, 0, 0.04); /* Subtle depth */
}
/* Specific Hero H1 styling - White text, inherits glow but adjusted */
.hero-section h1 {
    color: var(--white);
    font-size: clamp(2.8rem, 7.5vw, 5.5rem); /* Slightly larger H1 */
    letter-spacing: -1.5px;
    /* Inherits text-shadow, adjusted for white text */
    text-shadow: 0 0 10px rgba(var(--heading-glow-color-rgb), 0.45), /* Brighter glow for contrast */
    0 0 22px rgba(var(--heading-glow-color-rgb), 0.28), 0 4px 12px rgba(0,0,0,0.3); /* Slightly stronger dark shadow */
}

h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 9);
    position: relative;
}
    /* Refined h2 underline with shadow */
    h2::after {
        content: '';
        display: block;
        width: 90px;
        height: 4px;
        background: linear-gradient(90deg, var(--accent-color), var(--heading-glow-color));
        border-radius: 3px;
        margin: calc(var(--spacing-unit) * 3) auto 0;
        box-shadow: 0 3px 12px rgba(var(--heading-glow-color-rgb), 0.3); /* Added subtle shadow */
    }

h3 {
    font-size: clamp(1.45rem, 4.5vw, 2rem);
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 2.5);
    display: inline-block;
    position: relative;
}

p {
    margin-bottom: calc(var(--spacing-unit) * 3);
    max-width: 70ch;
    color: var(--dark-text);
    opacity: 0.92; /* Slightly increased opacity */
}

section p {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    line-height: 1.9;
}

.lead {
    font-size: clamp(1.15rem, 3vw, 1.35rem);
    font-weight: 400;
    opacity: 0.95;
    color: rgba(255,255,255,0.97);
    max-width: 65ch;
    margin: calc(var(--spacing-unit) * 3) auto calc(var(--spacing-unit) * 5.5) auto;
    line-height: 1.7;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast), text-shadow var(--transition-fast);
    font-weight: 600;
}

    a:hover {
        color: var(--accent-hover-color);
        opacity: 1;
        text-shadow: 0 0 10px rgba(var(--heading-glow-color-rgb), 0.65);
    }
/* Link hover uses heading glow */

/* --- Story Text Styling --- */
.story-text {
    max-width: 80ch;
    margin: calc(var(--spacing-unit) * 4) auto calc(var(--spacing-unit) * 6) auto; /* Adjusted margin */
    font-size: 1.15rem; /* Slightly smaller font size */
    line-height: 1.8; /* Reduced line height */
    color: var(--dark-text);
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0.95;
    /* Subtle text shadow for dreamy effect */
    text-shadow: 0 0 4px rgba(var(--primary-pink-light-rgb, 255, 245, 250), 0.6), /* Adjusted glow */
    0 0 8px rgba(var(--primary-pink-light-rgb, 255, 245, 250), 0.4);
}

    .story-text p {
        margin-bottom: calc(var(--spacing-unit) * 1.5); /* Reduced margin between paragraphs */
    }

        .story-text p:last-child {
            margin-bottom: 0;
        }

.story-emphasis {
    font-family: var(--accent-font);
    font-size: 1.3rem; /* Slightly smaller font size */
    font-weight: 400;
    font-style: italic;
    color: var(--heading-color);
    margin-top: calc(var(--spacing-unit) * 4); /* Adjusted margin */
    display: block;
    text-shadow: 0 0 6px rgba(var(--heading-glow-color-rgb), 0.5), /* Adjusted glow */
    0 0 12px rgba(var(--heading-glow-color-rgb), 0.3);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes backgroundShine {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes equalizerBar {
    0%, 100% {
        transform: scaleY(0.15);
        opacity: 0.7;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes subtlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-interactive);
    }

    50% {
        transform: scale(1.02);
        box-shadow: var(--shadow-card-hover);
    }
}

@keyframes subtleRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes softBlob {
    0%, 100% {
        border-radius: 45% 55% 70% 30% / 30% 50% 50% 70%;
        transform: rotate(0deg);
    }

    50% {
        border-radius: 30% 70% 40% 60% / 60% 40% 70% 30%;
        transform: rotate(-15deg);
    }
}


/* --- Animation & Visibility Helpers - Original Speed --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

    .animate-on-scroll.fade-in-up {
        transform: translateY(50px);
    }

    .animate-on-scroll.scale-in {
        transform: scale(0.9);
    }

    .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

.stagger-children > * {
    opacity: 0;
    transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
    transform: translateY(30px);
}

.stagger-children.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

    .stagger-children.is-visible > *:nth-child(1) {
        transition-delay: calc(1 * var(--animation-stagger));
    }

    .stagger-children.is-visible > *:nth-child(2) {
        transition-delay: calc(2 * var(--animation-stagger));
    }

    .stagger-children.is-visible > *:nth-child(3) {
        transition-delay: calc(3 * var(--animation-stagger));
    }

    .stagger-children.is-visible > *:nth-child(4) {
        transition-delay: calc(4 * var(--animation-stagger));
    }

    .stagger-children.is-visible > *:nth-child(5) {
        transition-delay: calc(5 * var(--animation-stagger));
    }


/* --- Buttons --- */
.button {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 1.9) calc(var(--spacing-unit) * 5.5);
    background: var(--gradient-button);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-pill);
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-interactive), 0 0 12px rgba(var(--heading-glow-color-rgb), 0.25); /* Button glow uses heading glow, refined */
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

    .button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 75%;
        height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
        transform: skewX(-25deg);
        transition: left 0.8s ease-in-out;
    }
    /* Refined Button Hover */
    .button:hover {
        transform: translateY(-6px) scale(1.04);
        box-shadow: var(--shadow-card-hover), 0 0 22px rgba(var(--heading-glow-color-rgb), 0.45);
        background: var(--gradient-button-hover);
    }

        .button:hover::before {
            left: 125%;
        }

    .button:active {
        transform: translateY(-2px) scale(1.01);
        box-shadow: var(--shadow-interactive);
    }

.primary-button {
    font-size: 1.25rem;
    padding: calc(var(--spacing-unit) * 2.1) calc(var(--spacing-unit) * 6.5);
}

/* --- Navigation --- */
.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    /* Use RGB variable for transparency */
    background: rgba(var(--primary-pink-light-rgb), 0.88);
    backdrop-filter: blur(12px) saturate(170%); /* Slightly stronger blur */
    -webkit-backdrop-filter: blur(12px) saturate(170%);
    border-bottom: 1px solid var(--border-color-light);
    padding: calc(var(--spacing-unit) * 1.2) 0;
    transition: background-color var(--transition-fast), box-shadow var(--transition-fast), padding var(--transition-fast), height var(--transition-fast);
    height: 85px;
}

    .main-nav.scrolled {
        /* Use RGB variable for transparency */
        background: rgba(var(--primary-pink-light-rgb), 0.95);
        box-shadow: var(--shadow-nav);
        padding: calc(var(--spacing-unit) * 1) 0;
        height: 75px;
    }

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 calc(var(--spacing-unit) * 4); /* Ensure container padding applies */
}

/* Logo Styling (Removed Sparkle, Added Subtle Hover on Image) */
.nav-logo a {
    display: flex;
    align-items: center;
    transition: transform var(--transition-fast), filter var(--transition-fast);
    text-decoration: none;
}

.nav-logo img {
    display: block;
    height: 100px; /* Adjusted logo height */
    max-height: 100%;
    width: auto;
    transition: height var(--transition-fast), transform var(--transition-fast), filter var(--transition-fast); /* Added transform/filter transition */
    object-fit: contain;
    border-radius: 0; /* Remove default border radius from img */
}

.main-nav.scrolled .nav-logo img {
    height: 70px; /* Adjusted scrolled logo height */
}
/* Refined logo hover: subtle scale and glow */
.nav-logo a:hover img {
    transform: scale(1.04); /* Slight scale on hover */
    filter: drop-shadow(0 0 9px rgba(var(--heading-glow-color-rgb), 0.6));
}
/* End Logo Styling */

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: calc(var(--spacing-unit) * 4);
    margin: 0;
    padding: 0; /* Reset list styles */
}

    .nav-links a {
        font-family: var(--heading-font);
        font-size: 1rem;
        font-weight: 600;
        color: var(--dark-text);
        padding: 10px 5px;
        position: relative;
        transition: color var(--transition-color), opacity var(--transition-fast), text-shadow var(--transition-fast);
        opacity: 0.9;
    }
        /* Refined nav link underline */
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 5px;
            right: 5px;
            left: 5px;
            height: 2px;
            background: var(--accent-color);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform var(--transition-fast);
            border-radius: 1px;
        }

        .nav-links a:hover, .nav-links a.active {
            color: var(--heading-color);
            opacity: 1;
            text-shadow: 0 0 8px rgba(var(--heading-glow-color-rgb), 0.45);
        }
            /* Active/hover uses heading color + glow */
            .nav-links a:hover::after, .nav-links a.active::after {
                transform: scaleX(1);
                transform-origin: left;
            }

.nav-contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--heading-color);
}
    /* Contact info uses heading color */
    .nav-contact-info .icon {
        color: var(--accent-color);
        width: 19px;
        height: 19px;
        transition: transform var(--transition-fast);
    }
    /* Icon uses accent color */
    .nav-contact-info a {
        color: var(--heading-color);
        transition: color var(--transition-color), text-shadow var(--transition-fast);
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .nav-contact-info a:hover {
            color: var(--accent-hover-color);
            text-shadow: 0 0 8px rgba(var(--heading-glow-color-rgb), 0.5);
        }
            /* Hover uses glow color */
            .nav-contact-info a:hover .icon {
                transform: scale(1.1) rotate(-5deg);
            }

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    margin-left: -10px;
}

    .mobile-menu-toggle .icon {
        width: 30px;
        height: 30px;
        color: var(--heading-color);
        transition: transform 0.3s ease;
    }

    .mobile-menu-toggle:hover .icon {
        transform: scale(1.1);
    }

@media (max-width: 992px) {
    body {
        padding-top: 75px;
    }
    /* Adjust for scrolled nav height */
    .main-nav {
        height: 75px;
        padding: calc(var(--spacing-unit) * 1) 0;
    }
        /* Start at scrolled height */
        .main-nav.scrolled { /* No change needed on scroll for mobile */
        }

    .nav-logo img {
        height: 42px;
    }

    .nav-links {
        /* Improved mobile menu appearance */
        background-color: rgba(var(--warm-neutral-rgb, 255, 251, 249), 0.97); /* Use neutral with slight transparency */
        backdrop-filter: blur(10px) saturate(120%);
        -webkit-backdrop-filter: blur(10px) saturate(120%);
        box-shadow: -8px 0 30px rgba(0,0,0,0.18);
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 320px;
        max-width: 85%; /* Limit width */
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: calc(var(--spacing-unit) * 12) calc(var(--spacing-unit) * 5) calc(var(--spacing-unit) * 4);
        transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
        gap: calc(var(--spacing-unit) * 3);
    }

    :root {
        --warm-neutral-rgb: 255, 251, 249;
    }
    /* Add RGB for warm neutral */
    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        font-size: 1.15rem;
        padding: 14px 0;
        width: 100%;
        color: var(--dark-text);
    }

        .nav-links a:hover, .nav-links a.active {
            color: var(--heading-color);
            text-shadow: none; /* Remove glow on mobile menu */
        }

        .nav-links a::after {
            right: auto;
            left: 0;
            background: var(--heading-color);
        }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-contact-info {
        display: none;
    }
    /* Hide contact in nav on mobile */
    .nav-logo a:hover img {
        transform: none;
        filter: none;
    }
    /* Disable hover effect on mobile if needed */
    .nav-container {
        padding: 0 calc(var(--spacing-unit) * 3);
    }
    /* Adjust padding for mobile */
}
/* Mobile menu overlay */
body.mobile-menu-active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 30, 35, 0.65);
    z-index: 999;
    transition: background-color 0.5s ease;
    backdrop-filter: blur(3px);
}


/* --- Hero Section --- */
.hero-section {
    background-image: var(--gradient-hero), url('Images/studio-blank.jpg');
    background-blend-mode: multiply, normal;
    background-size: cover, cover;
    background-position: center, center 30%;
    background-attachment: fixed; /* Fixed on Desktop */
    color: var(--white);
    text-align: center;
    min-height: 100vh; /* Keep full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 10) 0; /* Adjusted padding */
    position: relative;
    overflow: hidden;
    /* Refined border image */
    border-bottom: 10px solid;
    border-image-source: linear-gradient(90deg, var(--accent-color), var(--rose-gold));
    border-image-slice: 1;
    margin-top: -85px;
    padding-top: 85px; /* Offset for fixed nav */
}
    /* Overlay for better text readability */
    .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(62, 44, 52, 0.28);
        z-index: 0;
    }

    .hero-section .container {
        position: relative;
        z-index: 1;
    }
    /* H1 style handled above */
    .hero-section .lead {
        animation: fadeInUp 1s var(--transition-smooth) 0.5s forwards;
        opacity: 0;
    }

    .hero-section .button {
        animation: scaleIn 0.8s var(--transition-smooth) 0.8s forwards;
        opacity: 0;
        margin-top: calc(var(--spacing-unit) * 1);
    }

    .hero-section .equalizer {
        animation: fadeInUp 0.8s var(--transition-smooth) 1s forwards;
        opacity: 0;
        margin-top: calc(var(--spacing-unit) * 9);
    }

/* --- Equalizer --- */
.equalizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 65px;
    gap: 9px;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}

.equalizer-bar {
    width: 10px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    animation: equalizerBar 1.2s ease-in-out infinite alternate;
    transform-origin: bottom;
    box-shadow: 0 0 8px rgba(var(--heading-glow-color-rgb), 0.55);
}
    /* Glow uses heading glow */
    .equalizer-bar:nth-child(1) {
        animation-delay: 0.15s;
    }

    .equalizer-bar:nth-child(2) {
        animation-delay: 0.45s;
    }

    .equalizer-bar:nth-child(3) {
        animation-delay: 0.25s;
    }

    .equalizer-bar:nth-child(4) {
        animation-delay: 0.55s;
    }

    .equalizer-bar:nth-child(5) {
        animation-delay: 0.35s;
    }


/* --- Section Styling & Dividers --- */
section {
    padding: clamp(100px, 16vh, 160px) 0;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-pink-base); /* Default pink base */
    --current-bg: var(--primary-pink-base); /* Variable for divider color */
}
/* Section specific backgrounds */
#about {
    background-color: var(--primary-pink-base);
    --current-bg: var(--primary-pink-base);
}

#services {
    background-color: var(--primary-pink-light);
    --current-bg: var(--primary-pink-light);
}

#why-dolce {
    background-color: var(--primary-pink-base);
    --current-bg: var(--primary-pink-base);
    position: relative; /* Ensure pseudo-elements are positioned relative to this section */
    overflow: hidden; /* Hide pseudo-elements that extend beyond the section */
}
    /* Dreamy Cloud Effect (Pseudo-element) */
    #why-dolce::before {
        content: '';
        position: absolute;
        top: -10%; /* Position slightly above the section */
        left: 50%;
        transform: translateX(-50%);
        width: 120%; /* Wider than the container */
        height: 300px; /* Height of the cloud area */
        background: radial-gradient(ellipse at center, rgba(var(--primary-pink-light-rgb, 255, 245, 250), 0.7) 0%, transparent 60%);
        filter: blur(40px); /* Soft blur for cloud effect */
        z-index: 0; /* Behind the content */
        pointer-events: none;
        animation: softBlob 20s ease-in-out infinite alternate; /* Subtle animation */
    }

    /* Soft Pink Field Effect (Pseudo-element) */
    #why-dolce::after {
        content: '';
        position: absolute;
        bottom: 0; /* Position at the bottom */
        left: 0;
        right: 0;
        height: 200px; /* Height of the field area */
        background: linear-gradient(to top, rgba(var(--primary-pink-base-rgb, 255, 228, 241), 0.8) 0%, transparent 100%);
        z-index: 0; /* Behind the content */
        pointer-events: none;
    }

:root {
    --primary-pink-base-rgb: 255, 228, 241; /* Add RGB for primary pink base */
}

/* Ensure content is above pseudo-elements */
#why-dolce .container {
    position: relative;
    z-index: 1;
}

#testimonials {
    background-color: var(--warm-neutral);
    --current-bg: var(--warm-neutral);
}

#gallery {
    --current-bg: var(--primary-pink-light);
}

#contact {
    background-color: var(--warm-neutral);
    --current-bg: var(--warm-neutral);
}

.section-divider {
    position: absolute;
    left: 0;
    right: 0;
    height: 10vw;
    max-height: 120px;
    min-height: 50px;
    z-index: 1;
    pointer-events: none;
}
/* Improved angled divider rendering */
.angled-divider-top {
    top: -1px;
    background: linear-gradient(to bottom right, transparent 49.8%, var(--current-bg) 50%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.angled-divider-bottom {
    bottom: -1px;
    background: linear-gradient(to top left, transparent 49.8%, var(--current-bg) 50%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* --- About Section Specific Styling --- */
#about {
    position: relative;
    z-index: 0;
}
    /* Ensure pseudo-elements are behind content */
    #about .container {
        max-width: 980px;
        position: relative;
        z-index: 1;
    }
    /* Ensure content is above pseudo-elements */
    #about h2 {
        margin-bottom: calc(var(--spacing-unit) * 6);
    }

    #about p {
        font-size: 1.15rem;
        line-height: 1.9;
        color: var(--dark-text);
        opacity: 0.9;
        margin-bottom: calc(var(--spacing-unit) * 4);
        text-align: center;
    }

    #about .about-emphasis {
        font-family: var(--accent-font);
        font-size: 1.3rem;
        font-weight: 400;
        font-style: italic;
        color: var(--heading-color);
        margin-top: calc(var(--spacing-unit) * 4.5);
        padding-top: calc(var(--spacing-unit) * 3.5);
        position: relative;
        border-top: 1px solid var(--border-color);
        opacity: 1;
        text-shadow: none; /* Remove general glow from this specific P */
        display: block;
        max-width: 65ch;
        margin-left: auto;
        margin-right: auto;
    }
    /* Quality Touch: Subtle background elements for About section */
    #about::before, #about::after {
        content: '';
        position: absolute;
        z-index: 0;
        border-radius: 50%;
        pointer-events: none;
        background: radial-gradient(ellipse at center, rgba(var(--white-rgb), 0.15) 0%, transparent 70%);
        opacity: 0.5;
        filter: blur(10px);
    }

    #about::before {
        width: 50vw;
        height: 50vw;
        max-width: 500px;
        max-height: 500px;
        top: 10%;
        left: -20%;
        animation: subtleRotate 40s linear infinite;
    }

    #about::after {
        width: 60vw;
        height: 60vw;
        max-width: 650px;
        max-height: 650px;
        bottom: 5%;
        right: -25%;
        animation: softBlob 35s ease-in-out infinite alternate;
    }


/* --- Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 6);
    margin-top: calc(var(--spacing-unit) * 9);
}

.card-grid-testimonials {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background-color: var(--white);
    padding: calc(var(--spacing-unit) * 5.5) calc(var(--spacing-unit) * 5);
    border-radius: var(--border-radius-smooth);
    box-shadow: var(--shadow-ambient);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color-light);
    z-index: 1;
}
/* Adjust background based on section */
#services .card {
    background-color: var(--white);
}

#why-dolce .card {
    background-color: var(--primary-pink-light);
    border-color: var(--border-color);
}

#testimonials .card {
    background-color: var(--white);
}
/* Keep white for testimonials */

/* Refined card border glow */
.card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--border-radius-smooth);
    border: 2px solid transparent;
    background: var(--gold-gradient) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 0;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-card-hover);
}

    .card:hover::before {
        opacity: 0.7; /* Slightly less intense border glow - adjusted */
    }

.card-icon {
    display: inline-block;
    margin-bottom: calc(var(--spacing-unit)*3.5);
    font-size: 3.2rem;
    color: var(--accent-color);
    line-height: 1;
    filter: drop-shadow(0 4px 10px rgba(var(--heading-glow-color-rgb),0.45));
    transition: transform 0.4s var(--transition-bounce);
}
/* Icon color and glow adjusted */
.card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.benefit-card {
    text-align: center;
    padding: calc(var(--spacing-unit) * 5.5) calc(var(--spacing-unit) * 4);
}

    .benefit-card h4 {
        color: var(--heading-color);
        font-size: 1.3rem;
        margin-bottom: calc(var(--spacing-unit) * 2);
        text-shadow: none;
    }
    /* Style benefit titles */
    .benefit-card p {
        color: var(--dark-text);
        opacity: 0.88;
        font-size: 1.05rem;
    }

/* --- Testimonials Section --- */
.testimonial-card {
    border-left: 8px solid;
    border-image-source: linear-gradient(to bottom, var(--accent-color), var(--rose-gold));
    border-image-slice: 1;
    padding-right: calc(var(--spacing-unit) * 4); /* Add padding opposite to border */
}
    /* Refined testimonial quote mark */
    .testimonial-card::after {
        content: '�';
        font-family: var(--accent-font);
        font-weight: 400;
        font-size: 9em;
        color: var(--primary-pink-base);
        opacity: 0.12;
        position: absolute;
        top: 5px;
        right: 10px;
        line-height: 1;
        z-index: 0;
        user-select: none;
        transition: opacity var(--transition-fast);
    }

    .testimonial-card:hover::after {
        opacity: 0.18;
    }

    .testimonial-card p {
        font-family: var(--accent-font);
        font-style: italic;
        font-size: 1.35rem; /* Slightly larger */
        position: relative;
        z-index: 1;
        margin-bottom: calc(var(--spacing-unit) * 3.5);
        color: var(--dark-text);
        text-shadow: none; /* Remove heading glow from testimonial text */
        line-height: 1.7;
    }

    .testimonial-card cite {
        display: block;
        margin-top: calc(var(--spacing-unit)*3);
        font-style: normal;
        font-weight: 600;
        text-align: left;
        color: var(--heading-color);
        position: relative;
        z-index: 1;
        font-family: var(--body-font);
        font-size: 1.05rem;
        text-shadow: none; /* Remove heading glow from cite */
    }

/* --- Gallery --- */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 5);
    margin-top: calc(var(--spacing-unit) * 9);
}

.img-container {
    border-radius: var(--border-radius-smooth);
    overflow: hidden;
    box-shadow: var(--shadow-ambient);
    position: relative;
    aspect-ratio: 1 / 1;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

    .img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s var(--transition-smooth);
    }
    /* Refined gallery hover effects */
    .img-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 75%;
        height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0) 100%);
        transform: skewX(-20deg);
        transition: left 0.9s ease-in-out;
        z-index: 1;
        opacity: 0;
    }

    .img-container::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.5) 100%);
        opacity: 0.4;
        transition: opacity var(--transition-fast);
        z-index: 0;
    }

    .img-container:hover {
        transform: translateY(-10px) scale(1.04);
        box-shadow: var(--shadow-card-hover);
    }

        .img-container:hover img {
            transform: scale(1.12);
        }

        .img-container:hover::before {
            left: 125%;
            opacity: 1;
        }

        .img-container:hover::after {
            opacity: 0.7;
        }


/* --- Contact Section --- */
#contact {
    background-color: var(--warm-neutral);
    --current-bg: var(--warm-neutral);
}

    #contact .contact-intro {
        color: var(--dark-text);
        opacity: 0.9;
        font-size: 1.15rem;
        line-height: 1.9;
        max-width: 65ch;
    }
    /* Subtle background pulse effect */
    #contact::before, #contact::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        opacity: 0.6;
        z-index: 0;
        animation: subtlePulse 10s ease-in-out infinite alternate;
        background: radial-gradient(ellipse at center, rgba(var(--heading-glow-color-rgb), 0.12) 0%, transparent 75%);
        filter: blur(5px);
    }
    /* Use heading glow, slightly fainter */
    #contact::before {
        bottom: -25%;
        right: -18%;
        width: 450px;
        height: 450px;
        transform: rotate(45deg);
        animation-delay: 0.5s;
    }

    #contact::after {
        top: -20%;
        left: -22%;
        width: 550px;
        height: 550px;
        animation-name: softBlob;
        animation-duration: 15s;
        animation-timing-function: ease-in-out;
        border-radius: 45% 55% 70% 30% / 30% 50% 50% 70%;
        transform: rotate(-30deg);
    }

.contact-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 8);
    align-items: start; /* Align items to the top */
    position: relative;
    z-index: 1;
}

.contact-text {
    position: relative;
    z-index: 1;
}

.contact-form-container {
    width: 100%;
    margin: 0;
    background-color: var(--white);
    padding: calc(var(--spacing-unit) * 7.5) calc(var(--spacing-unit) * 6.5);
    border-radius: var(--border-radius-smooth);
    box-shadow: var(--shadow-ambient);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    transition: box-shadow var(--transition-smooth); /* Added smooth transition */
}

    .contact-form-container:hover {
        box-shadow: var(--shadow-card-hover);
    }
    /* Form container focus glow effect */
    .contact-form-container.form-focused::before {
        opacity: 0.8;
    }

    .contact-form-container::before {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: var(--border-radius-smooth);
        border: 1.5px solid transparent;
        background: var(--gold-gradient) border-box;
        -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: destination-out;
        mask-composite: exclude;
        z-index: 0;
        pointer-events: none;
        opacity: 0;
        transition: opacity var(--transition-fast);
    }

/* Floating Label Form Styles - Refined */
.form-group {
    margin-bottom: calc(var(--spacing-unit) * 4.5);
    position: relative;
}

    .form-group label {
        position: absolute;
        top: calc(var(--spacing-unit) * 2.2);
        right: calc(var(--spacing-unit) * 3.5); /* Adjusted padding */
        font-size: 1rem;
        color: #aaa; /* Lighter placeholder color */
        font-weight: 400;
        pointer-events: none;
        transition: all 0.25s ease-out;
        background-color: var(--white);
        padding: 0 8px;
        z-index: 1;
        line-height: 1;
        transform-origin: top right;
    }

    .form-group input:focus + label, .form-group textarea:focus + label,
    .form-group input:not(:placeholder-shown) + label,
    .form-group textarea:not(:placeholder-shown) + label {
        top: 0;
        font-size: 0.8rem;
        color: var(--heading-color);
        transform: translateY(-50%) scale(0.9); /* Label color */
    }

    .form-group input[type="text"], .form-group input[type="tel"],
    .form-group input[type="email"], .form-group textarea {
        width: 100%;
        padding: calc(var(--spacing-unit) * 2.2) calc(var(--spacing-unit) * 3.5); /* Match label */
        border: 1px solid #ddd;
        border-radius: var(--border-radius-base);
        font-family: var(--body-font);
        font-size: 1rem;
        color: var(--dark-text);
        transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
        background-color: var(--white);
        box-shadow: var(--shadow-inner);
        position: relative;
        z-index: 0;
        appearance: none;
        -webkit-appearance: none;
    }

        .form-group input::placeholder, .form-group textarea::placeholder {
            color: transparent;
        }
        /* Hide actual placeholder */
        /* Refined focus style using accent RGB */
        .form-group input:focus, .form-group textarea:focus {
            outline: none;
            border-color: var(--accent-color);
            box-shadow: 0 0 0 4px rgba(var(--accent-color-rgb), 0.2), var(--shadow-inner);
        }

    .form-group textarea {
        resize: vertical;
        min-height: 160px;
    }

.contact-form-container button {
    display: block;
    width: 100%;
    margin-top: var(--spacing-unit) * 3;
}

.contact-details {
    text-align: right;
    margin-top: calc(var(--spacing-unit) * 5);
    font-size: 1.15rem;
}

    .contact-details p {
        margin-bottom: calc(var(--spacing-unit) * 3.5);
        color: var(--dark-text);
        opacity: 0.95;
    }

    .contact-details strong {
        color: var(--heading-color);
        font-weight: 700;
        display: block;
        margin-bottom: 8px;
        text-shadow: none; /* Remove heading glow */
        font-size: 1.05em;
    }

    .contact-details a {
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

        .contact-details a .icon {
            width: 19px;
            height: 19px;
            color: var(--accent-color);
        }

        .contact-details a:hover {
            color: var(--accent-hover-color);
        }
/* Hover handled by general 'a' hover */

@media (min-width: 992px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr 1.1fr;
        gap: calc(var(--spacing-unit) * 12);
    }

    #contact .contact-text > h2,
    #contact .contact-intro,
    .contact-details {
        text-align: right;
        margin-right: 0;
        margin-left: 0;
    }

    #contact .contact-intro {
        margin-left: auto;
        margin-right: auto; /* Center intro text within its column */
    }

    .contact-details {
        margin-top: calc(var(--spacing-unit) * 6);
    }
}

@media (max-width: 991px) {
    #contact h2, #contact .contact-intro, .contact-details {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    #contact .contact-intro {
        margin-bottom: calc(var(--spacing-unit) * 5);
    }

    .contact-details {
        margin-top: calc(var(--spacing-unit) * 7);
    }
    /* Ensure label bg matches form bg on mobile if layout changes */
    .form-group label {
        background-color: var(--white);
    }
    /* Disable background effects on mobile for performance */
    #about::before, #about::after,
    #contact::before, #contact::after {
        display: none;
    }
}


/* --- Footer --- */
.footer-section {
    background: var(--dark-bg-footer);
    color: var(--light-text-on-dark);
    text-align: center;
    padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 5) 0; /* Increased top padding */
    margin-top: calc(var(--spacing-unit) * 12); /* Increased margin-top */
    font-size: 0.98rem;
    position: relative;
    border-top: 9px solid var(--heading-color); /* Use heading color for border */
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    overflow: hidden; /* Hide potential overflow from pseudo-elements */
}
    /* Subtle top gradient overlay */
    .footer-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 150px;
        background: linear-gradient(to bottom, rgba(var(--dark-bg-footer-rgb, 51, 41, 45), 0.7), transparent);
        pointer-events: none;
        z-index: 0;
    }

:root {
    --dark-bg-footer-rgb: 51, 41, 45;
}
/* Add RGB for footer BG */
.footer-content {
    position: relative;
    z-index: 1;
}

.footer-section p {
    margin-bottom: calc(var(--spacing-unit)*1.5);
    opacity: 0.9;
    color: var(--light-text-on-dark);
    line-height: 1.6;
}

.footer-section strong {
    color: var(--white);
    font-weight: 600;
}

.footer-section a {
    color: var(--primary-pink-light);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
    transition: color var(--transition-color), text-shadow var(--transition-fast);
}

    .footer-section a:hover {
        color: var(--white);
        text-shadow: 0 0 10px rgba(255,255,255,0.5);
    }

.footer-section .year {
    font-weight: 600;
}


/* --- Responsive Refinements --- */
@media (max-width: 992px) {
    :root {
        --spacing-unit: 7px;
    }

    h1 {
        font-size: clamp(2.5rem, 6.5vw, 4.8rem);
    }

    h2 {
        font-size: clamp(1.9rem, 5.5vw, 3rem);
    }

    .container {
        padding: 0 calc(var(--spacing-unit) * 3.5);
    }

    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
        gap: calc(var(--spacing-unit) * 4.5);
    }

    #about p {
        font-size: 1.1rem;
    }

    #about .about-emphasis {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 1rem;
        line-height: 1.8;
    }

    h1 {
        letter-spacing: -1px;
    }

    h2 {
        margin-bottom: calc(var(--spacing-unit) * 7);
    }

    section {
        padding: clamp(80px, 13vh, 130px) 0;
    }

    .hero-section {
        margin-top: -75px;
        padding-top: 75px; /* Adjust for nav */
        min-height: 80vh; /* Slightly less than full height on mobile */
        background-attachment: scroll; /* IMPORTANT: Performance on mobile */
    }

    .section-divider {
        height: 10vw;
        max-height: 100px;
        min-height: 40px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 4.5);
    }

    .contact-form-container {
        padding: calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 5);
    }

    .equalizer {
        height: 55px;
        gap: 7px;
    }

    .equalizer-bar {
        width: 8px;
    }

    .footer-section {
        margin-top: calc(var(--spacing-unit) * 10);
        padding: calc(var(--spacing-unit) * 7) 0 calc(var(--spacing-unit) * 5) 0;
    }

    #about p {
        font-size: 1.05rem;
    }

    #about .about-emphasis {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-unit: 6.5px;
    }

    body {
        font-size: 0.95rem;
    }

    .hero-section h1 {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }

    h2 {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

        h2::after {
            width: 80px;
            height: 4px;
        }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .button {
        width: 95%;
        font-size: 1rem;
        padding: calc(var(--spacing-unit) * 2.1) calc(var(--spacing-unit) * 4.5);
    }
    /* Adjust padding */
    .primary-button {
        padding: calc(var(--spacing-unit) * 2.3) calc(var(--spacing-unit) * 4.5);
    }

    .contact-form-container {
        padding: calc(var(--spacing-unit) * 5.5) calc(var(--spacing-unit) * 4);
    }

    .image-gallery {
        gap: calc(var(--spacing-unit) * 3.5);
    }

    .equalizer {
        height: 50px;
    }

    .testimonial-card p {
        font-size: 1.15rem;
    }

    .footer-section {
        font-size: 0.9rem;
    }

    #about p {
        font-size: 1rem;
    }

    #about .about-emphasis {
        font-size: 1.1rem;
        margin-top: calc(var(--spacing-unit) * 3);
        padding-top: calc(var(--spacing-unit) * 2.5);
    }

    .nav-container {
        padding: 0 calc(var(--spacing-unit) * 2.5);
    }
    /* Further reduce nav padding */
    .card-icon-w {
        width: 70px !important;
    }
}

/* --- Gallery Styles from HTML --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    direction: rtl;
}

.gallery {
    display: flex;
    gap: 20px;
    height: 80vh;
    flex-direction: row;
    margin-left: 20px; /* הוספת שוליים משמאל */
    margin-right: 20px; /* הוספת שוליים מימין */
}

.gallery-item {
    flex: 1;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: white;
    border-radius: 20px;
    overflow: hidden;
}

    .gallery-item .info {
        opacity: 0;
        transition: opacity 0.3s;
        max-width: 90%;
        background: rgba(0, 0, 0, 0.7);
        padding: 10px;
        border-radius: 10px;
    }

    .gallery-item.active .info {
        opacity: 1;
    }

    .gallery-item h2 {
        margin: 0;
        font-size: 1.5em;
    }

    .gallery-item p {
        margin: 5px 0 0;
        font-size: 1em;
    }

    .gallery-item.active {
        flex: 5;
    }

/* רספונסיביות למובייל */
@media (max-width: 768px) {
    .gallery {
        flex-direction: column;
        height: auto;
    }

    .gallery-item {
        height: 200px;
        flex: 1;
    }

        .gallery-item.active {
            height: 400px;
            flex: none;
        }
}
.icon-image-mh-100 {
    max-height: 100px;
}}
