/* ============================================
   KARADENİZ'DE GEZİLECEK YERLER - ANA STIL
   Renk Paleti: Karadeniz Yeşili & Mavi Tonları
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Open+Sans:wght@300;400;600;700&display=swap');

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

:root {
    --renk-koyu-yesil: #1a4a2e;
    --renk-orta-yesil: #2d7a4f;
    --renk-acik-yesil: #4caf7d;
    --renk-karadeniz-mavi: #0d3b5e;
    --renk-acik-mavi: #1976d2;
    --renk-altin: #c9a227;
    --renk-krem: #f5f0e8;
    --renk-beyaz: #ffffff;
    --renk-koyu: #1a1a1a;
    --renk-gri: #666666;
    --renk-acik-gri: #f0f0f0;
    --font-baslik: 'Merriweather', Georgia, serif;
    --font-metin: 'Open Sans', Arial, sans-serif;
    --golge: 0 4px 15px rgba(0,0,0,0.15);
    --golge-buyuk: 0 8px 30px rgba(0,0,0,0.2);
    --gecis: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-metin);
    font-size: 16px;
    color: var(--renk-koyu);
    background-color: var(--renk-beyaz);
    min-width: 1024px;
    line-height: 1.7;
}

/* ---- SON DAKİKA HABER BANDI ---- */
#haber-bandi {
    background: var(--renk-karadeniz-mavi);
    color: var(--renk-beyaz);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 1000;
    border-bottom: 2px solid var(--renk-altin);
}

#haber-bandi .bant-etiket {
    background: var(--renk-altin);
    color: var(--renk-koyu);
    font-weight: 700;
    font-size: 12px;
    padding: 4px 12px;
    float: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

#haber-bandi .bant-icerik {
    overflow: hidden;
    margin-left: 130px;
}

#haber-bandi .kayan-yazi {
    display: inline-block;
    white-space: nowrap;
    animation: kaydir 40s linear infinite;
    font-size: 13px;
    padding-top: 2px;
}

#haber-bandi .kayan-yazi:hover {
    animation-play-state: paused;
}

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

/* ---- ÜSTBILGI (HEADER) ---- */
#ustbilgi {
    background: linear-gradient(135deg, var(--renk-koyu-yesil) 0%, var(--renk-karadeniz-mavi) 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--golge-buyuk);
}

#ustbilgi-ust {
    background: rgba(0,0,0,0.3);
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

#ustbilgi-ust a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-left: 15px;
}

#ustbilgi-ust a:hover {
    color: var(--renk-altin);
}

#logo-alan {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    justify-content: space-between;
}

#site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

#site-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--renk-altin);
    margin-right: 15px;
    object-fit: cover;
}

#site-logo .logo-yazi {
    color: var(--renk-beyaz);
}

#site-logo .logo-yazi h1 {
    font-family: var(--font-baslik);
    font-size: 22px;
    font-weight: 700;
    color: var(--renk-altin);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

#site-logo .logo-yazi p {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Sağ üst: Saat */
#saat-alan {
    text-align: right;
    color: var(--renk-beyaz);
}

#dijital-saat {
    font-size: 28px;
    font-weight: 700;
    color: var(--renk-altin);
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(201,162,39,0.5);
}

#tarih-goster {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin-top: 2px;
}

/* ---- NAVİGASYON MENÜSÜ ---- */
#nav-menu {
    background: var(--renk-orta-yesil);
    border-top: 1px solid rgba(255,255,255,0.1);
}

#nav-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: center;
}

#nav-menu ul li {
    position: relative;
}

#nav-menu ul li a {
    display: block;
    color: var(--renk-beyaz);
    text-decoration: none;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--gecis);
    white-space: nowrap;
}

#nav-menu ul li a:hover,
#nav-menu ul li a.aktif {
    background: var(--renk-koyu-yesil);
    color: var(--renk-altin);
}

/* Açılır Alt Menü */
#nav-menu ul li .alt-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--renk-koyu-yesil);
    min-width: 220px;
    box-shadow: var(--golge-buyuk);
    z-index: 1000;
    border-top: 3px solid var(--renk-altin);
}

#nav-menu ul li:hover .alt-menu {
    display: block;
}

#nav-menu ul li .alt-menu li a {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 400;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

#nav-menu ul li .alt-menu li a:hover {
    background: var(--renk-orta-yesil);
    padding-left: 28px;
    color: var(--renk-altin);
}

/* ---- HERO SLIDER ---- */
#hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: var(--renk-koyu);
}

