/* ========== BASE STYLES ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background-color: rgba(91, 44, 111, 0.2);
    color: #2a1633;
}

/* ========== NAVBAR ========== */
.nav-text-color {
    color: #2a1633;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #F59E0B;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

/* ========== HERO ========== */
.hero-section {
    position: relative;
}

/* ========== SERVICE CARDS ========== */
.service-card {
    border: 1px solid rgba(91, 44, 111, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(91, 44, 111, 0.15);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced motion: ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ========== FORM STYLES ========== */
input:focus,
textarea:focus {
    outline: none;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f5f0f7;
}

::-webkit-scrollbar-thumb {
    background: #d4bfd9;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b894be;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}
