/* assets/css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #fbf7f2;
    color: #2e2e2e;
    line-height: 1.5;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* DÜZELTİLDİ: Logo stilleri birleştirildi */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    height: 40px;  /* Logo yüksekliği - istediğin boyuta ayarla */
    width: auto;
    transition: 0.3s;
}

.logo-icon:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3c6e47;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: #c76a3a;
}

/* Eski yazılı logo stilleri (gerekirse kalabilir) */
.logo .big-o {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3c6e47;
}
.logo .big-b {
    font-size: 2.5rem;
    font-weight: 800;
    color: #c76a3a;
}
.logo .big-c {
    font-size: 2.5rem;
    font-weight: 800;
    color: #c76a3a;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    font-weight: 500;
}
.nav-links a {
    text-decoration: none;
    color: #3b3b3b;
    transition: 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
    color: #c76a3a;
}
.nav-links a.active {
    border-bottom: 3px solid #c76a3a;
    padding-bottom: 5px;
}

/* Sepet Özeti */
.cart-summary {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
    color: #3c6e47;
}
.cart-summary .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #c76a3a;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dropdown Menü */
.dropdown {
    position: relative;
    display: inline-block;
}

.order-btn {
    background: #3c6e47;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 14px rgba(60,110,71,0.25);
    transition: 0.2s;
}
.order-btn:hover {
    background: #2b5534;
    transform: scale(1.02);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 120%;
    background: white;
    min-width: 280px;
    border-radius: 20px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.15);
    z-index: 1000;
    border: 1px solid #f0e3d4;
    overflow: hidden;
}

.dropdown.show .dropdown-content {
    display: block;
}

.dropdown-item {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    border-bottom: 1px solid #f5eee7;
    transition: 0.2s;
}
.dropdown-item:last-child {
    border-bottom: none;
}
.dropdown-item:hover {
    background: #fff3e9;
}
.dropdown-item i {
    font-size: 1.5rem;
    color: #c76a3a;
    width: 30px;
}
.dropdown-item .item-title {
    font-weight: 700;
    color: #2d4a37;
}
.dropdown-item .item-desc {
    font-size: 0.85rem;
    color: #777;
}

/* Banner */
.banner {
    background: linear-gradient(100deg, #1f3b2c 0%, #386b4a 100%);
    color: white;
    padding: 4rem 5%;
    position: relative;
    overflow: hidden;
}
.banner-content {
    max-width: 700px;
    position: relative;
    z-index: 3;
}
.banner h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.banner p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 550px;
}
.banner-shape {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" opacity="0.15"><path fill="white" d="M78.5,-67.3C98.3,-51.8,109.7,-25.9,108.5,-0.8C107.3,24.3,93.5,48.5,73.7,67.2C53.9,85.9,27,99.1,-1.4,100.5C-29.8,101.9,-59.6,91.5,-79.4,72.8C-99.2,54.1,-109,27.1,-108.2,0.8C-107.4,-25.5,-96,-50.9,-76.2,-66.4C-56.4,-81.9,-28.2,-87.5,-0.9,-86.6C26.5,-85.7,58.7,-82.8,78.5,-67.3Z" transform="translate(100 100)"/></svg>') no-repeat;
    background-size: cover;
}
.banner-btn {
    background: #c76a3a;
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.banner-btn:hover {
    background: #aa5327;
    transform: scale(1.02);
}

/* Footer */
footer {
    background: #1f2f24;
    color: #ccc;
    padding: 3rem 5% 1rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2rem;
}
.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}
.footer-section ul {
    list-style: none;
}
.footer-section ul li {
    margin-bottom: 0.5rem;
}
.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.2s;
}
.footer-section ul li a:hover {
    color: #c76a3a;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #3c6e47;
}

/* Animasyonlar */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .banner h1 {
        font-size: 2.5rem;
    }
    .dropdown-content {
        right: auto;
        left: 0;
    }

    /* Mobilde logo boyutu */
    .logo-icon {
        height: 35px;  /* Mobilde biraz daha küçük */
    }

    .logo-text {
        font-size: 1.5rem;  /* Mobilde yazı boyutu küçülsün */
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .logo-icon {
        height: 30px;
    }

    .logo-text {
        font-size: 1.3rem;
    }
}
