/* ============================================
   SELENAMARIE BEAUTY — Custom Styles
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

/* Selection */
::selection {
    background-color: rgba(212, 175, 55, 0.3);
    color: #F5F0E8;
}

::-moz-selection {
    background-color: rgba(212, 175, 55, 0.3);
    color: #F5F0E8;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #080D0A;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0D7A5E, #D4AF37);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #12A076, #E8C94A);
}

/* ============================================
   HERO GRADIENT
   ============================================ */
.hero-gradient {
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(13, 122, 94, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212, 175, 55, 0.2) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(13, 122, 94, 0.15) 0%, transparent 70%),
        linear-gradient(160deg, #050A07 0%, #0A1510 30%, #0C120E 60%, #080D0A 100%);
}

/* CTA Gradient */
.cta-gradient {
    background:
        radial-gradient(ellipse 70% 50% at 30% 50%, rgba(13, 122, 94, 0.4) 0%, transparent 65%),
        radial-gradient(ellipse 50% 60% at 70% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, #050A07 0%, #0A1510 50%, #050A07 100%);
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
    background: transparent;
    backdrop-filter: none;
}

#navbar.scrolled {
    background: rgba(8, 13, 10, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(13, 122, 94, 0.15);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

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

.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

#mobileMenu .mobile-link {
    opacity: 0;
    transform: translateY(15px);
}

#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Menu Toggle Animation */
.menu-line {
    display: block;
}

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

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

#menuToggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.5rem;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    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[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }
.reveal[data-reveal-delay="5"] { transition-delay: 0.5s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .service-card img,
    .reveal img {
        transition: none;
    }
}

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

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(212, 175, 55, 0.05);
}

/* ============================================
   FORM STYLES
   ============================================ */
input:focus,
textarea:focus,
select:focus {
    border-color: rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

input::placeholder,
textarea::placeholder {
    color: rgba(122, 116, 104, 0.6);
}

/* ============================================
   GOLD ACCENT ANIMATION
   ============================================ */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.text-gold-shimmer {
    background: linear-gradient(
        90deg,
        #D4AF37 0%,
        #F5E6A3 25%,
        #D4AF37 50%,
        #E8C94A 75%,
        #D4AF37 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 767px) {
    #navbar {
        background: rgba(8, 13, 10, 0.85);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(13, 122, 94, 0.1);
    }
}

@media (min-width: 768px) {
    #navbar {
        background: transparent;
        backdrop-filter: none;
    }
    
    #navbar.scrolled {
        background: rgba(8, 13, 10, 0.95);
        backdrop-filter: blur(20px);
    }
}

/* ============================================
   FOCUS VISIBLE
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .hero-gradient,
    .cta-gradient {
        background: none !important;
    }
}
