/* =====================================
   APPOINTMENT PAGE STYLES
   Online appointment booking with external Modento system
   USED: html/appointment.html
   ===================================== */

/* ===== PAGE HEADER ===== 
   USED: <section class="page-header"> line 39
*/
.page-header {
    background: #0a2540;
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* USED: Decorative pattern overlay */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        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.1) 0%, transparent 50%);
    pointer-events: none;
}

/* USED: Header container */
.page-header .container {
    position: relative;
    z-index: 1;
}

/* USED: <h1> "Schedule Your Appointment" line 41 */
.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}

/* USED: <p> subtitle line 42 */
.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ===== APPOINTMENT SECTION ===== 
   Main container with modern spacing
*/
.appointment-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow-x: hidden;
    width: 100%;
}

.appointment-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ===== APPOINTMENT GRID ===== 
   Flexible layout for booking section and info cards
*/
.appointment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== BOOKING WRAPPER ===== 
   Modern card design for online booking CTA
*/
.booking-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(10, 37, 64, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 144, 164, 0.1);
    max-width: 100%;
    overflow: hidden;
}

.booking-wrapper:hover {
    box-shadow: 0 15px 50px rgba(10, 37, 64, 0.12);
    transform: translateY(-2px);
}

.booking-wrapper h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #0a2540;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #4A90A4;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    white-space: normal;
}

.booking-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4A90A4, #68B3C8);
    border-radius: 2px;
}

/* ===== BOOKING INFO ===== 
   Content styling for booking section
*/
.booking-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.booking-info > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* ===== BOOKING BENEFITS ===== 
   Feature list highlighting booking benefits
*/
.booking-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 2px solid rgba(74, 144, 164, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
    min-width: 0;
    word-break: break-word;
}

.benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4A90A4, #68B3C8);
    border-radius: 50%;
    color: white;
}

.benefit-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

/* Removed icon pseudo-elements - using SVGs instead */

/* ===== BOOK ONLINE BUTTON ===== 
   Prominent CTA button for external booking system
*/
.btn-book-online {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, #4A90A4 0%, #68B3C8 100%);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(74, 144, 164, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.btn-book-online:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(74, 144, 164, 0.5);
    background: linear-gradient(135deg, #3a7a8a 0%, #58a3b8 100%);
}

.btn-book-online:active {
    transform: translateY(-1px) scale(1);
}

/* ===== BOOKING NOTE ===== 
   Helper text below booking button
*/
.booking-note {
    text-align: center;
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    padding: 1rem;
    background: rgba(74, 144, 164, 0.05);
    border-radius: 8px;
}

.phone-link {
    color: #4A90A4;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: #3a7a8a;
    border-bottom-color: #4A90A4;
}

/* Form styling removed - using external booking system */

/* ===== INFO COLUMN ===== 
   Cards displayed horizontally
*/
.appointment-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== INFO CARDS ===== 
   Modern card design with icons
*/
.info-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
    border: 1px solid rgba(74, 144, 164, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 8px 30px rgba(10, 37, 64, 0.1);
    transform: translateY(-3px);
    border-color: rgba(74, 144, 164, 0.3);
}

.info-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: #0a2540;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
}

.info-card p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-card p:last-child {
    margin-bottom: 0;
}

/* Phone number styling - prominent CTA */
.phone-number {
    display: inline-block;
    color: #4A90A4;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.1), rgba(104, 179, 200, 0.1));
    border-radius: 10px;
    border: 2px solid #4A90A4;
    transition: all 0.3s ease;
    margin: 0.5rem 0;
}

.phone-number:hover {
    background: #4A90A4;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
}

/* ===== HOURS LIST ===== 
   Modern hours display with clean design
*/
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.2rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 8px;
    border-left: 4px solid #4A90A4;
    transition: all 0.3s ease;
}

.hours-item:hover {
    background: linear-gradient(135deg, #e9ecef, #f8f9fa);
    transform: translateX(5px);
    border-left-color: #68B3C8;
}

.hours-item.closed {
    opacity: 0.6;
    border-left-color: #d9534f;
}

.hours-item .day {
    font-weight: 600;
    color: #0a2540;
    font-family: 'Montserrat', sans-serif;
}

.hours-item .time {
    color: #6c757d;
    font-size: 0.95rem;
}

/* ===== PREP LIST ===== 
   Modern checklist for what to bring
*/
.prep-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prep-list li {
    position: relative;
    padding: 0.9rem 1.2rem 0.9rem 3rem;
    margin-bottom: 0.7rem;
    color: #2c3e50;
    line-height: 1.6;
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.05), rgba(104, 179, 200, 0.05));
    border-radius: 8px;
    border-left: 3px solid #4A90A4;
    transition: all 0.3s ease;
}

.prep-list li:hover {
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.1), rgba(104, 179, 200, 0.1));
    transform: translateX(5px);
    border-left-color: #68B3C8;
}

/* Checkmark bullet with circle background */
.prep-list li::before {
    content: '\2713';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #4A90A4, #68B3C8);
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(74, 144, 164, 0.3);
}

/* =====================================
   RESPONSIVE STYLES
   ===================================== */

/* ===== TABLET (768px and below) ===== 
   Stack layout vertically
*/
@media screen and (max-width: 768px) {
    .page-header {
        padding: 4rem 0 3rem;
    }
    
    .appointment-section {
        padding: 3rem 0;
    }
    
    .appointment-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .booking-wrapper {
        padding: 2rem;
    }
    
    .booking-wrapper h2 {
        font-size: 1.7rem;
    }
    
    .booking-benefits {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .btn-book-online {
        padding: 1.3rem 2rem;
        font-size: 1.2rem;
    }

    .info-card {
        padding: 2rem;
    }

    .phone-number {
        font-size: 1.3rem;
    }
}

/* ===== MOBILE (480px and below) ===== 
   Further optimizations
*/
@media screen and (max-width: 480px) {
    .appointment-section .container {
        padding: 0 15px;
    }
    
    /* Force all elements to wrap */
    .booking-wrapper,
    .booking-wrapper *,
    .appointment-section,
    .appointment-section * {
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
    
    .page-header {
        padding: 4rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
        word-wrap: break-word;
    }
    
    .page-header p {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .appointment-section {
        padding: 2rem 0;
    }
    
    .booking-wrapper {
        padding: 1rem;
        border-radius: 8px;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .booking-wrapper * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .booking-wrapper h2 {
        font-size: 1.3rem !important;
        margin-bottom: 1.5rem;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.3;
        max-width: 100% !important;
        white-space: normal !important;
    }
    
    .booking-info > p {
        font-size: 0.95rem;
        line-height: 1.6;
        word-wrap: break-word;
    }
    
    .booking-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .benefit-item {
        font-size: 0.9rem;
    }
    
    .btn-book-online {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
    }
    
    .booking-note {
        font-size: 0.9rem;
    }

    .info-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .phone-number {
        font-size: 1.2rem;
        padding: 0.7rem 1.2rem;
    }

    .hours-item {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    .prep-list li {
        padding: 0.7rem 1rem 0.7rem 2.5rem;
        font-size: 0.95rem;
    }
}

/* ===== ENSURE MOBILE MENU WORKS ===== 
   Prevent z-index conflicts
*/
.appointment-section,
.booking-wrapper,
.appointment-info {
    position: relative;
    z-index: 1;
}

/* Legacy validation styling removed - using external booking system */