/* ============================================================
   JK Maasai Hotel — Styles
   Brand: Black, Maasai Red, White. Clean, luxury hotel aesthetic.
   ============================================================ */

/* ------------------------------------------------------------
   BRAND COLORS (JK Maasai Hotel logo)
   ------------------------------------------------------------ */
:root {
    --color-primary: #000000;
    --color-accent: #E31B23;
    --color-background: #FFFFFF;
    --color-text: #1a1a1a;
    --color-text-muted: #4a4a4a;
    --color-border: #e5e5e5;
    --spacing-section: 4rem;
    --spacing-block: 1.5rem;
}

/* ------------------------------------------------------------
   CSS RESET
   Consistent baseline: no extra margin/padding from browser,
   and box-sizing so padding doesn't add to total width.
   ------------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

/* ------------------------------------------------------------
   BODY
   White background, readable text, generous line height.
   Luxury readability: dark text on white.
   ------------------------------------------------------------ */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-background);
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

/* Responsive images: prevent overflow, preserve aspect ratio */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ------------------------------------------------------------
   HERO / HEADER (#hero)
   Black background (or background image). Top bar: logo (left),
   nav (right). Hero content centered vertically and horizontally
   with a subtle dark overlay for readability.
   ------------------------------------------------------------ */
#hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 70vh;
    background-color: var(--color-primary);
    color: var(--color-background);
    overflow: hidden;
}

.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 200ms ease;
    z-index: 2;
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.hero-scroll-indicator__icon {
    position: relative;
    width: 18px;
    height: 18px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    animation: heroScrollBounce 1.6s ease-out infinite;
}

@keyframes heroScrollBounce {
    0% {
        transform: translateY(0) rotate(-45deg);
        opacity: 0.2;
    }

    40% {
        transform: translateY(4px) rotate(-45deg);
        opacity: 0.9;
    }

    100% {
        transform: translateY(0) rotate(-45deg);
        opacity: 0.4;
    }
}

/* Subtle dark overlay over hero (works with solid color or image) */
#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.65));
    pointer-events: none;
    z-index: 0;
}

/* Header bar: logo left, navigation right — Flexbox, minimal, premium */
.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2.5rem 1.5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    display: block;
    line-height: 0;
    padding-left: 0.75rem;
}

.logo {
    height: 110px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

/* Default: light logo on light backgrounds */
.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

/* Dark header (e.g. hero): show dark logo, hide light */
.header--dark .logo-light {
    display: none;
}

.header--dark .logo-dark {
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav a {
    color: var(--color-background);
    text-decoration: none;
    font-size: 0.9375rem;
    letter-spacing: 0.03em;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition:
        color 220ms ease,
        border-color 220ms ease;
}

.header-nav a:hover {
    color: var(--color-accent);
    text-decoration: none;
    border-color: var(--color-accent);
}

.header-nav a.is-active {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Hero content: centered welcome block below the header bar */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem 5rem;
    opacity: 0;
    transform: translateY(8px);
    animation: heroFadeInUp 1.5s ease-out forwards;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hero .hero-content h1 {
    margin-bottom: 0.75rem;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-background);
}

#hero .hero-content p {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    opacity: 0.9;
    color: var(--color-background);
}

#hero .hero-content p:last-of-type {
    margin-bottom: 0;
}

#hero .hero-content em {
    font-style: normal;
    font-size: 0.9rem;
    opacity: 0.75;
}

/* Section title accent: Maasai Red underline in hero */
#hero .hero-content h1::after {
    content: "";
    display: block;
    width: 4rem;
    height: 3px;
    background-color: var(--color-accent);
    margin: 1rem auto 0;
}

/* ------------------------------------------------------------
   MAIN HEADINGS (h1–h4)
   Black for all headings. Consistent spacing. Section titles
   get a subtle Maasai Red accent line.
   ------------------------------------------------------------ */
h1,
h2,
h3,
h4 {
    color: var(--color-primary);
}

h1 {
    color: inherit;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ------------------------------------------------------------
   SECTIONS (all main content blocks)
   Centered content, consistent vertical rhythm, limited width
   for readability on large screens. Clean, hotel-style layout.
   ------------------------------------------------------------ */
section {
    max-width: 960px;
    margin: 0 auto;
    padding: var(--spacing-section) 1.75rem;
}

/* Uniform section title alignment and spacing */
section>h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Optional subtle stripe for visual separation (stays minimal) */
#about {
    background-color: var(--color-background);
}

#rooms {
    background-color: #fafafa;
}

#facilities {
    background-color: var(--color-background);
}

