/* =============================================
   Dijital Fotografcilik - Ana Stil Dosyasi
   Ahmet Kiraz
   ============================================= */

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

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #2d2d2d;
    background-color: #fafaf7;
    min-width: 1024px;
    min-height: 768px;
}

a {
    color: #6b4f36;
    text-decoration: none;
}

a:hover {
    color: #8B7355;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #1a1a1a;
    margin-bottom: 12px;
}

h1 { font-size: 28px; }
h2 { font-size: 22px; border-bottom: 2px solid #d4c5a9; padding-bottom: 8px; }
h3 { font-size: 18px; }

p {
    margin-bottom: 14px;
    text-align: left;
}

/* ---- UST CUBUK - SAAT VE HAVA DURUMU ---- */
.top-bar {
    background-color: #3a3a3a;
    color: #e0e0e0;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.top-bar .saat {
    font-weight: bold;
    font-size: 13px;
}

.top-bar .hava-durumu {
    font-size: 12px;
}

/* ---- HEADER ---- */
header {
    background-color: #2c2c2c;
    color: #fff;
    padding: 20px 30px;
    text-align: center;
    border-bottom: 4px solid #8B7355;
}

header h1 {
    color: #fff;
    font-size: 32px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

header p.slogan {
    color: #c9b99a;
    font-size: 13px;
    font-style: italic;
}

/* ---- NAVIGASYON ---- */
nav {
    background-color: #4a3f35;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    color: #e8dcc8;
    padding: 12px 18px;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s;
}

nav ul li a:hover,
nav ul li a.aktif {
    background-color: #6b4f36;
    color: #fff;
    text-decoration: none;
}

/* Dropdown */
nav ul li ul.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #4a3f35;
    min-width: 220px;
    z-index: 200;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

nav ul li:hover ul.dropdown {
    display: block;
}

nav ul li ul.dropdown li {
    width: 100%;
}

nav ul li ul.dropdown li a {
    padding: 10px 16px;
    font-size: 12px;
    border-bottom: 1px solid #5a4d40;
}

nav ul li ul.dropdown li a:hover {
    background-color: #8B7355;
}

/* ---- HABER BANDI ---- */
.haber-bandi {
    background-color: #8B7355;
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 13px;
}

.haber-bandi .haber-ici {
    display: inline-block;
    animation: haberKaydir 120s linear infinite;
}

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

.haber-bandi span {
    margin-right: 100px;
    font-weight: normal;
}

.haber-bandi strong {
    color: #ffe0b2;
}

/* ---- SLIDER ---- */
.slider-alani {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 20px auto;
    height: 400px;
    overflow: hidden;
    border: 3px solid #d4c5a9;
    background: #000;
}

.slider-alani img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-alani img.aktif-slide {
    opacity: 1;
}

/* ---- ANA ICERIK ---- */
.ana-konteyner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    gap: 25px;
}

.icerik {
    flex: 1;
    background: #fff;
    padding: 25px;
    border: 1px solid #e0ddd5;
    min-height: 400px;
}

.icerik img.icerik-resim {
    float: right;
    margin: 0 0 15px 20px;
    max-width: 320px;
    border: 2px solid #d4c5a9;
}

.icerik ul, .icerik ol {
    margin: 10px 0 14px 24px;
}

.icerik li {
    margin-bottom: 6px;
}

.icerik blockquote {
    border-left: 4px solid #8B7355;
    padding: 10px 16px;
    margin: 14px 0;
    background: #f7f3ec;
    font-style: italic;
    color: #5a5a5a;
}

/* ---- YAN PANEL ---- */
.yan-panel {
    width: 260px;
    flex-shrink: 0;
}

.yan-kutu {
    background: #fff;
    border: 1px solid #e0ddd5;
    padding: 15px;
    margin-bottom: 15px;
}

.yan-kutu h3 {
    font-size: 15px;
    border-bottom: 2px solid #d4c5a9;
    padding-bottom: 6px;
    margin-bottom: 10px;
    color: #4a3f35;
}

.yan-kutu ul {
    list-style: none;
}

.yan-kutu ul li {
    padding: 5px 0;
    border-bottom: 1px solid #f0ece3;
}

.yan-kutu ul li a {
    font-size: 12px;
}

/* ---- SAYAC ---- */
.sayac-alani {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    background: #f0ece3;
    border-top: 2px solid #d4c5a9;
    border-bottom: 2px solid #d4c5a9;
    margin: 20px 0;
}

.sayac-kutu {
    text-align: center;
}

.sayac-kutu .sayi {
    font-size: 28px;
    font-weight: bold;
    color: #6b4f36;
    font-family: Georgia, serif;
}

.sayac-kutu .etiket {
    font-size: 11px;
    color: #777;
    margin-top: 4px;
}

/* ---- GALERI ---- */
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 15px 0;
}

.galeri-grid .galeri-item {
    position: relative;
    overflow: hidden;
    border: 2px solid #d4c5a9;
    cursor: pointer;
    height: 160px;
}

.galeri-grid .galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.galeri-item .galeri-baslik {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 8px;
    font-size: 11px;
}

/* Buyuk resim gosterici */
.resim-buyut {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.resim-buyut.goster {
    display: flex;
}

.resim-buyut img {
    max-width: 85%;
    max-height: 85%;
    border: 3px solid #fff;
}

.resim-buyut .kapat-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- VIDEO ---- */
.video-konteyner {
    position: relative;
    margin: 15px 0;
    border: 2px solid #d4c5a9;
    background: #000;
}

.video-konteyner video {
    width: 100%;
    display: block;
}

.video-konteyner .video-kapat {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 12px;
    z-index: 10;
}

.video-konteyner .video-kapat:hover {
    background: #8B7355;
}

.video-gizli {
    display: none;
}

.video-ac-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #6b4f36;
    color: #fff;
    cursor: pointer;
    margin: 5px 0;
    font-size: 12px;
    border: none;
}

