/* ===================================
   Stagecoach Motel - Custom Styles
   Forest Green & Off-White Theme
   =================================== */

/* CSS Custom Properties */
:root {
    --color-primary: #1a4d2e;
    --color-primary-light: #2d6a4f;
    --color-primary-dark: #0f3319;
    --color-accent: #d4a574;
    --color-accent-light: #e8c4a0;
    --color-bg: #faf9f6;
    --color-bg-warm: #f5f0e8;
    --color-text: #1a1a1a;
    --color-text-light: #4a4a4a;
    --color-text-muted: #6b6b6b;
    --color-white: #ffffff;
    --color-border: #e5e0d8;
    
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(26, 77, 46, 0.08);
    --shadow-md: 0 8px 30px rgba(26, 77, 46, 0.12);
    --shadow-lg: 0 20px 60px rgba(26, 77, 46, 0.15);
    --shadow-card: 0 4px 20px rgba(26, 77, 46, 0.1);
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-full: 100px;
    
    --transition: all 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;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

p {
    color: var(--color-text-light);
    margin-bottom: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.0625rem;
}

.btn-full {
    width: 100%;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(26, 77, 46, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(26, 77, 46, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-primary);
}

.logo svg {
    color: var(--color-primary);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-warm) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

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

.hero h1 {
    color: var(--color-text);
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    color: var(--color-text-light);
}

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

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.main-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.main-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.card-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Floating Cards */
.float-card {
    position: absolute;
    background: var(--color-white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.float-card .icon-circle {
    width: 48px;
    height: 48px;
    background: rgba(26, 77, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.float-card strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.float-card span {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.float-1 {
    top: 40px;
    right: -20px;
    animation-delay: 0s;
}

.float-2 {
    bottom: 60px;
    left: -30px;
    animation-delay: 3s;
}

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

/* About Section */
.about {
    padding: 120px 0;
    background: var(--color-white);
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 28px 32px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.875rem;
    opacity: 0.9;
}

.about-content h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
}

.feature-list {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--color-text);
}

.feature-list svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Amenities Section */
.amenities {
    padding: 120px 0;
    background: var(--color-bg-warm);
}

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

.amenity-card {
    background: var(--color-white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.amenity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.amenity-icon {
    width: 64px;
    height: 64px;
    background: rgba(26, 77, 46, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.amenity-card h4 {
    color: var(--color-text);
    margin-bottom: 12px;
}

.amenity-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Location Section */
.location {
    padding: 120px 0;
    background: var(--color-white);
}

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

.location-content {
    padding: 40px;
    background: var(--color-bg-warm);
    border-radius: var(--radius-lg);
}

.location-content h2 {
    margin-bottom: 20px;
}

.location-content p {
    margin-bottom: 32px;
}

.location-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.loc-feature {
    text-align: center;
    padding: 24px 16px;
    background: var(--color-white);
    border-radius: var(--radius-sm);
}

.loc-feature .loc-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.loc-feature .loc-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.nearby-places h4 {
    color: var(--color-text);
    margin-bottom: 16px;
}

.nearby-places ul {
    display: grid;
    gap: 12px;
}

.nearby-places li {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 500px;
}

.map-container {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.contact-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-content {
    padding: 60px;
    background: var(--color-bg-warm);
}

.contact-content h2 {
    margin-bottom: 16px;
}

.contact-content p {
    margin-bottom: 40px;
}

.contact-info {
    display: grid;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: rgba(26, 77, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 4px;
}

.contact-item span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Contact Form */
.contact-form-wrapper {
    padding: 60px;
}

.contact-form h3 {
    margin-bottom: 24px;
    color: var(--color-text);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(26, 77, 46, 0.1);
}

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

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

.form-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 16px;
    text-align: center;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(26, 77, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--color-primary);
}

.form-success h3 {
    margin-bottom: 12px;
}

.form-success p {
    margin-bottom: 24px;
}

/* Footer */
.footer {
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: 80px 0 40px;
}

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

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

.footer-brand .logo svg {
    color: var(--color-white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--color-accent-light);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Reveal Animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .location-grid,
    .contact-card {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        height: 400px;
        order: -1;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .float-card {
        display: none;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .location-features {
        grid-template-columns: 1fr;
    }
    
    .contact-content,
    .contact-form-wrapper {
        padding: 40px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .experience-badge {
        right: 16px;
        bottom: -20px;
        padding: 20px 24px;
    }
    
    .experience-badge .number {
        font-size: 2rem;
    }
}
