/* Custom styles for George Hair Stylist */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base styles */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0a100d;
    color: #faf5eb;
    overflow-x: hidden;
}

/* Font imports handled in HTML */

/* Gold gradient text utility */
.gold-gradient-text {
    background: linear-gradient(135deg, #e4b83f 0%, #d49c2a 25%, #f5e19a 50%, #d49c2a 75%, #e4b83f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 25% 25%, rgba(228, 184, 63, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(6, 78, 59, 0.1) 0%, transparent 50%);
}

/* Gold line decoration */
.gold-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #e4b83f, transparent);
}

/* Service card hover */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

/* Gold button */
.btn-gold {
    background: linear-gradient(135deg, #e4b83f 0%, #d49c2a 100%);
    color: #0a100d;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #f5e19a 0%, #e4b83f 100%);
    box-shadow: 0 8px 30px rgba(228, 184, 63, 0.4);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e4b83f;
    transition: width 0.3s ease;
}

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

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Hamburger animation */
.hamburger span {
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

.float-1 { animation: float 4s ease-in-out infinite; }
.float-2 { animation: float 4s ease-in-out infinite 0.5s; }
.float-3 { animation: float 4s ease-in-out infinite 1s; }

/* Image reveal */
.img-reveal {
    overflow: hidden;
    border-radius: 12px;
}

.img-reveal img {
    transition: transform 0.6s ease;
}

.img-reveal:hover img {
    transform: scale(1.05);
}

/* Form styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #e4b83f;
    box-shadow: 0 0 0 3px rgba(228, 184, 63, 0.2);
}

/* Success message animation */
@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.success-msg {
    animation: successPulse 0.5s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: #e4b83f;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d49c2a;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}