.hero-slayt {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slayt.aktif {
    opacity: 1;
}

.hero-slayt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-metin {
    position: absolute;
    bottom: 80px;
    left: 60px;
    color: var(--renk-beyaz);
    z-index: 10;
    max-width: 600px;
}

.hero-metin h2 {
    font-family: var(--font-baslik);
    font-size: 38px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-metin p {
    font-size: 16px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    margin-bottom: 20px;
}

.hero-metin a.btn {
    display: inline-block;
    background: var(--renk-altin);
    color: var(--renk-koyu);
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: var(--gecis);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-metin a.btn:hover {
    background: var(--renk-beyaz);
    transform: translateY(-2px);
    box-shadow: var(--golge);
}

.slider-oklar {
    position: absolute;
    bottom: 20px;
    right: 30px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-oklar button {
    background: rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--gecis);
}

.slider-oklar button:hover {
    background: var(--renk-altin);
    border-color: var(--renk-altin);
    color: var(--renk-koyu);
}

.slider-noktalar {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-noktalar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--gecis);
}

.slider-noktalar span.aktif {
    background: var(--renk-altin);
    transform: scale(1.3);
}

/* ---- ANA İÇERİK ALANI ---- */
#ana-icerik, .icerik-sayfa {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

/* ---- BÖLÜM BAŞLIKLARI ---- */
.bolum-baslik {
    font-family: var(--font-baslik);
    font-size: 26px;
    color: var(--renk-koyu-yesil);
    border-bottom: 3px solid var(--renk-altin);
    padding-bottom: 10px;
    margin-bottom: 25px;
    position: relative;
}

.bolum-baslik::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--renk-orta-yesil);
}

/* ---- KART GRID ---- */
.kart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.kart {
    background: var(--renk-beyaz);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--golge);
    transition: var(--gecis);
    text-decoration: none;
    color: var(--renk-koyu);
    display: block;
}

.kart:hover {
    transform: translateY(-5px);
    box-shadow: var(--golge-buyuk);
}

.kart img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--gecis);
}

.kart:hover img {
    transform: scale(1.05);
}

.kart-govde {
    padding: 15px;
}

.kart-govde h3 {
    font-family: var(--font-baslik);
    font-size: 16px;
    color: var(--renk-koyu-yesil);
    margin-bottom: 8px;
    line-height: 1.3;
}

.kart-govde p {
    font-size: 13px;
    color: var(--renk-gri);
    line-height: 1.6;
}

.kart-govde .sehir-etiketi {
    display: inline-block;
    background: var(--renk-acik-gri);
    color: var(--renk-orta-yesil);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- KENAR ÇUBUĞU ---- */
#kenar-cubugu {
    /* sağ taraf */
}

.kenar-widget {
    background: var(--renk-beyaz);
    border-radius: 8px;
    box-shadow: var(--golge);
    margin-bottom: 25px;
    overflow: hidden;
}

.widget-baslik {
    background: var(--renk-koyu-yesil);
    color: var(--renk-beyaz);
    padding: 12px 18px;
    font-family: var(--font-baslik);
    font-size: 16px;
    font-weight: 700;
}

.widget-icerik {
    padding: 15px;
}

/* Hava Durumu Widget */
#hava-durumu-widget {
    text-align: center;
}

.hava-sehir {
    font-weight: 700;
    color: var(--renk-koyu-yesil);
    margin-bottom: 10px;
}

.hava-ikon {
    font-size: 48px;
    margin: 10px 0;
}

.hava-sicaklik {
    font-size: 36px;
    font-weight: 700;
    color: var(--renk-altin);
}

.hava-durum {
    font-size: 14px;
    color: var(--renk-gri);
    margin-bottom: 15px;
}

.hava-detay {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    border-top: 1px solid var(--renk-acik-gri);
    padding-top: 15px;
}

.hava-detay div {
    font-size: 11px;
    color: var(--renk-gri);
}

.hava-detay strong {
    display: block;
    font-size: 14px;
    color: var(--renk-koyu);
}

/* Dönen Resim Widget */
#donusen-resim-widget {
    position: relative;
    height: 200px;
}

#donusen-resim {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.resim-aciklama {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    text-align: center;
}

/* Takvim Widget */
.takvim-baslik {
    text-align: center;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--renk-koyu-yesil);
}

.takvim-tablo {
    width: 100%;
    border-collapse: collapse;
}

.takvim-tablo th {
    font-size: 11px;
    color: var(--renk-gri);
    padding: 5px;
}

.takvim-tablo td {
    text-align: center;
    padding: 5px;
    font-size: 12px;
    border: 1px solid var(--renk-acik-gri);
}

.takvim-tablo td.bugun {
    background: var(--renk-altin);
    color: var(--renk-koyu);
    font-weight: 700;
}

/* ---- SAYFA ÖZEL ALANLARI ---- */
.sayfa-baslik-alan {
    height: 350px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--renk-beyaz);
    text-align: center;
    background-size: cover;
    background-position: center;
}

.sayfa-baslik-alan::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
}

.sayfa-baslik-alan h1 {
    position: relative;
    font-family: var(--font-baslik);
    font-size: 42px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.sayfa-baslik-alan p {
    position: relative;
    font-size: 18px;
    max-width: 800px;
}

.breadcrumb {
    background: var(--renk-acik-gri);
    padding: 10px 20px;
    font-size: 12px;
    color: var(--renk-gri);
}

.breadcrumb a {
    color: var(--renk-orta-yesil);
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 8px;
}

/* ---- İÇERİK SAYFASI ---- */
.icerik-sayfa main {
    background: var(--renk-beyaz);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--golge);
}

