/* Custom styles for Shady Acres RV Park */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;500;600&display=swap');

/* Custom properties */
:root {
    --plum-50: #fdf4f8;
    --plum-100: #fce7f1;
    --plum-200: #fbcfe8;
    --plum-300: #f9a8d4;
    --plum-400: #f472b6;
    --plum-500: #ec4899;
    --plum-600: #be185d;
    --plum-700: #9d174d;
    --plum-800: #831443;
    --plum-900: #500724;
    --plum-950: #3d0519;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--plum-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--plum-800);
}

/* Hero parallax effect */
.hero-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Magazine-style asymmetric hero */
.hero-magazine {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .hero-magazine {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

/* Text reveal animation */
.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image reveal */
.reveal-image {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-image.visible {
    opacity: 1;
    transform: scale(1);
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Decorative divider */
.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--plum-700), var(--amber-400));
    margin: 1.5rem 0;
}

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

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

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, var(--plum-700), var(--plum-800));
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--plum-800), var(--plum-900));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(157, 23, 77, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--plum-700);
    border: 2px solid var(--plum-700);
    padding: 0.875rem 1.875rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--plum-700);
    color: white;
}

/* Form styles */
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--plum-700);
    box-shadow: 0 0 0 3px rgba(157, 23, 77, 0.1);
}

/* Section padding */
section {
    padding: 5rem 1rem;
}

@media (min-width: 768px) {
    section {
        padding: 6rem 2rem;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 7rem 3rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal-text,
    .reveal-image {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hover-lift:hover {
        transform: none;
    }
}
