/* css/style.css */
:root { --primary: #2c3e50; --accent: #e74c3c; --light: #ecf0f1; }
body { margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; overflow-x: hidden; background: #f9f9f9; }
a { text-decoration: none; color: inherit; }

/* Header & Nav */
header { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(255,255,255,0.95); box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 10px 0; }
.navbar { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo { font-size: 24px; font-weight: bold; color: var(--primary); }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-item { position: relative; font-weight: bold; cursor: pointer; padding: 10px; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #ddd; min-width: 150px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.nav-item:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 10px; border-bottom: 1px solid #eee; font-size: 14px; }
.lang-switch span { margin: 0 5px; cursor: pointer; }

/* Mobile Menu */
.mobile-menu-btn { display: none; font-size: 24px; cursor: pointer; }
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; width: 100%; background: #fff; }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
}

/* Hero Video */
.hero { position: relative; height: 60vh; width: 100%; overflow: hidden; border-bottom: 4px solid var(--accent); }
.hero video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; }
.hero h1 { color: #fff; text-shadow: 2px 2px 4px rgba(0,0,0,0.7); text-align: center; }

/* Container */
.container { max-width: 1200px; margin: 20px auto; padding: 0 15px; }

/* Grid Cards (Homepage) */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 15px; }
.card-price { color: var(--accent); font-size: 1.2em; font-weight: bold; }

/* List View (Category Page) - GercekPide Style */
.listing-row { display: flex; background: #fff; margin-bottom: 15px; border: 1px solid #eee; border-radius: 4px; overflow: hidden; }
.listing-row img { width: 35%; height: 180px; object-fit: cover; }
.listing-row-body { padding: 15px; width: 65%; display: flex; flex-direction: column; justify-content: space-between; }
@media (max-width: 600px) { .listing-row { flex-direction: column; } .listing-row img { width: 100%; height: 200px; } .listing-row-body { width: 100%; } }

/* Detail Page & Slider */
.detail-container { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 80px; }
.slider-area { flex: 2; min-width: 300px; }
.info-area { flex: 1; min-width: 300px; background: #fff; padding: 20px; border-radius: 8px; }
.main-img { width: 100%; height: 400px; object-fit: cover; cursor: pointer; border-radius: 8px; }
.thumb-grid { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.thumb-grid img { width: 80px; height: 60px; object-fit: cover; cursor: pointer; opacity: 0.7; }
.thumb-grid img:hover { opacity: 1; }

/* Lightbox */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 2000; justify-content: center; align-items: center; }
.lightbox img { max-width: 90%; max-height: 80vh; }
.lb-close { position: absolute; top: 20px; right: 20px; color: #fff; font-size: 30px; cursor: pointer; background: var(--accent); padding: 5px 15px; border-radius: 5px; }
.lb-nav { position: absolute; top: 50%; color: #fff; font-size: 40px; cursor: pointer; padding: 10px; background: rgba(0,0,0,0.5); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }

/* Footer */
footer { background: #333; color: #fff; padding: 40px 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.map-responsive iframe { width: 100%; height: 250px; border: 0; }