/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: #F9D0D9;
    color: #5c1a26;
}

/* ── Navbar ── */
#navbar {
    background: rgba(253, 248, 245, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
}

#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(123, 45, 59, 0.08);
}

/* ── Mobile Menu ── */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    transition: all 0.3s ease;
}

/* ── Hero Shapes ── */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.shape-blob-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 208, 217, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    animation: blobFloat 8s ease-in-out infinite;
}

.shape-blob-2 {
    bottom: 5%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 220, 212, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: blobFloat 10s ease-in-out infinite reverse;
}

.shape-circle-1 {
    top: 15%;
    right: 38%;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 122, 82, 0.3);
    border-radius: 50%;
    animation: circleFloat 6s ease-in-out infinite;
}

.shape-rect-1 {
    top: 30%;
    right: 35%;
    width: 60px;
    height: 60px;
    background: rgba(123, 45, 59, 0.06);
    border-radius: 16px;
    transform: rotate(45deg);
    animation: rectFloat 7s ease-in-out infinite;
}

.shape-dots {
    bottom: 20%;
    left: 5%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(123, 45, 59, 0.15) 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.6;
}

/* ── About Shapes ── */
.about-shape {
    position: absolute;
    pointer-events: none;
}

.shape-blob-3 {
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 220, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: blobFloat 12s ease-in-out infinite;
}

.shape-circle-2 {
    bottom: -15%;
    right: 5%;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: circleFloat 8s ease-in-out infinite;
}

/* ── CTA Shapes ── */
.cta-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-3 {
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: blobFloat 10s ease-in-out infinite reverse;
}

.shape-rect-2 {
    bottom: -20%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 40px;
    transform: rotate(30deg);
    animation: rectFloat 9s ease-in-out infinite;
}

/* ── Animations ── */
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes circleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes rectFloat {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    50% { transform: rotate(55deg) translate(15px, -15px); }
}

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

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

@keyframes scrollDot {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: floatDelayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

.scroll-dot {
    animation: scrollDot 1.5s ease-in-out infinite;
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F5;
}
::-webkit-scrollbar-thumb {
    background: #F9D0D9;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #F3A8B8;
}

/* ── Focus visible ── */
*:focus-visible {
    outline: 2px solid #7B2D3B;
    outline-offset: 2px;
}

/* ── Gallery hover ── */
.gallery-item {
    position: relative;
}

/* ── Service card hover (text color fix) ── */
.service-card h3 {
    transition: color 0.5s ease;
}
.service-card p {
    transition: color 0.5s ease;
}
