/* Custom styles for Amber's Island Beauty */

:root {
    --terracotta-50: #fdf8f6;
    --terracotta-100: #f9ece4;
    --terracotta-200: #f2d5c6;
    --terracotta-300: #e9b79e;
    --terracotta-400: #df916d;
    --terracotta-500: #d67345;
    --terracotta-600: #c95930;
    --terracotta-700: #a94424;
    --terracotta-800: #8a3722;
    --terracotta-900: #702f1f;
    
    --sand-50: #fefdfb;
    --sand-100: #fdf9f3;
    --sand-200: #faf0e0;
    --sand-300: #f5e0c5;
    --sand-400: #edc89a;
    --sand-500: #e3b077;
    --sand-600: #d59558;
    --sand-700: #b57844;
    --sand-800: #936139;
    --sand-900: #764f30;
    
    --cream: #FAF7F2;
    --dark: #2C2420;
}

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

/* Base styles */
body {
    font-family: 'Lato', system-ui, sans-serif;
    background-color: var(--cream);
    color: var(--dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
}

.nav-scrolled {
    background-color: rgba(250, 247, 242, 0.98);
    box-shadow: 0 2px 20px rgba(44, 36, 32, 0.1);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--terracotta-500), var(--terracotta-600));
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--terracotta-600), var(--terracotta-700));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 115, 69, 0.3);
}

/* 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(44, 36, 32, 0.15);
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Image overlays */
.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 36, 32, 0.4), transparent);
    pointer-events: none;
}

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

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

/* Form styles */
input:focus, textarea:focus {
    outline: none;
    border-color: var(--terracotta-500);
}

/* Decorative elements */
.divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--terracotta-500), transparent);
}

/* Gold accent */
.text-gold {
    color: #D4A574;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--terracotta-500);
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-bg {
        min-height: 100vh;
    }
    
    .service-card {
        transform: none;
    }
    
    .service-card:hover {
        transform: none;
    }
}
