/* ========================================
   HEPPNER ELKS LODGE #358
   Classic & Elegant — Teal + Slate Palette
   ======================================== */

/* --- CSS Variables --- */
:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #080e1a;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 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);
    font-size: 16px;
    line-height: 1.7;
    color: var(--slate-700);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

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

.text-teal {
    color: var(--teal-600);
}

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--teal-600);
    color: #ffffff;
    border-color: var(--teal-600);
}

.btn-primary:hover {
    background-color: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-white {
    background-color: #ffffff;
    color: var(--teal-700);
    border-color: #ffffff;
}

.btn-white:hover {
    background-color: var(--slate-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
    border-radius: 10px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

.nav-inner {
    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-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

.nav-logo-text {
    letter-spacing: 0.01em;
}

.nav-logo-accent {
    color: var(--teal-400);
    font-weight: 400;
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-300);
    padding: 8px 16px;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
}

.nav-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--teal-600);
    padding: 10px 20px;
    border-radius: 6px;
    margin-left: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background-color: var(--teal-500);
    transform: translateY(-1px);
}

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

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--slate-300);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--slate-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/36676784/pexels-photo-36676784.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(8, 14, 26, 0.88) 0%,
        rgba(15, 23, 42, 0.82) 50%,
        rgba(17, 94, 89, 0.72) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-card {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--teal-300);
    background-color: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-badge svg {
    color: var(--teal-400);
}

.hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-accent {
    color: var(--teal-400);
    font-style: italic;
    font-weight: 400;
}

.hero-subheadline {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--slate-300);
    margin-bottom: 36px;
    max-width: 480px;
}

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

/* Floating Stat Cards */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 20px 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s var(--ease-out), background-color 0.3s ease;
}

.stat-card:hover {
    transform: translateX(6px);
    background-color: rgba(255, 255, 255, 0.1);
}

.stat-card--1 { animation: float-1 6s ease-in-out infinite; }
.stat-card--2 { animation: float-2 7s ease-in-out infinite; }
.stat-card--3 { animation: float-3 5.5s ease-in-out infinite; }

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

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

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

.stat-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(20, 184, 166, 0.2);
    border-radius: 12px;
    color: var(--teal-300);
}

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

.stat-card-value {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.stat-card-label {
    font-size: 0.8125rem;
    color: var(--slate-400);
    font-weight: 400;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 120px 0;
    background-color: #ffffff;
}

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

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

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

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

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    background-color: var(--teal-100);
    border-radius: 16px;
    z-index: -1;
}

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

.about-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 24px;
}

.about-content p {
    color: var(--slate-600);
    margin-bottom: 16px;
    font-size: 1.0625rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-700);
}

.about-feature svg {
    flex-shrink: 0;
}

/* ========================================
   ROOMS SECTION
   ======================================== */
.rooms {
    padding: 120px 0;
    background-color: var(--slate-50);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--slate-500);
    font-size: 1.0625rem;
}

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

.room-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--slate-100);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.room-card-image {
    overflow: hidden;
    height: 220px;
}

.room-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.room-card:hover .room-card-image img {
    transform: scale(1.05);
}

.room-card-body {
    padding: 28px;
}

.room-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--slate-900);
}

.room-card-desc {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.65;
    margin-bottom: 20px;
}

.room-card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.room-card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--slate-600);
}

.room-card-features svg {
    color: var(--teal-500);
    flex-shrink: 0;
}

.rooms-cta {
    text-align: center;
}

.rooms-cta p {
    color: var(--slate-500);
    margin-bottom: 20px;
    font-size: 1rem;
}

/* ========================================
   LOCATION SECTION
   ======================================== */
.location {
    padding: 120px 0;
    background-color: #ffffff;
}

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

.location-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 20px;
}

.location-content > p {
    color: var(--slate-500);
    font-size: 1.0625rem;
    margin-bottom: 36px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.location-detail svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.location-detail strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-900);
    margin-bottom: 4px;
}

.location-detail span,
.location-detail a {
    font-size: 1rem;
    color: var(--slate-600);
}

.location-detail a:hover {
    color: var(--teal-600);
}

.location-map iframe {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ========================================
   VISIT / CTA SECTION
   ======================================== */
.visit {
    padding: 120px 0;
    background-color: var(--slate-900);
    position: relative;
    overflow: hidden;
}

.visit-card {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 64px 48px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(20, 184, 166, 0.25);
}

.visit-pattern {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background-image: radial-gradient(circle at 20% 20%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(20, 184, 166, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.visit-content {
    position: relative;
    z-index: 1;
}

.visit-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    margin-bottom: 20px;
}

.visit-content p {
    color: var(--slate-300);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--slate-950);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-logo-accent {
    color: var(--teal-400);
    font-weight: 400;
}

.footer-desc {
    color: var(--slate-400);
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--slate-400);
    margin-bottom: 16px;
}

.footer-info p,
.footer-links li {
    color: var(--slate-400);
    font-size: 0.9375rem;
    line-height: 2;
}

.footer-phone {
    color: var(--teal-400);
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-phone:hover {
    color: var(--teal-300);
}

.footer-links a {
    color: var(--slate-400);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--slate-500);
    font-size: 0.8125rem;
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: rgba(8, 14, 26, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s ease;
}

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

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--slate-300);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-menu-close:hover {
    color: #ffffff;
    transform: rotate(90deg);
}

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

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--slate-200);
    padding: 12px 24px;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-menu-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.06);
}

.mobile-menu-divider {
    width: 48px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.mobile-menu-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--teal-400);
    padding: 16px 32px;
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 12px;
    margin-top: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-cta:hover {
    background-color: rgba(20, 184, 166, 0.15);
    color: var(--teal-300);
}

/* ========================================
   SCROLL REVEAL (Progressive Enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-card {
        max-width: 100%;
    }
    
    .hero-subheadline {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-card {
        flex: 1;
        min-width: 200px;
    }
    
    .about-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-accent {
        display: none;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-content {
        padding: 0 24px;
    }
    
    .hero-headline {
        font-size: clamp(1.875rem, 8vw, 2.75rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
    }
    
    .stat-card {
        min-width: 100%;
    }
    
    .stat-card--1,
    .stat-card--2,
    .stat-card--3 {
        animation: none;
    }
    
    .about,
    .rooms,
    .location {
        padding: 80px 0;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .location-grid {
        gap: 40px;
    }
    
    .location-map iframe {
        height: 300px;
    }
    
    .visit {
        padding: 80px 0;
    }
    
    .visit-card {
        padding: 48px 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-inner {
        padding: 0 16px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 16px 28px;
    }
    
    .room-card-body {
        padding: 20px;
    }
}
