/* Custom styles for Hello Gorgeous Salon */

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

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1412;
    color: #e8d5c4;
    line-height: 1.6;
}

/* Typography */
.font-display {
    font-family: 'Playfair Display', serif;
}

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

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

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

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

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(201, 169, 98, 0.15);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #c9a962, #e8d5c4);
    color: #1a1412;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.3);
}

.btn-secondary {
    border: 1px solid #c9a962;
    color: #c9a962;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #c9a962;
    color: #1a1412;
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

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

/* Fade-in animation for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .btn-primary,
    .btn-secondary,
    .nav-link::after {
        transition: none;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Mobile menu button */
#mobile-menu-btn,
#close-menu-btn {
    cursor: pointer;
}

/* Form inputs */
input,
select,
textarea {
    background-color: #1a1412 !important;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #c9a962 !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

/* Image hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

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

::-webkit-scrollbar-track {
    background: #1a1412;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c9a962, #e8d5c4);
    border-radius: 5px;
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #c9a962;
    outline-offset: 2px;
}

/* Gallery grid responsive */
@media (max-width: 768px) {
    .grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

/* Contact form success message */
#form-success {
    animation: fadeIn 0.5s ease;
}

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