/* ---------------------- Genel Ayarlar ---------------------- */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Sticky footer için */
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #4A4A4A;
    background-color: #FBF7F4;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---------------------- Header & Logo ---------------------- */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    text-align: center;
    padding-bottom: 10px;
}

.logo {
    padding: 20px 0 5px 0;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    font-weight: 400;
    letter-spacing: 4px;
    color: #D4A79F;
    display: inline-block;
}

/* ---------------------- Navbar & Menüler ---------------------- */
.navbar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Sığmayanlar alt satıra geçer */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 0 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Menüler ortalı */
    gap: 15px;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 5px 10px;
}

.nav-links a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1em;
    transition: color 0.3s;
    color: #4A4A4A;
    padding: 5px 10px;
    border-radius: 4px;
}

.nav-links a:hover {
    color: #D4A79F;
}

.nav-links a.active {
    background-color: #D4A79F; /* Aktif menü dolgu rengi */
    color: #fff;
}

/* ---------------------- Main & Ürün Listeleme ---------------------- */
main {
    flex: 1; /* Sticky footer için main alanı büyüsün */
}

.product-listing {
    max-width: 1200px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
    text-align: center;
}

.row.g-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* ---------------------- Ürün Kartları ---------------------- */
.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
    max-width: 250px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
}

.product-card img {
    width: 100%;
    aspect-ratio: 3 / 4; /* 3:4 oran */
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
}

.product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3em;
    margin-bottom: 5px;
    font-weight: 500;
    color: #4A4A4A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-info .price {
    color: #D4A79F;
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 10px;
}

/* ---------------------- Tümünü Gör Butonu ---------------------- */
.btn-view-all {
    display: inline-block;
    border: 1px solid #D4A79F;
    color: #D4A79F;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
    margin-top: 20px;
}

.btn-view-all:hover {
    background-color: #D4A79F;
    color: #fff;
}

/* ---------------------- Footer ---------------------- */
.main-footer {
    background-color: #4A4A4A;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    border-top: 5px solid #D4A79F;
    font-size: 0.9em;
}

/* ---------------------- Sosyal İkonlar ---------------------- */
.social-links a {
    margin: 0 10px;
    font-size: 1.5em;
    color: #fff;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #D4A79F;
}

/* ---------------------- Responsive ---------------------- */
/* Mobil-first: 2 ürün satırda */
.col-6 {
    flex: 0 0 48%;
    max-width: 48%;
}

@media (min-width: 576px) {
    .col-sm-6 {
        flex: 0 0 48%;
        max-width: 48%;
    }
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 32%;
        max-width: 32%;
    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 23%;
        max-width: 23%;
    }
}
