/* style.css – Modern 35 İzmir Parkeci Teması – 2025 */
*{box-sizing:border-box;margin:0;padding:0}
html,body{
    font-family:'Roboto', 'Arial', sans-serif;
    line-height:1.7;
    background:#f3f4f6;
    color:#1f2937;
    font-size:16px;
    overflow-x:hidden;
}
h1,h2,h3,h4,h5,h6{
    color:#1e3a8a;
    margin:18px 0;
    font-weight:700;
    letter-spacing:-0.3px;
}
a{
    color:#dc2626;
    text-decoration:none;
    transition:all .3s;
}
a:hover{
    color:#b91c1c;
}
::selection{
    background:#dc2626;
    color:#fff;
}
.keyword{
    color:#dc2626;
    font-weight:600;
}

/* ANA RENKLER */
:root{
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --secondary: #1e3a8a;
    --dark: #1f2937;
    --light: #f3f4f6;
    --gray: #6b7280;
    --border: #e5e7eb;
    --whatsapp: #25D366;
    --whatsapp-dark: #1EB356;
}

/* ARAMA ÇUBUĞU */
.search-container{
    position:sticky;
    top:0;
    z-index:2000;
    max-width:600px;
    margin:20px auto;
    padding:0 20px;
    background:#e6e9f0;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,.1);
}
#search-input{
    width:100%;
    padding:12px 20px;
    border:2px solid var(--border);
    border-radius:8px;
    font-size:1rem;
    outline:none;
    transition:all .3s;
    background:#fff;
}
#search-input:focus{
    border-color:var(--secondary);
    box-shadow:0 0 8px rgba(30,58,138,.2);
}
.suggestions{
    position:absolute;
    top:100%;
    left:20px;
    right:20px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:8px;
    max-height:200px;
    overflow-y:auto;
    z-index:2000;
    box-shadow:0 4px 12px rgba(0,0,0,.1);
}
.suggestions div{
    padding:10px 15px;
    cursor:pointer;
    transition:all .2s;
}
.suggestions div:hover{
    background:#fee2e2;
    color:var(--primary);
}

/* HEADER & NAV */
.main-menu{
    background:#fff;
    padding:12px 0;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
    position:sticky;
    top:80px;
    z-index:1000;
    border-bottom:1px solid var(--border);
}
.main-menu ul{
    list-style:none;
    display:flex;
    justify-content:center;
    gap:12px;
    padding:0 15px;
    flex-wrap:nowrap;
}
.main-menu a{
    color:var(--dark);
    padding:8px 18px;
    border-radius:8px;
    font-weight:500;
    font-size:.95em;
    transition:all .3s;
    border:1px solid transparent;
    white-space:nowrap;
    text-align:center;
    flex:1;
    max-width:160px;
}
.main-menu a:hover,
.main-menu a.active{
    background:var(--secondary);
    color:#fff;
    border-color:var(--secondary);
    box-shadow:0 4px 10px rgba(30,58,138,.2);
}

/* HERO */
.hero-section{
    background:linear-gradient(rgba(30,58,138,.85), rgba(30,58,138,.85)), url('img/hero-parke.webp') center/cover no-repeat;
    color:#fff;
    text-align:center;
    padding:100px 20px 70px;
    position:relative;
    z-index:100;
}
.hero-content h1{
    font-size:2.8em;
    margin:0 0 12px;
    color:#fff;
    text-shadow:0 2px 8px rgba(0,0,0,.4);
}
.hero-content p{
    font-size:1.3em;
    margin:0 0 25px;
    color:#f3f4f6;
    font-weight:400;
}
.cta-button{
    background:var(--primary);
    color:#fff;
    padding:15px 35px;
    border-radius:30px;
    font-weight:600;
    font-size:1.1em;
    display:inline-block;
    box-shadow:0 6px 20px rgba(220,38,38,.3);
    transition:all .3s;
    border:2px solid var(--primary);
}
.cta-button:hover{
    background:#fff;
    color:var(--primary);
    transform:scale(1.05);
    box-shadow:0 10px 25px rgba(220,38,38,.4);
}

