@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

:root {
    --bg-white: #ffffff;
    --bg-light: #F4F6F6;
    --text-dark: #1B2224;
    --bg-dark: #1B2224;
    --text-light: #ffffff;
    --btn-gradient: linear-gradient(180deg, #2AABEE 0%, #229ED9 100%);
    --font-primary: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Global Transitions for interactive elements */
a, button, .lang-current, .phone-btn {
    transition: all 0.3s ease;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* -------------------------------------
 * Header 
 * ------------------------------------- */
.site-header {
    background-color: var(--bg-white);
    /* Logo height auto so we just give some top/bottom spacing if needed, but per design we can just rely on flex center */
    padding: 20px 0; /* adjust as necessary */
    border-bottom: 1px solid #e0e0e0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    width: 100%;
    max-width: 123px;
}

.site-branding img {
    width: 100%;
    height: auto;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
}

/* Custom Language Switcher */
.lang-switcher-wrap {
    position: relative;
    margin-right: 32px;
}

.lang-current {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.lang-current .flag {
    width: 26px;
    height: 20px;
    border-radius: 2px;
    object-fit: cover;
}

.lang-current .chevron {
    margin-left: 6px;
    display: flex;
    align-items: center;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-white);
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    list-style: none;
    min-width: 100px;
    display: none;
    z-index: 100;
}

.lang-dropdown.active {
    display: block;
}

.lang-dropdown li a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    gap: 10px;
}
.lang-dropdown li a:hover {
    background: var(--bg-light);
}
.lang-dropdown .flag {
    width: 26px;
    height: 20px;
    border-radius: 2px;
    object-fit: cover;
}

/* Main Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 32px;
    padding: 0;
    margin: 0;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-dark);
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 21.98px;
    letter-spacing: 0.56px;
    text-align: center;
}

.main-navigation a:hover {
    color: #229ED9;
}

/* Phone Button & Dropdown */
.phone-wrap {
    position: relative;
    margin-left: 60px;
}

.phone-btn {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: var(--btn-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    outline: none;
}

.phone-btn:hover {
    box-shadow: 0 4px 12px rgba(34, 158, 217, 0.4);
    transform: translateY(-2px);
}

.phone-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-white);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    list-style: none;
    min-width: 180px;
    display: none;
    z-index: 100;
    padding: 10px 0;
}

.phone-dropdown.active {
    display: block;
}

.phone-dropdown li {
    padding: 8px 20px;
}

.phone-dropdown a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    white-space: nowrap;
}
.phone-dropdown a:hover {
    color: #229ED9;
}

/* Mobile Menu Trigger & Overlay */
.mobile-menu-trigger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 20px;
}
.mobile-menu-trigger svg {
    width: 32px;
    height: 32px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    z-index: 999;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
}

.mobile-menu-overlay.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.mobile-close-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.mobile-nav a {
    font-size: 24px;
    text-decoration: none;
    color: var(--text-dark);
}

.mobile-phones {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-bottom: 40px;
}
.mobile-phones a {
    font-size: 16px;
    color: var(--text-dark);
    text-decoration: none;
}

/* -------------------------------------
 * Footer 
 * ------------------------------------- */
.site-footer {
    height: 100px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.site-footer .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer p, .site-footer a {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.04em;
    vertical-align: middle;
    color: var(--text-light);
    margin: 0;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* -------------------------------------
 * Media Queries
 * ------------------------------------- */
@media (max-width: 992px) {
    .main-navigation {
        display: none;
    }
    .phone-wrap {
        display: none;
    }
    .lang-switcher-wrap {
        margin-right: 0;
    }
    .mobile-menu-trigger {
        display: block;
    }
    .site-footer {
        height: auto;
        padding: 30px 0;
    }
    .site-footer .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
