/* Tuvecca anasayfa hero — teal overlay, pembe vurgu CTA, hover’da yukarı kayma yok */

.tuvecca-hero {
    --tuvecca-teal: #1a4b63;
    --tuvecca-teal-overlay: rgba(26, 75, 99, 0.7);
    --tuvecca-orange: #e26e9a;
    --tuvecca-orange-hover: #c75188;
    position: relative;
    overflow: hidden;
    font-family: var(--tuvecca-font-display, "Poppins", system-ui, sans-serif);
}

.tuvecca-hero__media {
    position: absolute;
    inset: 0;
    background-color: var(--tuvecca-teal);
}

.tuvecca-hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 70% center;
    background-repeat: no-repeat;
    opacity: 0;
    animation-name: tuveccaHeroFade;
    animation-duration: calc(var(--tuvecca-hero-slide-count, 1) * 5s);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.tuvecca-hero__slide:nth-child(1) { animation-delay: 0s; }
.tuvecca-hero__slide:nth-child(2) { animation-delay: 5s; }
.tuvecca-hero__slide:nth-child(3) { animation-delay: 10s; }
.tuvecca-hero__slide:nth-child(4) { animation-delay: 15s; }
.tuvecca-hero__slide:nth-child(5) { animation-delay: 20s; }
.tuvecca-hero__slide:nth-child(6) { animation-delay: 25s; }
.tuvecca-hero__slide:nth-child(7) { animation-delay: 30s; }
.tuvecca-hero__slide:nth-child(8) { animation-delay: 35s; }

@keyframes tuveccaHeroFade {
    0% { opacity: 0; }
    8% { opacity: 1; }
    25% { opacity: 1; }
    33% { opacity: 0; }
    100% { opacity: 0; }
}

.tuvecca-hero--single-slide .tuvecca-hero__slide {
    animation: none;
    opacity: 1;
}

.tuvecca-hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--tuvecca-teal-overlay);
    pointer-events: none;
}

.tuvecca-hero__content {
    position: relative;
    z-index: 2;
    min-height: min(88vh, 900px);
    display: flex;
    flex-direction: column;
}

.tuvecca-hero__content > .tuvecca-hero__searchArea.searchArea {
    position: absolute;
    inset: 0;
    z-index: 40;
    background: var(--tuvecca-teal);
}

.tuvecca-hero__navbar {
    padding: 0.22rem 0;
    background: rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    position: relative;
}

/* style.css içindeki global `nav { position: absolute }` hero menüsünü bozmasın */
body.tuvecca-home .tuvecca-hero nav.navbar {
    position: relative !important;
}

.tuvecca-hero__nav-inner {
    align-items: center;
}

.tuvecca-hero__brand {
    font-size: 1.25rem;
}

.tuvecca-hero__logoimg {
    height: clamp(32px, 4.4vw, 46px);
    width: auto;
    max-width: min(150px, 32vw);
    object-fit: contain;
    display: block;
}

.tuvecca-hero__logofallback {
    width: 52px;
    height: 52px;
    background: #c0392b;
    font-size: 1.25rem;
}

.tuvecca-hero__logotext {
    letter-spacing: 0.02em;
}

.tuvecca-hero__toggler {
    padding: 0.4rem 0.65rem;
}

.tuvecca-hero__collapse {
    flex-grow: 1;
}

.tuvecca-hero__nav-cluster .navbar-nav {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.tuvecca-hero .navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.5rem 0.65rem !important;
}

.tuvecca-hero .navbar-nav .nav-link:hover,
.tuvecca-hero .navbar-nav .nav-link:focus {
    color: #fff !important;
    opacity: 0.9;
}

.tuvecca-hero .navbar-nav .dropdown-toggle::after {
    border-top-color: #fff;
    vertical-align: 0.15em;
}

.tuvecca-hero .dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tuvecca-hero .dropdown-item {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tuvecca-hero__search-toggle:hover,
.tuvecca-hero__search-toggle:focus {
    color: #fff !important;
    opacity: 0.85;
}

.tuvecca-hero__body {
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 2rem;
}

.tuvecca-hero__row {
    width: 100%;
}

.tuvecca-hero__headline-wrap {
    position: relative;
}

.tuvecca-hero__copy {
    width: 100%;
}

.tuvecca-social--hero-side {
    display: flex;
    flex-direction: row;
    gap: 0.7rem;
    justify-content: center;
}

.tuvecca-social--hero-side a {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.16);
    animation: tuveccaSocialPulse 3.2s ease-in-out infinite;
    animation-delay: calc(var(--tuvecca-social-index, 0) * 180ms);
}

