/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ===== NAVBAR ===== */
#navbar {
    background: rgba(255, 255, 255, 0.0);
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(140, 49, 100, 0.08);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #8c3164 0%, #a6407d 100%);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
    box-shadow: 0 4px 16px rgba(140, 49, 100, 0.25);
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(140, 49, 100, 0.35);
    background: linear-gradient(135deg, #732751 0%, #8c3164 100%);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    color: #8c3164;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid rgba(140, 49, 100, 0.25);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #8c3164;
    transform: translateY(-2px);
}

/* ===== INPUTS ===== */
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #f3ddef;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #4d1e38;
    background: #faf0f6;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}
.input-field::placeholder { color: #d790be; }
.input-field:focus {
    border-color: #8c3164;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(140, 49, 100, 0.1);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.service-card:hover {
    transform: translateY(-6px);
}

/* ===== FLOATING CARDS ===== */
.floating-card {
    animation: float 6s ease-in-out infinite;
}
.floating-card.card-1 { animation-delay: 0s; }
.floating-card.card-2 { animation-delay: -1.5s; }
.floating-card.card-3 { animation-delay: -3s; }
.floating-card.card-4 { animation-delay: -4.5s; }

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

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .floating-card { animation: none; }
    html { scroll-behavior: auto; }
    .reveal { transition: none; }
}

/* ===== MOBILE MENU ===== */
.mobile-menu-link {
    display: block;
    padding: 0.6rem 0;
    font-size: 1rem;
    color: #8c3164;
    text-decoration: none;
    border-bottom: 1px solid #f3ddef;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-menu-link:last-child { border-bottom: none; }
.mobile-menu-link:hover { color: #a6407d; padding-left: 0.5rem; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 767px) {
    .font-serif { line-height: 1.15; }
}
