/* ============================================
   NAPA Coffee Co. — Hero / Split Slider
   ============================================ */

.hero {
    display: flex;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* SOL YARI — Slider */
.hero-slider {
    position: relative;
    width: 55%;
    overflow: hidden;
}

.hero-slides-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.hero-slide {
    min-width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SAĞ YARI — İçerik */
.hero-content {
    width: 45%;
    background-color: var(--napa-black);
    background-image: url('../img/main-home-png-4.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* MÜHÜR
   Açıyı değiştirmek için: transform: rotate(DEĞİŞTİR);
   Örnek: rotate(-10deg) sola, rotate(10deg) sağa */
.hero-muhur {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 40px;
    transform: rotate(-12deg);
    transition: transform 0.3s ease;
}

/* YAZI BLOKLARI */
.hero-texts {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-text-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
}

.hero-text-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

/* Başlık satırları — overflow gizle ki aşağıdan gelsin */
.hero-title-wrap,
.hero-subtitle-wrap {
    overflow: hidden;
    padding-top: 15px;
    padding-bottom: 20px;
    margin-top: -15px;
    margin-bottom: -20px;
}

.hero-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: var(--napa-white);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
    transform: translateY(110%);
    opacity: 0;
    transition: none;
}

.hero-subtitle {
    font-family: 'Anton', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 4.5rem);
    color: var(--napa-red);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 24px;
    display: block;
    transform: translateY(110%);
    opacity: 0;
    transition: none;
}

/* Animasyonlu hali */
.hero-text-slide.active .hero-title {
    animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-text-slide.active .hero-subtitle {
    animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(110%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* WITH LOVE — hep sabit */
.hero-tagline {
    font-family: 'Delicious Handrawn', cursive;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    color: var(--napa-white);
    opacity: 0.7;
    margin-top: 20px;
    margin-bottom: 40px;
}

.hero-btn {
    font-family: 'Anton', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 40px;
    background-color: var(--napa-red);
    color: var(--napa-white);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-btn:hover {
    background-color: var(--napa-red-dark);
    color: var(--napa-white);
}

/* Slider dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-dot.active {
    background-color: var(--napa-red);
}

/* Mobil */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        height: auto;
    }
    .hero-slider {
        width: 100%;
        height: 50vh;
    }
    .hero-content {
        width: 100%;
        padding: 40px 20px;
    }
    .hero-muhur {
        width: 120px;
        height: 120px;
    }
}