@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #F6F1EA;
    color: #2B2B2B;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
html, body {
    height: 100%;
}
.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.15rem rgba(200, 162, 122, 0.4);
}

a {
    text-decoration: none;
}

* {
    transition: all 0.2s ease-in-out;
}

/* TOP BAR */
.top-bar {
    background: #F6F1EA;
    text-align: center;
    font-size: 13px;
    padding: 8px;
    color: #5A3E2B;
    border-bottom: 1px solid #e7dcd2;
}

/* NAVBAR */
.navbar-custom {
    background: #5A3E2B;
    padding: 15px 0;
    color: white;
    display: flex;
    justify-content: center; /* YATAY ORTA ARVEX YAZISI ADMİN İÇİN */
    align-items: center; /* DİKEY ORTA */
    height: 80px;
}

/* FLEX STRUCTURE */
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* SOL */
.left-section {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #F6F1EA;
}

.categories a {
    color: #F6F1EA;
    margin-right: 12px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

    .categories a:hover {
        color: #C8A27A;
    }

/* ORTA SEARCH */
.search-box input {
    width: 400px;
    padding: 8px 12px;
    border-radius: 20px;
    border: none;
    outline: none;
}

/* SAĞ ICONLAR */
.right-section {
    display: flex;
    gap: 20px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: #F6F1EA;
    transition: 0.3s;
}

    .icon-item:hover {
        color: #C8A27A;
    }

.icon {
    font-size: 20px;
}

.text {
    font-size: 11px;
}
.main{flex:1;}

footer {
    background: #2B1D15;
    color: #C8A27A;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}
.logo{
    font-family:'Playfair Display', serif;
    font-size:42px;
    font-weight:700;
    letter-spacing: 3px;
    color:#b4916c;
    text-shadow:1px 1px 5px rgba(0,0,0,0.15);
}
/* Ürün Ekleme Sayfası */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #F6F1EA;
}

.admin-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
}

.center-wrapper {
    width: 100%;
    max-width: 1000px;
}

