﻿/*anasayfa*/
body {
    background-color: #f8f3ee;
}

/* HERO */
.hero-section {
    padding: 24px 40px 10px;
}

.hero-box {
    max-width: 1280px;
    margin: 0 auto;
    background: linear-gradient(90deg, #ead9ca 0%, #e9d9cc 45%, #d8c0ad 100%);
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    min-height: 420px;
}

.hero-left {
    padding: 55px 60px;
}

.hero-badge {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 1.5px;
    color: #6a4a36;
    font-weight: 600;
    margin-bottom: 18px;
}

.hero-left h1 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    line-height: 1.05;
    color: #3c2415;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 22px;
    line-height: 1.7;
    color: #6a4d3d;
    max-width: 520px;
    margin-bottom: 28px;
}

.hero-btn {
    display: inline-block;
    background-color: #4b2e1f;
    color: #fff;
    text-decoration: none;
    padding: 16px 30px;
    border-radius: 14px;
    font-weight: 600;
    letter-spacing: .4px;
    transition: 0.3s;
}

    .hero-btn:hover {
        background-color: #2f1c12;
        color: #fff;
    }

.hero-right {
    height: 100%;
}

    .hero-right img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* SECTION TOP */
.featured-products-section {
    max-width: 1280px;
    margin: 28px auto 0;
    padding: 0 0 40px;
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

    .section-top h2 {
        font-family: 'Playfair Display', serif;
        font-size: 44px;
        color: #4a2f20;
        margin-bottom: 6px;
    }

    .section-top p {
        margin: 0;
        color: #8a6b57;
        font-size: 18px;
    }

.show-all-btn {
    text-decoration: none;
    color: #7a5a46;
    border: 1px solid #dcc7b5;
    padding: 12px 22px;
    border-radius: 999px;
    background-color: #fbf6f1;
    font-weight: 500;
}

/* PRODUCTS */
.home-product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.home-product-card {
    background-color: #f7efe8;
    border: 1px solid #eadccf;
    border-radius: 18px;
    overflow: hidden;
    transition: 0.3s ease;
}

    .home-product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(90, 62, 43, 0.10);
    }

.home-product-image-wrapper {
    position: relative;
    height: 320px;
    background-color: #efe3d8;
    overflow: hidden;
}

.home-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6a4a36;
    text-decoration: none;
    font-size: 18px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

    .favorite-btn:hover {
        color: #4b2e1f;
    }

.home-product-info {
    padding: 16px 14px 18px;
}

    .home-product-info h3 {
        font-size: 22px;
        color: #4b3124;
        margin-bottom: 10px;
        font-weight: 500;
        min-height: 54px;
    }

.home-product-price {
    font-size: 28px;
    color: #3b2418;
    font-weight: 700;
    margin-bottom: 14px;
}

.add-to-cart-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #5a3421;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    padding: 12px 0;
    font-weight: 600;
    transition: 0.3s;
}

    .add-to-cart-btn:hover {
        background-color: #3d2417;
        color: white;
    }

/* SERVICES */
.service-area {
    max-width: 1280px;
    margin: 0 auto 40px;
}

.service-box {
    background-color: #eadccf;
    border-radius: 18px;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #6a4a36;
}

    .service-item i {
        font-size: 28px;
        color: #8b6548;
    }

    .service-item h4 {
        margin: 0 0 4px;
        font-size: 18px;
        color: #5a3a29;
    }

    .service-item p {
        margin: 0;
        font-size: 15px;
        color: #7d6352;
    }

@media (max-width: 1200px) {
    .home-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 18px 16px 10px;
    }

    .hero-left {
        padding: 30px 24px;
    }

        .hero-left h1 {
            font-size: 42px;
        }

        .hero-left p {
            font-size: 16px;
        }

    .featured-products-section,
    .service-area {
        padding: 0 16px;
    }

    .home-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .service-box {
        grid-template-columns: 1fr;
    }
    /*FAVORİLER*/
    .product-image-area img {
        transition: 0.3s;
    }

    .home-product-card:hover img {
        transform: scale(1.05);
    }
    /* SİPARİŞ BAŞARILI SAYFASI */
    .order-success-box {
        max-width: 720px;
        margin: 0 auto;
        display: block;
        text-align: center;
        padding: 45px 35px;
    }

    .success-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 22px;
        border-radius: 50%;
        background-color: #5A3E2B;
        color: #FFFAF5;
        font-size: 46px;
        font-weight: 700;
        line-height: 80px;
    }

    .success-title {
        margin-bottom: 15px;
        font-size: 34px !important;
    }

    .success-text {
        color: #6f5646;
        font-size: 16px;
        line-height: 1.8;
        max-width: 560px;
        margin: 0 auto 30px;
    }

    .success-actions {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .success-btn,
    .success-light-btn {
        width: auto;
        min-width: 180px;
        display: inline-block;
        text-align: center;
    }

    .success-btn {
        background-color: #5A3E2B;
        color: white;
    }

        .success-btn:hover {
            background-color: #3E2A1F;
            color: white;
        }
    .favorite-btn.active i {
        color: #8B2E2E;
    }
   
}
/*Admin giriş butonu*/
.admin-login-small {
    text-align: right;
    margin-top: 15px;
}

    .admin-login-small a {
        font-size: 12px;
        color: #8B6B5C;
        text-decoration: none;
        opacity: 0.7;
        transition: 0.3s;
    }

        .admin-login-small a:hover {
            opacity: 1;
            color: #5A3E2B;
        }
        /*Kategori ana layout*/
.nav-dropdown {
    position: relative;
}

    .nav-dropdown .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #FFFAF5;
        border: 1px solid #E8D8C8;
        border-radius: 12px;
        min-width: 160px;
        padding: 8px 0;
        z-index: 9999;
        box-shadow: 0 8px 20px rgba(90, 62, 43, 0.15);
    }

    .nav-dropdown .dropdown-menu {
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-dropdown .dropdown-menu a {
        display: block;
        padding: 10px 15px;
        color: #5A3E2B;
        text-decoration: none;
    }

        .nav-dropdown .dropdown-menu a:hover {
            background: #F6F1EA;
        }
.category-link {
    color: #FFFAF5 !important; 
    text-decoration: none;
    font-weight: 500;
}

    .category-link:hover,
    .category-link:focus {
        color: #F6EDE5 !important;
    }
    /*Anayasayfaya dön yazsını konumlandırma*/
.navbar-custom {
    position: relative;
}

.back-home-link {
    position: absolute;
    top: 8px;
    right: 18px;
    font-size: 12px;
    color: #F6EDE5;
    text-decoration: none;
    z-index: 1000;
}

    .back-home-link:hover {
        color: #D6BFA7;
    }



