/* ========================================
   Corral RV Park — Custom Styles
   Deep Navy + Warm Gold Palette
   ======================================== */

/* --- CSS Variables --- */
:root {
    --navy-950: #0a1628;
    --navy-900: #0f2140;
    --navy-800: #152d56;
    --navy-700: #1a3a6e;
    --navy-600: #1e4480;
    --navy-500: #2554a0;
    --gold-500: #c8963e;
    --gold-400: #d4a84b;
    --gold-300: #e0bc6a;
    --gold-200: #ebd08a;
    --gold-100: #f5e4b0;
    --warm-gray-50: #faf8f5;
    --warm-gray-100: #f5f2ed;
    --warm-gray-200: #ebe6de;
    --warm-gray-300: #d4cdc3;
    --warm-gray-600: #6b635a;
    --warm-gray-700: #4a443d;
    --warm-gray-800: #2d2822;
    --white: #ffffff;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Manrope', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.1);
    --shadow-lg: 0 8px 40px rgba(10, 22, 40, 0.12);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--warm-gray-800);
    background-color: var(--warm-gray-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--warm-gray-600);
    line-height: 1.8;
    font-weight: 300;
}

/* --- Section Labels --- */
.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 20px;
}

.section-label .line {
    width: 40px;
    height: 1px;
    background-color: var(--gold-500);
    flex-shrink: 0;
}

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

.section-header.center .section-label {
    justify-content: center;
}

.section-header.center .section-label .line {
    order: 2;
}

.section-header.center .section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background-color: var(--gold-500);
    order: 1;
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--warm-gray-600);
    max-width: 560px;
    margin: 0 auto;
    font-weight: 300;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-gold {
    background-color: var(--gold-500);
    color: var(--white);
    border-color: var(--gold-500);
}

.btn-gold:hover {
    background-color: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--navy-900);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--navy-900);
    border-color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 0.95rem;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--navy-900);
}

.logo-icon {
    display: flex;
    align-items: center;
    color: var(--gold-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--warm-gray-700);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold-500);
    transition: var(--transition);
}

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

.nav-links a:hover {
    color: var(--gold-400);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--gold-500);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 1.5px;
    background-color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .mobile-toggle span {
    background-color: var(--navy-900);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--navy-950);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(15, 33, 64, 0.85) 50%, rgba(10, 22, 40, 0.75) 100%),
        url('https://images.pexels.com/photos/37750394/pexels-photo-37750394.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1600&h=900') center/cover no-repeat;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    padding-right: 20px;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 28px;
}

.hero-label .line {
    width: 40px;
    height: 1px;
    background-color: var(--gold-400);
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 4.5vw, 3.75rem);
    margin-bottom: 24px;
    font-weight: 400;
    line-height: 1.15;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-300);
}

.hero > .container > .hero-content > p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 480px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.hero-img-wrapper img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 8px;
}

.hero-img-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold-500);
    border-radius: 8px;
    z-index: -1;
}

.hero-floating-card {
    position: absolute;
    bottom: -24px;
    left: -40px;
    background-color: var(--white);
    padding: 20px 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
}

.floating-icon {
    width: 48px;
    height: 48px;
    background-color: var(--navy-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    flex-shrink: 0;
}

.floating-text {
    display: flex;
    flex-direction: column;
}

.floating-text strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--navy-900);
}

.floating-text span {
    font-size: 0.8rem;
    color: var(--warm-gray-600);
}

/* --- Sections --- */
.section {
    padding: 120px 0;
}

/* --- About --- */
.about {
    background-color: var(--warm-gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.about-img-main {
    border-radius: 8px;
    overflow: hidden;
}

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--warm-gray-50);
}

.about-img-secondary img {
    width: 400px;
    height: 300px;
    object-fit: cover;
}

.about-experience {
    position: absolute;
    top: -30px;
    left: -20px;
    background-color: var(--navy-900);
    color: var(--white);
    padding: 24px 28px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-experience .exp-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-400);
}

