:root {
    --primary-color: #9d2925; /* Daha canlı bir vişne/kırmızı tonu */
    --text-dark: #1a1a1a;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Inter', sans-serif;
    padding-top: 170px;
}

/* 1. Top Bar */
.top-bar {
    background: var(--primary-color);
    height: 40px;
    font-size: 11px;
    letter-spacing: 1px;
    color: #fff;
}

.top-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
}

    .top-links a:hover {
        color: #fff;
        text-shadow: 0 0 10px rgba(255,255,255,0.5);
    }

/* 2. Logo Tasarımı */
.logo-main {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.logo-sub {
    display: block;
    font-size: 9px;
    letter-spacing: 4px;
    color: #888;
    margin-top: 4px;
}

/* 3. Menü Linkleri */
.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 10px 18px !important;
    position: relative;
    transition: var(--transition);
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: var(--transition);
        transform: translateX(-50%);
    }

    .nav-link:hover::after {
        width: 30px;
    }

    .nav-link:hover {
        color: var(--primary-color) !important;
    }

/* 4. Dropdown Gelişmiş */
.custom-dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    border-radius: 12px;
    padding: 15px;
    min-width: 200px;
}

.custom-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 5. İkonlar */
.icon-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-dark);
    margin: 0 8px;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

    .icon-btn:hover {
        color: var(--primary-color);
        background: #f8f8f8;
        transform: translateY(-3px);
    }

.cart-badge {
    position: absolute;
    top: 5px;
    right: 0;
    background: var(--primary-color);
    color: white;
    font-size: 9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 6. SONSUR TICKER (KESİNTİSİZ) */
.ticker-box {
    overflow: hidden;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.ticker-scroll {
    display: flex;
    width: max-content;
    animation: infiniteScroll 30s linear infinite;
}

.ticker-item {
    padding: 0 40px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
}

@keyframes infiniteScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
    /* İçerik iki katı olduğu için yarıda döner */
}

/* 7. ARAMA OVERLAY (MARJİNAL) */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(157, 41, 37, 0.98);
    backdrop-filter: blur(25px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

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

/* Form Konteynırı */
.modern-search-bar-overlay {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    transition: border-color 0.4s;
}

    .modern-search-bar-overlay:focus-within {
        border-bottom-color: #fff;
    }

/* Input: O beyaz kutuyu yok eden kısım burası */
.search-field-modern {
    width: 100%;
    background: transparent !important; /* Arkaplanı şeffaf yap */
    border: none !important; /* Kenarlıkları sil */
    color: #fff !important; /* Yazıyı beyaz yap */
    font-size: 2.5rem;
    font-weight: 300;
    outline: none !important;
    padding: 10px 60px 10px 0;
}

    .search-field-modern::placeholder {
        color: rgba(255, 255, 255, 0.3);
    }

/* İkonun yerleşimi */
.search-btn-modern {
    position: absolute;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

    .search-btn-modern:hover {
        transform: scale(1.2);
    }

/* Kapatma Butonu (Sağ Üst) */
.close-search {
    position: absolute;
    top: 40px;
    right: 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

    .close-search:hover {
        background: #fff;
        color: var(--primary-color);
    }

/* Animasyonlar */
.active .animate-text {
    animation: fadeInUp 0.8s both 0.2s;
}

.active .animate-text-delay {
    animation: fadeInUp 0.8s both 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}