/* ============================================
   Arthur Court - Booking Website Styles
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #2C5F6E;
    --primary-light: #3D7A8C;
    --primary-dark: #1F4652;
    --secondary: #D4A574;
    --secondary-light: #E5C4A3;
    --accent: #E8D5C4;
    --dark: #1A1A1A;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --border: #E5E5E5;
    --success: #28A745;
    --error: #DC3545;
    --warning: #FFC107;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    --container-padding: 20px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.55s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows (soft, layered, tinted with deep teal for cohesion) */
    --shadow-sm: 0 1px 2px rgba(31,70,82,0.05), 0 2px 8px rgba(31,70,82,0.06);
    --shadow-md: 0 2px 6px rgba(31,70,82,0.05), 0 10px 28px rgba(31,70,82,0.09);
    --shadow-lg: 0 4px 12px rgba(31,70,82,0.06), 0 20px 50px rgba(31,70,82,0.13);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* 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);
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section */
.section {
    padding: var(--section-padding) 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
}

.section-tag::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--secondary);
    vertical-align: middle;
    margin-left: 12px;
    opacity: 0.6;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section-title.center {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    text-align: center;
    gap: 8px;
}

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

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

.btn-primary:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

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

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

.btn-full {
    width: 100%;
}

.btn-hero {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    transition: color var(--transition-normal);
}

.logo-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    transition: color var(--transition-normal);
}

.navbar.scrolled .logo-text {
    color: var(--dark);
}

.navbar.scrolled .logo-tagline {
    color: var(--text-light);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    transition: color var(--transition-normal);
    position: relative;
}

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

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

.navbar.scrolled .nav-links a {
    color: var(--text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-normal);
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--text);
        font-size: 1.1rem;
    }

    .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;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(15, 40, 48, 0.55) 0%,
            rgba(15, 40, 48, 0.22) 42%,
            rgba(15, 40, 48, 0.62) 100%
        ),
        radial-gradient(
            120% 80% at 50% 40%,
            rgba(0, 0, 0, 0) 55%,
            rgba(15, 40, 48, 0.35) 100%
        );
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    padding: 20px;
    max-width: 800px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 6vw, 4.75rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin-bottom: 24px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.28);
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-features {
        gap: 15px 25px;
        padding: 0 20px;
    }

    .hero-feature span {
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .btn-hero {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background var(--transition-normal), border-color var(--transition-normal);
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-feature svg {
    width: 24px;
    height: 24px;
    color: var(--secondary);
}

.hero-feature span {
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    opacity: 0.8;
}

.hero-scroll span {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.5; top: 16px; }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.highlight h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.highlight p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.badge-text {
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-badge {
        right: 10px;
        bottom: -10px;
        width: 80px;
        height: 80px;
    }

    .badge-number {
        font-size: 2rem;
    }
}

/* Gallery Section */
.gallery {
    background: var(--light-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 500;
    padding: 10px 20px;
    border: 2px solid var(--white);
    border-radius: var(--radius-sm);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: var(--white);
    font-size: 2rem;
    padding: 10px 20px;
    transition: all var(--transition-normal);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--secondary);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 0.9rem;
}

/* Amenities Section */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.amenity-category {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: box-shadow var(--transition-normal), transform var(--transition-normal), border-color var(--transition-normal);
}

.amenity-category:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.amenity-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.amenity-category h3 svg {
    width: 24px;
    height: 24px;
}

.amenity-category ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.amenity-category ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
}

@media (max-width: 992px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .amenities-grid {
        grid-template-columns: 1fr;
    }
}

/* Booking Section */
.booking {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.booking .section-tag,
.booking .section-title,
.booking .section-subtitle {
    color: var(--white);
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.booking-calendar {
    padding: 40px;
    background: var(--light-gray);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.calendar-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--dark);
}

.calendar-nav {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text);
    transition: all var(--transition-normal);
}

.calendar-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 10px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.calendar-day:hover:not(.disabled):not(.past) {
    background: var(--primary-light);
    color: var(--white);
}

.calendar-day.selected {
    background: var(--primary);
    color: var(--white);
}

.calendar-day.in-range {
    background: var(--accent);
    color: var(--primary-dark);
}

.calendar-day.disabled,
.calendar-day.past {
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

.calendar-day.today {
    border: 2px solid var(--secondary);
}

.calendar-legend {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-sm);
}

.legend-dot.available {
    background: var(--white);
    border: 1px solid var(--border);
}

.legend-dot.selected {
    background: var(--primary);
}

.legend-dot.unavailable {
    background: var(--text-muted);
    opacity: 0.5;
}

.booking-form-container {
    padding: 40px;
}

.booking-summary h3,
.guest-form h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 25px;
}

.summary-dates {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

.date-field {
    flex: 1;
}

.date-field label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.date-field span {
    display: block;
    font-weight: 600;
    color: var(--dark);
}

.date-separator {
    color: var(--text-muted);
}

.date-separator svg {
    width: 20px;
    height: 20px;
}

.guests-selector {
    margin-bottom: 20px;
}

.guests-selector label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.guests-selector select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--text);
    background: var(--white);
    cursor: pointer;
}

.sofa-bed-option {
    margin-bottom: 25px;
}

.sofa-bed-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
}

.sofa-bed-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.pricing-breakdown {
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text);
}

.price-row.total {
    border-top: 1px solid var(--border);
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark);
}

