/* Temel Stiller */
.hm-header {
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Top Bar - STICKY */
.hm-top-bar {
    background: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hm-top-bar.hm-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hm-top-bar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

/* Top Social */
.hm-top-social {
    display: flex;
    gap: 12px;
}

.hm-social-icon {
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
}

.hm-social-icon:hover {
    color: #004057;
    background: rgba(0, 64, 87, 0.1);
    transform: translateY(-2px);
}

.hm-social-icon i {
    font-size: 14px;
}

/* Main Header */
.hm-main-header {
    background: #ffffff;
    transition: all 0.3s ease;
}

.hm-main-header.hm-sticky {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.hm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    position: relative;
}

/* Logo */
.hm-logo img {
    height: auto;
    transition: all 0.3s ease;
}

/* Desktop Navigation */
.hm-desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 40px;
}

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

.hm-menu-item {
    position: relative;
}

.hm-menu-item > a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    font-family: "Roboto", Sans-serif;
    font-size: 15px;
    line-height: 1em;
}

.hm-menu-item > a:hover {
    color: #004057;
}

.hm-dropdown-icon {
    transition: transform 0.3s ease;
    width: 12px;
    height: 8px;
}

.hm-menu-item.hm-has-submenu:hover .hm-dropdown-icon {
    transform: rotate(180deg);
}

/* Submenu */
.hm-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    list-style: none;
    margin: 0;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid rgba(0,0,0,0.1);
}

.hm-menu-item:hover .hm-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hm-submenu li {
    margin: 0;
}

.hm-submenu a {
    display: block;
    padding: 10px 24px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-family: "Roboto", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

.hm-submenu a:hover {
    background-color: #f8f9fa;
    color: #004057;
}

/* Right Section */
.hm-right-section {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Language */
.hm-language {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: "Roboto", Sans-serif;
}

.hm-language:hover {
    background-color: rgba(0, 64, 87, 0.1);
}

.hm-language img {
    border-radius: 3px;
    width: 24px;
    height: 18px;
}

.hm-language span {
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

/* CTA Button */
.hm-cta-btn {
    background-color: #004057;
    font-family: "Roboto", Sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1em;
    fill: #fff;
    color: #fff;
    border-style: solid;
    border-width: 1px;
    border-color: #004057;
    border-radius: 55px;
    padding: 14px 35px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.hm-cta-btn:hover {
    background-color: #ffffff;
    color: #004057;
    border-color: #004057;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 64, 87, 0.2);
}

/* Hamburger Button - SADECE MOBILE */
.hm-hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 32px;
    height: 26px;
    position: relative;
    transition: all 0.3s ease;
}

.hm-hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
    border-radius: 2px;
}

.hm-hamburger:hover span {
    background: #004057;
}

.hm-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hm-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hm-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Canvas - SADECE MOBILE - RESİMDEKİ GİBİ */
.hm-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #005f73;
    color: white;
    transition: right 0.4s ease;
    z-index: 1002;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0,0,0,0.3);
}

.hm-mobile-menu.active {
    right: 0;
    box-shadow: -5px 0 50px rgba(0,0,0,0.5);
}

/* Mobile Menu Canvas - SADECE MOBILE */
.hm-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #005f73;
    color: white;
    transition: right 0.4s ease;
    z-index: 1002;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0,0,0,0.3);
}

.hm-mobile-menu.active {
    right: 0;
    box-shadow: -5px 0 50px rgba(0,0,0,0.5);
}

/* Mobile Header - Logo ve Kapatma Butonu YAN YANA */
.hm-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    min-height: 70px;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile Logo - SOL TARAF */
.hm-mobile-logo {
    flex: 0 0 auto;
}

.hm-mobile-logo img {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

/* Mobile Close Button - SAĞ TARAF */
.hm-mobile-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 6px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    flex: 0 0 auto;
}

.hm-mobile-close:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.hm-mobile-close svg {
    width: 20px;
    height: 20px;
}

/* Mobile Social */
.hm-mobile-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
}

/* Mobile Navigation */
.hm-mobile-nav {
    flex: 1;
    padding: 0;
}

.hm-mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hm-mobile-menu-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hm-mobile-menu-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    line-height: 1.4;
    background: rgba(255,255,255,0.03);
}

.hm-mobile-menu-item > a:hover {
    background: rgba(255,255,255,0.08);
    padding-left: 30px;
}

.hm-mobile-dropdown-icon {
    transition: transform 0.3s ease;
    width: 12px;
    height: 8px;
    margin-left: 8px;
}

/* Mobile CTA */
.hm-mobile-cta {
    padding: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
}

.hm-mobile-cta .hm-cta-btn {
    display: block;
    text-align: center;
    background: white;
    color: #005f73;
    padding: 16px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: "Roboto", Sans-serif;
    font-size: 15px;
    border: 2px solid white;
}

/* Mobile Contact */
.hm-mobile-contact {
    padding: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
}

.hm-mobile-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    padding: 10px 0;
    font-family: "Roboto", Sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.hm-mobile-contact a:hover {
    opacity: 1;
    gap: 18px;
    color: #fff;
}

.hm-mobile-contact svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.8;
}

/* Overlay */
.hm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.hm-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Body lock when menu open */
body.hm-menu-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 991px) {
    .hm-desktop-only {
        display: none !important;
    }
    
    .hm-mobile-only {
        display: block !important;
    }
    
    .hm-hamburger {
        display: flex;
    }
    
    .hm-header-inner {
        padding: 12px 0;
    }
    
    .hm-logo img {
        max-width: 140px;
    }
    
    .hm-top-bar {
        display: none;
    }
}

@media (min-width: 992px) {
    .hm-mobile-only {
        display: none !important;
    }
    
    .hm-desktop-only {
        display: flex !important;
    }
}

/* Tablet için ek düzenlemeler */
@media (min-width: 768px) and (max-width: 991px) {
    .hm-container {
        padding: 0 15px;
    }
    
    .hm-header-inner {
        padding: 15px 0;
    }
    
    .hm-logo img {
        max-width: 130px;
    }
}

/* Large desktop için ek düzenlemeler */
@media (min-width: 1200px) {
    .hm-container {
        max-width: 1300px;
    }
    
    .hm-menu {
        gap: 40px;
    }
}