:root {
    --primary: #8b2e1f;
    --secondary: #c41e3a;
    --accent: #d4a574;
    --whatsapp: #25d366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== HEADER & NAVBAR (DÜZENLENMİŞ) ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary) 0%, #3d6b1f 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1100;
    padding: 0.6rem 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.navbar-brand img {
    height: 55px;
    margin-right: 10px;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.7rem 1rem;
    transition: all 0.3s;
    position: relative;
}

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

/* Alt çizgi animasyon */
.nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--accent);
    left: 50%;
    bottom: 5px;
    transition: all 0.3s;
}

.nav-link:hover::after {
    width: 60%;
    left: 20%;
}

/* ===== DROPDOWN MENÜ ===== */
.dropdown-menu {
    background: var(--primary) !important;
    border: none;
    min-width: 180px;
    padding: 0.3rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.dropdown-menu.show {
    display: block;
    opacity: 1 !important;
}

.dropdown-item {
    color: white !important;
    font-weight: 400;
    padding: 0.6rem 1rem;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.1) !important;
    color: var(--accent) !important;
}

.navbar-toggler {
    border: none !important;
}

.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    filter: brightness(0.9);
}

/* Dropdown ok dönüşü için efekt */
.nav-item.dropdown .dropdown-toggle::after {
    margin-left: 6px;
    transition: transform 0.3s;
}

.nav-item.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Mobile adjustments for navbar */
@media (max-width: 992px) {

    /* Menü açıldığında kayma olmasın */
    body.modal-open {
        overflow: hidden;
    }

    .navbar-brand img {
        height: 48px;
    }

    /* Mobilde link alt çizgisi kalksın */
    .nav-link::after {
        display: none !important;
    }

    /* Mobil dropdown düzgün boşluklu olsun */
    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        box-shadow: none;
        padding-left: 15px;
        margin-top: 0;
        background: rgba(0,0,0,0.15) !important;
    }

    .dropdown-item {
        padding: 0.7rem 1.2rem;
        border-left: 3px solid transparent;
    }

    .dropdown-item:hover {
        border-left: 3px solid var(--accent);
    }

    .nav-link {
        padding: 0.9rem 1rem !important;
    }

    /* Mobilde menü itemleri daha geniş olsun */
    .navbar-collapse {
        background: linear-gradient(135deg, var(--primary) 0%, #3d6b1f 100%);
        padding-bottom: 1rem;
        padding-top: 1rem;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .dropdown-menu {
        font-size: 0.9rem;
        padding-left: 10px;
    }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 10;
    background: transparent;
    padding: 60px 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 700px;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.1rem);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #3d6b1f 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    position: relative;
    z-index: 3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-header .subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    position: relative;
    z-index: 3;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* ===== SECTION STYLING ===== */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 3rem 0;
    color: var(--primary);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s;
    background: white;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.15);
}

.product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-card h3,
.product-card h4 {
    color: var(--primary);
    font-weight: bold;
    margin: 1rem 0;
    flex-grow: 1;
}

.product-card p {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-card a {
    color: white;
    background: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-top: auto;
    border: none;
    cursor: pointer;
}

.product-card a:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.3);
    text-decoration: none;
}

/* ===== İNDİRİM ROZETİ ===== */
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #dc3545;
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 50%;
    font-weight: bold;
    z-index: 10;
    font-size: 0.95rem;
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
}

/* ===== FİYAT SEKSİYONU ===== */
.price-section {
    background-color: #f8f4f0;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid var(--secondary);
}

.current-price {
    font-size: 1.5rem;
    color: #dc3545;
    font-weight: bold;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-left: 0.5rem;
    font-size: 1rem;
}

/* ===== WHATSAPP BUTON ===== */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--whatsapp);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.whatsapp-btn:hover {
    background-color: #1fa857;
    text-decoration: none;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* ===== SABİT WHATSAPP BUTONU ===== */
.whatsapp-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ===== KAMPANYA BANNER ===== */
.campaign-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #8b2e1f 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-left: 5px solid var(--accent);
}

