/* ============================================
   ROOMS AT THE CLUB — La Veta, Colorado
   Custom Styles
   ============================================ */

/* --- Custom Properties --- */
:root {
    --green-900: #0f2d1a;
    --green-800: #1a4d2e;
    --green-700: #236b3f;
    --green-600: #2d8a51;
    --green-500: #3a9d5e;
    --green-100: #d1f0db;
    --green-50:  #eaf8ed;
    --cream:     #f7f8f4;
    --cream-dark:#eef1ea;
    --white:     #ffffff;
    --text-dark: #1a1f1c;
    --text-mid:  #3d4a42;
    --text-light:#6b7a6f;
    --border:    #d4ddd5;
    --shadow-sm: 0 1px 3px rgba(15,45,26,0.08);
    --shadow-md: 0 4px 16px rgba(15,45,26,0.10);
    --shadow-lg: 0 12px 40px rgba(15,45,26,0.14);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans:  'Inter', system-ui, sans-serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

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

/* --- Navigation --- */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow var(--transition);
}
.nav-header.scrolled {
    box-shadow: var(--shadow-md);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--green-800);
}
.nav-logo svg { flex-shrink: 0; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a:not(.nav-cta) {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: color var(--transition);
    position: relative;
}
.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-600);
    transition: width var(--transition);
}
.nav-links a:not(.nav-cta):hover { color: var(--green-700); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    background: var(--green-700);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover {
    background: var(--green-600);
    transform: translateY(-1px);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-900);
    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(15,45,26,0.88) 0%,
        rgba(26,77,46,0.80) 50%,
        rgba(15,45,26,0.85) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 120px 24px 80px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-100);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
}
.hero-badge svg { opacity: 0.9; }
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.stat-value {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
}
.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.55);
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.2);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    color: var(--white);
    background: var(--green-700);
    border: 2px solid var(--green-700);
}
.btn-primary:hover {
    background: var(--green-600);
    border-color: var(--green-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    color: var(--white);
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}
.btn-outline {
    color: var(--green-700);
    background: transparent;
    border: 2px solid var(--green-700);
}
.btn-outline:hover {
    background: var(--green-700);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.section-title-light { color: var(--white); }
.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 580px;
}
.section-desc-light { color: rgba(255,255,255,0.75); }
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* --- Rooms --- */
.rooms {
    padding: 100px 0;
    background: var(--cream);
}
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.room-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}
.room-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.room-img {
    overflow: hidden;
    aspect-ratio: 6/4;
}
.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.room-card:hover .room-img img {
    transform: scale(1.05);
}
.room-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.room-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}
.room-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}
.room-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.room-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-mid);
}
.room-features svg { color: var(--green-600); flex-shrink: 0; }
.room-cta { margin-top: 4px; }

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-images {
    position: relative;
}
.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -32px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}
.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-content { display: flex; flex-direction: column; gap: 20px; }
.about-text {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.75;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}
.about-feature {
    display: flex;
    gap: 16px;
}
.about-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-sm);
    color: var(--green-700);
}
.about-feature-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.about-feature-text {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Location --- */
.location {
    padding: 100px 0;
    background: var(--green-800);
}
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.map-placeholder {
    background: var(--green-700);
    border: 2px solid var(--green-600);
    border-radius: var(--radius-lg);
    padding: 64px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--white);
}
.map-placeholder svg { opacity: 0.7; }
.map-text {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
}
.location-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.location-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: flex;
    gap: 16px;
    transition: background var(--transition);
}
.location-card:hover { background: rgba(255,255,255,0.11); }
.location-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--green-100);
}
.location-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}
.location-card-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}
.location-card-text a {
    color: var(--green-100);
    transition: color var(--transition);
}
.location-card-text a:hover { color: var(--white); }

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--cream);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-text {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 36px;
}
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-method {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.contact-method:hover {
    border-color: var(--green-500);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.contact-method-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-sm);
    color: var(--green-700);
}
.contact-method-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    margin-bottom: 2px;
}
.contact-method-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 28px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.form-input,
.form-textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-input:focus,
.form-textarea:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(58,157,94,0.12);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-light); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 12px;
    text-align: center;
}
.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-sm);
    color: var(--green-800);
    font-size: 0.9rem;
    font-weight: 500;
}
.form-success svg { color: var(--green-600); flex-shrink: 0; }

/* --- Footer --- */
.footer {
    background: var(--green-900);
    color: var(--white);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 16px;
}
.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    max-width: 280px;
}
.footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 16px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
    transition: color var(--transition);
}
.footer-links a {
    color: rgba(255,255,255,0.72);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-links svg { flex-shrink: 0; opacity: 0.6; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .rooms-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform var(--transition), opacity var(--transition);
        pointer-events: none;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-toggle { display: flex; }
    .nav-cta { justify-content: center; width: 100%; }

    .hero-content { padding: 100px 20px 60px; }
    .hero-stats { gap: 20px; }
    .hero-stat-divider { height: 24px; }

    .rooms { padding: 72px 0; }
    .rooms-grid { grid-template-columns: 1fr; gap: 24px; }

    .about { padding: 72px 0; }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-img-secondary {
        right: 0;
        bottom: -24px;
    }

    .location { padding: 72px 0; }
    .location-grid { grid-template-columns: 1fr; gap: 36px; }

    .contact { padding: 72px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-wrapper { padding: 28px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-stat-divider { width: 32px; height: 1px; }
    .room-features { grid-template-columns: 1fr; }
    .about-img-secondary { position: relative; bottom: 0; right: 0; margin-top: 16px; }
}
