/* ============================================
   SOUTHERN GRACE CABIN — STYLESHEET
   Palette: Plum (#5C2E5E / #7B3F7A) + Amber (#C8960C / #D4A017)
   Fonts: Cormorant Garamond + Inter
   ============================================ */

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

:root {
    --plum-deep: #4A1E4A;
    --plum: #5C2E5E;
    --plum-light: #7B3F7A;
    --plum-pale: #F3ECF5;
    --plum-ghost: #FAF7FC;
    --amber: #C8960C;
    --amber-light: #D4A017;
    --amber-pale: #FDF6E3;
    --amber-ghost: #FFFCF5;
    --text: #1A1A1A;
    --text-muted: #5A5A5A;
    --text-light: #8A8A8A;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --border: #E8E0EE;
    --border-light: #F0EAF4;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(92,46,94,0.06);
    --shadow-md: 0 4px 20px rgba(92,46,94,0.08);
    --shadow-lg: 0 8px 40px rgba(92,46,94,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--plum);
    margin-bottom: 16px;
    position: relative;
    padding-left: 32px;
}

.section-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--amber);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--text);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.8;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

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

.btn-full {
    width: 100%;
}

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

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    box-shadow: 0 1px 0 var(--border);
}

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

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

.navbar.scrolled .nav-logo {
    color: var(--plum);
}

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

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

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

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

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

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

.navbar.scrolled .nav-links a {
    color: var(--text-muted);
}

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

.nav-cta {
    padding: 10px 24px !important;
    background: var(--amber);
    color: var(--white) !important;
    border-radius: 100px;
    font-weight: 500 !important;
}

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

.nav-cta:hover {
    background: var(--amber-light) !important;
    transform: translateY(-1px);
}

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

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition);
    display: block;
}

.navbar.scrolled .nav-toggle span {
    background: var(--plum);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ── 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(74,30,74,0.75) 0%,
        rgba(92,46,94,0.55) 50%,
        rgba(26,26,26,0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    padding-bottom: 80px;
    width: 100%;
}

.hero-card {
    max-width: 680px;
    margin-bottom: 60px;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--amber-light);
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 540px;
}

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

/* Stat Cards */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 720px;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--amber-light);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.hero-scroll svg {
    animation: bob 2s ease-in-out infinite;
}

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

/* ── Section Shared ── */
.section {
    padding: 120px 0;
}

.section-header {
    margin-bottom: 72px;
}

/* ── Cabin Section ── */
.cabin {
    background: var(--white);
}

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

.cabin-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.cabin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.cabin-features {
    display: grid;
    gap: 36px;
    padding-top: 8px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item svg {
    flex-shrink: 0;
    color: var(--plum);
    margin-top: 2px;
}

.feature-item h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Experience Section ── */
.experience {
    background: var(--plum-ghost);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

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

.exp-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.exp-card-content {
    padding: 28px;
}

.exp-card-content h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--plum);
}

.exp-card-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.75;
}

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

.location-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.location-info {
    padding: 20px 0;
}

.location-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 480px;
}

.location-details {
    display: grid;
    gap: 28px;
}

.loc-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.loc-detail svg {
    color: var(--amber);
    flex-shrink: 0;
    margin-top: 3px;
}

.loc-detail strong {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 4px;
}

.loc-detail p, .loc-detail a {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.loc-detail a:hover {
    color: var(--plum);
    text-decoration: underline;
}

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

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

/* ── Gallery ── */
.gallery {
    background: var(--off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item--wide {
    grid-column: span 8;
    aspect-ratio: 16/9;
}

.gallery-item:not(.gallery-item--wide) {
    grid-column: span 4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* ── CTA Section ── */
.cta {
    background: var(--plum);
    padding: 120px 0;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.cta-content .section-eyebrow {
    color: var(--amber-light);
}

.cta-content .section-eyebrow::before {
    background: var(--amber-light);
}

.cta-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    max-width: 440px;
}

.cta-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.cta-form {
    display: grid;
    gap: 20px;
}

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

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--plum-ghost);
    color: var(--text);
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(92,46,94,0.08);
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    gap: 16px;
}

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

.form-success h3 {
    font-size: 1.5rem;
    color: var(--text);
}

.form-success p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.cta-alt-contact {
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.7;
}

.cta-alt-contact a {
    color: var(--plum);
    font-weight: 500;
}

.cta-alt-contact a:hover {
    text-decoration: underline;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 320px;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    padding: 6px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--amber-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

/* ── Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cabin-grid {
        gap: 48px;
    }
    
    .cta-card {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(74,30,74,0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    
    .nav-links.open {
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        color: rgba(255,255,255,0.8) !important;
    }
    
    .nav-links a:hover {
        color: var(--white) !important;
    }
    
    .nav-cta {
        background: var(--amber) !important;
    }
    
    .hero-content {
        padding-top: 80px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        padding: 18px 14px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .cabin-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cabin-image {
        aspect-ratio: 16/10;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .exp-card img {
        height: 220px;
    }
    
    .location-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .location-map {
        min-height: 300px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item--wide {
        grid-column: span 2;
    }
    
    .gallery-item:not(.gallery-item--wide) {
        grid-column: span 1;
    }
    
    .cta {
        padding: 80px 0;
    }
    
    .cta-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-form-wrapper {
        padding: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--wide {
        grid-column: span 1;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 28px;
    }
}
