/* ============================================
   Beauty Destination — Custom Styles
   Premium Dark Luxury Theme
   ============================================ */

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

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

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #f0d078;
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1018;
}
::-webkit-scrollbar-thumb {
    background: #1e3248;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3d5a78;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* ---------- Hero Animations ---------- */
.hero-bg {
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.hero-bg.loaded {
    transform: scale(1);
}

.hero-overlay {
    background-image: radial-gradient(ellipse at 30% 50%, rgba(10, 16, 24, 0.4) 0%, transparent 70%);
}

.hero-content {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-headline {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-badge {
    animation: fadeInDown 0.8s ease-out 0.1s both;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.7s both;
}

.hero-ctas {
    animation: fadeInUp 1s ease-out 0.9s both;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-state="hidden"] {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal[data-state="visible"] {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Section Styles ---------- */
.section-label {
    letter-spacing: 0.3em;
}

.section-title {
    line-height: 1.1;
}

.section-desc {
    line-height: 1.8;
}

/* ---------- Service Cards ---------- */
.service-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px -20px rgba(201, 168, 76, 0.1);
}

/* ---------- Gallery Items ---------- */
.gallery-item {
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    transition: border-color 0.5s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    border-color: rgba(201, 168, 76, 0.4);
}

/* ---------- Navbar ---------- */
#navbar {
    transition: background-color 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease;
}

#navbar.scrolled {
    background-color: rgba(6, 10, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

#navbar.scrolled .menu-line {
    background-color: #f0d078;
}

/* ---------- Mobile Menu ---------- */
#mobile-menu.open {
    opacity: 1 !important;
    pointer-events: all !important;
}

#mobile-menu.open .mobile-link {
    animation: fadeInUp 0.5s ease-out both;
}

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

/* ---------- Mobile Menu Button ---------- */
#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}
#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 1.25rem;
}

/* ---------- Scroll Line ---------- */
.scroll-line {
    animation: float 2s ease-in-out infinite;
}

/* ---------- Gold Shimmer Effect ---------- */
.gold-shimmer {
    background: linear-gradient(90deg, #c9a84c 0%, #f0d078 50%, #c9a84c 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* ---------- Input Focus ---------- */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* ---------- Button Ripple ---------- */
button, a {
    position: relative;
    overflow: hidden;
}

/* ---------- Testimonial Quote ---------- */
blockquote::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: rgba(201, 168, 76, 0.2);
    position: absolute;
    top: -2.5rem;
    left: -0.5rem;
    line-height: 1;
    pointer-events: none;
}

blockquote {
    position: relative;
    padding-top: 1rem;
}

/* ---------- Decorative Divider ---------- */
.divider-gold {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.4), transparent);
}

/* ---------- Utility ---------- */
.text-gradient-gold {
    background: linear-gradient(135deg, #f0d078, #c9a84c, #b8892a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- 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;
    }

    .hero-bg {
        transform: scale(1);
    }

    .hero-content,
    .hero-headline,
    .hero-badge,
    .hero-subtitle,
    .hero-ctas {
        animation: none;
        opacity: 1;
    }
}
