/* Modern, Sade ve Anadolu Renkleri Temalı CSS */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    /* Anadolu Renk Paleti */
    --primary-color: #8b5a2b; /* Toprak/Kahverengi */
    --secondary-color: #d4a373; /* Buğday sarısı / Açık Toprak */
    --accent-color: #556b2f; /* Bozkır Yeşili */
    --text-color: #3e2723; /* Koyu kahve (siyah yerine) */
    --bg-color: #faf8f5; /* Sıcak kırık beyaz */
    --header-bg: #ffffff;
    --border-color: #e6daca;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER & NAVIGATION */
header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

nav .nav-list {
    display: flex;
    gap: 20px;
}

nav .nav-list li a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
    padding: 5px 0;
    position: relative;
    transition: var(--transition);
}

nav .nav-list li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

nav .nav-list li a:hover {
    color: var(--primary-color);
}

nav .nav-list li a:hover::after,
nav .nav-list li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* HERO SECTION */
.hero, .hero-sub {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero {
    height: 60vh;
    min-height: 400px;
}

.hero-sub {
    height: 40vh;
    min-height: 250px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(62, 39, 35, 0.6); /* Kahvemsi koyu overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* CONTENT SECTION */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.content-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-section img.content-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* GRID LAYOUT FOR LISTINGS (CITIES, PLACES) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.card-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.card-content a {
    color: var(--accent-color);
    font-weight: 600;
}

.card-content a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    background-color: var(--text-color);
    color: #e6daca;
    padding: 50px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }

    nav .nav-list.active {
        max-height: 500px;
    }

    nav .nav-list li {
        width: 100%;
        text-align: center;
    }

    nav .nav-list li a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* YENİ EKLENEN ÖZELLİKLER (TOP BAR, TICKER, MODAL) */

/* TOP BAR (Saat, Hava Durumu, Sayaç) */
#top-bar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 0;
    font-size: 0.9rem;
}

#top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-item strong {
    color: var(--secondary-color);
}

/* HABER BANDI (TICKER) */
#ticker-container {
    background-color: var(--text-color);
    color: var(--secondary-color);
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    overflow: hidden;
    white-space: nowrap;
    border-top: 2px solid var(--primary-color);
}

#ticker-text {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
    font-weight: 600;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Footer padding adjustment to not hide behind ticker */
footer {
    padding-bottom: 60px;
}

/* BİLGİ PANOSU (MODAL) */
#info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

#info-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-color);
    width: 300px;
    height: 350px;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
    border: 2px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* YENİ: Reklam panosu için resimli modal tasarımı */
.modal-content.promo-modal {
    width: 340px;
    height: auto;
    padding: 20px;
    background: #fff;
    border: 4px solid var(--border-color);
    border-radius: 15px;
    overflow: visible;
    justify-content: flex-start;
}

.promo-header {
    background: var(--accent-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.promo-image-container {
    width: 300px;
    height: 350px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}

.modal-content.promo-modal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.modal-content.promo-modal .close-modal {
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    border: 3px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 10;
}

.close-modal:hover, .modal-content.promo-modal .close-modal:hover {
    color: #fff;
    background: var(--accent-color);
    transform: scale(1.1);
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* BÜYÜK GALERİ DÜZENLEMESİ */
.large-gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.large-gallery .card img {
    height: 150px;
}

/* SABİT SAAT (Sağ Alt) */
#fixed-clock {
    position: fixed;
    bottom: 50px;
    right: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 998;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* YUKARI ÇIK BUTONU */
#scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: var(--accent-color);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 998;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

