/* ============================================
   Extended Stay Deluxe Houston — Styles
   Charcoal + Coral | Clean Minimalist
   ============================================ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --charcoal-900: #1a1d23;
    --charcoal-800: #2d3139;
    --charcoal-700: #374151;
    --charcoal-600: #4b5563;
    --charcoal-500: #6b7280;
    --charcoal-400: #9ca3af;
    --charcoal-100: #f3f4f6;
    --charcoal-50: #f9fafb;
    --white: #ffffff;
    --coral-600: #e8556d;
    --coral-500: #F97583;
    --coral-400: #fb9a9f;
    --coral-300: #fdd2d6;
    --coral-100: #fff1f2;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--charcoal-700);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--charcoal-800);
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.nav-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--charcoal-800);
    color: var(--coral-500);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px;
}

.nav-logo-text {
    display: none;
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--charcoal-600);
    letter-spacing: 0.01em;
    position: relative;
}

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

.nav-link:hover {
    color: var(--charcoal-800);
}

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

.nav-link--cta {
    background: var(--charcoal-800);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

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

.nav-link--cta:hover {
    background: var(--coral-500);
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--charcoal-700);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.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: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal-700);
    padding: 12px 24px;
    letter-spacing: -0.01em;
    transition: var(--transition);
}

.mobile-menu-link:hover {
    color: var(--coral-500);
}

.mobile-menu-link--cta {
    margin-top: 16px;
    background: var(--charcoal-800);
    color: var(--white) !important;
    padding: 14px 36px;
    border-radius: 6px;
    font-weight: 500;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/37750394/pexels-photo-37750394.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    transform: scale(1.02);
    transition: transform 8s ease-out;
}

.hero.loaded .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 29, 35, 0.82) 0%,
        rgba(26, 29, 35, 0.65) 50%,
        rgba(26, 29, 35, 0.78) 100%
    );
}

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

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--coral-400);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: italic;
    color: var(--coral-400);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 44px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.01em;
}

.hero-stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

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

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--coral-500);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--coral-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 117, 131, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

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

.btn--dark {
    background: var(--charcoal-800);
    color: var(--white);
}

.btn--dark:hover {
    background: var(--charcoal-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 120px 0;
}

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

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--charcoal-800);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.section-line {
    width: 48px;
    height: 1.5px;
    background: var(--coral-500);
    margin: 0 auto;
}

/* ============================================
   Rooms
   ============================================ */
.rooms {
    background: var(--charcoal-50);
}

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

.room-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.room-card-img {
    overflow: hidden;
    aspect-ratio: 3/2;
}

.room-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.room-card-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--charcoal-800);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.room-card-desc {
    font-size: 0.9rem;
    color: var(--charcoal-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.room-card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--charcoal-600);
    font-weight: 400;
}

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

/* ============================================
   Amenities
   ============================================ */
.amenities {
    background: var(--white);
}

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

.amenity-item {
    text-align: left;
}

.amenity-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--coral-100);
    color: var(--coral-600);
    margin-bottom: 20px;
    transition: var(--transition);
}

.amenity-item:hover .amenity-icon {
    background: var(--coral-500);
    color: var(--white);
    transform: translateY(-2px);
}

.amenity-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal-800);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.amenity-desc {
    font-size: 0.875rem;
    color: var(--charcoal-500);
    line-height: 1.7;
}

/* ============================================
   Location
   ============================================ */
.location {
    background: var(--charcoal-50);
}

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

.location-content {
    max-width: 520px;
}

.location-body {
    font-size: 0.95rem;
    color: var(--charcoal-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.location-landmarks {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.landmark {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--white);
    transition: var(--transition);
}

.landmark:hover {
    background: var(--coral-100);
}

.landmark-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal-700);
}

.landmark-dist {
    font-size: 0.8rem;
    color: var(--charcoal-400);
    font-weight: 400;
}

.location-map {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

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

/* ============================================
   Stay / Why Extended Stay
   ============================================ */
.stay {
    background: var(--white);
}

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

.stay-images {
    position: relative;
}

.stay-img-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

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

.stay-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -32px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    border: 4px solid var(--white);
    aspect-ratio: 4/3;
    max-width: 260px;
}

.stay-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stay-content {
    max-width: 480px;
}

.stay-body {
    font-size: 0.95rem;
    color: var(--charcoal-600);
    line-height: 1.8;
    margin-bottom: 44px;
}

.stay-body em {
    color: var(--charcoal-800);
    font-style: italic;
    font-family: var(--font-serif);
}

.stay-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.stay-feature-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--coral-500);
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.stay-feature-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal-800);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.stay-feature-desc {
    font-size: 0.875rem;
    color: var(--charcoal-500);
    line-height: 1.7;
}

/* ============================================
   CTA
   ============================================ */
.cta {
    background: var(--charcoal-800);
    padding: 120px 0;
}

.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta .section-eyebrow {
    color: var(--coral-400);
}

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

.cta-body {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta .btn--primary:hover {
    background: var(--coral-400);
    color: var(--charcoal-800);
}

.cta-address {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.cta-address svg {
    color: var(--coral-500);
    flex-shrink: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--charcoal-900);
    padding: 72px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand .nav-logo-mark {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
}

.footer-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.01em;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    max-width: 280px;
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-heading {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 20px;
}

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

.footer-link:hover {
    color: var(--coral-400);
    padding-left: 4px;
}

.footer-address {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

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

/* ============================================
   Reveal Animations
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive
   ============================================ */
@media (min-width: 640px) {
    .nav-logo-text {
        display: inline;
    }
}

@media (max-width: 1024px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 40px;
    }
    
    .stay-layout {
        gap: 48px;
    }
    
    .stay-img-secondary {
        right: -16px;
        bottom: -20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-content {
        padding: 100px 20px 60px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-divider {
        display: none;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .location-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .location-content {
        max-width: 100%;
    }
    
    .stay-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .stay-images {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .stay-content {
        max-width: 100%;
    }
    
    .stay-img-secondary {
        right: 0;
        bottom: -16px;
        max-width: 200px;
    }
    
    .cta {
        padding: 80px 0;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stay-img-secondary {
        display: none;
    }
}
