/* Header v3 — 3 kolon: sol | logo | sağ (aynı hiza) */
#header.header-v3 {
    height: auto !important;
    min-height: 0;
    background: #fff;
    border-bottom: 1px solid #ececec;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    transition: box-shadow .25s ease;
}

#header.header-v3 .hdr-shell {
    display: flex;
    align-items: flex-start; /* logo üstü = sol/sağ üst hizası */
    justify-content: space-between;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 28px 12px;
    min-height: 0;
    transition: padding .25s ease;
}

#header.header-v3 .hdr-corner {
    position: static;
    flex: 1 1 0;
    min-width: 0;
    z-index: 3;
}
#header.header-v3 .hdr-corner-left {
    text-align: left;
}
#header.header-v3 .hdr-corner-right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 16px;
    text-align: right;
    padding-top: 2px; /* rezervasyon butonu logo üst çizgisine yaklaşsın */
}

#header.header-v3 .hdr-guarantee {
    font-size: 15px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #111;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 12px;
    transition: margin .25s ease, font-size .25s ease;
}

#header.header-v3 .hdr-icons {
    display: flex;
    align-items: center;
    height: 22px;
}
#header.header-v3 .hdr-icons a {
    background: url(https://dnadalyan.b-cdn.net/assets/img/sprite2.png) no-repeat 0 0;
    float: none;
    display: block;
    opacity: .9;
    flex-shrink: 0;
}
#header.header-v3 .hdr-icons a:hover { opacity: 1; text-decoration: none; }
#header.header-v3 .hdr-icons a.location { width: 15px; height: 20px; margin-right: 18px; }
#header.header-v3 .hdr-icons a.email { width: 28px; height: 20px; margin-right: 16px; background-position: -78px 0; }
#header.header-v3 .hdr-icons a.tripadvisor {
    width: 30px;
    height: 20px;
    margin-right: 0;
    background: url(https://dnadalyan.b-cdn.net/assets/img/tripadvisor-icon.png) no-repeat 0 0;
}

#header.header-v3 .hdr-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    letter-spacing: .1em;
    font-weight: 600;
}
#header.header-v3 .hdr-lang-sep {
    color: #bbb;
    font-size: 14px;
    font-weight: 400;
}
#header.header-v3 .hdr-lang a {
    color: #666;
    text-decoration: none;
    text-transform: uppercase;
}
#header.header-v3 .hdr-lang a.is-active,
#header.header-v3 .hdr-lang a:hover { color: #111; }

#header.header-v3 .hdr-book {
    display: inline-block;
    background: #111;
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 13px 22px;
    line-height: 1;
    border-radius: 0;
    white-space: nowrap;
    transition: background .2s ease, padding .25s ease, font-size .25s ease;
}
#header.header-v3 .hdr-book:hover {
    background: #014f8f;
    text-decoration: none;
}

#header.header-v3 .hdr-brand {
    flex: 0 1 auto;
    text-align: center;
    padding: 0 12px;
    max-width: 460px;
    margin-top: 0;
}
#header.header-v3 .hdr-brand a {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}
#header.header-v3 .hdr-brand img {
    width: auto;
    height: 96px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    vertical-align: top;
    transition: height .25s ease;
}
#header.header-v3 .hdr-meta {
    margin-top: 8px;
    font-size: 14px;
    letter-spacing: .02em;
    color: #444;
    line-height: 1.45;
    max-height: 40px;
    opacity: 1;
    overflow: hidden;
    transition: max-height .25s ease, opacity .2s ease, margin .25s ease;
}
#header.header-v3 .hdr-meta-phone {
    display: inline;
}
#header.header-v3 .hdr-meta-phone::before {
    content: "  ";
}
#header.header-v3 .hdr-meta a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}
#header.header-v3 .hdr-meta a:hover { color: #014f8f; }

#header.header-v3 .hdr-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 28px;
    padding: 14px 24px 18px;
    border-top: 1px solid #f0f0f0;
    transition: padding .25s ease;
}

/* Scroll: adres gizle + header daralt */
#header.header-v3.is-compact .hdr-shell {
    padding: 10px 28px 6px;
}
#header.header-v3.is-compact .hdr-meta {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    pointer-events: none;
}
#header.header-v3.is-compact .hdr-brand img {
    height: 56px;
}
#header.header-v3.is-compact .hdr-guarantee {
    font-size: 13px;
    margin-bottom: 8px;
}
#header.header-v3.is-compact .hdr-book {
    padding: 10px 16px;
    font-size: 12px;
}
#header.header-v3.is-compact .hdr-nav {
    padding: 8px 24px 12px;
}
#header.header-v3.is-compact .hdr-lang {
    font-size: 15px;
}
#header.header-v3 .hdr-nav a {
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: .08em;
    font-weight: 500;
    line-height: 1.4;
    position: relative;
    padding: 2px 0;
}
#header.header-v3 .hdr-nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #111;
    transform: translateX(-50%);
    transition: width .25s ease;
}
#header.header-v3 .hdr-nav a:hover::after { width: 100%; }

