/* style.css (Tam ve Güncel Hali) */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background-color: #111;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav {
    margin-top: 15px;
}

nav a {
    color: #ccc;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    text-transform: uppercase;
}

nav a:hover {
    color: #fff;
}

.container {
    width: 80%;
    margin: auto;
    padding: 40px 0;
}

.urun-listesi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.urun-karti {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s;
}

.urun-karti:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* RESİM STİLLERİ */
.urun-karti img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    margin-bottom: 15px;
    cursor: zoom-in;
    background-color: #fff;
}

.urun-baslik {
    font-size: 18px;
    margin: 10px 0;
    font-weight: 600;
    text-transform: capitalize;
}

/* BÜYÜTME EKRANI (MODAL) */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.9);
}

.modal-icerik {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80%;
    margin-top: 50px;
    object-fit: contain;
    border: 2px solid #fff;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.kapat {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.kapat:hover {
    color: #bbb;
}

/* ANASAYFA VİTRİNİNE ÖZEL */
.index-urun-listesi.urun-listesi {
    grid-template-columns: repeat(auto-fit, minmax(250px, 350px));
    justify-content: center;
    gap: 20px;
}

.index-urun-listesi .urun-karti img {
    height: 300px;
    object-fit: contain; 
    width: 100%;
}

/* --- FOOTER & HARİTA DÜZENLEMESİ (YENİ) --- */
footer {
    background-color: #f4f4f4;
    color: #333;
    padding-top: 50px;
    padding-bottom: 20px;
    border-top: 1px solid #ddd;
}

.footer-container {
    display: flex;             /* Yan yana dizmek için şart */
    justify-content: space-between; /* Aralarını aç */
    align-items: flex-start;   /* Üstten hizala */
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;           /* Mobilde alt alta geçsin */
    gap: 40px;
}

/* SOL TARAFI (İletişim) */
.footer-iletisim {
    flex: 1;                   /* Alanın yarısını kapla */
    min-width: 300px;          
}

.footer-iletisim h3 {
    color: #222;
    border-bottom: 2px solid #000;
    display: inline-block;
    margin-bottom: 20px;
    padding-bottom: 5px;
    font-size: 20px;
}

.footer-iletisim p {
    margin: 15px 0;
    font-size: 16px;
    color: #555;
    display: flex;
    align-items: center;
}

.footer-iletisim i {
    color: #000;
    margin-right: 15px;
    width: 25px;
    text-align: center;
    font-size: 18px;
}

/* SOSYAL MEDYA İKONLARI */
.sosyal-medya {
    margin-top: 30px;
}
.sosyal-medya a {
    text-decoration: none;
    margin-right: 15px;
}
.sosyal-medya i {
    font-size: 28px;
    color: #555;
    transition: 0.3s;
}
.sosyal-medya i:hover {
    color: #000;
    transform: scale(1.1);
}

/* SAĞ TARAFI (Harita) */
.footer-harita {
    flex: 1;             /* Diğer yarıyı kapla */
    min-width: 300px;
}

/* Harita Iframe Kontrolü (Taşmayı önler) */
.harita-cerceve iframe {
    width: 100% !important;  
    height: 250px !important; 
    border-radius: 12px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    font-size: 13px;
    color: #888;
}