html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
/* Site Genel Ayarları */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Ana içerik kısmı */
main {
    flex: 1;
}

/* Navbar ayarları */
.nav-hover::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s;
}

.nav-hover:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #007bff !important;
}

.navbar-nav .nav-link {
    transition: color 0.2s ease-in-out;
}

.navbar-toggler {
    outline: none;
}
.navbar-brand img {
    transition: transform 0.2s ease-in-out;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

a:hover img {
    transform: scale(1.05);
}
/* Footer arka plan rengi */
html, body {
    height: 100%;
}
/*
body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

footer ul li a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}*/

footer {
    margin-bottom: 0 !important;
    padding-bottom: 1rem; /* veya daha az */
}
html, body {
    margin: 5;
    padding: 5;
}

/* Menü linkleri hover efekti */
.nav-link:hover {
    text-decoration: underline;
    color: #0d6efd;
}
body {
    font-family: Arial, sans-serif;
    background: #f3f3f3;
    padding: 30px;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.urunler-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.urun-karti {
    background: white;
    border-radius: 10px;
    width: 250px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: 0.3s ease;
}

    .urun-karti:hover {
        transform: translateY(-5px);
    }

    .urun-karti img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

.urun-detay {
    padding: 15px;
}

    .urun-detay h3 {
        margin: 10px 0 5px;
        font-size: 18px;
    }

    .urun-detay p {
        color: #555;
        font-size: 14px;
    }

.fiyat {
    color: #28a745;
    font-weight: bold;
    margin-top: 10px;
    display: block;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    }

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.product-content {
    padding: 15px;
}

.product-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.product-price {
    color: #e63946;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-info {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
}

.product-note {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 10px;
}

.product-button {
    display: block;
    text-align: center;
    background-color: #ff6f00;
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

    .product-button:hover {
        background-color: #e65c00;
    }
.custom-link {
    font-weight: 500;
    font-size: 16px;
    color: #333;
    margin: 0 12px;
    position: relative;
    text-transform: uppercase;
    transition: color 0.3s;
}

    .custom-link:hover {
        color: #f1a500;
    }
 /*   burda bizkimiz var*/
.rectangle-img-wrapper {
    width: 100%;
    padding-top: 70%; /* Yüksekliği genişliğin %70’i kadar olacak */
    position: relative;
    overflow: hidden;
}

    .rectangle-img-wrapper img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }