/* ============================================
   Mibbot Rentals — Editorial Marketing Site
   Color Palette: Burgundy (#7B2D3B) + Blush (#F5E6E0)
   Fonts: Playfair Display + Inter
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5C1F2B;
    --burgundy-light: #9A3D4E;
    --blush: #F5E6E0;
    --blush-light: #FBF5F2;
    --blush-dark: #E8D0C8;
    --cream: #FDF8F6;
    --charcoal: #1A1A1A;
    --text: #2D2D2D;
    --text-light: #5A5A5A;
    --text-muted: #8A8A8A;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text);
    background-color: var(--cream);
    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 {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--charcoal);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-md);
}

.section-title em {
    font-style: italic;
    color: var(--burgundy);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.8;
}

.section-header--centered {
    text-align: center;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.btn--primary:hover {
    background-color: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 45, 59, 0.3);
}

.btn--ghost {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn--ghost:hover {
    background-color: var(--white);
    color: var(--burgundy);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(253, 248, 246, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    z-index: 1001;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background-color: var(--burgundy);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color var(--transition);
    position: relative;
}

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

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

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

.nav-link--cta {
    background-color: var(--burgundy);
    color: var(--white) !important;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-sm);
}

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

.nav-link--cta:hover {
    background-color: var(--burgundy-dark);
    color: var(--white) !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    width: 24px;
    height: 2px;
    background-color: var(--charcoal);
    transition: all var(--transition);
    display: block;
}

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

.mobile-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--cream);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

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

.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--charcoal);
    transition: color var(--transition);
}

.mobile-link:hover {
    color: var(--burgundy);
}

.mobile-link--cta {
    font-family: var(--font-sans);
    font-size: 1rem;
    background-color: var(--burgundy);
    color: var(--white);
    padding: 0.875rem 2.5rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    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(123, 45, 59, 0.75) 0%,
        rgba(92, 31, 43, 0.65) 50%,
        rgba(26, 26, 26, 0.55) 100%
    );
}

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

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blush);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-size: clamp(2.75rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: var(--space-md);
}

.hero-headline em {
    font-style: italic;
    color: var(--blush);
}

.hero-subhead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    margin: 0 auto var(--space-lg);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: bounce 2s ease-in-out infinite;
}

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

/* ============================================
   ROOMS SECTION
   ============================================ */
.rooms {
    padding: var(--space-2xl) 0;
    background-color: var(--white);
}

.section-header {
    margin-bottom: var(--space-lg);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.room-card {
    background-color: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(123, 45, 59, 0.12);
}

.room-card__image {
    height: 260px;
    overflow: hidden;
}

.room-card__image 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__image img {
    transform: scale(1.05);
}

.room-card__content {
    padding: var(--space-md);
}

.room-card__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.room-card__desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.room-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.room-card__features li {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--burgundy);
    background-color: var(--blush);
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-2xl) 0;
    background-color: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about__images {
    position: relative;
    height: 600px;
}

.about__img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 80%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

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

.about__img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 6px solid var(--cream);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

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

.about__content {
    padding: var(--space-md) 0;
}

.about__text {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: var(--space-md);
}

.about__stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--blush-dark);
}

.stat__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat__label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   AMENITIES SECTION
   ============================================ */
.amenities {
    padding: var(--space-2xl) 0;
    background-color: var(--white);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.amenity-card {
    padding: var(--space-md);
    background-color: var(--cream);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.amenity-card:hover {
    border-color: var(--blush-dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(123, 45, 59, 0.08);
}

.amenity-card__icon {
    width: 56px;
    height: 56px;
    background-color: var(--blush);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    margin-bottom: var(--space-sm);
    transition: all var(--transition);
}

.amenity-card:hover .amenity-card__icon {
    background-color: var(--burgundy);
    color: var(--white);
}

.amenity-card__title {
    font-size: 1.1875rem;
    margin-bottom: 0.5rem;
}

.amenity-card__desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   LOCATION SECTION
   ============================================ */
.location {
    padding: var(--space-2xl) 0;
    background-color: var(--cream);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.location__content {
    padding: var(--space-md) 0;
}

.location__text {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: var(--space-lg);
}

.location__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.location-detail {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.location-detail svg {
    color: var(--burgundy);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.location-detail strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.location-detail p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

.location-detail a {
    color: var(--burgundy);
    transition: color var(--transition);
}

.location-detail a:hover {
    color: var(--burgundy-dark);
    text-decoration: underline;
}

.location__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 450px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

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

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--space-2xl) 0;
    background-color: var(--burgundy);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background-color: rgba(245, 230, 224, 0.04);
    border-radius: 50%;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background-color: rgba(245, 230, 224, 0.03);
    border-radius: 50%;
}

.contact__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.contact__content {
    color: var(--white);
}

.contact__content .section-eyebrow {
    color: var(--blush);
}

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

.contact__content .section-title em {
    color: var(--blush);
}

.contact__text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.85;
    margin-bottom: var(--space-lg);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact__phone,
.contact__email {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.0625rem;
    color: var(--white);
    transition: all var(--transition);
}

.contact__phone:hover,
.contact__email:hover {
    color: var(--blush);
}

.contact__phone svg,
.contact__email svg {
    color: var(--blush);
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.contact-form__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--charcoal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text);
    background-color: var(--cream);
    border: 1.5px solid var(--blush-dark);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}

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

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-lg);
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.form-success.active {
    display: flex;
}

.form-success svg {
    color: #22C55E;
    margin-bottom: var(--space-sm);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.form-success p {
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand .logo {
    margin-bottom: var(--space-sm);
}

.footer__brand .logo-text {
    color: var(--white);
}

.footer__tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer__links h4,
.footer__contact h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer__links a {
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--blush);
}

.footer__contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.footer__contact a {
    color: var(--blush);
    transition: color var(--transition);
}

.footer__contact a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about__images {
        height: 450px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-headline {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about__images {
        height: 350px;
        order: -1;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: var(--space-lg) auto 0;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location__map {
        height: 300px;
        order: -1;
    }
    
    .contact__inner {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: var(--space-md);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .about__stats {
        gap: var(--space-md);
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero-content {
        padding-top: 60px;
    }
    
    .room-card__image {
        height: 200px;
    }
    
    .contact-form {
        padding: var(--space-sm);
    }
}
