/* ===================================
   Appointment Page Styles
   =================================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 0 3rem;
    color: var(--white);
    text-align: center;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: fadeInDown 0.6s ease;
}

.page-header-content .arabic-text {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    margin-top: 1rem;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb span {
    opacity: 0.6;
}

/* Appointment Section */
.appointment-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
}

/* Info Sidebar */
.appointment-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.info-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.info-card .arabic-text {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.schedule-list {
    list-style: none;
}

.schedule-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-color);
}

.schedule-list li:last-child {
    border-bottom: none;
}

.schedule-list span {
    color: var(--gray);
}

.schedule-list strong {
    color: var(--primary-color);
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray);
}

.info-list i {
    color: var(--primary-color);
}

.contact-details {
    margin-top: 1rem;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray);
}

.contact-details i {
    color: var(--primary-color);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #25D366;
    color: var(--white);
    border-radius: 25px;
    margin-top: 1rem;
    transition: var(--transition);
    font-weight: 600;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Appointment Form */
.appointment-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-color);
}

.form-header h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-header .arabic-text {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.form-header p {
    color: var(--gray);
}

.appointment-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-section h3 i {
    color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.required {
    color: var(--danger);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--light-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.form-group label a.link {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-group label a.link:hover {
    color: var(--secondary-color);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-secondary {
    background: var(--gray);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--dark-color);
}

/* Why Book Online */
.why-book-online {
    padding: 5rem 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 15px;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .appointment-wrapper {
        grid-template-columns: 1fr;
    }
    
    .appointment-info {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .info-card {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .page-header-content h1 {
        font-size: 2rem;
    }
    
    .page-header-content .arabic-text {
        font-size: 1.5rem;
    }
    
    .appointment-form-container {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .appointment-info {
        flex-direction: column;
    }
    
    .info-card {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 3rem 0 2rem;
    }
    
    .appointment-section {
        padding: 3rem 0;
    }
    
    .appointment-form-container {
        padding: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .form-section h3 {
        font-size: 1.2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
