/* Custom styles for Lauren's Salon Spa */

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1e3a1e;
    background-color: #fefdf8;
}

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

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

/* Geometric shapes */
.geometric-shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.circle {
    border-radius: 50%;
}

.diamond {
    transform: rotate(45deg);
}

.blob {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.wave {
    border-radius: 100px / 20px;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(20px) rotate(-5deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-reverse { animation: floatReverse 7s ease-in-out infinite; }
.animate-pulse-slow { animation: pulse 3s ease-in-out infinite; }
.animate-slide-left { animation: slideInLeft 0.8s ease-out; }
.animate-slide-right { animation: slideInRight 0.8s ease-out; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out; }
.animate-rotate { animation: rotate 20s linear infinite; }

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 82, 45, 0.15);
}

/* Buttons */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(45, 82, 45, 0.3);
}

/* Pattern background */
.pattern-bg {
    background-image: 
        linear-gradient(45deg, rgba(45, 82, 45, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(45, 82, 45, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(45, 82, 45, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(45, 82, 45, 0.03) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

/* Mobile menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-menu.open {
    max-height: 400px;
}

/* Form styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2d522d;
    box-shadow: 0 0 0 3px rgba(45, 82, 45, 0.1);
}

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

::-webkit-scrollbar-track {
    background: #fefdf8;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #1e3a1e;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geometric-shape {
        display: none;
    }
    
    .animate-float,
    .animate-float-reverse,
    .animate-pulse-slow,
    .animate-rotate {
        animation: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
