/* ================================
   LaatuTek Oy - Modern Design System
   Tailwind CSS compatible
   ================================ */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: white;
    color: #1e293b;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    margin-top: 0;
}
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #475569;
}

/* ============ HEADER ============ */
header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 50;
}

header h1 {
    font-size: 1.25rem;
    font-weight: 700;
}

header h1 a {
    color: #1e293b;
    text-decoration: none;
}

header h1 a:hover {
    opacity: 0.8;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
}

nav a:hover {
    color: #0f172a;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1e293b;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
    }

    nav.block {
        display: block;
    }
}

/* ============ MAIN CONTENT ============ */
main {
    min-height: 60vh;
}

/* Image containers with hover effect */
.img-container {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: #f1f5f9;
    position: relative;
}

.img-container:hover {
    transform: translateY(-4px);
}

.img-fill {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 768px) {
    .img-container {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 768px) {
    .img-container {
        aspect-ratio: 3 / 2;
    }
}

/* Location badge overlay */
.location-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Space cards */
.space-card {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.space-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Featured cards grid */
.featured-short-term-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.featured-short-term-card {
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.featured-short-term-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.featured-short-term-card h4 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.featured-short-term-card a {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
}

.featured-short-term-card a:hover {
    text-decoration: underline;
}

/* ============ BUTTONS ============ */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #1e293b;
    color: white;
    font-weight: 600;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: transparent;
    color: #0f172a;
    font-weight: 600;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    border-color: #0f172a;
    background: #f1f5f9;
}

.btn-mini {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #0f172a;
    color: white;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.btn-mini:hover {
    background: #1e293b;
}

.btn-submit {
    background: #1b8755;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    margin-top: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #146a43;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* ============ GALLERY & ROOMS ============ */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Room cards grid */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.room-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.room-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.room-card img {
    width: 100%;
    height: auto;
    display: block;
}

.room-meta {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.room-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #1e293b;
}

.room-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.badge-area {
    background: #0077cc;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.room-code {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.room-description {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
    margin-top: 0.5rem;
    flex: 1;
}

.room-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.room-gallery-thumbs a {
    display: block;
    width: 50px;
    height: 50px;
    border: 1px solid #e2e8f0;
    border-radius: 0.25rem;
    overflow: hidden;
}

.room-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.room-gallery-thumbs img:hover {
    transform: scale(1.1);
}

.rented-banner {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%) rotate(-18deg);
    background: linear-gradient(135deg, #d00000, #a00000);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    border-radius: 0.25rem;
    pointer-events: none;
    text-align: center;
    user-select: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.img-rented {
    filter: grayscale(100%);
    display: block;
}

.room-card.rented .room-figure img {
    filter: grayscale(100%) !important;
}

.room-figure {
    position: relative;
}

/* Floor sections */
.floor-section {
    margin-bottom: 3rem;
}

.floor-section h3 {
    margin-bottom: 1rem;
    padding-left: 0.75rem;
    border-left: 4px solid #0077cc;
}

/* ============ FORMS ============ */
.reservation-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

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

.form-note {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0.5rem 0 1rem;
}

.form-status {
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.form-status.success {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.form-status.error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #7f1d1d;
}

/* ============ PRICING TABLE ============ */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-table th {
    background: #f1f5f9;
    font-weight: 600;
    color: #1e293b;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover {
    background: #f8fafc;
}

/* ============ CONTACT & LOCATION ============ */
.contact-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    max-width: 600px;
}

.contact-info p {
    margin: 0.75rem 0;
}

.contact-info a {
    color: #0077cc;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ============ FOOTER ============ */
footer {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    margin-top: 4rem;
    padding: 2rem;
    text-align: center;
}

footer p {
    color: #64748b;
    margin: 0;
    max-width: 1280px;
    margin: 0 auto;
    font-size: 0.9rem;
}

/* ============ UTILITIES ============ */
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #f8fafc;
        border-top: 1px solid #e2e8f0;
        padding: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a {
        display: block;
        padding: 0.75rem 0;
    }

    main {
        padding: 1rem;
    }

    .img-container {
        aspect-ratio: 3 / 2;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .rooms-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .featured-short-term-grid {
        grid-template-columns: 1fr;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.1rem; }

    .btn-primary,
    .btn-secondary,
    .btn-mini {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ============ LIGHTBOX OVERRIDES ============ */
#lightbox {
    background: rgba(0, 0, 0, 0.95);
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* ============ ADDITIONAL COMPONENTS (PAGE-SPECIFIC STYLES) ============ */

/* Lead text - larger intro paragraph */
.lead {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
    line-height: 1.6;
}

/* Intro section */
.intro-section {
    margin: 1.5rem 0 2rem 0;
}

.intro-section p {
    margin-bottom: 1rem;
}

.intro-section .lead {
    margin-top: 0;
}

/* Highlight list - pill-style badges */
.highlight-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.highlight-list li {
    background: #f0f4f7;
    color: #0f172a;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Feature list - bulleted features */
.feature-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.feature-list li {
    margin: 0.75rem 0;
    line-height: 1.6;
}

.feature-list li strong {
    font-weight: 700;
    color: #1e293b;
}

/* Sauna/Space features section */
.sauna-features {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.sauna-features h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

/* Space/pricing table */
.space-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    font-size: 0.95rem;
}

.space-table th,
.space-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.space-table th {
    background: #f1f5f9;
    font-weight: 600;
    color: #1e293b;
}

.space-table tr:last-child td {
    border-bottom: none;
}

.space-table tbody tr:hover {
    background: #e2e8f0;
    cursor: pointer;
}

/* Context info boxes */
.context-info {
    font-size: 0.95rem;
    color: #555;
    margin: 1.5rem 0;
    padding: 1rem;
    font-style: italic;
    background-color: #f5f5f5;
    border-left: 4px solid #cbd5e1;
    border-radius: 0.25rem;
}

.pricing-callout {
    font-size: 0.95rem;
    color: #0055aa;
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #eef7ff;
    border-left: 4px solid #0077cc;
    border-radius: 0.25rem;
    font-weight: 500;
}

/* Use cases text */
.use-cases {
    font-size: 0.95rem;
    margin: 1.5rem 0;
}

/* Detail gallery */
.detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.detail-thumb {
    margin: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.detail-thumb img {
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
    object-fit: cover;
}

.detail-thumb figcaption {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-align: center;
    color: #0077cc;
    font-weight: 500;
}

/* CTA text */
.cta {
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #1e293b;
}

.cta a {
    color: #0077cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cta a:hover {
    color: #005fa3;
    text-decoration: underline;
}

/* Button CTA */
.btn-cta {
    display: inline-block;
    background: #0077cc;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background: #005fa3;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Sauna FAQ details */
.sauna-faq {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1.5rem 0;
}

.sauna-faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 0;
    user-select: none;
}

.sauna-faq summary:hover {
    color: #0077cc;
}

.sauna-faq p {
    font-size: 0.9rem;
    margin: 1rem 0 0;
    color: #475569;
}

/* Sauna gallery */
.sauna-gallery {
    margin: 2rem 0;
}

.sauna-gallery h3 {
    margin-bottom: 1.5rem;
}

/* Sauna summary section */
.sauna-summary {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.sauna-summary h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

/* Space extras section */
/* Additional space sections */
.space-extras {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.space-extras h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

/* Map styling */
.map {
    width: 100%;
    margin: 1.5rem 0;
}

.map iframe {
    display: block;
}

/* Calendar frame styling */
.calendar-frame-wrap {
    position: relative;
    width: 100%;
    margin: 1.5rem 0;
    background: white;
    border-radius: 0.375rem;
    overflow: hidden;
    min-height: 600px;
}

.calendar-frame {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: none;
    display: block;
}

/* Booking request section */
.space-request {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

/* Content sections - unified styling */
.content-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.content-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

/* Sauna features - use content-section */
.sauna-features {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.sauna-features h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

/* Gallery section - consistent with other sections */
.sauna-gallery {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.sauna-gallery h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

/* Content sections - unified styling */
.content-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.content-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.space-calendar {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.space-calendar h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

/* Pricing section */
.space-pricing {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.space-pricing h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.space-pricing > p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

/* Access/location section */
.space-access {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

.space-access h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

/* Booking status styling */
.booking-status-badge {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 2rem 0;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.badge-available {
    display: inline-block;
    background: #1b8755;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
}

.badge-coming-soon {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
}

.booking-status-text {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Form fieldsets and styling */
.form-fieldset {
    border: none;
    padding: 1.5rem 0;
    margin-bottom: 0;
    border-bottom: 1px solid #e2e8f0;
}

.form-fieldset:first-of-type {
    padding-top: 0;
}

.form-fieldset:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.form-legend {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    padding: 0 0 0.75rem;
    margin-bottom: 1rem;
    display: block;
}

.form-intro {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 1.5rem;
    font-style: italic;
    line-height: 1.6;
}

/* Form labels and inputs */
label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

label:first-of-type {
    margin-top: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    background: white;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1e293b;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #0077cc;
    box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

.input-hint {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0.5rem 0 0;
    display: block;
}

/* Form status messages */
.form-status {
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.form-status.is-success {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.form-status.is-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #7f1d1d;
}

.form-note {
    font-size: 0.85rem;
    color: #64748b;
    margin: 1.5rem 0 1.5rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-left: 3px solid #cbd5e1;
    border-radius: 0.25rem;
}

.form-note a {
    color: #0077cc;
    text-decoration: underline;
}

.form-note a:hover {
    color: #005fa3;
}

.honeypot {
    display: none;
}

/* Date preset buttons */
.date-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 0;
}

.btn-preset {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    border-radius: 0.375rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-preset:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.btn-preset:active {
    transform: scale(0.98);
}

/* Room actions */
.room-actions {
    margin-top: 1rem;
}

/* ============ PRINT STYLES ============ */
@media print {
    header,
    footer,
    .menu-toggle,
    .btn-primary,
    .btn-secondary,
    .btn-mini {
        display: none;
    }

    body {
        background: white;
    }
}
