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

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

body {
    background-color: #1a0a1e;
    color: #e8c8eb;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
}

::selection {
    background: rgba(232, 168, 48, 0.3);
    color: #f5e4f5;
}

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

#navbar.scrolled {
    background: rgba(26, 10, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    padding-top: 0;
    padding-bottom: 0;
}

#navbar.scrolled .max-w-7xl {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* ===== MOBILE MENU ===== */
#mobileMenu {
    z-index: 40;
}

#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}

.menu-line {
    transition: all 0.3s ease;
}

#mobileMenuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobileMenuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#mobileMenuBtn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.5s ease,
                box-shadow 0.5s ease;
}

.service-card:hover {
    box-shadow: 0 20px 60px rgba(232, 168, 48, 0.08);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    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; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== GOLDEN DIVIDER ===== */
.golden-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #e8a830, transparent);
    border: none;
}

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

::-webkit-scrollbar-track {
    background: #1a0a1e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #5c1d66, #d4901a);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #7a2884, #e8a830);
}

/* ===== SELECT STYLING ===== */
select option {
    background: #3d1547;
    color: #e8c8eb;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .font-display {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .font-display {
        font-size: 3.5rem;
    }
}
