/* style.css – İzmir Parkeci Teması – 2025 */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
    font-family: 'Poppins', 'Arial', sans-serif;
    line-height: 1.8;
    background: #f7fafc;
    color: #1a202c;
    font-size: 16px;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    color: #3182ce;
    margin: 20px 0;
    font-weight: 600;
    letter-spacing: -0.2px;
}
a {
    color: #e53e3e;
    text-decoration: none;
    transition: all .3s;
}
a:hover { color: #c53030; }
::selection { background: #e53e3e; color: #fff; }
.keyword { color: #e53e3e; font-weight: 600; }

/* Colors */
:root {
    --primary: #e53e3e; /* Red */
    --primary-dark: #c53030;
    --secondary: #3182ce; /* Blue */
    --dark: #1a202c; /* Dark gray */
    --light: #f7fafc; /* Light gray */
    --gray: #4a5568; /* Medium gray */
    --border: #e2e8f0; /* Light border */
    --whatsapp: #2ecc71; /* Unchanged */
    --whatsapp-dark: #27ae60; /* Unchanged */
}

/* Search Bar */
.search-container {
    position: sticky;
    top: 0;
    z-index: 2000;
    max-width: 650px;
    margin: 25px auto;
    padding: 0 25px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,.08);
}
#search-input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1.1rem;
    outline: none;
    transition: all .3s;
    background: var(--light);
}
#search-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(49,130,206,.2);
}
.suggestions {
    position: absolute;
    top: 100%;
    left: 25px;
    right: 25px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 2000;
    box-shadow: 0 6px 15px rgba(0,0,0,.1);
}
.suggestions div {
    padding: 12px 15px;
    cursor: pointer;
    transition: all .2s;
}
.suggestions div:hover {
    background: #ebf8ff;
    color: var(--primary);
}

/* Header & Nav */
.main-menu {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 3px 12px rgba(0,0,0,.06);
    position: sticky;
    top: 90px;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}
.main-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0 20px;
    flex-wrap: nowrap;
}
.main-menu a {
    color: var(--dark);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 1em;
    transition: all .3s;
    border: 1px solid transparent;
    white-space: nowrap;
    text-align: center;
    flex: 1;
    max-width: 180px;
}
.main-menu a:hover,
.main-menu a.active {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
    box-shadow: 0 5px 12px rgba(49,130,206,.2);
}

/* Hero */
.hero-section {
    background: linear-gradient(rgba(49,130,206,.9), rgba(49,130,206,.9)), url('img/hero-parke.webp') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 120px 25px 80px;
    position: relative;
    z-index: 100;
}
.hero-content h1 {
    font-size: 3em;
    margin: 0 0 15px;
    color: #fff;
    text-shadow: 0 3px 10px rgba(0,0,0,.5);
}
.hero-content p {
    font-size: 1.4em;
    margin: 0 0 30px;
    color: #e2e8f0;
    font-weight: 400;
}
.cta-button {
    background: var(--primary);
    color: #fff;
    padding: 16px 40px;
    border-radius: 35px;
    font-weight: 600;
    font-size: 1.2em;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(229,62,62,.3);
    transition: all .3s;
    border: 2px solid var(--primary);
}
.cta-button:hover {
    background: #fff;
    color: var(--primary);
    transform: scale(1.06);
    box-shadow: 0 12px 30px rgba(229,62,62,.4);
}

/* Logo Slider */
.brand-logos-container {
    overflow: hidden;
    background: #fff;
    padding: 25px 0;
    margin: 25px auto;
    max-width: 96%;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
    border: 1px solid var(--border);
}
.logo-track {
    display: flex;
    gap: 50px;
    align-items: center;
    padding: 0 25px;
}
.logo-track img {
    width: 130px;
    height: 55px;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,.12));
    transition: .3s;
    padding: 10px;
    border-radius: 12px;
    background: var(--light);
    border: 1px solid var(--border);
}
.logo-track img:hover {
    transform: scale(1.12);
    background: var(--primary);
    filter: drop-shadow(0 5px 15px rgba(229,62,62,.4));
    border-color: var(--primary);
}

/* Page Content */
.page-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 25px;
}
.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary);
    font-size: 2.2em;
}
.section-title::after {
    content: '';
    width: 100px;
    height: 5px;
    background: var(--primary);
    display: block;
    margin: 15px auto 0;
    border-radius: 3px;
}

/* District Intro */
.district-intro {
    margin: 25px 0;
    text-align: center;
}
.district-intro h2 {
    font-size: 2em;
    color: var(--secondary);
}
.district-intro p {
    font-size: 1.2em;
    color: var(--dark);
    margin-top: 12px;
}

