/* Genel Ayarlar ve Yumuşak Kayma Efekti */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

.bg-light {
    background-color: #f9f9f9;
}

/* Header (Sabit Üst Menü) */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header .logo img {
    max-height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f39c12;
}

/* Ortak Bölüm (Section) Ayarları */
.section-container {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-container h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* Ana Karşılama (Hero) */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/01.jpg') center/cover;
    color: #fff;
    text-align: center;
    padding: 8rem 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Hakkımızda */
.about-content {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1rem;
}

/* Ürünler Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.card img:hover {
    opacity: 0.8;
}

.card h3 {
    margin-top: 15px;
    color: #e67e22;
    font-size: 1.1rem;
}

/* İletişim */
.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: #ecf0f1;
    padding: 2rem;
    border-radius: 8px;
}

.contact-info a {
    color: #e67e22;
    text-decoration: none;
    font-weight: bold;
}

.map-container {
    flex: 2;
    min-width: 300px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 1.5rem 0;
}

/* LIGHTBOX (Görsel Büyütme) STİLLERİ */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.9); 
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 5px;
    animation: zoom 0.3s;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-size: 1.2rem;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .modal-content {
        max-width: 95%;
    }
}
/* Kategori Başlıkları Stili */
.category-title {
    text-align: left;
    font-size: 1.8rem;
    color: #e67e22;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 0.5rem;
    display: inline-block;
}