/* Modern Compact Navbar Styles */
.header-one {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.header-top-area-wrapper {
    padding: 3px 0; /* Further reduced for more compactness */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-main {
    padding: 6px 0; /* Further reduced for more compactness */
}

.header-main-one-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px; /* Further reduced for more compactness */
}

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    padding: 1px 0; /* Further reduced */
}

.logo-svg {
    height: 90px; /* Fixed height for consistent navbar appearance */
    width: auto; /* Auto width to maintain aspect ratio */
    max-width: 150px; /* Maximum width to prevent oversizing */
    transition: transform 0.3s ease;
}

.logo-svg:hover {
    transform: scale(1.02);
}

/* Navigation Styling */
.nav-area ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav {
    margin: 0 10px; /* Reduced from 15px */
}

.main-nav a {
    font-size: 14px; /* Reduced from 15px */
    font-weight: 600;
    color: #333;
    text-decoration: none;
    padding: 6px 12px; /* Reduced from 10px 15px */
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    background: rgba(200, 67, 78, 0.1);
    color: #C8434E;
}

.main-nav a.active {
    background: #C8434E;
    color: white;
}

/* Button Area */
.button-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quote-btn {
    padding: 8px 18px; /* Reduced from 12px 24px */
    font-size: 13px; /* Reduced from 14px */
    font-weight: 600;
    background: linear-gradient(135deg, #C8434E 0%, #B8364C 100%);
    color: white;
    border: none;
    border-radius: 20px; /* Reduced from 25px */
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 67, 78, 0.2);
}

.quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 67, 78, 0.3);
    color: white;
}

/* Mobile Hamburger */
.menu-btn-mobile {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-btn-mobile:hover {
    background: rgba(200, 67, 78, 0.1);
    color: #C8434E;
}

/* Responsive Design */
@media (max-width: 991px) {
    .header-main {
        padding: 4px 0; /* Further reduced for mobile compactness */
    }
    
    .header-main-one-wrapper {
        min-height: 32px; /* Further reduced for mobile compactness */
    }
    
    .logo-svg {
        width: 120px; /* Further reduced for mobile */
    }
    
    .nav-area {
        display: none;
    }
    
    .menu-btn-mobile {
        display: block;
    }
    
    .button-area .quote-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-top-area-wrapper {
        padding: 2px 0; /* Further reduced for mobile */
    }
    
    .logo-svg {
        width: 110px; /* Further reduced from 130px */
    }
    
    .header-top-one-wrapper .left {
        flex-wrap: wrap;
        gap: 8px; /* Reduced from 10px */
    }
    
    .phone-number,
    .working-time {
        font-size: 12px; /* Reduced from 13px */
    }
}

/* Sticky Header Effect */
.header--sticky.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.header--sticky.sticky .header-top-area-wrapper {
    display: none; /* Hide top bar when sticky */
}

.header--sticky.sticky .header-main {
    padding: 4px 0; /* Further reduced for sticky compactness */
}

.header--sticky.sticky .header-main-one-wrapper {
    min-height: 36px; /* Further reduced for sticky compactness */
}

.header--sticky.sticky .logo-svg {
    width: 130px; /* Further reduced for sticky compactness */
}

/* Additional compactness for overall header */
.header-one .container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Ensure consistent font sizes */
.header-top-one-wrapper .left a,
.header-top-one-wrapper .left p {
    font-size: 13px;
    line-height: 1.4;
}

.header-top-one-wrapper .left i {
    font-size: 12px;
    margin-right: 6px;
}