/* Guest Form */
.guest-form {
    color: var(--text);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--text);
    transition: border-color var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    margin-top: 2px;
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: underline;
}

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

@media (max-width: 992px) {
    .booking-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .booking-calendar,
    .booking-form-container {
        padding: 25px;
    }
}

/* House Rules Section */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.rule-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal);
}

.rule-card:hover {
    box-shadow: var(--shadow-md);
}

.rule-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.rule-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.rule-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.rule-card ul li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.rule-card ul li strong {
    color: var(--text);
}

@media (max-width: 992px) {
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .rules-grid {
        grid-template-columns: 1fr;
    }
}

/* Location Section */
.location {
    background: var(--light-gray);
}

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

.location-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.location-info > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.nearby-places h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.nearby-places ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.nearby-places ul li:last-child {
    border-bottom: none;
}

.nearby-places ul li svg {
    width: 18px;
    height: 18px;
    color: var(--secondary);
    flex-shrink: 0;
}

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

.nearby-places ul li strong {
    color: var(--text);
}

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

.location-map iframe {
    display: block;
}

@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
}

/* Reviews Section */
.reviews-stats {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    margin-bottom: 50px;
    padding: 40px;
    background: var(--light-gray);
    border-radius: var(--radius-lg);
}

.overall-rating {
    text-align: center;
}

.rating-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 10px 0;
}

.rating-stars svg {
    width: 20px;
    height: 20px;
    color: var(--secondary);
}

.rating-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.rating-categories {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.rating-category {
    display: grid;
    grid-template-columns: 120px 1fr 40px;
    align-items: center;
    gap: 15px;
}

.rating-category span:first-child {
    font-size: 0.9rem;
    color: var(--text);
}

.rating-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
}

.rating-category span:last-child {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    text-align: right;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 25px;
    transition: transform var(--transition-normal);
}

.review-card {
    flex: 0 0 calc(33.333% - 17px);
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary);
}

.reviewer-info {
    flex: 1;
}

.reviewer-info h4 {
    font-size: 1rem;
    color: var(--dark);
}

.reviewer-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--dark);
}

.review-rating svg {
    width: 16px;
    height: 16px;
    color: var(--secondary);
}

.review-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.review-nav-btn {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text);
    transition: all var(--transition-normal);
}

.review-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

@media (max-width: 992px) {
    .reviews-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .review-card {
        flex: 0 0 calc(50% - 13px);
    }
}

@media (max-width: 576px) {
    .review-card {
        flex: 0 0 100%;
    }
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    text-align: left;
    transition: color var(--transition-normal);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: box-shadow var(--transition-normal);
}

.contact-method:hover {
    box-shadow: var(--shadow-sm);
}

.contact-method svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

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

.contact-method strong {
    display: block;
    color: var(--dark);
}

.response-time {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--accent);
    border-radius: var(--radius-md);
}

.response-time svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.response-time span {
    font-size: 0.9rem;
    color: var(--text);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

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

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 20px;
    line-height: 1.7;
}

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

.footer-logo .logo-tagline {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

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

.footer-links ul li a:hover {
    color: var(--secondary);
}

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

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

.footer-legal {
    display: flex;
    gap: 25px;
}

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

.footer-legal a:hover {
    color: var(--secondary);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: 20px;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 500px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: color var(--transition-normal);
}

.modal-close:hover {
    color: var(--dark);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.modal-icon.success {
    background: rgba(40, 167, 69, 0.1);
}

.modal-icon svg {
    width: 40px;
    height: 40px;
    color: var(--success);
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.modal-content .btn {
    margin-top: 20px;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* ============================================
   Polish Layer (2026 refinement pass)
   ============================================ */

/* Anchor offset so the sticky nav never covers section headings */
section[id] {
    scroll-margin-top: 90px;
}

/* Confident, consistent buttons */
.btn {
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-sm);
}
.btn-primary {
    box-shadow: 0 6px 18px rgba(31, 70, 82, 0.22);
}
.btn-primary:hover {
    box-shadow: 0 10px 26px rgba(31, 70, 82, 0.28);
}

/* Center the eyebrow tag in centered sections so its accent line reads as intentional */
.gallery .section-tag,
.amenities .section-tag,
.house-rules .section-tag,
.location .section-tag,
.faq .section-tag {
    display: block;
    text-align: center;
}

/* Cohesive hover-lift on content cards */
.rule-card,
.highlight {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}
.rule-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Highlight icon gets a touch of warmth on hover of its row */
.highlight:hover .highlight-icon {
    background: var(--secondary-light);
}

/* FAQ items: subtle elevation instead of a jump (they expand on click) */
.faq-item {
    transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}
.faq-item:hover {
    box-shadow: var(--shadow-md);
}

/* Refined image framing */
.about-image img {
    transition: transform var(--transition-slow), box-shadow var(--transition-normal);
}
.about-image:hover img {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(31, 70, 82, 0.18);
}

/* Visible, on-brand focus states for keyboard users */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.faq-question:focus-visible,
.nav-links a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Staggered scroll-reveal (enabled by JS; content stays visible without JS) */
.reveal-enabled .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.reveal-enabled .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal-enabled .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .gallery-item:hover img,
    .about-image:hover img,
    .amenity-category:hover,
    .rule-card:hover {
        transform: none !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-scroll,
    .lightbox,
    .modal,
    .reviews-nav,
    .calendar-nav,
    .btn {
        display: none !important;
    }

    .section {
        padding: 40px 0;
        break-inside: avoid;
    }
}
