/* ========================================
   HEADER STYLES
   ======================================== */

/* CSS Variables */
:root {
    --header-bg: #0F2746;
    --header-text: #F7F7F7;
    --header-accent: #C20A38;
    --header-hover: #FF2D47;
    --header-border: rgba(247, 247, 247, 0.1);
    --header-shadow: rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
    --header-top-height: 40px;
    --header-main-height: 80px;
}

/* ========================================
   BASE HEADER STYLES
   ======================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--header-bg);
    box-shadow: 0 2px 10px var(--header-shadow);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   TOP HEADER BAR
   ======================================== */

.header-top {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 12px 0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* City Selector */
.header-city {
    display: flex;
    align-items: center;
}

.city-selector-btn {
    background: none;
    border: none;
   font-weight: 500;
font-size: 16px;
line-height: 120%;
letter-spacing: -0.02em;
color: #A1AAB5;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 6px;
    
font-family: 'Manrope';
font-style: normal;
}

.city-selector-btn:hover {
    color: #f7f7f7;
}

/* Top Navigation */
.header-top-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-top-link {
font-weight: 500;
font-size: 16px;
line-height: 120%;
letter-spacing: -0.02em;
color: #A1AAB5;
    text-decoration: none;
}

.header-top-link:hover {
    color: #f7f7f7;
}

.header-top-link-bold {
    font-weight: 600;
}

/* ========================================
   MAIN HEADER NAVIGATION
   ======================================== */

.header-main {
    height: var(--header-main-height);
    display: flex;
    align-items: center;
}

.header-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
}

.logo-link {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all var(--transition-speed);
}

.logo-link:hover {
    color: var(--header-accent);
    transform: scale(1.05);
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 100px;
    justify-content: center;
}
@media (max-width: 1600px) {
    .header-nav {
    gap: 70px;
}
}

@media (max-width: 1600px) {
    .cta-button{font-size: 16px !important;}
.nav-dropdown-toggle {
    font-size: 16px !important;
}
.nav-link {
    font-size: 16px !important;
}
}
@media (max-width: 1366px) {
    .header-nav {
        gap: 20px;
    }
}
@media (max-width: 1280px) {
    .nav-dropdown-toggle {
    font-size: 14px !important;
}
    .logo-link {
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all var(--transition-speed);
}

.nav-link {
    font-size: 14px !important;
}

.cta-button {
    padding: 10px 20px;
    font-size: 14px !important;
}
.header-top-link {
    font-size: 14px !important;
}
.city-selector-btn {
    font-size: 14px !important;
}
}

.header-nav {
    display: flex
;
    align-items: center;
    gap: 70px;
    justify-content: center;
}
/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
font-family: 'Manrope';
font-style: normal;
    background: none;
    border: none;
    color: var(--header-text);
font-weight: 700;
font-size: 18px;
line-height: 120%;
    cursor: pointer;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-speed);
}

.nav-dropdown-toggle:hover {
    color: #fff;
}

.nav-dropdown.active .nav-dropdown-toggle {
    color: var(--header-accent);
}

.nav-dropdown-icon {
    transition: transform var(--transition-speed);
}

.nav-dropdown.active .nav-dropdown-icon {
    transform: rotate(180deg);
}

/* Simple Nav Links */
.nav-link {
    color: var(--header-text);
    text-decoration: none;
    font-weight: 700;
font-size: 18px;
line-height: 120%;
letter-spacing: -0.02em;
    transition: color var(--transition-speed);
}

.nav-link:hover {
    color: #fff;
}

/* CTA Button */
.header-cta {
    flex-shrink: 0;
}

.cta-button {
    background: #C20A38;
    color: #f7f7f7;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    transition: all var(--transition-speed);
    display: inline-block;
}

.cta-button:hover {
    background: var(--header-hover);
}

/* ========================================
   MEGA MENU
   ======================================== */

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #F7F7F7;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all var(--transition-speed);
    z-index: 999;
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

/* Services Section */
.mega-menu-services {
    display: grid;
grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-column {
    display: flex;
    flex-direction: column;
}

.service-title {
font-weight: 700;
font-size: 22px;
line-height: 120%;
letter-spacing: -0.02em;
color: #0F2746;
margin-bottom: 25px;
}
.img{
flex: 50%;
}
.img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 10px 10px 0;

}
.service-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
}