.campaign-banner h4 {
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.campaign-banner p {
    margin: 0;
    font-size: 1rem;
}

/* ===== KAMPANYA KARTLARI ===== */
.campaigns-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.campaign-card {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
    padding: 1.5rem;
    border-left: 5px solid var(--accent);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.campaign-card h5 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 1.1rem;
}

.campaign-card p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* ===== MODAL STYLING ===== */
.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, #3d6b1f 100%);
    color: white;
    border-bottom: 2px solid var(--accent);
}

.modal-header .close {
    color: white;
    opacity: 0.8;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
}

.modal-body img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.modal-body h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: bold;
}

.modal-body h5 {
    color: var(--primary);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.modal-body ul {
    list-style: none;
    padding-left: 0;
}

.modal-body ul li {
    padding: 0.5rem 0;
    color: #666;
}

.modal-body ul li::before {
    content: '✓ ';
    color: var(--secondary);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ===== PROMO BOX ===== */
.promo-box {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin: 3rem 0;
    text-align: center;
}

.promo-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.promo-box p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* ===== BUTTONS ===== */
.btn-custom {
    background: var(--accent);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-custom:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    text-decoration: none;
}

.btn-custom-white {
    background: white;
    color: var(--primary);
}

.btn-custom-white:hover {
    background: var(--accent);
    color: var(--primary);
}

.btn-info {
    background-color: #17a2b8 !important;
    border: none;
}

.btn-info:hover {
    background-color: #138496 !important;
}

/* ===== CONTACT & INFO BOXES ===== */
.contact-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.contact-box h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: bold;
}

.contact-box p {
    color: #666;
    line-height: 1.8;
}

.contact-box a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-box a:hover {
    color: var(--primary);
}

.info-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-top: 4px solid var(--secondary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.info-box h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: bold;
}

.info-box p {
    color: #666;
    margin: 0;
}

/* ===== MAP CONTAINER ===== */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-top: 2rem;
}

/* ===== CONTACT INFO INLINE ===== */
.contact-info-inline {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary);
}

.contact-info-inline p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.contact-info-inline a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-info-inline a:hover {
    color: var(--primary);
}

/* ===== ADVANTAGE LIST ===== */
.advantage-list {
    list-style: none;
    padding: 0;
}

.advantage-list li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #555;
}

/* ===== STEP CONTAINER ===== */
.step-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.step h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: bold;
}

.step p {
    color: #666;
    margin: 0;
}

/* ===== BENEFITS GRID ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.benefit-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

footer .container {
    padding-left: 15px;
    padding-right: 15px;
}

footer h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.8rem;
}

footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--accent);
}

.social-footer {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.social-footer a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    color: #888;
}

/* ===== MOBİL OPTİMİZASYON ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .nav-link::after {
        display: none;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .btn-custom {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
    }

    .btn-custom-white {
        margin-left: 0 !important;
    }

    .promo-box {
        padding: 30px 20px;
    }

    .promo-box h3 {
        font-size: 1.5rem;
    }

    .product-card {
        padding: 15px;
        margin-bottom: 1.5rem;
    }

    .product-card img {
        height: 150px;
    }

    .discount-badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }

    .price-section {
        padding: 0.8rem;
        margin: 0.8rem 0;
    }

    .current-price {
        font-size: 1.3rem;
    }

    .whatsapp-btn {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    .contact-box {
        margin-bottom: 20px;
    }

    .step-container {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .campaigns-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .campaign-card {
        padding: 1rem;
    }

    .campaign-banner {
        padding: 1.2rem;
        margin: 1.5rem 0;
    }

    .campaign-banner h4 {
        font-size: 1rem;
    }

    .campaign-banner p {
        font-size: 0.9rem;
    }

    .whatsapp-fixed {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-body h4 {
        font-size: 1.1rem;
    }

    .price-section {
        margin: 1rem 0;
    }
}