.video-ac-btn:hover {
    background: #8B7355;
}

/* ---- POPUP REKLAM ---- */
.reklam-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 900;
    justify-content: center;
    align-items: center;
}

.reklam-overlay.goster {
    display: flex;
}

.reklam-kutu {
    width: 350px;
    height: 300px;
    background: #fff;
    position: relative;
    border: 3px solid #8B7355;
    text-align: center;
    padding: 20px;
}

.reklam-kutu .reklam-kapat {
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    font-weight: bold;
}

.reklam-kutu .reklam-kapat:hover {
    color: #333;
}

.reklam-kutu h3 {
    color: #6b4f36;
    margin-top: 10px;
}

.reklam-kutu p {
    font-size: 13px;
    text-align: center;
    color: #555;
}

.reklam-kutu .reklam-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: #8B7355;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

/* ---- TAKVIM ---- */
.takvim-alani {
    background: #fff;
    border: 1px solid #e0ddd5;
    padding: 10px;
    margin-top: 20px;
    max-width: 300px;
    float: right;
}

.takvim-alani table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.takvim-alani th {
    background: #4a3f35;
    color: #fff;
    padding: 6px 4px;
    text-align: center;
}

.takvim-alani td {
    text-align: center;
    padding: 5px 4px;
    border: 1px solid #eee;
}

.takvim-alani td.bugun {
    background: #8B7355;
    color: #fff;
    font-weight: bold;
}

.takvim-alani .takvim-baslik {
    text-align: center;
    font-weight: bold;
    padding: 6px;
    background: #6b4f36;
    color: #fff;
    font-size: 13px;
}

/* ---- ILETISIM FORMU ---- */
.form-alan {
    margin-bottom: 14px;
}

.form-alan label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 13px;
}

.form-alan input,
.form-alan textarea,
.form-alan select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    font-family: Verdana, sans-serif;
    font-size: 13px;
}

.form-alan textarea {
    height: 120px;
    resize: vertical;
}

.form-btn {
    padding: 10px 25px;
    background: #6b4f36;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

.form-btn:hover {
    background: #8B7355;
}

/* ---- HARITA ---- */
.harita-konteyner {
    margin: 25px 0;
    width: 100%;
    height: 400px;
    border: 3px solid #d4c5a9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.harita-konteyner iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    display: block;
}

.iletisim-alt-bolum {
    margin-top: 30px;
}

.iletisim-bilgi-kutu {
    background: #fdfdfb;
    padding: 20px;
    border: 1px solid #e0ddd5;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.iletisim-bilgi-kutu h3 {
    color: #6b4f36;
    border-bottom: 2px solid #d4c5a9;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.iletisim-bilgi-kutu p {
    margin-bottom: 10px;
    font-size: 14px;
}

.iletisim-bilgi-kutu strong {
    display: inline-block;
    width: 80px;
    color: #4a3f35;
}

/* ---- SAYFA NAVIGASYON (ileri/geri) ---- */
.sayfa-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-top: 20px;
    border-top: 1px solid #e0ddd5;
}

.sayfa-nav a {
    padding: 8px 16px;
    background: #4a3f35;
    color: #e8dcc8;
    font-size: 12px;
    text-decoration: none;
}

.sayfa-nav a:hover {
    background: #6b4f36;
    color: #fff;
    text-decoration: none;
}

.sayfa-nav .anasayfa-btn {
    background: #8B7355;
    color: #fff;
}

/* ---- YUKARI BUTONU ---- */
.yukari-btn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #4a3f35;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    z-index: 500;
    align-items: center;
    justify-content: center;
}

.yukari-btn:hover {
    background: #6b4f36;
}

.yukari-btn.goster {
    display: flex;
}

/* ---- FOOTER ---- */
footer {
    background-color: #2c2c2c;
    color: #b0a89e;
    padding: 20px 30px;
    text-align: center;
    font-size: 12px;
    border-top: 4px solid #8B7355;
}

footer a {
    color: #d4c5a9;
}

footer .footer-linkler {
    margin-bottom: 10px;
}

footer .footer-linkler a {
    margin: 0 10px;
}

/* ---- SITE HARITASI ---- */
.site-haritasi ul {
    list-style: disc;
    margin-left: 20px;
}

.site-haritasi ul ul {
    list-style: circle;
    margin-left: 20px;
}

.site-haritasi li {
    padding: 3px 0;
}

/* ---- HAKKINDA ---- */
.hakkinda-kutu {
    background: #f7f3ec;
    padding: 20px;
    border-left: 4px solid #8B7355;
    margin: 15px 0;
}

/* ---- GENEL YARDIMCI ---- */
.temizle {
    clear: both;
}

.orta {
    text-align: center;
}

.bosluk {
    height: 20px;
}

table.bilgi-tablo {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
}

table.bilgi-tablo th,
table.bilgi-tablo td {
    border: 1px solid #d4c5a9;
    padding: 8px 12px;
    font-size: 13px;
    text-align: left;
}

table.bilgi-tablo th {
    background: #f0ece3;
    font-weight: bold;
}

table.bilgi-tablo tr:nth-child(even) {
    background: #faf8f4;
}