.service-link {
font-weight: 500;
font-size: 18px;
line-height: 110%;
letter-spacing: -0.02em;
color: #0F2746;
    transition: all var(--transition-speed);
    display: block;
    text-decoration: none;
}

.service-link:hover {
    padding-left: 8px;
}

/* Contact Form in Mega Menu */
.mega-menu-form {
    display: flex;
        height: fit-content;
}

.contact-form-card {
    background: #DFE8EB;
    border-radius: 10px;
    padding: 30px;
    flex: 50%;
}

.form-content-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-title {
font-weight: 700;
font-size: 28px;
line-height: 120%;
letter-spacing: -0.02em;
color: #0F2746;
    margin: 0;
    text-align: left;
}

.form-subtitle {
font-weight: 500;
font-size: 16px;
line-height: 120%;
letter-spacing: -0.02em;
color: #0F2746;
}

.header-contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.form-group input {
    padding: 14x 20px;
    border-radius: 12px;
    font-size: 14px;
    border: none;
    transition: all var(--transition-speed);
}

.form-group input:focus {
    outline: none;
    border-color: var(--header-accent);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    font-size: 12px;
    color: #718096;
    margin: 0;
}

.checkbox-group label a {
    color: var(--header-accent);
    text-decoration: none;
}

.form-submit-btn {
    background: var(--header-accent);
    border: none;
    padding: 18px 40px;
    border-radius: 6px;
font-weight: 600;
font-size: 16px;
line-height: 120%;
letter-spacing: -0.01em;
color: #F7F7F7;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.form-submit-btn:hover {
    background: var(--header-hover);
    transform: translateY(-2px);
}

/* ========================================
   MOBILE MENU
   ======================================== */

.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 50px;
    right: 20px;
    z-index: 1001;
    background: var(--header-accent);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(220, 35, 54, 0.4);
    transition: all var(--transition-speed);
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition-speed);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    z-index: 1002;
    transition: right 0.4s ease;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-content {
    padding: 20px;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #E2E8F0;
    margin-bottom: 20px;
}

.mobile-nav-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--header-bg);
}

.mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #718096;
    transition: all var(--transition-speed);
}

.mobile-nav-close:hover {
    color: var(--header-accent);
    transform: rotate(90deg);
}

.mobile-nav-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    color: var(--header-bg);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: all var(--transition-speed);
    display: block;
}

.mobile-nav-link:hover {
    background: #F7FAFC;
    color: var(--header-accent);
    padding-left: 24px;
}

.mobile-nav-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
}

.mobile-nav-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding: 0 16px;
}

.mobile-nav-contact {
    margin-top: 30px;
    padding: 20px;
    background: #F7FAFC;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-phone,
.mobile-nav-email {
    color: var(--header-bg);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.mobile-nav-cta {
    background: var(--header-accent);
    color: #fff;
    text-decoration: none;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    margin-top: 8px;
    transition: all var(--transition-speed);
}

.mobile-nav-cta:hover {
    background: var(--header-hover);
}

/* ========================================
   CITY SELECTION MODAL
   ======================================== */

.city-selection-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed);
}

.city-selection-modal.active {
    opacity: 1;
    visibility: visible;
}

.city-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.city-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.city-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 2px solid #E2E8F0;
}

.city-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--header-bg);
    margin: 0;
}

.city-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #718096;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    transition: all var(--transition-speed);
}

.city-modal-close:hover {
    color: var(--header-accent);
    transform: rotate(90deg);
}

.city-modal-body {
    padding: 30px;
    overflow-y: auto;
}

.cities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.city-item {
    padding: 16px 20px;
    background: #F7FAFC;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: center;
    font-weight: 500;
    color: var(--header-bg);
}

.city-item:hover {
    background: var(--header-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 35, 54, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .header-top-nav {
        gap: 16px;
    }
    
    .header-nav {
        gap: 20px;
    }
    
    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mega-menu-services {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .header-main {
        height: 60px;
    }
    
    .header-nav,
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        top: 5px;
        width: 45px;
        height: 45px;
    }
    
    .logo-link {
        font-size: 22px;
    }
    
    .mega-menu {
        display: none;
    }
    
    .cities-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }
    
    .logo-link {
        font-size: 20px;
    }
    
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }
    
    .hamburger-line {
        width: 20px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Add spacing for fixed header */
body {
    padding-top: calc(var(--header-top-height) + var(--header-main-height));
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Prevent body scroll when modals are open */
body.modal-open {
    overflow: hidden;
}

