/* ============================================
   Shirley's Hair Studio — Custom Styles
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

/* Gold Button */
.gold-btn {
    background: linear-gradient(135deg, #d4a843 0%, #f0c860 50%, #b8860b 100%);
    color: #0a0f0d;
    font-weight: 600;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.25);
}

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

.gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.4);
}

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

.gold-btn span,
.gold-btn svg {
    position: relative;
    z-index: 1;
}

/* Hero Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.1) 0%, transparent 70%);
    top: 50%;
    right: 5%;
    animation-delay: -3s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    bottom: 10%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* Hero Image Panels */
.hero-img-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30%;
    overflow: hidden;
}

.panel-left {
    left: 0;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.panel-right {
    right: 0;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-img-panel img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Service Cards */
.service-card {
    position: relative;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.service-card:hover::after {
    border-color: rgba(212, 168, 67, 0.3);
}

/* Gallery Items */
.gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.5s ease;
}

/* Scroll Reveal */
.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.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 15, 13, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

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

::-webkit-scrollbar-track {
    background: #0a0f0d;
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 67, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 67, 0.5);
}

/* Selection */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #fef9ef;
}

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

/* Utility */
.text-cream-200\/70 {
    color: rgba(253, 243, 224, 0.7);
}

.text-cream-200\/60 {
    color: rgba(253, 243, 224, 0.6);
}

.text-cream-200\/50 {
    color: rgba(253, 243, 224, 0.5);
}

.text-cream-200\/40 {
    color: rgba(253, 243, 224, 0.4);
}