.tuvecca-social--hero-side li:nth-child(1) a { --tuvecca-social-index: 0; }
.tuvecca-social--hero-side li:nth-child(2) a { --tuvecca-social-index: 1; }
.tuvecca-social--hero-side li:nth-child(3) a { --tuvecca-social-index: 2; }
.tuvecca-social--hero-side li:nth-child(4) a { --tuvecca-social-index: 3; }
.tuvecca-social--hero-side li:nth-child(5) a { --tuvecca-social-index: 4; }

@keyframes tuveccaSocialPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
    45% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.08);
    }
}

.tuvecca-hero__title {
    font-size: clamp(1.3rem, 3.6vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.tuvecca-hero__subtitle {
    font-size: clamp(0.92rem, 1.9vw, 1.08rem);
    font-weight: 500;
    line-height: 1.45;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .tuvecca-hero__subtitle {
        margin-left: 0;
        margin-right: 0;
    }
}

.tuvecca-hero__btn-ghost {
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 0;
    padding: 0.65rem 1.25rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tuvecca-hero__btn-ghost:hover,
.tuvecca-hero__btn-ghost:focus {
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--tuvecca-teal) !important;
    border-color: #fff !important;
}

.tuvecca-hero__btn-primary {
    color: #fff !important;
    background: rgba(226, 110, 154, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 0;
    padding: 0.65rem 1.25rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tuvecca-hero__btn-primary:hover,
.tuvecca-hero__btn-primary:focus {
    background: var(--tuvecca-orange-hover) !important;
    border-color: var(--tuvecca-orange-hover) !important;
    color: #fff !important;
}

.tuvecca-hero__scroll-down {
    position: absolute;
    left: 50%;
    bottom: 1.1rem;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: rgba(255, 255, 255, 0.96);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.68rem;
    font-weight: 700;
}

.tuvecca-hero__scroll-down i {
    font-size: 1.05rem;
    animation: tuveccaScrollArrow 1.5s ease-in-out infinite;
}

@keyframes tuveccaScrollArrow {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

.tuvecca-hero__scroll-down:hover,
.tuvecca-hero__scroll-down:focus-visible {
    color: #fff;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 991.98px) {
    .tuvecca-hero__content {
        min-height: min(78vh, 780px);
    }

    .tuvecca-hero__navbar {
        background: rgba(17, 59, 79, 0.82);
        border-bottom-color: rgba(255, 255, 255, 0.16);
    }

    .tuvecca-hero__collapse {
        background: rgba(17, 59, 79, 0.96);
        margin: 0.75rem -0.5rem 0;
        padding: 0.5rem 1rem 1rem;
    }

    .tuvecca-hero .navbar-nav {
        text-align: center;
    }

    .tuvecca-hero .navbar-nav .nav-link {
        padding: 0.65rem 0 !important;
    }

    .tuvecca-hero .dropdown-menu {
        text-align: center;
        background: rgba(255, 255, 255, 0.95);
    }

    .tuvecca-hero__nav-cluster .navbar-nav {
        margin-left: 0 !important;
    }

    .tuvecca-hero__search-toggle {
        align-self: center;
    }

    .tuvecca-hero__member {
        justify-content: center;
    }

    .tuvecca-hero__headline-wrap {
        gap: 1rem !important;
    }

    .tuvecca-social--hero-side a {
        width: 2.3rem;
        height: 2.3rem;
        font-size: 0.95rem;
    }

    .tuvecca-hero__scroll-down span {
        display: none;
    }

    .tuvecca-hero__scroll-down {
        bottom: 0.75rem;
    }

    .tuvecca-hero__logoimg {
        height: clamp(28px, 8vw, 40px);
        max-width: min(130px, 38vw);
    }
}

body.tuvecca-home {
    padding-top: 0;
}

.tuvecca-hero .tuvecca-social {
    justify-content: center;
}

@media (min-width: 992px) {
    .tuvecca-social--hero-side {
        flex-direction: column;
        padding: 0.55rem 0.4rem;
        border: 1px solid rgba(255, 255, 255, 0.24);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.07);
    }

    .tuvecca-hero .tuvecca-social {
        justify-content: flex-end;
    }

    .tuvecca-hero .tuvecca-social--hero-side {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tuvecca-hero__slide {
        animation: none !important;
        opacity: 0;
    }
    .tuvecca-hero__slide:first-child {
        opacity: 1;
    }
    .tuvecca-social--hero-side a,
    .tuvecca-hero__scroll-down i {
        animation: none !important;
    }
}