#gallery {
    background-color: #fafafa;
}

#contact {
    background-color: var(--color-background);
}

/* ------------------------------------------------------------
   ROOMS SECTION — Grid and room cards
   White cards, subtle border/shadow, Maasai Red hover accent.
   ------------------------------------------------------------ */
#rooms .room-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-block);
    margin-top: 2rem;
}

#rooms .room-card {
    background-color: var(--color-background);
    padding: 2rem 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition:
        transform 220ms ease-out,
        border-color 220ms ease-out,
        box-shadow 220ms ease-out;
}

#rooms .room-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

#rooms .room-card h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

#rooms .room-card p {
    margin-bottom: 0;
    color: var(--color-text);
}

/* ------------------------------------------------------------
   GALLERY SECTION — Grid and items
   Neutral placeholders, clean borders. Accent on hover.
   ------------------------------------------------------------ */
#gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

#gallery .gallery-item {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #f5f5f5;
    border: none;
    border-radius: 6px;
    display: block;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition:
        transform 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#gallery .gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

/* ------------------------------------------------------------
   CONTACT SECTION — Two-column layout (details + map)
   ------------------------------------------------------------ */
#contact .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-block);
    margin-top: 2rem;
}

#contact .contact-details {
    background-color: var(--color-background);
    padding: 2rem 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

#contact .contact-details h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

#contact .contact-details .contact-item {
    margin-bottom: 1rem;
    color: var(--color-text);
}

#contact .contact-details .contact-item:last-child {
    margin-bottom: 0;
}

#contact .map-placeholder {
    background-color: #f5f5f5;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 1.5rem 1.5rem 1.25rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    min-height: 0;
}

#contact .map-placeholder h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.map-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    border-radius: 4px;
    overflow: hidden;
}

.map-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ------------------------------------------------------------
   BOOKING FORM
   Clean, minimalistic fields. Accent color interactions.
   ------------------------------------------------------------ */
.booking-form-container {
    background-color: var(--color-background);
    padding: 2rem 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.booking-form-container h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.form-instructions {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.booking-form .form-group {
    margin-bottom: 1.25rem;
}

.booking-form .form-row {
    display: flex;
    gap: 1.25rem;
}

.booking-form .form-row .form-group {
    flex: 1;
}

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

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="date"],
.booking-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    background-color: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

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

.booking-form input:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: var(--color-background);
    box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.1);
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
    color: #a0a0a0;
}

.btn-submit {
    display: inline-block;
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.btn-submit:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(227, 27, 35, 0.2);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ------------------------------------------------------------
   PARAGRAPHS
   Generous spacing, readable line length. Dark text on white.
   ------------------------------------------------------------ */
p {
    margin-bottom: 1.25rem;
    color: var(--color-text);
}

p:last-child {
    margin-bottom: 0;
}

section p {
    max-width: 65ch;
}

/* ------------------------------------------------------------
   ARTICLES (generic fallback)
   ------------------------------------------------------------ */
article {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

article:last-child {
    margin-bottom: 0;
}

/* ------------------------------------------------------------
   LISTS (facilities)
   Maasai Red bullet accent. Generous line spacing.
   ------------------------------------------------------------ */
ul {
    list-style: none;
    margin-bottom: 1.25rem;
}

ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text);
}

ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* ------------------------------------------------------------
   LINKS
   Maasai Red accent. Underline on hover.
   ------------------------------------------------------------ */
a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 220ms ease, text-decoration-color 220ms ease;
}

a:hover {
    text-decoration: underline;
}

/* ------------------------------------------------------------
   FOOTER (Premium Hotel Style)
   Dark red background, gold accents, 4-column layout.
   ------------------------------------------------------------ */
#footer {
    background-color: #0D0D0D;
    color: #ffffff;
    padding: 0 0 2rem 0;
    margin-top: 4rem;
    position: relative;
    border-top: 3px solid #E31B23;
}

/* Newsletter Subscription Bar */
.footer-newsletter {
    background-color: #242424;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(250, 0, 0, 0.3);
}

.footer-newsletter-inner {
    max-width: 700px;
    margin: 0 auto;
}

.footer-newsletter h3 {
    color: #E31B23;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-newsletter p {
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 4px;
    transition: all 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transition: color 300ms ease;
}

.newsletter-form input[type="email"]:hover {
    border-color: rgba(250, 0, 0, 0.3); /* Gold border hover focus */
    background-color: rgba(255, 255, 255, 0.12);
}

