/* Booking Page Styles */

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #001E3D !important;
    backdrop-filter: blur(15px);
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    color: #007bff;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #007bff, #0066CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 25px;
}

.nav-link:hover,
.nav-link.active {
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.booking-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #e94560 100%);
    padding: 150px 50px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.booking-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
    animation: heroGlow 15s ease-in-out infinite;
    z-index: 0;
}

@keyframes heroGlow {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.booking-hero h1 {
    font-size: 3.5rem;
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.booking-hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Booking Section */
.booking-section {
    padding: 100px 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

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

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

/* Calendar Section */
.calendar-section {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.calendar-section h2 {
    color: #1a1a2e;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

#calendar {
    border-radius: 15px;
    overflow: hidden;
}

/* FullCalendar Custom Styles */
.fc {
    font-family: inherit;
}

.fc-header-toolbar {
    margin-bottom: 20px;
}

.fc-button-primary {
    background: #007bff;
    border-color: #007bff;
    border-radius: 8px;
    font-weight: 500;
}

.fc-button-primary:hover {
    background: #0066CC;
    border-color: #0066CC;
}

.fc-daygrid-day {
    cursor: pointer;
    transition: all 0.3s ease;
}

.fc-daygrid-day:hover {
    background: rgba(0, 123, 255, 0.05);
}

.fc-daygrid-day.fc-day-selected {
    background: rgba(0, 123, 255, 0.1);
    border: 2px solid #007bff;
}

.fc-event {
    background: #007bff;
    border: none;
    border-radius: 6px;
    font-weight: 500;
}

/* Form Section */
.form-section {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.form-section h2 {
    color: #1a1a2e;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #1a1a2e;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(248, 249, 250, 0.5);
    color: #1a1a2e;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input[readonly] {
    background: rgba(0, 123, 255, 0.05);
    cursor: not-allowed;
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.time-slot {
    padding: 12px 16px;
    border: 2px solid rgba(0, 123, 255, 0.2);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-weight: 500;
    color: #1a1a2e;
}

.time-slot:hover {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.05);
    transform: translateY(-2px);
}

.time-slot.selected {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.time-slot.unavailable {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.time-slot.unavailable:hover {
    transform: none;
    border-color: rgba(0, 123, 255, 0.2);
    background: #f8f9fa;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #007bff 0%, #0066CC 50%, #004B9F 100%);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.4);
}

.submit-btn i {
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nav-container {
        padding: 0 30px;
    }
    
    .booking-section {
        padding: 80px 30px;
    }
    
    .calendar-section,
    .form-section {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 26, 46, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        backdrop-filter: blur(15px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .booking-hero {
        padding: 120px 30px 80px;
    }
    
    .booking-hero h1 {
        font-size: 2.5rem;
    }
    
    .booking-hero p {
        font-size: 1.1rem;
    }
    
    .booking-section {
        padding: 60px 20px;
    }
    
    .calendar-section,
    .form-section {
        padding: 25px 20px;
        border-radius: 20px;
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .time-slot {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .booking-hero {
        padding: 100px 20px 60px;
    }
    
    .booking-hero h1 {
        font-size: 2rem;
    }
    
    .calendar-section h2,
    .form-section h2 {
        font-size: 1.6rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .submit-btn {
        padding: 16px 30px;
        font-size: 1rem;
    }
}