@media (max-width: 1100px) {
    #header.header-v3 .hdr-brand img { height: 80px; }
    #header.header-v3 .hdr-nav { gap: 0 20px; }
    #header.header-v3 .hdr-nav a { font-size: 14px; }
    #header.header-v3 .hdr-meta { font-size: 13px; }
}

@media (max-width: 991px) {
    #header.header-v3 .hdr-shell {
        padding: 14px 16px 10px;
        gap: 12px;
    }
    #header.header-v3 .hdr-guarantee { font-size: 12px; letter-spacing: .08em; }
    #header.header-v3 .hdr-brand img { height: 64px; }
    #header.header-v3 .hdr-meta { font-size: 12px; }
    #header.header-v3 .hdr-lang { font-size: 15px; }
    #header.header-v3 .hdr-nav a { font-size: 13px; }
    #header.header-v3 .hdr-book { padding: 11px 14px; font-size: 12px; }
}

/* Header içi MENÜ — masaüstünde gizli */
#header.header-v3 .hdr-menu {
    display: none;
}

/* Mobil: logo+altı ortada; MENÜ sağda, logo ile aynı yatay hat */
@media (max-width: 767px) {
    /* Eski siyah MENÜ şeridini gizle; tetikleyici header’da */
    #mobileMenu:not(.opened) {
        display: none !important;
    }

    #header.header-v3 {
        height: auto !important;
        padding-top: 0;
        margin-top: 0;
    }
    #header.header-v3 .hdr-shell {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 10px 12px 12px;
    }
    #header.header-v3 .hdr-nav { display: none; }
    #header.header-v3 .hdr-meta { display: none; }

    #header.header-v3 .hdr-menu {
        position: absolute;
        top: 10px;
        right: 12px;
        z-index: 4;
        display: block;
        width: auto;
        text-align: right;
        background: none;
        color: #111;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: .14em;
        text-transform: uppercase;
        line-height: 46px; /* logo yüksekliği — aynı yatay hat */
        height: 46px;
        padding: 0;
        margin: 0;
    }
    #header.header-v3 .hdr-menu:hover {
        color: #014f8f;
        text-decoration: none;
    }

    #header.header-v3 .hdr-brand {
        order: 1;
        text-align: center;
        max-width: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    #header.header-v3 .hdr-brand img {
        height: 46px;
        width: auto;
        max-width: 170px;
        margin: 0 auto;
        display: block;
    }

    #header.header-v3 .hdr-corner-left {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        flex: none;
    }
    #header.header-v3 .hdr-guarantee {
        font-size: 11px;
        letter-spacing: .1em;
        margin-bottom: 8px;
    }
    #header.header-v3 .hdr-icons {
        justify-content: center;
        height: 20px;
    }
    #header.header-v3 .hdr-icons a.location { margin-right: 14px; }
    #header.header-v3 .hdr-icons a.email { margin-right: 12px; }

    #header.header-v3 .hdr-corner-right {
        order: 3;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding-top: 0;
        flex: none;
        text-align: center;
    }
    #header.header-v3 .hdr-lang {
        font-size: 14px;
        gap: 6px;
    }
    #header.header-v3 .hdr-book {
        display: none;
    }

    /* Scroll: biraz daha kompakt; rezervasyon görünür */
    #header.header-v3.is-compact .hdr-shell {
        gap: 6px;
        padding: 8px 12px 10px;
    }
    #header.header-v3.is-compact .hdr-menu {
        top: 8px;
        right: 12px;
        line-height: 36px;
        height: 36px;
    }
    #header.header-v3.is-compact .hdr-brand img {
        height: 36px;
    }
    #header.header-v3.is-compact .hdr-guarantee {
        font-size: 10px;
        margin-bottom: 6px;
    }
    #header.header-v3.is-compact .hdr-book {
        display: inline-flex;
        align-items: center;
        padding: 7px 12px;
        font-size: 11px;
        letter-spacing: .04em;
        line-height: 1.1;
        white-space: nowrap;
    }
    #header.header-v3.is-compact .hdr-lang {
        font-size: 14px;
        flex-shrink: 0;
    }
}
