/* Custom styles for Hair Styles Etc - Editorial Design */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.font-sans {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Gold gradient */
.gold-gradient {
    background: linear-gradient(135deg, #c9a84c 0%, #e0ca7a 50%, #d4b962 100%);
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #c9a84c;
    border-radius: 5px;
}

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

/* Service card hover effect */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(10, 22, 40, 0.15);
}

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

.service-icon {
    transition: all 0.3s ease;
}

/* Testimonial card */
.testimonial-card {
    background: linear-gradient(135deg, #0f2140 0%, #142d58 100%);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(10, 22, 40, 0.3);
}

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

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

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

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

@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Split hero layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-image {
        order: -1;
        min-height: 50vh;
    }
}

/* Gold accent line */
.gold-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #c9a84c, #e0ca7a);
}

/* Button hover effects */
.btn-primary {
    background: linear-gradient(135deg, #c9a84c 0%, #d4b962 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d4b962 0%, #e0ca7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(201, 168, 76, 0.3);
}

.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #c9a84c;
    color: #c9a84c;
    transform: translateY(-2px);
}

/* Image hover effect */
.image-hover {
    overflow: hidden;
    border-radius: 16px;
}

.image-hover img {
    transition: transform 0.5s ease;
}

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

/* Form focus states */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

/* Navigation active state */
.nav-link {
    position: relative;
    padding: 0.5rem 0;
}

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

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

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gold-line {
        width: 60px;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Print styles */
@media print {
    .fixed,
    .mobile-menu {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
