/* ========== BASE & RESET ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

::selection {
    background: #bc2a46;
    color: #fff;
}

/* ========== DECORATIVE BACKGROUND SHAPES ========== */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.deco-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 207, 216, 0.3) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.deco-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 173, 204, 0.2) 0%, transparent 70%);
    bottom: 20%;
    left: -100px;
}

.deco-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(188, 42, 70, 0.08) 0%, transparent 70%);
    top: 50%;
    right: 10%;
}

.deco-rect {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 214, 226, 0.2);
    border-radius: 30px;
    rotate: 45deg;
    bottom: 15%;
    right: 5%;
    pointer-events: none;
}

/* ========== NAVBAR ========== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(255, 252, 248, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(188, 42, 70, 0.08);
}

.nav-link {
    position: relative;
}

/* ========== BUTTONS ========== */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    position: relative;
    overflow: hidden;
}

/* ========== FLOATING CARDS ========== */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: -2s;
}

.card-3 {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-12px) rotate(1deg); }
    66% { transform: translateY(-6px) rotate(-1deg); }
}

/* ========== SERVICE CARDS ========== */
.service-card {
    position: relative;
}

/* ========== GALLERY ========== */
.gallery-item {
    position: relative;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(188, 42, 70, 0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
    display: block;
    margin: 0 auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}

/* ========== MOBILE MENU ========== */
.mobile-link {
    position: relative;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.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; }

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .floating-card {
        animation: none;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
    .deco-1, .deco-2, .deco-3, .deco-rect {
        display: none;
    }
}

@media (min-width: 768px) {
    .reveal-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .reveal-on-scroll.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
