/* ============================================
   Boat Yard RV Park - Complete Stylesheet
   Classic & Elegant Design System
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Plum Palette */
    --plum-900: #2d1f3d;
    --plum-800: #3d2b52;
    --plum-700: #4a3663;
    --plum-600: #5c4578;
    --plum-500: #6b5289;
    --plum-400: #8b7aa8;
    --plum-300: #b8a8c9;
    --plum-200: #d4c8df;
    --plum-100: #ece6f2;
    --plum-50: #f5f2fa;
    
    /* Amber Palette */
    --amber-700: #704214;
    --amber-600: #8b5216;
    --amber-500: #a66a24;
    --amber-400: #c4883a;
    --amber-300: #d4a55a;
    --amber-200: #e8c88a;
    --amber-100: #f5e4c0;
    --amber-50: #fdf6e3;
    
    /* Neutrals */
    --neutral-900: #1a1a2e;
    --neutral-800: #2d2d42;
    --neutral-700: #3d3d56;
    --neutral-600: #55556a;
    --neutral-500: #6e6e82;
    --neutral-400: #8e8ea0;
    --neutral-300: #b0b0c0;
    --neutral-200: #d0d0da;
    --neutral-100: #ebebef;
    --neutral-50: #f8f7fa;
    --white: #ffffff;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Lato', 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(45, 31, 61, 0.05);
    --shadow-md: 0 4px 6px rgba(45, 31, 61, 0.07);
    --shadow-lg: 0 10px 25px rgba(45, 31, 61, 0.1);
    --shadow-xl: 0 20px 40px rgba(45, 31, 61, 0.12);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--neutral-800);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--plum-900);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    color: var(--neutral-600);
    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);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-amber {
    background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
    color: var(--white);
    border: 2px solid transparent;
}

.btn-amber:hover {
    background: linear-gradient(135deg, var(--amber-600), var(--amber-700));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 0.9375rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--plum-100);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--plum-900);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--neutral-700);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber-500);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--plum-700);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.625rem 1.5rem;
    background: var(--plum-700);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--plum-800);
    color: var(--white);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--plum-900);
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--plum-900);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-menu-btn {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    color: var(--white);
    padding: var(--space-xs);
}

.mobile-menu-content {
    text-align: center;
}

.mobile-link {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--white);
    padding: var(--space-sm) 0;
    transition: color var(--transition-fast);
}

.mobile-link:hover {
    color: var(--amber-400);
}

.mobile-contact {
    margin-top: var(--space-2xl);
    color: var(--plum-300);
    font-size: 0.9375rem;
}

.mobile-contact a {
    color: var(--plum-300);
    transition: color var(--transition-fast);
}

.mobile-contact a:hover {
    color: var(--amber-400);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 31, 61, 0.82) 0%,
        rgba(61, 43, 82, 0.72) 50%,
        rgba(45, 31, 61, 0.85) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    padding: var(--space-3xl) var(--space-md);
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-300);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--plum-200);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

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

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

@media (min-width: 768px) {
    .section {
        padding: var(--space-3xl) 0;
    }
}

.section-header {
    margin-bottom: var(--space-2xl);
}

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

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

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
}

.about-text {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--plum-100);
}

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

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--plum-700);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neutral-500);
    margin-top: var(--space-xs);
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    color: var(--plum-200);
    opacity: 0.5;
}

/* ============================================
   Amenities Section
   ============================================ */
.amenities {
    background: var(--plum-50);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.amenity-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--plum-100);
}

.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--plum-200);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-100);
    color: var(--plum-700);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.amenity-card:hover .amenity-icon {
    background: var(--plum-700);
    color: var(--white);
}

.amenity-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--plum-900);
    margin-bottom: var(--space-xs);
}

.amenity-card p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* ============================================
   Location Section
   ============================================ */
.location {
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: stretch;
}

@media (min-width: 1024px) {
    .location-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
}

.location-text {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.location-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.location-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    color: var(--neutral-700);
    font-weight: 500;
}

.location-feature svg {
    color: var(--amber-500);
    flex-shrink: 0;
}

.location-address {
    padding: var(--space-lg);
    background: var(--plum-50);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--amber-500);
}

.location-address h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--plum-900);
    margin-bottom: var(--space-xs);
}

.location-address p {
    color: var(--neutral-600);
    line-height: 1.7;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    background: var(--neutral-50);
    padding: var(--space-2xl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

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

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

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
}

.contact .section-label {
    color: var(--amber-400);
}

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

.contact-text {
    font-size: 1.0625rem;
    color: var(--plum-300);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--amber-400);
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--plum-300);
    font-size: 0.9375rem;
}

.contact-item a {
    color: var(--plum-300);
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--amber-400);
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--plum-800);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--plum-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--neutral-800);
    background: var(--white);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 3px rgba(166, 106, 36, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-400);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-xl);
    text-align: center;
    color: var(--plum-700);
}

.form-success svg {
    color: var(--amber-500);
}

.form-success p {
    font-size: 1rem;
    color: var(--neutral-600);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-400);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: var(--space-2xl);
    }
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.footer-logo svg {
    color: var(--amber-500);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--neutral-500);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--neutral-500);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--neutral-500);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--amber-400);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--neutral-800);
    text-align: center;
    font-size: 0.875rem;
    color: var(--neutral-600);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 767px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: clamp(2.25rem, 8vw, 3.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: var(--space-md);
    }
    
    .about-decoration {
        display: none;
    }
    
    .about-stats {
        flex-wrap: wrap;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Animations
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
}
