/* Booking Pages Specific Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8f 50%, #3b82f6 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: white !important;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    color: white !important;
}

/* Booking Section */
.booking-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

/* Donation Types */
.donation-types {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.donation-types h2 {
    color: #1e3a5f;
    margin-bottom: 30px;
    font-size: 1.75rem;
    text-align: center;
}

.types-grid {
    display: grid;
    gap: 20px;
}

.type-card {
    text-align: center;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.type-card:hover {
    border-color: #3b82f6;
    background: #fff5f5;
    transform: translateY(-2px);
}

.type-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.type-card h3 {
    color: #1e3a5f;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.type-card p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Booking Form */
.booking-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.booking-form-container h2 {
    color: #1e3a5f;
    margin-bottom: 40px;
    font-size: 2rem;
    text-align: center;
}

.booking-form .form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f8f9fa;
}

.booking-form .form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.booking-form .form-section h3 {
    color: #1e3a5f;
    margin-bottom: 25px;
    font-size: 1.25rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #3b82f6;
    display: inline-block;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e3a5f;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    border-color: #3b82f6;
    background: #fff5f5;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-item input[type="checkbox"]:checked + span {
    color: #3b82f6;
    font-weight: 600;
}

.checkbox-item span {
    font-weight: 500;
}

/* Button Styles */
.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
    width: 100%;
    margin-bottom: 15px;
}

.form-note {
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 10px;
}

/* Info Section */
.info-section {
    padding: 80px 0;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.info-card h3 {
    color: #3b82f6;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.info-card p {
    color: #5a6c7d;
    line-height: 1.6;
}

/* Mentoring Specific Styles */
.mentors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.mentor-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.mentor-card:hover,
.mentor-card.selected {
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.2);
    transform: translateY(-5px);
}

.mentor-card.selected::before {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    background: #3b82f6;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.mentor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.mentor-card h3 {
    color: #1e3a5f;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.mentor-speciality {
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 15px;
}

.mentor-bio {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.mentor-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.star {
    color: #f39c12;
    font-size: 1.2rem;
}

.mentor-experience {
    color: #5a6c7d;
    font-size: 0.85rem;
}

/* Availability Slots */
.availability-section {
    display: none;
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.availability-section.show {
    display: block;
}

.availability-section h4 {
    color: #1e3a5f;
    margin-bottom: 20px;
    text-align: center;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.time-slot {
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.time-slot:hover {
    border-color: #3b82f6;
    background: #fff5f5;
}

.time-slot.selected {
    border-color: #3b82f6;
    background: #3b82f6;
    color: white;
}

.time-slot.unavailable {
    background: #ecf0f1;
    color: #95a5a6;
    cursor: not-allowed;
    opacity: 0.6;
}

.time-slot.unavailable:hover {
    border-color: #e9ecef;
    background: #ecf0f1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.25rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .booking-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .donation-types {
        position: static;
        margin-bottom: 20px;
    }

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

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .mentors-grid {
        grid-template-columns: 1fr;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .booking-form-container,
    .donation-types {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0 40px;
    }

    .booking-section {
        padding: 40px 0;
    }

    .info-section {
        padding: 40px 0;
    }

    .booking-form-container,
    .donation-types {
        padding: 20px;
    }

    .time-slots {
        grid-template-columns: 1fr;
    }
}

/* Success/Error Messages */
.booking-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.booking-message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.booking-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.booking-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 2px solid #bee5eb;
}

/* Loading State */
.btn:disabled {
    background-color: #bdc3c7 !important;
    cursor: not-allowed;
    transform: none !important;
}

.btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}