* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #2c7d59;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #ffd700;
}

.sepet-link {
    background: #ffd700;
    padding: 8px 16px;
    border-radius: 30px;
    color: #2c7d59 !important;
}

.theme-toggle {
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero */
.hero {
    height: 90vh;
    position: relative;
    margin-top: 80px;
}

.slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Sections */
.section {
    padding: 6rem 0;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c7d59;
}

/* Grid */
.kategori-grid,
.urun-grid,
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.kategori-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.kategori-card:hover {
    transform: translateY(-10px);
}

.kategori-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.kategori-card h3 {
    padding: 1.5rem;
    background: #2c7d59;
    color: white;
}

/* Ürün kartları */
.urun {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.urun:hover {
    transform: translateY(-10px);
}

.urun img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.urun-info {
    padding: 1.5rem;
}

.urun-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.urun-info .fiyat {
    color: #2c7d59;
    font-size: 1.4rem;
    font-weight: 600;
}

.urun button {
    width: 100%;
    padding: 12px;
    background: #ffd700;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
}

/* Sepet Sayfası */
.sepet {
    padding: 120px 20px 60px;
}

.sepet-urun {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sepet-urun img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1.5rem;
}

.sepet-toplam {
    margin-top: 2rem;
    text-align: right;
    font-size: 1.4rem;
}

.satin-al {
    background: #2c7d59;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 1rem;
}

.alisveris-yap {
    display: inline-block;
    margin-top: 1rem;
    padding: 12px 24px;
    background: #2c7d59;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .slide-content h1 { font-size: 2.5rem; }
    nav ul { flex-direction: column; gap: 1rem; }
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.galeri-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;          /* Kare oran */
    object-fit: cover;            /* Fotoğrafı kırpmadan doldur */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.galeri-grid img:hover {
    transform: scale(1.08) translateY(-8px);  /* Büyüme + hafif yukarı hareket */
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    z-index: 2;
}