.newsletter-form input[type="email"]:focus {
    border-color: #E31B23; /* Luxury Gold focus */
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.newsletter-form button {
    padding: 0.9rem 1.8rem;
    background-color: #E31B23; /* Luxury Gold */
    color: #ffffff;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.newsletter-form button:hover {
    background-color: #E31B23;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(212, 175, 55, 0.4);
}

.newsletter-form button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(212, 175, 55, 0.4);
}

/* Premium Validation Status UI */
.newsletter-status {
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    font-size: 0.95rem;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: statusFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 1.2rem auto 0;
    max-width: 500px;
}

.newsletter-status.success {
    background-color: rgba(40, 167, 69, 0.15);
    color: #4bd865;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.newsletter-status.error {
    background-color: rgba(227, 27, 35, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(227, 27, 35, 0.3);
}

@keyframes statusFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4-Column Footer Main Content */
.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.footer-col h4 {
    color: #E31B23;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(250, 0, 0, 0.3);
    display: inline-block;
}

.footer-col p, .footer-col ul, .footer-col li, .footer-col a {
    color: #ccc;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-col a {
    text-decoration: none;
    transition: color 300ms ease, transform 300ms ease;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    padding: 0 0 0.8rem 0;
    margin: 0;
}

.footer-col ul li::before {
    display: none;
}

.footer-col a:hover {
    color: #E31B23;
    transform: translateX(4px);
}

.footer-about-text {
    margin-bottom: 1.5rem !important;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-info svg {
    color: #E31B23;
    flex-shrink: 0;
    margin-top: 4px;
}

/* Footer Bottom / Copyright */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
    border-top: 1px solid rgba(250, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

/* Social Icons */
.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 300ms ease;
}

.footer-social a:hover {
    background-color: #E31B23;
    border-color: #E31B23;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* Footer Responsive Stack */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-main {
        grid-template-columns: 1fr;
        padding-top: 3rem;
        gap: 2.5rem;
        text-align: center;
    }
    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-contact-info li {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .footer-social {
        justify-content: center;
        width: 100%;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form button {
        width: 100%;
    }
}

/* ------------------------------------------------------------
   FLOATING WHATSAPP BOOKING BUTTON
   Bottom-right, WhatsApp green, clean and accessible.
   ------------------------------------------------------------ */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: #25D366;
    color: #fff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    color: #fff;
    text-decoration: none;
}

.whatsapp-float:focus {
    outline: 2px solid #25D366;
    outline-offset: 2px;
}

.whatsapp-float__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-float__label {
    white-space: nowrap;
}

/* ------------------------------------------------------------
   MOBILE RESPONSIVENESS
   Generous spacing preserved where possible; layout stacks.
   ------------------------------------------------------------ */
@media (max-width: 600px) {
    .hero-content {
        padding: 4rem 1.25rem;
        /* Slightly shorter motion on small screens */
        animation-duration: 1.2s;
    }

    .whatsapp-float {
        bottom: 1.25rem;
        right: 1rem;
        padding: 0.65rem 1rem;
        font-size: 0.875rem;
    }

    .whatsapp-float__icon svg {
        width: 22px;
        height: 22px;
    }

    .header-bar {
        padding: 1rem 1.25rem 1rem 1rem;
    }

    .logo {
        height: 72px;
    }

    .header-nav {
        gap: 1.5rem;
    }

    .header-nav a {
        font-size: 0.875rem;
        padding: 0.2rem 0;
    }

    #hero .hero-content h1 {
        font-size: 1.875rem;
    }

    #hero .hero-content p {
        font-size: 1rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    #rooms .room-cards {
        grid-template-columns: 1fr;
    }

    #rooms .room-card {
        padding: 1.5rem 1.25rem;
    }

    #gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #contact .contact-layout {
        grid-template-columns: 1fr;
    }

    #contact .contact-details,
    .booking-form-container {
        padding: 1.5rem 1.25rem;
    }

    .booking-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    article {
        padding: 1.5rem 1.25rem;
        margin-bottom: 2rem;
    }

    #footer {
        padding: 2.5rem 1.25rem;
    }
}

@media (max-width: 380px) {
    #gallery .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------
   SCROLL REVEAL ANIMATIONS
   ------------------------------------------------------------ */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1200ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 1200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------------------------
   GALLERY LIGHTBOX
   ------------------------------------------------------------ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
    padding: 2rem;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 300ms ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    z-index: 10001;
    user-select: none;
    transition: color 200ms ease;
}

.lightbox-close:hover {
    color: var(--color-accent);
}

@media (max-width: 600px) {
    .lightbox {
        padding: 1rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1.25rem;
        font-size: 2rem;
    }
}