/* LOGO SLAYT */
.brand-logos-container{
    overflow:hidden;
    background:#fff;
    padding:20px 0;
    margin:20px auto;
    max-width:95%;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,.05);
    border:1px solid var(--border);
}
.logo-track{
    display:flex;
    gap:40px;
    align-items:center;
    padding:0 20px;
}
.logo-track img{
    width:120px;
    height:50px;
    object-fit:contain;
    filter:drop-shadow(0 2px 6px rgba(0,0,0,.1));
    transition:.3s;
    padding:8px;
    border-radius:10px;
    background:#f3f4f6;
    border:1px solid var(--border);
}
.logo-track img:hover{
    transform:scale(1.1);
    background:var(--primary);
    filter:drop-shadow(0 4px 12px rgba(220,38,38,.4));
    border-color:var(--primary);
}

/* SAYFA İÇERİK */
.page-section{
    max-width:1100px;
    margin:40px auto;
    padding:0 20px;
}
.section-title{
    text-align:center;
    margin-bottom:25px;
    color:var(--secondary);
    font-size:2em;
}
.section-title::after{
    content:'';
    width:80px;
    height:4px;
    background:var(--primary);
    display:block;
    margin:12px auto 0;
    border-radius:2px;
}

/* İLÇE İNTRO */
.district-intro{
    margin:20px 0;
    text-align:center;
}
.district-intro h2{
    font-size:1.8em;
    color:var(--secondary);
}
.district-intro p{
    font-size:1.1em;
    color:var(--dark);
    margin-top:10px;
}

/* FOTOĞRAFLAR İNTRO */
.photos-intro{
    margin-bottom:30px;
    text-align:center;
}
.photos-intro h2{
    font-size:1.8em;
    color:var(--secondary);
}
.photos-intro p{
    font-size:1.1em;
    color:var(--dark);
    margin-top:10px;
}

/* FOTOĞRAFLAR */
.fixed-photos-section{
    max-width:1100px;
    margin:40px auto;
    padding:0 20px;
}
.photos-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}
.photo-item{
    text-align:center;
    background:#fff;
    border:2px solid var(--border);
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}
.photo-item:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 25px rgba(0,0,0,.12);
    border-color:var(--primary);
}
.photo-item img{
    width:100%;
    height:250px;
    object-fit:cover;
    opacity:0;
    transition:opacity .5s;
}
.photo-item img.loaded{opacity:1}
.photo-caption{
    margin:14px 0 18px;
    font-size:1.1rem;
    font-weight:600;
    color:var(--dark);
    padding:0 14px;
}

/* İLÇE TABLOSU */
.district-table{
    background:#fff;
    border:3px solid var(--secondary); /* Çerçeve: 3px, koyu mavi */
    border-radius:12px;
    padding:20px;
    margin:30px auto;
    max-width:600px;
    box-shadow:0 6px 15px rgba(0,0,0,.08);
    text-align:left;
    font-size:1em;
}
.district-table p{
    margin:12px 0;
    color:var(--dark);
}
.district-table strong{
    color:var(--secondary);
    font-weight:600;
}
.district-table a{
    color:var(--primary);
    font-weight:600;
}
.district-table a:hover{
    color:var(--primary-dark);
}

