/* ============================================
   Rochester Mennonite Guest Home
   Modern CSS — Navy & Warm Gold Palette
   ============================================ */

/* CSS Custom Properties */
:root {
    --navy-950: #0a0f1e;
    --navy-900: #0f172a;
    --navy-800: #1e293b;
    --navy-700: #334155;
    --navy-600: #475569;
    
    --gold-600: #b8860b;
    --gold-500: #d4a017;
    --gold-400: #e8b828;
    --gold-300: #f0d060;
    
    --warm-50: #faf8f4;
    --warm-100: #f5f0e8;
    --warm-200: #ebe4d6;
    --warm-300: #d4cfc4;
    
    --white: #ffffff;
    --black: #0a0a0a;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: 0.3s 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-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--navy-800);
    background: var(--warm-50);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

.text-gold {
    color: var(--gold-500);
}

/* Section Labels */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold-500);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--navy-900);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--navy-600);
    max-width: 560px;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-900);
    border-color: var(--gold-500);
}

.btn-primary:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 160, 23, 0.35);
}

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

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: 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: all var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 15, 30, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.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-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.nav-logo-icon {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    transition: color var(--transition);
    position: relative;
}

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

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

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

.nav-cta {
    background: var(--gold-500) !important;
    color: var(--navy-900) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: all var(--transition) !important;
}

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

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

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

.nav-toggle.active span: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: var(--navy-900);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 15, 30, 0.92) 0%,
        rgba(15, 23, 42, 0.85) 40%,
        rgba(30, 41, 59, 0.7) 70%,
        rgba(184, 134, 11, 0.15) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.3);
    color: var(--gold-400);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255,255,255,0.7);
    line-height: 1.75;
    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-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.4);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--warm-50);
}

.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: 400px;
    object-fit: cover;
}

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

.about-img-secondary img {
    width: 260px;
    height: 170px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--navy-900);
    color: var(--gold-400);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
}

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

.about-text {
    font-size: 1.05rem;
    color: var(--navy-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--warm-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-900);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--navy-600);
}

/* ============================================
   AMENITIES SECTION
   ============================================ */
.amenities {
    padding: 100px 0;
    background: var(--navy-900);
}

.amenities .section-label {
    color: var(--gold-400);
}

.amenities .section-label::before {
    background: var(--gold-400);
}

.amenities .section-title {
    color: var(--white);
}

.amenities .section-subtitle {
    color: rgba(255,255,255,0.6);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.amenity-card {
    background: var(--navy-800);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
}

.amenity-card:hover {
    background: var(--navy-700);
    border-color: rgba(212, 160, 23, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 160, 23, 0.12);
    border-radius: var(--radius-md);
    color: var(--gold-400);
    margin-bottom: 20px;
}

.amenity-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

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

/* ============================================
   LOCATION SECTION
   ============================================ */
.location {
    padding: 100px 0;
    background: var(--warm-50);
}

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

.location-text {
    font-size: 1.05rem;
    color: var(--navy-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.location-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.location-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--navy-700);
}

.location-list li strong {
    color: var(--navy-900);
}

.location-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.location-contact .address {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--navy-600);
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.map-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

.location-map:hover .map-img {
    transform: scale(1.02);
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--navy-900);
    color: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}

.map-overlay:hover {
    background: var(--gold-500);
    color: var(--navy-900);
}

/* ============================================
   VISIT / CTA SECTION
   ============================================ */
.visit {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.visit-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.visit-content .section-label {
    color: var(--gold-400);
}

.visit-content .section-label::before {
    background: var(--gold-400);
}

.visit-content .section-title {
    color: var(--white);
}

.visit-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 40px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

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

.visit-detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 160, 23, 0.12);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.visit-detail strong {
    display: block;
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 2px;
}

.visit-detail span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
}

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

.visit-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-950);
    padding: 64px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    max-width: 300px;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
}

.footer-contact a {
    color: rgba(255,255,255,0.75);
    transition: color var(--transition);
}

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

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

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

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

/* ============================================
   SCROLL REVEAL (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) {
    .about-grid,
    .location-grid,
    .visit-card {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-img-secondary {
        right: 0;
        bottom: -30px;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .visit-img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 15, 30, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: 100px 20px 60px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust {
        gap: 20px;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img-secondary {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 16px;
    }
    
    .about-img-main img,
    .about-img-secondary img {
        width: 100%;
        height: auto;
    }
    
    .about-stats {
        gap: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .visit-actions {
        flex-direction: column;
    }
    
    .visit-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .visit-img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}
