/* ===================================
   Widows Creek RV Park & Cabins
   Classic & Elegant Design System
   =================================== */

/* CSS Custom Properties */
:root {
    /* Color Palette - Forest Green + Off-White */
    --forest-dark: #1a3c28;
    --forest: #2d5a3f;
    --forest-light: #4a7c5c;
    --forest-muted: #6b9e7e;
    
    --cream: #f5f2eb;
    --cream-light: #faf8f4;
    --cream-dark: #e8e4da;
    --white: #ffffff;
    
    --text-dark: #1a1a1a;
    --text: #3a3a3a;
    --text-light: #6b6b6b;
    --text-muted: #8a8a8a;
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 60, 40, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 60, 40, 0.1);
    --shadow-lg: 0 8px 40px rgba(26, 60, 40, 0.12);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background-color: var(--cream-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--forest);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--forest-light);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--forest-dark);
    color: var(--white);
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ===================================
   Typography
   =================================== */
.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest-muted);
    display: block;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--forest-dark);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

.btn-primary:hover {
    background-color: var(--forest-dark);
    border-color: var(--forest-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--forest-dark);
}

.btn-full {
    width: 100%;
}

/* ===================================
   Header / Navigation
   =================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cream-dark);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--forest-dark);
    font-weight: 600;
}

.logo-icon {
    color: var(--forest);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text);
    letter-spacing: 0.02em;
}

.main-nav a:hover {
    color: var(--forest);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--forest-dark);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, 
            rgba(26, 60, 40, 0.7) 0%, 
            rgba(45, 90, 63, 0.5) 50%,
            rgba(74, 124, 92, 0.4) 100%),
        url('https://images.pexels.com/photos/2889618/pexels-photo-2889618.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(26, 60, 40, 0.3) 0%, 
        rgba(26, 60, 40, 0.1) 50%,
        rgba(26, 60, 40, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: var(--space-xl) var(--space-md);
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: var(--space-md);
}

.hero-title em {
    font-style: italic;
    color: var(--cream);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--cream);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.5; }
}

/* ===================================
   Sections
   =================================== */
.section {
    padding: var(--space-2xl) 0;
}

/* ===================================
   About Section
   =================================== */
.about {
    background-color: var(--cream-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background-color: var(--forest-muted);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.3;
}

.about-content p {
    color: var(--text);
    margin-bottom: var(--space-md);
    font-size: 1.0625rem;
}

.feature-list {
    list-style: none;
    margin-top: var(--space-md);
    display: grid;
    gap: var(--space-sm);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text);
}

.feature-list svg {
    color: var(--forest);
    flex-shrink: 0;
}

/* ===================================
   Cabins Section
   =================================== */
.cabins {
    background-color: var(--cream);
}

.cabins-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.cabin-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cabin-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.cabin-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.cabin-card:hover .cabin-image img {
    transform: scale(1.05);
}

.cabin-image {
    overflow: hidden;
}

.cabin-info {
    padding: var(--space-md);
}

.cabin-info h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--forest-dark);
    margin-bottom: var(--space-xs);
}

.cabin-info p {
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.cabin-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
}

.cabin-features li {
    font-size: 0.875rem;
    color: var(--text);
    padding-left: 1.25rem;
    position: relative;
}

.cabin-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--forest);
    font-weight: 700;
}

/* ===================================
   RV Park Section
   =================================== */
.rv-park {
    background-color: var(--cream-light);
}

.rv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.rv-content p {
    font-size: 1.0625rem;
    color: var(--text);
    margin-bottom: var(--space-md);
}

.rv-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* ===================================
   Location Section
   =================================== */
.location {
    background-color: var(--forest-dark);
    color: var(--cream);
}

.location .section-label {
    color: var(--forest-muted);
}

.location .section-title {
    color: var(--white);
}

.location-content p {
    color: var(--cream);
    font-size: 1.0625rem;
    margin-bottom: var(--space-lg);
    max-width: 500px;
}

.location-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.location-item {
    text-align: center;
    padding: var(--space-md);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.location-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--cream);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.location-text {
    font-size: 0.875rem;
    color: var(--cream-dark);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background-color: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.contact-info p {
    font-size: 1.0625rem;
    color: var(--text);
    margin-bottom: var(--space-lg);
}

.contact-details {
    display: grid;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    gap: var(--space-sm);
}

.contact-item svg {
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--forest-dark);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text);
    background-color: var(--cream-light);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--forest);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(45, 90, 63, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-lg);
}

.form-success svg {
    color: var(--forest);
    margin-bottom: var(--space-sm);
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--forest-dark);
    margin-bottom: var(--space-xs);
}

.form-success p {
    color: var(--text-light);
}

/* ===================================
   Footer
   =================================== */
.site-footer {
    background-color: var(--forest-dark);
    color: var(--cream);
    padding: var(--space-lg) 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.footer-brand h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.footer-brand p {
    color: var(--cream-dark);
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--cream);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--forest-muted);
}

.footer-copy p {
    margin-bottom: 4px;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .about-grid,
    .rv-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .about-image-wrapper {
        order: -1;
    }
    
    .about-image-wrapper img {
        height: 350px;
    }
    
    .cabins-grid {
        grid-template-columns: 1fr;
    }
    
    .location-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--cream-light);
        padding: var(--space-md);
        border-bottom: 1px solid var(--cream-dark);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .main-nav a {
        font-size: 1rem;
        padding: var(--space-xs) 0;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .contact-form-wrapper {
        padding: var(--space-md);
    }
    
    .cabin-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .section {
        padding: var(--space-lg) 0;
    }
    
    .about-image-accent {
        display: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
