/* ============================= */
/* GENEL */
/* ============================= */

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f8f8f8;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

/* ============================= */
/* NAVBAR */
/* ============================= */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1000;
}

.logo a {
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    color: #ff4d6d;
}

.menu {
    display: flex;
}

.menu a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.menu a:hover {
    color: #ff4d6d;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* ============================= */
/* HERO */
/* ============================= */

.hero {
    background-image: url('/assets/images/hero2.jpg');
    background-size: cover;
    background-position: center;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    background: rgba(0,0,0,0.55);
    padding: 40px;
    border-radius: 12px;
    color: white;
    text-align: center;
}

.hero-content h1 {
    margin: 0 0 15px;
    font-size: 32px;
}

.hero-content p {
    font-size: 16px;
}

/* ============================= */
/* CONTAINER */
/* ============================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 40px 0;
}

/* ============================= */
/* ÜRÜN GRID */
/* ============================= */

.products {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.product-card {
    background: white;
    width: 260px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-content {
    padding: 15px;
}

.product-content h3 {
    font-size: 16px;
    margin: 0 0 10px;
}

.price {
    color: #ff4d6d;
    font-size: 18px;
    font-weight: bold;
}

/* ============================= */
/* BADGE */
/* ============================= */

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4d6d;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 20px;
}

/* ============================= */
/* BUTONLAR */
/* ============================= */

.btn {
    display: inline-block;
    background: #ff4d6d;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 10px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #e6004c;
}

.whatsapp {
    background: #25D366;
}

.whatsapp:hover {
    background: #1ebe5d;
}

.active-cat {
    background: #333 !important;
}

/* ============================= */
/* ÜRÜN DETAY */
/* ============================= */

.product-detail {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.detail-image img {
    width: 400px;
    border-radius: 12px;
}

.detail-info {
    max-width: 500px;
}

/* ============================= */
/* MAP */
/* ============================= */

.map-container {
    width: 100%;
    height: 350px;
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* ============================= */
/* FLOATING WHATSAPP */
/* ============================= */

.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 26px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* ============================= */
/* INPUT */
/* ============================= */

input[type="text"],
input[type="number"],
textarea,
select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* ============================= */
/* FOOTER */
/* ============================= */

.footer {
    background: #222;
    color: white;
    padding-top: 50px;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 15px;
}

.footer-col p,
.footer-col a {
    color: #ccc;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
}

.footer-col a:hover {
    color: #ff4d6d;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #aaa;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}
/* ============================= */
/* MOBİL */
/* ============================= */

@media (max-width: 768px) {

    .footer-container {
        text-align: center;
    }

    .navbar {
        padding: 12px 5%;
    }

    .logo a {
        font-size: 18px;
    }

    .hamburger {
        display: block;
        font-size: 32px;
    }

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        padding: 12px 0;
        font-size: 17px;
        border-bottom: 1px solid #eee;
    }

    .hero {
        background: linear-gradient(
            rgba(0,0,0,0.4),
            rgba(0,0,0,0.4)
        ), url('/assets/images/hero2.jpg');
        background-size: cover;
        background-position: center;
        height: 55vh;
    }

    .hero-content {
        padding: 25px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .products {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        width: 100%;
    }

    .product-card img {
        height: 200px;
    }

    .product-content {
        padding: 18px;
    }

    .product-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
        min-height: 40px;
    }

    .price {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .product-detail {
        flex-direction: column;
    }

    .detail-image img {
        width: 100%;
    }

    .detail-info {
        max-width: 100%;
    }

    .map-container {
        height: 280px;
    }

}

.products {
        gap: 18px;
    }

    .product-card {
        border-radius: 18px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.08);
        overflow: hidden;
        transition: 0.3s ease;
    }

    .product-card img {
        height: 220px;
    }

    .product-content {
        padding: 20px;
    }

    .product-content h3 {
        font-size: 17px;
        font-weight: 600;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .price {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 12px;
        color: #ff4d6d;
    }

    .btn {
        border-radius: 12px;
        padding: 14px;
        font-size: 15px;
        font-weight: 600;
    }

.products {
        gap: 18px;
    }

    .product-card {
        border-radius: 18px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.08);
        overflow: hidden;
        transition: 0.3s ease;
    }

    .product-card img {
        height: 220px;
    }

    .product-content {
        padding: 20px;
    }

    .product-content h3 {
        font-size: 17px;
        font-weight: 600;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .price {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 12px;
        color: #ff4d6d;
    }

    .btn {
        border-radius: 12px;
        padding: 14px;
        font-size: 15px;
        font-weight: 600;
    }

.btn {
    background: linear-gradient(45deg, #ff4d6d, #ff758f);
}


    .logo img {
        height: 35px;
    }

/* SEPET ROZET */
.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #ff4d6d;
    color: white;
    font-size: 12px;
    padding: 4px 7px;
    border-radius: 50%;
}
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.product-card img {
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.07);
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    animation: fadeIn 0.4s ease;
    z-index: 9999;
}

@keyframes fadeIn {
    from {opacity:0; transform:translateY(-10px);}
    to {opacity:1; transform:translateY(0);}
}
/* ============================= */
/* KATEGORİ CHIP TASARIM */
/* ============================= */

.kategori-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 25px;
    scrollbar-width: none;
}

.kategori-bar::-webkit-scrollbar {
    display: none;
}

.kategori-chip {
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 25px;
    border: 1px solid #ff4d6d;
    text-decoration: none;
    color: #ff4d6d;
    font-size: 14px;
    transition: 0.3s;
    flex-shrink: 0;
}

.kategori-chip:hover {
    background: #ff4d6d;
    color: white;
}

.kategori-chip.active {
    background: #ff4d6d;
    color: white;
}

/* ============================= */
/* ARAMA TASARIM */
/* ============================= */

.arama-form {
    margin-bottom: 25px;
}

.arama-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 30px;
    overflow: hidden;
    background: white;
}

.arama-wrapper input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.arama-wrapper button {
    background: #ff4d6d;
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.arama-wrapper button:hover {
    background: #e6004c;
}
/* ============================= */
/* CHECKOUT TASARIM */
/* ============================= */

.checkout-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.form-card input,
.form-card textarea,
.form-card select {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.checkout-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.checkout-btn:hover {
    background: #1ebe5d;
}

@media (max-width: 768px) {

    .checkout-container {
        padding: 15px;
    }

    .form-card {
        padding: 18px;
    }

}

/* ============================= */
/* TESLİM TARİHİ PREMIUM BUTON */
/* ============================= */

.teslim-secim {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.teslim-btn {
    padding: 10px 18px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    background: #f3f3f3;
    color: #333;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.teslim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.teslim-btn.active {
    background: linear-gradient(135deg, #ff4d6d, #ff8fa3);
    color: white;
    box-shadow: 0 6px 20px rgba(255,77,109,0.4);
}

/* Mobilde daha büyük ve dengeli */

@media (max-width: 768px) {

    .teslim-secim {
        justify-content: center;
    }

    .teslim-btn {
        flex: 1;
        text-align: center;
        font-size: 13px;
        padding: 10px 12px;
    }

}

.body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #ff4d6d, #ff8fa3);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.admin-wrapper {
    width: 100%;
    padding: 20px;
}

.admin-card {
    background: white;
    width: 100%;
    max-width: 400px;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.admin-logo {
    height: 60px;
    margin-bottom: 20px;
}

.admin-card h2 {
    margin-bottom: 25px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    outline: none;
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #777;
    transition: 0.3s;
    pointer-events: none;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -8px;
    left: 8px;
    background: white;
    padding: 0 5px;
    font-size: 12px;
    color: #ff4d6d;
}

.password-group {
    position: relative;
}

.toggle-pass {
    position: absolute;
    right: 12px;
    top: 12px;
    cursor: pointer;
    font-size: 14px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #ff4d6d;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    background: #e6004c;
}

.error-box {
    background: #ffe5e8;
    color: #b30021;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

@keyframes fadeIn {
    from {opacity:0; transform: translateY(10px);}
    to {opacity:1; transform: translateY(0);}
}

@media (max-width: 480px) {
    .admin-card {
        padding: 30px 20px;
    }
}

/* ============================= */
/* SEPET TASARIM */
/* ============================= */

.sepet-card {
    display: flex;
    gap: 25px;
    align-items: center;
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    margin-bottom: 25px;
    transition: 0.3s;
}

.sepet-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.sepet-img img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.3s;
}

.sepet-img img:hover {
    transform: scale(1.05);
}

.sepet-info {
    flex: 1;
}

.sepet-title {
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    display: block;
    margin-bottom: 6px;
}

.sepet-title:hover {
    color: #ff4d6d;
}

.sepet-kod {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.sepet-price-single {
    font-size: 16px;
    margin-bottom: 15px;
}

.sepet-adet {
    display: flex;
    align-items: center;
    gap: 12px;
}

.adet-btn {
    background: #ff4d6d;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.sepet-total {
    text-align: right;
    min-width: 150px;
}

.sepet-hesap {
    font-size: 14px;
    margin-bottom: 6px;
}

.sepet-ara-toplam {
    font-size: 20px;
    font-weight: bold;
    color: #ff4d6d;
    margin-bottom: 10px;
}

.sepet-remove {
    font-size: 14px;
    color: red;
    text-decoration: none;
}

.sepet-genel-toplam {
    font-size: 24px;
    font-weight: bold;
}

/* Mobil */

@media(max-width:768px){

    .sepet-card {
        flex-direction: column;
        text-align: center;
    }

    .sepet-img img {
        width: 100%;
        height: 220px;
    }

    .sepet-total {
        text-align: center;
    }
}

/* ============================= */
/* SEPET BOŞ TASARIM */
/* ============================= */

.sepet-bos {
    display: flex;
    justify-content: center;
    padding: 80px 0;
}

.sepet-bos-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.sepet-bos-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.sepet-bos-card h2 {
    margin-bottom: 15px;
}

.sepet-bos-card p {
    color: #777;
    margin-bottom: 25px;
    line-height: 1.6;
}