/* Calendar Specific Styles */

.page-header {
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%),
                url('../img/bg.jpg') center/cover;
    background-attachment: fixed;
    text-align: center;
    margin-top: 0;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
}

.calendar-section {
    padding: 4rem 0;
    background: var(--color-black);
}

.honeybook-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
}

.honeybook-wrapper {
    background: var(--color-gray-dark);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 2rem;
    min-height: 800px;
    position: relative;
}

.honeybook-wrapper iframe {
    width: 100%;
    min-height: 800px;
    border-radius: 5px;
    background: var(--color-white);
}

.honeybook-link-button {
    text-align: center;
    padding: 3rem;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-large i {
    margin-right: 0.5rem;
}

.honeybook-fallback {
    text-align: center;
    padding: 3rem;
}

.honeybook-fallback i {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.honeybook-fallback h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.honeybook-fallback p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.calendar-note {
    text-align: center;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.8);
}

.calendar-note i {
    color: var(--color-gold);
    margin-right: 0.5rem;
}

.calendar-note a {
    color: var(--color-gold);
    text-decoration: underline;
}

/* FullCalendar Customization */
#calendar {
    background: transparent;
}

.fc {
    font-family: var(--font-secondary);
}

.fc-header-toolbar {
    margin-bottom: 2rem;
}

.fc-button {
    background: var(--color-gold) !important;
    border: none !important;
    color: var(--color-black) !important;
    padding: 0.5rem 1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.fc-button:hover {
    background: var(--color-gold-dark) !important;
}

.fc-button:disabled {
    background: var(--color-gray) !important;
    color: var(--color-gray-light) !important;
}

.fc-toolbar-title {
    color: var(--color-white) !important;
    font-family: var(--font-primary) !important;
    font-size: 1.5rem !important;
}

.fc-daygrid-day {
    background: rgba(255, 255, 255, 0.03) !important;
}

.fc-daygrid-day:hover {
    background: rgba(212, 175, 55, 0.1) !important;
}

.fc-day-today {
    background: rgba(212, 175, 55, 0.2) !important;
}

.fc-daygrid-day-number {
    color: var(--color-white) !important;
}

.fc-col-header-cell {
    background: rgba(212, 175, 55, 0.1) !important;
    border-color: rgba(212, 175, 55, 0.2) !important;
}

.fc-col-header-cell-cushion {
    color: var(--color-gold) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    padding: 0.75rem !important;
}

.fc-daygrid-event {
    border-radius: 3px !important;
    padding: 2px 4px !important;
}

.fc-event-title {
    font-weight: 500 !important;
}

/* Event Colors */
.fc-event-available {
    background: #4CAF50 !important;
    border-color: #4CAF50 !important;
    color: white !important;
}

.fc-event-booked {
    background: #f44336 !important;
    border-color: #f44336 !important;
    color: white !important;
}

.fc-event-pending {
    background: #FF9800 !important;
    border-color: #FF9800 !important;
    color: white !important;
}

.fc-daygrid-day-frame {
    border-color: rgba(212, 175, 55, 0.1) !important;
}

/* HoneyBook Integration Styles */
.honeybook-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
}

.honeybook-wrapper {
    background: var(--color-gray-dark);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 2rem;
    min-height: 800px;
    position: relative;
}

.honeybook-wrapper iframe {
    width: 100%;
    min-height: 800px;
    border-radius: 5px;
    background: var(--color-white);
}

.honeybook-link-button {
    text-align: center;
    padding: 3rem;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-large i {
    margin-right: 0.5rem;
}

.honeybook-fallback {
    text-align: center;
    padding: 3rem;
}

.honeybook-fallback i {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    display: block;
}

.honeybook-fallback h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.honeybook-fallback p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.honeybook-note {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.5) !important;
}

.setup-notice {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 152, 0, 0.15);
    border: 2px solid rgba(255, 152, 0, 0.3);
    border-radius: 8px;
    text-align: left;
}

.setup-notice p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.setup-notice i {
    color: #FF9800;
    margin-right: 0.5rem;
}

.calendar-note ol {
    padding-left: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.calendar-note ol li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.calendar-note code {
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
}

.calendar-note h4 {
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .calendar-wrapper {
        padding: 1rem;
    }

    .honeybook-wrapper {
        padding: 1rem;
    }

    .honeybook-wrapper iframe {
        min-height: 600px;
    }

    .fc-toolbar {
        flex-direction: column;
        gap: 1rem;
    }

    .fc-toolbar-title {
        font-size: 1.25rem !important;
    }

    .fc-button {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.75rem !important;
    }

    .calendar-legend {
        gap: 1rem;
    }
}

