/* =============================================
   CRAGS Campground — Styles
   Palette: Plum (#5C3D5E / #7B4F7A / #3D2540)
            Amber (#E8A838 / #C4882A / #F5C060)
   Fonts: Outfit (sans) + Playfair Display (serif)
   ============================================= */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2D1F33;
    background-color: #FDF8F5;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

ul, ol {
    list-style: none;
}

/* ── Focus ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #5C3D5E;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-weight: 600;
}
.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 2px solid #E8A838;
    outline-offset: 2px;
}

/* ── Container ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    color: #2D1F33;
}

/* ── Section Shared ── */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #E8A838;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    color: #2D1F33;
}

.section-desc {
    font-size: 1.1rem;
    color: #5A4560;
    line-height: 1.7;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #E8A838;
    color: #2D1F33;
    box-shadow: 0 4px 14px rgba(232, 168, 56, 0.35);
}
.btn-primary:hover {
    background: #D49A2E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 168, 56, 0.45);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(61, 37, 64, 0.0);
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(61, 37, 64, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    padding: 0.6rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 700;
}

.logo-icon {
    color: #E8A838;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-left: -0.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-nav-call {
    margin-left: 0.5rem;
    background: #E8A838;
    color: #2D1F33;
    font-weight: 700;
}
.btn-nav-call:hover {
    background: #F5C060;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger {
    position: relative;
}
.hamburger::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 0;
}
.hamburger::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-7px) rotate(-45deg);
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 31, 51, 0.82) 0%,
        rgba(61, 37, 64, 0.70) 50%,
        rgba(92, 61, 94, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 6rem;
    padding-bottom: 4rem;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(232, 168, 56, 0.18);
    border: 1px solid rgba(232, 168, 56, 0.4);
    color: #F5C060;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-badge svg {
    color: #E8A838;
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.4rem);
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.hero-headline em {
    font-style: italic;
    color: #F5C060;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.hero-scroll svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ── Trust Bar ── */
.trust-bar {
    background: #3D2540;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(232, 168, 56, 0.2);
    border-bottom: 1px solid rgba(232, 168, 56, 0.2);
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0 1.5rem;
}

.trust-item svg {
    color: #E8A838;
    flex-shrink: 0;
}

.trust-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* ── Sites Section ── */
.sites-section {
    background: #FDF8F5;
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.site-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(92, 61, 94, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.site-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(92, 61, 94, 0.15);
}

.site-card-img {
    height: 220px;
    overflow: hidden;
}
.site-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.site-card:hover .site-card-img img {
    transform: scale(1.05);
}

.site-card-body {
    padding: 1.75rem;
}

.site-card-tag {
    display: inline-block;
    background: rgba(232, 168, 56, 0.15);
    color: #A07020;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
}

.site-card-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: #2D1F33;
}

.site-card-desc {
    font-size: 0.95rem;
    color: #5A4560;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.site-card-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
    margin-bottom: 1.5rem;
}

.site-card-features li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #2D1F33;
    font-weight: 500;
}

.site-card-features li svg {
    color: #E8A838;
    flex-shrink: 0;
}

/* ── Amenities Section ── */
.amenities-section {
    background: #3D2540;
    color: #fff;
}

.amenities-section .section-tag {
    color: #F5C060;
}

.amenities-section .section-title {
    color: #fff;
}

.amenities-section .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

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

.amenity-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 2rem;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.amenity-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(232, 168, 56, 0.4);
    transform: translateY(-4px);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 168, 56, 0.15);
    border-radius: 12px;
    color: #E8A838;
    margin-bottom: 1.25rem;
}

.amenity-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
}

.amenity-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* ── Area Section ── */
.area-section {
    background: #FDF8F5;
}

.area-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.area-content .section-tag {
    text-align: left;
}

.area-content .section-title {
    text-align: left;
    margin-bottom: 1.25rem;
}

.area-text {
    font-size: 1rem;
    color: #5A4560;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.area-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.area-highlight {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.area-highlight-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #5C3D5E;
    line-height: 1;
}

.area-highlight-label {
    font-size: 0.85rem;
    color: #7B6B82;
    font-weight: 500;
}

.area-image-col {
    position: relative;
}

.area-image-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(92, 61, 94, 0.15);
}
.area-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.area-image-secondary {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    width: 55%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(92, 61, 94, 0.2);
    border: 4px solid #FDF8F5;
}
.area-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Gallery ── */
.gallery-section {
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 5/4;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.06);
}

/* ── CTA Section ── */
.cta-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

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

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 31, 51, 0.88) 0%,
        rgba(61, 37, 64, 0.82) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    color: #fff;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ── Contact Section ── */
.contact-section {
    background: #FDF8F5;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info .section-tag {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-text {
    font-size: 1rem;
    color: #5A4560;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 168, 56, 0.12);
    border-radius: 10px;
    color: #A07020;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2D1F33;
    margin-bottom: 0.2rem;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.95rem;
    color: #5A4560;
}

.contact-detail a:hover {
    color: #5C3D5E;
    text-decoration: underline;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(92, 61, 94, 0.1);
}

/* ── Contact Form ── */
.contact-form-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 4px 24px rgba(92, 61, 94, 0.08);
}

.contact-form-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #2D1F33;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2D1F33;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #E0D4E4;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #2D1F33;
    background: #FDF8F5;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5C3D5E;
    box-shadow: 0 0 0 3px rgba(92, 61, 94, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A89BB0;
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 2rem;
    background: rgba(232, 168, 56, 0.1);
    border: 1px solid rgba(232, 168, 56, 0.3);
    border-radius: 12px;
    color: #2D1F33;
}
.form-success svg {
    color: #E8A838;
}
.form-success h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}
.form-success p {
    font-size: 0.95rem;
    color: #5A4560;
    line-height: 1.6;
}
.form-success a {
    color: #5C3D5E;
    font-weight: 600;
    text-decoration: underline;
}

/* ── Footer ── */
.footer {
    background: #2D1F33;
    color: rgba(255, 255, 255, 0.7);
    padding: 3.5rem 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #E8A838;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #E8A838;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
}
.footer-phone:hover {
    color: #F5C060;
}

.footer-address {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    padding: 1.25rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ── Scroll Reveal (below fold only, 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);
    }
}

/* ── Mobile ── */
@media (max-width: 900px) {
    .area-layout {
        grid-template-columns: 1fr;
    }
    .area-image-col {
        order: -1;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(45, 31, 51, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.5rem 2rem;
        gap: 0.25rem;
        transition: right 0.35s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }
    .nav-links.open {
        right: 0;
    }
    .nav-links a {
        width: 100%;
        padding: 0.75rem 0.5rem;
        font-size: 1rem;
    }
    .btn-nav-call {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        width: 100%;
    }

    .hero-content {
        padding-top: 5rem;
    }

    .hero-headline {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }

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

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

    .area-image-secondary {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        margin-top: 1rem;
        border: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .trust-bar-inner {
        flex-direction: column;
        gap: 0.75rem;
    }
    .trust-divider {
        display: none;
    }
    .trust-item {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
    }

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

    .area-highlights {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form-wrap {
        padding: 1.5rem;
    }
}
