/* Custom styles for Northern Lights Tanning */

:root {
    --burgundy-50: #fdf2f2;
    --burgundy-100: #fce7e7;
    --burgundy-200: #fadad9;
    --burgundy-300: #f5b8b8;
    --burgundy-400: #ed8585;
    --burgundy-500: #dc6060;
    --burgundy-600: #c74040;
    --burgundy-700: #a83232;
    --burgundy-800: #8c2a2a;
    --burgundy-900: #742424;
    --burgundy-950: #3e0e0e;
    
    --blush-50: #fff5f5;
    --blush-100: #ffebeb;
    --blush-200: #ffd6d6;
    --blush-300: #ffb4b4;
    --blush-400: #ff8080;
    --blush-500: #ff4d4d;
    --blush-600: #e63946;
    
    --cream-50: #fffbf5;
    --cream-100: #fff8f0;
    --cream-200: #fff3e0;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: var(--cream-50);
}

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

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

nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

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

.service-card:hover {
    transform: translateY(-8px);
}

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

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

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

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.float-reverse-animation {
    animation: float-reverse 8s ease-in-out infinite;
}

/* Scroll reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    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);
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .float-animation,
    .float-reverse-animation {
        animation: none;
    }
}

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

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

/* Geometric shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

/* Hero section */
.hero-bg {
    background: linear-gradient(135deg, var(--burgundy-900) 0%, var(--burgundy-700) 50%, var(--burgundy-500) 100%);
}

/* Glass effect */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--burgundy-900), var(--burgundy-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

::-webkit-scrollbar-track {
    background: var(--cream-50);
}

::-webkit-scrollbar-thumb {
    background: var(--burgundy-300);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy-500);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-bg {
        background: linear-gradient(135deg, var(--burgundy-900) 0%, var(--burgundy-700) 100%);
    }
}
