/* ========== HEADER ========== */
.site-header {
    background-color: #2B3A55;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    position: sticky;
    top: 0;
    z-index: 999;
}

/* ========== FIRST ROW: Logo + Social + Search ========== */
.header-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
}

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

/* Left section (logo + site info) */
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo */
.site-logo img {
    max-height: 55px;
}

/* Title + tagline */
.site-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.3;
}

.site-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #F9E79F;
    margin: 0;
}

.site-tagline {
    font-size: 14px;
    font-weight: 400;
    color: #D6EAF8;
    margin-top: 3px;
    font-style: italic;
}

/* Appointment Button */
.header-appointment .appointment-btn {
    background: linear-gradient(135deg, #F1C40F, #F7DC6F);
    box-shadow: 0 4px 10px rgba(241, 196, 15, 0.4);
    color: #2B3A55;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.header-appointment .appointment-btn:hover {
    background: linear-gradient(135deg, #F7DC6F, #F1C40F);
    box-shadow: 0 6px 14px rgba(241, 196, 15, 0.5);
    color: #2B3A55;
    transform: translateY(-2px);
}

/* Right section (social + search) */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Social Links with Images */
.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-links a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
}

.social-links a img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Search Form */
.header-search {
    display: flex;
}

.search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 5px 5px 5px 15px;
    transition: background 0.3s ease;
}

.search-form:focus-within {
    background: rgba(255, 255, 255, 0.15);
}

.search-field {
    background: transparent;
    border: none;
    color: #fff;
    padding: 5px 10px;
    width: 180px;
    font-size: 14px;
    outline: none;
}

.search-field::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-submit {
    background: #3498DB;
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.search-submit:hover {
    background: #F1C40F;
    color: #2B3A55;
}

/* ========== SECOND ROW: Navigation Menu ========== */
.header-bottom {
    padding: 0;
}

.header-bottom .container {
    max-width: 100%;
    padding: 0 50px;
}

.main-nav {
    font-size: 16px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    justify-content: center;
}

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

.menu-items li {
    margin: 0;
}

.menu-items a {
    color: #FFFFFF;
    text-decoration: none;
    padding: 5px 25px;
    line-height: 1.5;
    display: block;
    border-radius: 0;
    transition: all 0.3s ease;
}

/* Hover & Active */
.menu-items a:hover {
    color: #F1C40F;
    background-color: rgba(255, 255, 255, 0.08);
}

.menu-items .current-menu-item a {
    color: #3498DB;
    font-weight: 600;
    background-color: rgba(52, 152, 219, 0.1);
}

/* Hamburger (mobile) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .header-top .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-left {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-right {
        flex-direction: column;
        gap: 15px;
    }
    
    .site-title {
        font-size: 24px;
    }
    
    .site-tagline {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        position: absolute;
        right: 20px;
        top: 15px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2B3A55;
        box-shadow: 0 4px 8px rgba(0,0,0,0.5);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: block !important;
    }
    
    .menu-items {
        flex-direction: column;
        width: 100%;
    }
    
    .menu-items li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .menu-items a {
        padding: 15px 20px;
    }
    
    .search-field {
        width: 150px;
    }
    
    .header-top .container,
    .header-bottom .container {
        padding: 0 20px;
    }
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .header-appointment .appointment-btn {
        padding: 12px 20px;
        width: 100%;
        text-align: center;
    }
}