/* BÖLGELER SAYFASI BUTONLARI */
.regions-grid{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:25px;
    padding:0 15px;
    max-width:700px;
    margin-left:auto;
    margin-right:auto;
}
.region-btn{
    display:block;
    background:var(--secondary);
    color:#fff;
    text-align:center;
    padding:14px 18px;
    border-radius:12px;
    font-weight:500;
    font-size:.95em;
    transition:all .3s;
    border:2px solid var(--secondary);
    box-shadow:0 4px 10px rgba(30,58,138,.2);
    min-height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.region-btn:hover{
    background:#fff;
    color:var(--secondary);
    transform:scale(1.02);
    box-shadow:0 6px 15px rgba(30,58,138,.3);
}

/* BUTONLAR YAN YANA */
.action-buttons{
    display:flex;
    gap:12px;
    margin-top:30px;
    flex-wrap:wrap;
    justify-content:center;
}
.back-link,
.call-button{
    display:inline-block;
    padding:10px 25px;
    border:2px solid var(--primary);
    border-radius:25px;
    font-weight:600;
    font-size:1em;
    text-align:center;
    transition:all .3s;
    min-width:160px;
}
.back-link{
    background:#fff;
    color:var(--primary);
}
.back-link:hover{
    background:var(--primary);
    color:#fff;
}
.call-button{
    background:var(--primary);
    color:#fff;
}
.call-button:hover{
    background:#fff;
    color:var(--primary);
    transform:scale(1.05);
}

/* HEMEN ARA BUTONU */
.call-now-btn{
    position:fixed;
    bottom:20px;
    right:20px;
    width:120px;
    height:50px;
    z-index:999;
    display:flex;
    justify-content:center;
    align-items:center;
    white-space:nowrap;
    font-size:0.95em;
}

/* WHATSAPP BUTONU */
.whatsapp-btn{
    position:fixed;
    bottom:20px;
    left:20px;
    width:120px;
    height:50px;
    background:var(--whatsapp);
    color:#fff;
    border:2px solid var(--whatsapp);
    border-radius:30px;
    box-shadow:0 6px 15px rgba(37,211,102,.3);
    transition:all .3s;
    z-index:999;
    display:flex;
    justify-content:center;
    align-items:center;
    white-space:nowrap;
    font-size:0.95em;
}
.whatsapp-btn:hover{
    background:#fff;
    color:var(--whatsapp);
    transform:scale(1.05);
    box-shadow:0 8px 20px rgba(37,211,102,.4);
}

/* FOOTER */
footer{
    background:var(--secondary);
    color:#e5e7eb;
    text-align:center;
    padding:25px;
    margin-top:60px;
    font-size:.9em;
}
footer a{
    color:#dc2626;
    font-weight:600;
}
footer a:hover{
    color:#fff;
}

/* NOSCRIPT */
noscript *{
    all:revert!important;
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
}
.noscript{
    padding:15px;
    text-align:center;
    background:#fff;
    border:1px solid var(--border);
    margin:20px auto;
    max-width:700px;
    border-radius:10px;
}
.noscript h1{
    font-size:1.8em;
    margin-bottom:12px;
}
.noscript p{
    font-size:1em;
    margin-bottom:12px;
}
.noscript ul{
    list-style:none;
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}
.noscript ul li a{
    color:var(--primary);
    font-weight:600;
    padding:8px 18px;
    border:2px solid var(--primary);
    border-radius:10px;
}
.noscript ul li a:hover{
    background:var(--primary);
    color:#fff;
}

/* MOBİL UYUM */
@media (max-width:768px){
    .hero-content h1{font-size:2.2em}
    .hero-content p{font-size:1.1em}
    .cta-button{font-size:1em;padding:12px 30px}
    .main-menu{top:70px}
    .main-menu ul{gap:8px;padding:0 10px}
    .main-menu a{font-size:.9em;padding:6px 12px;max-width:120px}
    .search-container{margin:15px auto;padding:0 15px;border-radius:10px}
    #search-input{padding:10px 15px;font-size:.95em}
    .suggestions div{padding:8px 12px;font-size:.95em}
    .logo-track{gap:15px;padding:0 10px}
    .logo-track img{width:100px;height:45px}
    .brand-logos-container{padding:15px 0;border-radius:10px}
    .photos-grid{grid-template-columns:1fr}
    .call-now-btn,.whatsapp-btn{width:110px;height:45px;font-size:0.9em;bottom:15px}
    .call-now-btn{right:15px}
    .whatsapp-btn{left:15px}
    .regions-grid{gap:10px;padding:0 10px}
    .region-btn{padding:12px 15px;font-size:.9em;min-height:48px}
    .action-buttons{flex-direction:column;align-items:center}
    .back-link,.call-button{width:100%;max-width:220px}
    .noscript{padding:12px;max-width:100%}
    .noscript h1{font-size:1.6em}
    .noscript p{font-size:.95em}
    .noscript ul{flex-direction:column;gap:8px}
    .noscript ul li a{padding:6px 12px;font-size:.9em}
    .district-intro h2{font-size:1.6em}
    .district-intro p{font-size:1em}
    .photos-intro h2{font-size:1.6em}
    .photos-intro p{font-size:1em}
    .district-table{max-width:100%;padding:15px;margin:20px auto;font-size:0.95em;border:2px solid var(--secondary)} /* Mobil için çerçeve */
}