/* ============================================
   SABELE SALON — Custom Styles
   Premium Dark Luxury Theme
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

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

/* ============================================
   BUTTONS
   ============================================ */

/* Gold Button */
.btn-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    color: #0A0F0D;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #E8C547 0%, #D4AF37 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-gold:hover::before {
    opacity: 1;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.btn-gold span,
.btn-gold svg,
.btn-gold > *:not(.absolute) {
    position: relative;
    z-index: 1;
}

/* Outline Button */
.btn-outline {
    background: transparent;
    color: #F5F0E8;
    border: 1px solid rgba(245, 240, 232, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
    border-color: #D4AF37;
    color: #D4AF37;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.1);
}

/* Light Outline Button */
.btn-outline-light {
    background: transparent;
    color: #F5F0E8;
    border: 1px solid rgba(245, 240, 232, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-light:hover {
    background: rgba(245, 240, 232, 0.1);
    border-color: #F5F0E8;
    transform: translateY(-2px);
}

/* ============================================
   NAVIGATION
   ============================================ */

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(10, 15, 13, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

#navbar.scrolled .nav-link {
    color: rgba(245, 240, 232, 0.8);
}

/* Nav link underline effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #D4AF37, #E8C547);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #D4AF37 !important;
}

/* Mobile menu button */
.menu-line {
    transition: all 0.3s ease;
}

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

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

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

/* Mobile navigation links */
.mobile-nav-link {
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

/* Parallax-like subtle movement */
.hero-content {
    will-change: transform;
}

.hero-image {
    will-change: transform;
}

/* Floating card animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

/* Service card hover effects */
.service-card {
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card-icon {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonial-card {
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-content {
    will-change: transform;
}

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

/* Select dropdown styling */
select option {
    background: #1A1F1D;
    color: #F5F0E8;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

/* Intersection Observer animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */

/* Gold gradient text */
.text-gold-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #E8C547 50%, #B8941F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle shimmer effect */
.shimmer {
    background: linear-gradient(
        90deg,
        rgba(212, 175, 55, 0) 0%,
        rgba(212, 175, 55, 0.1) 50%,
        rgba(212, 175, 55, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer-move 3s ease-in-out infinite;
}

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

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
    
    /* Reduce animation intensity on mobile */
    .service-card:hover {
        transform: translateY(-4px);
    }
    
    .gallery-item img {
        transition: transform 0.4s ease;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@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;
    }
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .btn-gold,
    .btn-outline,
    .btn-outline-light {
        border: 1px solid #000;
        color: #000 !important;
        background: transparent !important;
    }
}
