/* Custom CSS for Tamara's Bridal & Special Occasions */

/* Color Palette */
:root {
    --forest-900: #1a3c2a;
    --forest-800: #234d35;
    --forest-700: #2d5f42;
    --forest-600: #3d7a56;
    --forest-500: #4d9568;
    --forest-300: #8fb996;
    --forest-50: #e8f5e9;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-800: #292524;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--stone-50);
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

.animate-float-delayed {
    animation: float-delayed 4s ease-in-out infinite;
    animation-delay: 1s;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Mobile Menu Styles */
.mobile-link {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--forest-900);
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--forest-600);
}

/* Form Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--forest-600) !important;
    box-shadow: 0 0 0 3px rgba(61, 122, 86, 0.1);
}

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

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--forest-700);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

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