.product-form {
    background-color: #FFFAF5;
    border: 1px solid #E7D8C9;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(90, 62, 43, 0.10);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

    .form-group label {
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 600;
        color: #5A3E2B;
    }

.product-form input,
.product-form select,
.product-form textarea {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #D8C7B8;
    border-radius: 12px;
    background-color: #fff;
    font-size: 14px;
    color: #4A3426;
    outline: none;
}

    .product-form input:focus,
    .product-form select:focus,
    .product-form textarea:focus {
        border-color: #B79274;
        box-shadow: 0 0 0 3px rgba(183, 146, 116, 0.15);
    }

.product-form textarea {
    resize: vertical;
    min-height: 120px;
}

.product-form input[type="file"] {
    padding: 10px;
    background-color: #fff;
}

/* Tek tek hizalama */
.product-form .form-group:nth-child(1) {
    grid-column: 1 / 2;
}

.product-form .form-group:nth-child(2) {
    grid-column: 2 / 3;
}

.product-form .form-group:nth-child(3) {
    grid-column: 1 / 2;
}

.product-form .form-group:nth-child(4) {
    grid-column: 2 / 3;
}

.product-form .form-group:nth-child(5) {
    grid-column: 1 / 2;
}

.product-form .form-group:nth-child(6) {
    grid-column: 2 / 3;
}

.product-form .form-group:nth-child(7) {
    grid-column: 1 / 3;
}

.product-form .form-group:nth-child(8) {
    grid-column: 1 / 3;
}

.btn-save {
    grid-column: 1 / 3;
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px;
    background-color: #E8D9C8;
    color: #5A3E2B;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

    .btn-save:hover {
        background-color: #DCC7B2;
        color: #3E2A1F;
        transform: translateY(-1px);
    }

.text-danger {
    margin-top: 6px;
    font-size: 13px;
    color: #b02a37;
}

@media (max-width: 768px) {
    .product-form {
        grid-template-columns: 1fr;
    }

        .product-form .form-group:nth-child(1),
        .product-form .form-group:nth-child(2),
        .product-form .form-group:nth-child(3),
        .product-form .form-group:nth-child(4),
        .product-form .form-group:nth-child(5),
        .product-form .form-group:nth-child(6),
        .product-form .form-group:nth-child(7),
        .product-form .form-group:nth-child(8),
        .btn-save {
            grid-column: auto;
        }
}

/*KATEGORİ LİSTELE SAYFASI*/
    .table thead td,
    .table thead th {
        color: white;
        font-weight: 600;
        font-size: 16px;
        padding: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
.table {
    border-radius: 12px;
    overflow: hidden;
    background-color: #FFFAF5;
    box-shadow: 0 8px 20px rgba(92, 64, 51, 0.08);
}

    .table tbody tr {
        transition: 0.2s ease;
    }

        .table tbody tr:hover {
            background-color: #F5E9DF;
        }
.btn-warning {
    background-color: #D8C3B5;
    border: none;
    color: #4A3429;
}

    .btn-warning:hover {
        background-color: #C9AE9C;
    }

.btn-danger {
    background-color: #8B6B5C;
    border: none;
}

    .btn-danger:hover {
        background-color: #6F5245;
    }
.table thead {
    background: linear-gradient(135deg, #5C4033, #8B6B5C);
}
/* Popup genel görünüm */
.arvex-popup {
    border-radius: 18px;
    padding: 25px;
    background: #FFFAF5;
    box-shadow: 0 10px 30px rgba(90, 62, 43, 0.2);
    font-family: 'Poppins', sans-serif;
}

/* Başlık */
.arvex-title {
    color: #5A3E2B;
    font-weight: 600;
    font-size: 22px;
}

/* OK butonu */
.arvex-confirm-btn {
    background: #5A3E2B !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-weight: 500;
    transition: 0.3s;
}

    .arvex-confirm-btn:hover {
        background: #3E2A1F !important;
        transform: scale(1.05);
    }

/* İptal butonu */
.arvex-cancel-btn {
    background: #D6C3B1 !important;
    color: #5A3E2B !important;
    border-radius: 10px !important;
}

    .arvex-cancel-btn:hover {
        background: #C2A890 !important;
    }
    /*Yeni kayıt ekle butonu*/
.btn-brown {
    background-color: #F6F1EA; /* açık bej */
    color: #5A3E2B; /* kahve yazı */
    border: 1px solid #D6C3B1;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 500;
    transition: 0.3s;
}

    /* HOVER */
    .btn-brown:hover {
        background-color: #E8D9C8; /* biraz koyulaşmış bej */
        color: #3E2A1F;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(90, 62, 43, 0.15);
    }
    /*Product Listele Sayfası*/
.product-list-page {
    padding: 40px;
    background-color: #F6F1EA;
}
.product-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.product-card-custom {
    background: #FFFAF5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(90, 62, 43, 0.15);
    transition: 0.3s;
}

    .product-card-custom:hover {
        transform: translateY(-5px);
    }

.product-image-wrapper {
    height: 280px;
    overflow: hidden;
}

.product-image-custom {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-body {
    padding: 15px;
    text-align: center;
}

.product-name-custom {
    font-size: 18px;
    color: #5A3E2B;
    margin-bottom: 10px;
}

.product-price-custom {
    font-size: 16px;
    font-weight: 600;
    color: #8B6F5A;
    margin-bottom: 15px;
}

.product-button-group {
    display: flex;
    gap: 10px;
}

    .product-button-group .btn {
        flex: 1;
        padding: 8px;
        border-radius: 8px;
        font-size: 14px;
    }

.product-btn-update {
    background-color: #A67C52;
    color: white;
}

.product-btn-delete {
    background-color: #6B3E2E;
    color: white;
}
/*h1 içindeki başlık*/
h1.page-title {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #3E2A1F !important;
    font-family: 'Playfair Display', serif !important;
    letter-spacing: 1px;
}
/*Anasayfa*/

.hero-section {
    background: linear-gradient(135deg, #f6f1ea, #fffaf5);
    padding: 60px 80px;
}

.hero-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

    .hero-text h1 {
        font-size: 52px;
        color: #3E2A1F;
        font-family: 'Playfair Display', serif;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 18px;
        color: #6f5646;
        line-height: 1.8;
        margin-bottom: 25px;
        max-width: 540px;
    }

.hero-btn {
    display: inline-block;
    background-color: #5A3E2B;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

    .hero-btn:hover {
        background-color: #3E2A1F;
        color: white;
    }

.hero-image {
    flex: 1;
    min-width: 320px;
    text-align: right;
}

    .hero-image img {
        width: 100%;
        max-width: 520px;
        border-radius: 24px;
        object-fit: cover;
        box-shadow: 0 12px 30px rgba(90, 62, 43, 0.18);
    }

.featured-section {
    padding: 70px 80px;
    background-color: #fffaf5;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

    .section-header h2 {
        font-size: 36px;
        color: #3E2A1F;
        font-family: 'Playfair Display', serif;
        margin-bottom: 10px;
    }

    .section-header p {
        color: #8b6f5a;
        font-size: 16px;
    }

.product-grid-home {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.product-card-home {
    background-color: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(90, 62, 43, 0.10);
    transition: 0.3s ease;
    border: 1px solid #eee1d5;
}

    .product-card-home:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(90, 62, 43, 0.16);
    }

.product-image-home {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #f3ebe3;
}

    .product-image-home img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.product-info-home {
    padding: 18px;
    text-align: center;
}

    .product-info-home h3 {
        font-size: 20px;
        color: #3E2A1F;
        margin-bottom: 10px;
        font-weight: 600;
    }

.product-price-home {
    font-size: 18px;
    color: #7a5a46;
    font-weight: 700;
    margin-bottom: 18px;
}

.product-btn-home {
    display: inline-block;
    background-color: #5A3E2B;
    color: white;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s ease;
}

    .product-btn-home:hover {
        background-color: #3E2A1F;
        color: white;
    }

@media (max-width: 768px) {
    .hero-section,
    .featured-section {
        padding: 40px 20px;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .section-header h2 {
        font-size: 30px;
    }
}
/* ÖDEME SAYFASI */
.odeme-form {
    max-width: 700px;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
}
.odeme-form {
    box-shadow: 0 10px 30px rgba(90, 62, 43, 0.15);
}

.odeme-btn {
    background-color: #5A3E2B;
    color: white;
    font-size: 16px;
}
    .odeme-btn:hover {
        background-color: #3E2A1F;
        transform: translateY(-2px);
    }
.odeme-form input,
.odeme-form textarea {
    background-color: #FFFAF5;
}
/*Kategori Güncelle Düzeltme*/
.category-add-page {
    min-height: calc(100vh - 160px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 15px;
}

.category-card {
    width: 100%;
    max-width: 520px;
    background: #FFFAF5;
    border: 1px solid #E8D8C8;
    border-radius: 22px;
    padding: 35px;
    box-shadow: 0 12px 30px rgba(90, 62, 43, 0.15);
}

.custom-input {
    width: 100%;
}

.btn-save {
    background: #5A3E2B;
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 12px;
}
/*Uyarı mesajı input*/
.input-validation-error {
    border: 2px solid red;
}


 