.about-experience .exp-label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.about-content {
    padding-left: 20px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content > p {
    color: var(--warm-gray-600);
    margin-bottom: 16px;
    font-weight: 300;
}

.about-features {
    margin-top: 32px;
    display: grid;
    gap: 16px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--warm-gray-700);
}

.feature-icon {
    width: 28px;
    height: 28px;
    background-color: var(--gold-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
    flex-shrink: 0;
}

/* --- Amenities --- */
.amenities {
    background-color: var(--white);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.amenity-card {
    padding: 40px 32px;
    border: 1px solid var(--warm-gray-200);
    border-radius: 8px;
    transition: var(--transition);
    background-color: var(--white);
}

.amenity-card:hover {
    border-color: var(--gold-500);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    background-color: var(--navy-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    margin-bottom: 24px;
}

.amenity-card h3 {
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.amenity-card p {
    font-size: 0.95rem;
    color: var(--warm-gray-600);
    line-height: 1.7;
    font-weight: 300;
}

/* --- Location --- */
.location {
    background-color: var(--warm-gray-100);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.location-content {
    padding-right: 20px;
}

.location-content .section-title {
    margin-bottom: 20px;
}

.location-content > p.lead {
    margin-bottom: 40px;
}

.location-attractions {
    display: grid;
    gap: 20px;
    margin-bottom: 32px;
}

.attraction {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--warm-gray-200);
}

.attraction:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.attraction-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy-900);
}

.attraction-dist {
    font-size: 0.85rem;
    color: var(--warm-gray-600);
    font-weight: 400;
    white-space: nowrap;
    margin-left: 16px;
}

.location-note {
    font-size: 0.9rem;
    color: var(--warm-gray-600);
    font-style: italic;
    font-weight: 300;
}

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

.map-wrapper {
    height: 100%;
    min-height: 500px;
}

/* --- CTA --- */
.cta {
    background-color: var(--navy-950);
    padding: 100px 0;
}

.cta-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-content {
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-content .section-label {
    color: var(--gold-500);
}

.cta-content .section-label .line {
    background-color: var(--gold-500);
}

.cta-content .section-title {
    color: var(--navy-900);
    margin-bottom: 20px;
}

.cta-content > p {
    color: var(--warm-gray-600);
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.8;
}

.cta-actions {
    margin-bottom: 32px;
}

.cta-address {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--warm-gray-600);
}

.cta-address svg {
    color: var(--gold-500);
    flex-shrink: 0;
}

.cta-image {
    position: relative;
    overflow: hidden;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

/* --- Footer --- */
.footer {
    background-color: var(--navy-950);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer .logo {
    color: var(--white);
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 300px;
    font-weight: 300;
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 24px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-links ul {
    display: grid;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: var(--navy-950);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
    font-weight: 400;
}

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

.mobile-contact {
    text-align: center;
    margin-top: 24px;
}

.mobile-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

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

/* --- Animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .hero-img-wrapper img {
        height: 560px;
    }

    .about-img-secondary {
        right: -20px;
        bottom: -20px;
    }

    .about-img-secondary img {
        width: 280px;
        height: 210px;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-label {
        justify-content: center;
    }

    .hero > .container > .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-img-wrapper img {
        height: 480px;
    }

    .hero-img-accent {
        top: -12px;
        right: -12px;
    }

    .hero-floating-card {
        left: -16px;
        bottom: -16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-content {
        padding-left: 0;
    }

    .about-img-secondary {
        right: 0;
        bottom: -20px;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-content {
        padding-right: 0;
    }

    .cta-card {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 48px 32px;
    }

    .cta-image img {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 80px 0;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-image {
        display: none;
    }

    .hero-floating-card {
        display: none;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .about-img-main img {
        height: 400px;
    }

    .about-img-secondary {
        display: none;
    }

    .about-experience {
        top: -20px;
        left: 0;
    }

    .location-map {
        min-height: 350px;
    }

    .map-wrapper {
        min-height: 350px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: auto;
    }
}
