/* Modern & Stabil SEO Tasarımı */
:root {
    --primary: #ff4d4d;
    --dark: #1a1a1a;
    --light: #f4f4f4;
    --white: #ffffff;
    --gray: #888;
}

* { margin: 0; padding: 0; box-box: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--light); color: var(--dark); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Header & Nav */
.main-header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; padding: 10px 0; }
.header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 20px; }
.logo h1 a { color: var(--primary); text-decoration: none; font-size: 1.5rem; font-weight: bold; }

.search-box { position: relative; flex: 1; max-width: 500px; }
.search-box input { width: 100%; padding: 10px 20px; border-radius: 25px; border: 1px solid #ddd; outline: none; font-size: 0.9rem; }
#search-results { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); display: none; margin-top: 5px; overflow: hidden; }
.search-item { display: flex; align-items: center; padding: 10px; text-decoration: none; color: #333; border-bottom: 1px solid #eee; }
.search-item:hover { background: #f9f9f9; }
.search-item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; margin-right: 12px; }
.search-info { display: flex; flex-direction: column; }
.search-name { font-weight: bold; font-size: 0.9rem; }
.search-type { font-size: 0.75rem; color: var(--gray); }

.header-nav { display: flex; gap: 10px; }
.dropdown { position: relative; }
.drop-btn { background: var(--white); border: 1px solid #ddd; padding: 8px 15px; border-radius: 20px; cursor: pointer; font-size: 0.9rem; display: flex; align-items: center; gap: 5px; }
.dropdown-content { position: absolute; top: 100%; left: 0; background: var(--white); min-width: 250px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-radius: 10px; display: none; margin-top: 10px; padding: 15px; }
.dropdown-content.show { display: block; }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-height: 300px; overflow-y: auto; }
.dropdown-grid a { text-decoration: none; color: #555; font-size: 0.85rem; padding: 5px; border-radius: 5px; }
.dropdown-grid a:hover, .dropdown-grid a.active { background: var(--primary); color: var(--white); }

/* Trust Badges */
.trust-badges { display: flex; justify-content: space-around; background: var(--white); padding: 15px; border-radius: 12px; margin: 20px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.badge-item { display: flex; flex-direction: column; align-items: center; font-size: 0.75rem; color: var(--gray); }
.badge-item i { color: #4CAF50; font-size: 1.2rem; margin-bottom: 5px; }

/* SEO Intro */
.seo-intro { background: var(--white); padding: 20px; border-radius: 12px; margin-bottom: 20px; border-left: 5px solid var(--primary); }
.seo-intro h2 { font-size: 1.2rem; margin-bottom: 10px; }
.seo-intro p { font-size: 0.9rem; color: #666; }

/* Model Grid */
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.model-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: 0.3s; }
.model-card:hover { transform: translateY(-5px); }
.card-images { display: flex; height: 400px; }
.img-box { flex: 1; border-right: 1px solid #eee; overflow: hidden; }
.img-box:last-child { border-right: none; }
.img-box img { width: 100%; height: 100%; object-fit: cover; }
.card-footer { padding: 15px; text-align: center; background: var(--primary); color: var(--white); }
.model-name { font-weight: bold; font-size: 1.1rem; letter-spacing: 1px; }

/* Sidebar Widget */
.sidebar-widget { background: var(--white); padding: 20px; border-radius: 12px; margin-bottom: 20px; }
.sidebar-widget h3 { font-size: 1rem; margin-bottom: 15px; color: var(--primary); }
.popular-list { display: flex; flex-wrap: wrap; gap: 8px; }
.popular-item { background: #f0f0f0; padding: 5px 12px; border-radius: 15px; font-size: 0.8rem; color: #555; text-decoration: none; }
.popular-item:hover { background: var(--primary); color: var(--white); }

/* Footer */
.main-footer { text-align: center; padding: 40px 0; color: var(--gray); font-size: 0.9rem; }
.footer-links { margin-top: 10px; }
.footer-links a { color: var(--gray); text-decoration: none; margin: 0 10px; }

/* Mobile */
@media (max-width: 768px) {
    .header-top { flex-direction: column; align-items: stretch; }
    .header-nav { justify-content: center; }
    .card-images { height: 280px; }
    .trust-badges { flex-wrap: wrap; gap: 15px; }
    .badge-item { width: 45%; }
}

/* Model Detail Page */
.detail-wrapper { background: var(--white); padding: 20px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-top: 20px; }
.model-detail-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 2px solid #eee; padding-bottom: 15px; }
.model-detail-header h2 { color: var(--primary); font-size: 1.5rem; }
.model-views { font-size: 0.85rem; color: var(--gray); }

.gallery-container { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
.main-display { width: 100%; height: 500px; border-radius: 12px; overflow: hidden; }
.main-display img { width: 100%; height: 100%; object-fit: cover; }
.thumb-list { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; }
.thumb-item { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; }
.thumb-item:hover { border-color: var(--primary); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

.info-card { background: #f9f9f9; padding: 20px; border-radius: 12px; margin-bottom: 20px; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 15px; color: #333; display: flex; align-items: center; gap: 10px; }
.district-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.d-tag { background: var(--primary); color: var(--white); padding: 5px 12px; border-radius: 15px; font-size: 0.85rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; margin-top: 30px; }
.contact-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 15px; border-radius: 12px; text-decoration: none; color: var(--white); font-weight: bold; transition: 0.3s; }
.contact-btn i { font-size: 1.5rem; margin-bottom: 5px; }
.contact-btn.call { background: #4CAF50; }
.contact-btn.whatsapp { background: #25D366; }
.contact-btn.telegram { background: #0088cc; }
.contact-btn:hover { opacity: 0.9; transform: translateY(-3px); }

.tags-section { margin-top: 30px; padding: 15px; border-top: 1px solid #eee; font-size: 0.9rem; color: var(--gray); }
.tags-section a { color: var(--primary); text-decoration: none; margin-right: 10px; }

.similar-models { margin-top: 50px; }
.similar-models h3 { margin-bottom: 20px; border-left: 4px solid var(--primary); padding-left: 15px; }
.similar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.similar-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); text-decoration: none; color: inherit; transition: 0.3s; }
.similar-card:hover { transform: translateY(-5px); }
.similar-card img { width: 100%; height: 250px; object-fit: cover; }
.similar-name { padding: 10px; text-align: center; font-weight: bold; }

@media (max-width: 768px) {
    .main-display { height: 350px; }
    .contact-grid { grid-template-columns: 1fr; }
    .model-detail-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}
