/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    padding: 5px 0;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Site Branding */
.site-branding {
    flex: 0 0 auto;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.site-title a {
    text-decoration: none;
    color: inherit;
}

.site-description {
    margin: 0;
    font-size: 0.875rem;
    color: #7f8c8d;
}

/* Main Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 25px 0;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
    color: #34b2a6;
}

/* Dropdown Menus */
.nav-menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu ul a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f8f9fa;
    white-space: nowrap;
}

.nav-menu ul a:hover {
    background: #f8f9fa;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
}

/* Search Button */
.header-search {
    position: relative;
}

.search-toggle-btn {
    background: #f8f9fa;
    border: none;
    color: #7f8c8d;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.search-toggle-btn:hover {
    background: #34b2a6;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(52, 178, 166, 0.2);
}

/* Appointment Button */
.appointment-button .btn {
    background: #34b2a6;
    color: #fff;
    border: 2px solid #34b2a6;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.appointment-button .btn:hover {
    background: #fff;
    color: #34b2a6;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(52, 178, 166, 0.2);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #2c3e50;
    cursor: pointer;
    padding: 0.5rem;
}

/* Appointment Modal */
body.modal-open {
    overflow: hidden;
}

.appointment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: #fff;
    max-width: 600px;
    margin: 2rem auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #f8f9fa;
    background: #f8f9fa;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #7f8c8d;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e9ecef;
    color: #2c3e50;
}

.modal-body {
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header-inner {
        gap: 1rem;
    }
    
    .main-navigation {
        order: 3;
    }
    
    .header-actions {
        order: 2;
        justify-content: center;
    }
    
    .search-form {
        width: 200px;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 5px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .header-actions {
        gap: 0.5rem;
    }
    
    .search-toggle-btn {
        width: 40px;
        height: 40px;
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    .appointment-button .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}
