/*
 * Home Shanti - Buchungsseite
 * Spezifische Styles für buchen.html
 */

/* Navigation Override für Buchungsseite */
.nav-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sage-600);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-back:hover {
    color: var(--sage-700);
}

.nav-back svg {
    width: 20px;
    height: 20px;
}

/* Page Layout */
.booking-page {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--sage-50) 0%, var(--warm-white) 100%);
    padding: 2rem;
    padding-top: 100px;
}

.booking-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Header */
.booking-header {
    text-align: center;
    margin-bottom: 3rem;
}

.booking-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--stone-600);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.booking-header .back-link:hover {
    color: var(--sage-600);
}

.booking-header .back-link svg {
    width: 18px;
    height: 18px;
}

.booking-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 500;
    color: var(--stone-900);
    margin-bottom: 0.75rem;
}

.booking-header p {
    color: var(--stone-600);
    font-size: 1.1rem;
}

/* Info Bar */
.info-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-item svg {
    width: 24px;
    height: 24px;
    color: var(--sage-500);
}

.info-item-text {
    font-size: 0.9rem;
}

.info-item-text strong {
    display: block;
    color: var(--stone-800);
    font-weight: 600;
}

.info-item-text span {
    color: var(--stone-500);
    font-size: 0.85rem;
}

/* Booking Sections */
.booking-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.booking-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-number {
    width: 40px;
    height: 40px;
    background: var(--sage-500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.section-title h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--stone-900);
    margin-bottom: 0.25rem;
}

.section-title p {
    color: var(--stone-500);
    font-size: 0.9rem;
    margin: 0;
}

/* Calendar Widget Styling */
.calendar-container {
    border-radius: 1rem;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.calendarWidget {
    font-family: var(--font-body) !important;
    max-width: 100%;
}

/* Booking Form Container */
.booking-form-container {
    min-height: 600px;
}

#apartmentIframeAll iframe {
    border-radius: 0.75rem;
    border: 1px solid var(--sage-200) !important;
}

/* Legend */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--stone-100);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--stone-600);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend-dot.available {
    background: var(--stone-300);
}

.legend-dot.booked {
    background: #e57373;
}

/* Help Box */
.help-box {
    background: var(--sage-50);
    border: 1px solid var(--sage-200);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
}

.help-box h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-box h4 svg {
    width: 20px;
    height: 20px;
    color: var(--sage-600);
}

.help-box p {
    color: var(--stone-600);
    font-size: 0.9rem;
    margin: 0;
}

.help-box a {
    color: var(--sage-600);
    font-weight: 500;
}

/* Footer */
.booking-footer {
    text-align: center;
    padding: 2rem;
    color: var(--stone-500);
    font-size: 0.9rem;
}

.booking-footer a {
    color: var(--stone-500);
    margin: 0 0.75rem;
}

.booking-footer a:hover {
    color: var(--sage-600);
}

/* Responsive */
@media (max-width: 768px) {
    .booking-page {
        padding: 2rem 1rem 3rem;
    }
    
    .booking-section {
        padding: 1.5rem;
    }
    
    .info-bar {
        gap: 1rem;
        padding: 1rem;
    }
    
    .info-item {
        flex: 1 1 45%;
        justify-content: center;
    }
    
    .calendar-legend {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .booking-section-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Smoobu Widget Overrides */
.calendarWidget .calendarContent {
    font-family: var(--font-body) !important;
}

.calendarWidget table {
    border-collapse: separate;
    border-spacing: 4px;
}

.calendarWidget th {
    color: var(--stone-600);
    font-weight: 500;
    padding: 0.5rem;
}

.calendarWidget td {
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.calendarWidget .available {
    background: var(--sage-100) !important;
    color: var(--sage-800) !important;
}

.calendarWidget .available:hover {
    background: var(--sage-200) !important;
}

.calendarWidget .booked,
.calendarWidget .unavailable {
    background: var(--stone-100) !important;
    color: var(--stone-400) !important;
}

.calendarWidget button,
.calendarWidget .btn {
    background: var(--sage-500) !important;
    border: none !important;
    border-radius: 0.5rem !important;
    font-family: var(--font-body) !important;
}

.calendarWidget button:hover,
.calendarWidget .btn:hover {
    background: var(--sage-600) !important;
}