/* Photos Intro */
.photos-intro {
    margin-bottom: 35px;
    text-align: center;
}
.photos-intro h2 {
    font-size: 2em;
    color: var(--secondary);
}
.photos-intro p {
    font-size: 1.2em;
    color: var(--dark);
    margin-top: 12px;
}

/* Photos */
.fixed-photos-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 25px;
}
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.photo-item {
    text-align: center;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
    transition: .3s;
}
.photo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,.15);
    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: 16px 0 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    padding: 0 16px;
}

/* District Table */
.district-table {
    background: #fff;
    border: 3px solid var(--primary);
    border-radius: 15px;
    padding: 25px;
    margin: 35px auto;
    max-width: 650px;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    text-align: left;
    font-size: 1.1em;
}
.district-table p {
    margin: 15px 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);
}

/* Regions Grid */
.regions-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    padding: 0 20px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}
.region-btn {
    display: block;
    background: var(--secondary);
    color: #fff;
    text-align: center;
    padding: 16px 20px;
    border-radius: 15px;
    font-weight: 500;
    font-size: 1em;
    transition: all .3s;
    border: 2px solid var(--secondary);
    box-shadow: 0 5px 12px rgba(49,130,206,.2);
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.region-btn:hover {
    background: #fff;
    color: var(--secondary);
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(49,130,206,.3);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
    justify-content: center;
}
.back-link,
.call-button {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1em;
    text-align: center;
    transition: all .3s;
    min-width: 180px;
}
.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.06);
}

/* Call Button */
.call-now-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 130px;
    height: 55px;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    font-size: 1em;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 130px;
    height: 55px;
    background: var(--whatsapp);
    color: #fff;
    border: 2px solid var(--whatsapp);
    border-radius: 35px;
    box-shadow: 0 8px 20px rgba(46,204,113,.3);
    transition: all .3s;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    font-size: 1em;
}
.whatsapp-btn:hover {
    background: #fff;
    color: var(--whatsapp);
    transform: scale(1.06);
    box-shadow: 0 10px 25px rgba(46,204,113,.4);
}

/* Footer */
footer {
    background: var(--secondary);
    color: #e2e8f0;
    text-align: center;
    padding: 30px;
    margin-top: 70px;
    font-size: 1em;
}
footer a {
    color: #e53e3e;
    font-weight: 600;
}
footer a:hover { color: #fff; }

/* Noscript */
noscript * {
    all: revert !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.noscript {
    padding: 20px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    margin: 25px auto;
    max-width: 750px;
    border-radius: 12px;
}
.noscript h1 {
    font-size: 2em;
    margin-bottom: 15px;
}
.noscript p {
    font-size: 1.1em;
    margin-bottom: 15px;
}
.noscript ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.noscript ul li a {
    color: var(--primary);
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid var(--primary);
    border-radius: 12px;
}
.noscript ul li a:hover {
    background: var(--primary);
    color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.4em; }
    .hero-content p { font-size: 1.2em; }
    .cta-button { font-size: 1.1em; padding: 14px 35px; }
    .main-menu { top: 80px; }
    .main-menu ul { gap: 10px; padding: 0 15px; }
    .main-menu a { font-size: .95em; padding: 8px 15px; max-width: 140px; }
    .search-container { margin: 20px auto; padding: 0 20px; border-radius: 8px; }
    #search-input { padding: 12px 18px; font-size: 1em; }
    .suggestions div { padding: 10px 14px; font-size: .95em; }
    .logo-track { gap: 20px; padding: 0 15px; }
    .logo-track img { width: 110px; height: 50px; }
    .brand-logos-container { padding: 20px 0; border-radius: 8px; }
    .photos-grid { grid-template-columns: 1fr; }
    .call-now-btn, .whatsapp-btn { width: 120px; height: 50px; font-size: .95em; bottom: 20px; }
    .call-now-btn { right: 20px; }
    .whatsapp-btn { left: 20px; }
    .regions-grid { gap: 12px; padding: 0 15px; }
    .region-btn { padding: 14px 18px; font-size: .95em; min-height: 50px; }
    .action-buttons { flex-direction: column; align-items: center; }
    .back-link, .call-button { width: 100%; max-width: 240px; }
    .noscript { padding: 15px; max-width: 100%; }
    .noscript h1 { font-size: 1.8em; }
    .noscript p { font-size: 1em; }
    .noscript ul { flex-direction: column; gap: 10px; }
    .noscript ul li a { padding: 8px 15px; font-size: .95em; }
    .district-intro h2 { font-size: 1.8em; }
    .district-intro p { font-size: 1.1em; }
    .photos-intro h2 { font-size: 1.8em; }
    .photos-intro p { font-size: 1.1em; }
    .district-table { max-width: 100%; padding: 20px; margin: 25px auto; font-size: 1em; border: 2px solid var(--primary); }
}