.icerik-ana h2 {
    font-family: var(--font-baslik);
    color: var(--renk-koyu-yesil);
    margin-bottom: 20px;
    border-left: 5px solid var(--renk-altin);
    padding-left: 15px;
}

.icerik-ana p {
    margin-bottom: 20px;
    text-align: justify;
}

.icerik-ana img.resim-sag {
    float: right;
    width: 350px;
    margin-left: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: var(--golge);
}

.icerik-ana img.resim-sol {
    float: left;
    width: 350px;
    margin-right: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: var(--golge);
}

.bilgi-kutusu {
    background: var(--renk-krem);
    border: 1px solid var(--renk-altin);
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.bilgi-tablo {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.bilgi-tablo th, .bilgi-tablo td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.bilgi-tablo th {
    background: rgba(0,0,0,0.05);
    color: var(--renk-koyu-yesil);
    font-weight: 700;
}

/* Sayfa Navigasyonu */
.sayfa-navigasyon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid var(--renk-acik-gri);
}

.sayfa-navigasyon a {
    background: var(--renk-acik-gri);
    color: var(--renk-koyu);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--gecis);
}

.sayfa-navigasyon a:hover {
    background: var(--renk-orta-yesil);
    color: var(--renk-beyaz);
}

.sayfa-navigasyon .anasayfa-btn {
    background: var(--renk-altin);
}

/* Video Konteyner */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: var(--golge-buyuk);
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ---- GALERİ ---- */
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.galeri-item {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: var(--golge);
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--gecis);
}

.galeri-item:hover img {
    transform: scale(1.1);
}

.galeri-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--gecis);
    color: white;
    font-size: 24px;
}

.galeri-item:hover .galeri-overlay {
    opacity: 1;
}

/* ---- İLETİŞİM FORMU ---- */
.iletisim-form {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.form-grup {
    display: grid;
    gap: 8px;
}

.form-grup label {
    font-weight: 600;
    font-size: 14px;
}

.form-grup input,
.form-grup select,
.form-grup textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
}

.form-grup textarea {
    height: 150px;
    resize: vertical;
}

.btn-gonder {
    background: var(--renk-orta-yesil);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--gecis);
}

.btn-gonder:hover {
    background: var(--renk-koyu-yesil);
    transform: translateY(-2px);
}

/* ---- FOOTER ---- */
#altbilgi {
    background: #1a1a1a;
    color: #eee;
    padding: 60px 20px 20px;
    margin-top: 60px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-grid h4 {
    color: var(--renk-altin);
    font-family: var(--font-baslik);
    margin-bottom: 25px;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 12px;
}

.footer-grid ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: var(--gecis);
}

.footer-grid ul li a:hover {
    color: var(--renk-altin);
    padding-left: 5px;
}

.footer-alt {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
}

.footer-alt a {
    color: #888;
}

/* ---- YÜZEN ELEMANLAR ---- */
#ziyaretci-sayac {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--renk-koyu-yesil);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    box-shadow: var(--golge-buyuk);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--renk-altin);
}

#ziyaretci-sayac .sayac-sayi {
    font-weight: 700;
    font-size: 18px;
    color: var(--renk-altin);
    font-family: monospace;
}

#yukari-git {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--renk-altin);
    color: var(--renk-koyu);
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    font-size: 20px;
    z-index: 1000;
    box-shadow: var(--golge-buyuk);
    transition: var(--gecis);
}

#yukari-git.goster {
    display: flex;
}

#yukari-git:hover {
    transform: translateY(-5px);
    background: var(--renk-beyaz);
}

/* ---- POPUP REKLAM ---- */
#popup-reklam {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

#popup-reklam.goster {
    display: flex;
}

#popup-kutu {
    width: 350px;
    background: var(--renk-beyaz);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--golge-buyuk);
    animation: popupIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popupIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

#popup-kutu img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

#popup-kutu .popup-icerik {
    padding: 25px;
    text-align: center;
}

#popup-kutu h2 {
    font-family: var(--font-baslik);
    font-size: 22px;
    color: var(--renk-koyu-yesil);
    margin-bottom: 10px;
}

#popup-kutu p {
    font-size: 14px;
    color: var(--renk-gri);
    margin-bottom: 20px;
}

#popup-kutu .popup-btn {
    display: block;
    background: var(--renk-altin);
    color: var(--renk-koyu);
    padding: 12px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
}

#popup-kapat {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* ---- LIGHTBOX ---- */
#lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#lightbox.goster {
    display: flex;
}

#lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border: 4px solid white;
    box-shadow: var(--golge-buyuk);
}

#lightbox-aciklama {
    color: white;
    margin-top: 20px;
    font-size: 18px;
    font-family: var(--font-baslik);
}

#lightbox-kapat {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}
