/* =========================================================
   Aziziye Yurdu - Ana Stylesheet
   Renk paleti referans siteden alınmıştır.
   ========================================================= */

:root {
    --renk-ana: #29B9CE;
    --renk-ana-koyu: #2196A7;
    --renk-derin: #0E3D46;
    --renk-baslik: #072C33;
    --renk-beyaz: #ffffff;
    --renk-gri-acik: #F5F9FA;
    --renk-gri-metin: #5A6B6E;
    --font-baslik: 'Poppins', 'Spartan-Bold', sans-serif;
    --font-govde: 'Open Sans', sans-serif;
    --radius: 14px;
    --gap: 24px;
}

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

body {
    font-family: var(--font-govde);
    color: var(--renk-gri-metin);
    line-height: 1.6;
    background: var(--renk-beyaz);
}

h1, h2, h3, h4 {
    font-family: var(--font-baslik);
    color: var(--renk-baslik);
    line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: inherit;
    font-size: 1rem;
    transition: all .25s ease;
    cursor: pointer;
    border: 2px solid transparent;
    background: none;
}
.btn-primary { background: var(--renk-ana); color: #fff; }
.btn-primary:hover { background: var(--renk-ana-koyu); }
.btn-outline { border-color: var(--renk-ana); color: var(--renk-ana); }
.btn-outline:hover { background: var(--renk-ana); color: #fff; }
.btn-light { background: #fff; color: var(--renk-derin); }
.btn-outline-white {
    background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ===== HEADER ===== */
body { padding-top: 0; }
.site-header {
    position: fixed; top: 24px; left: 0; right: 0; z-index: 200;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff;
    border-radius: 60px;
    box-shadow: 0 15px 45px rgba(7,44,51,.14);
    padding: 10px 12px 10px 28px;
}
.logo img { height: 40px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { font-weight: 600; color: var(--renk-baslik); position: relative; padding: 6px 0; font-size: .95rem; }
.main-nav a.active, .main-nav a:hover { color: var(--renk-ana); }
.header-cta {
    display: flex; align-items: center; gap: 8px;
    background: var(--renk-ana); color: #fff; padding: 12px 24px;
    border-radius: 50px; font-weight: 700; white-space: nowrap; font-size: .92rem;
    transition: background .2s ease;
}
.header-cta:hover { background: var(--renk-ana-koyu); }
.header-cta-arrow { transition: transform .2s ease; }
.header-cta:hover .header-cta-arrow { transform: translateX(3px); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { width: 26px; height: 3px; background: var(--renk-baslik); border-radius: 2px; }

/* Header hero üzerinde değilse (iç sayfalar) yeterli boşluk bırak */
.page-hero, .page-hero-image {
    padding-top: 150px;
}

/* ===== HERO SLIDER ===== */
.hero-slider { position: relative; height: 78vh; min-height: 480px; overflow: hidden; }
.slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity .8s ease;
}
.slide.active { opacity: 1; }
.slide-overlay {
    height: 100%; display: flex; align-items: center;
    background: linear-gradient(90deg, rgba(7,44,51,.75) 0%, rgba(7,44,51,.35) 60%, transparent 100%);
}
.slide-overlay h1 { color: #fff; font-size: 3rem; margin-bottom: 12px; }
.slide-overlay p { color: #e6f6f8; font-size: 1.2rem; margin-bottom: 28px; max-width: 480px; }
.slider-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.dot.active { background: #fff; }

/* ===== STATS ===== */
.stats-section, .stats-section-alt {
    background: var(--renk-derin);
    padding: 50px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); text-align: center; }
.stat-number { display: block; font-size: 2.6rem; font-weight: 800; color: var(--renk-ana); font-family: var(--font-baslik); }
.stat-label { color: #cfe9ec; font-weight: 600; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-heading { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.eyebrow {
    display: inline-block; color: var(--renk-ana); font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; margin-bottom: 10px;
}
.section-cta { text-align: center; margin-top: 40px; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { margin: 18px 0 28px; }
.about-image img { border-radius: var(--radius); }

/* ===== AREAS (Yurdumuz) ===== */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.area-card {
    display: block; border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 6px 24px rgba(7,44,51,.08); transition: transform .25s ease;
    background: #fff;
}
.area-card:hover { transform: translateY(-6px); }
.area-image { height: 200px; background-size: cover; background-position: center; }
.area-info { padding: 20px; }
.area-info h3 { font-size: 1.15rem; margin-bottom: 8px; }
.area-info p { font-size: .92rem; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid-full { grid-template-columns: repeat(4, 1fr); }
.gallery-item { border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.08); }

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(120deg, var(--renk-ana), var(--renk-derin));
    color: #fff; padding: 60px 0; text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: #eafbfd; margin-bottom: 24px; }

/* ===== PAGE HERO (iç sayfalar) ===== */
.page-hero {
    background: var(--renk-derin); color: #fff; padding: 70px 0; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #cfe9ec; margin-top: 10px; }
.page-hero-image {
    background-size: cover; background-position: center; position: relative;
}
.page-hero-image::before {
    content: ""; position: absolute; inset: 0; background: rgba(7,44,51,.65);
}
.page-hero-image .container { position: relative; }

/* ===== DETAIL PAGE ===== */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.detail-image img { border-radius: var(--radius); }
.detail-text p { margin: 20px 0 28px; }

/* ===== ACCORDION (SSS) ===== */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid #e2e8ea; }
.accordion-header {
    width: 100%; background: none; border: none; text-align: left;
    padding: 22px 0; font-size: 1.05rem; font-weight: 700; color: var(--renk-baslik);
    display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.accordion-icon { color: var(--renk-ana); font-size: 1.4rem; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion-body p { padding-bottom: 20px; }
.accordion-item.open .accordion-body { max-height: 300px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-intro { margin: 14px 0 28px; }
.contact-sub { color: var(--renk-ana); font-size: 1.05rem; margin-bottom: 16px; }
.contact-list { margin-bottom: 32px; }
.contact-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-icon {
    width: 42px; height: 42px; border-radius: 50%; background: var(--renk-gri-acik);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}

.contact-form-card {
    background: #fff; border-radius: var(--radius); padding: 36px;
    box-shadow: 0 25px 60px rgba(41,185,206,.18);
    border-top: 4px solid var(--renk-ana);
}
.contact-form-card h3 { color: var(--renk-ana); margin-bottom: 22px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--renk-baslik); font-size: .88rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 1px solid #dbe6e8; border-radius: 10px;
    font-family: inherit; font-size: .95rem; background: var(--renk-gri-acik);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--renk-ana); background: #fff; }
.form-success { background: #e4f9ec; color: #1a7a45; padding: 16px; border-radius: 10px; margin-bottom: 20px; }
.form-error { background: #fdeaea; color: #b3261e; padding: 16px; border-radius: 10px; margin-bottom: 20px; }

.contact-map-section { width: 100%; height: 450px; }
.contact-map-section iframe { width: 100%; height: 100%; border: none; display: block; }

/* ===== FOOTER ===== */
.site-footer { background: var(--renk-baslik); color: #cfe9ec; }
.footer-inner {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
    padding: 60px 20px 40px;
}
.footer-logo { height: 46px; margin-bottom: 16px; }
.footer-col h4 { color: #fff; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--renk-ana); }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-links a {
    background: rgba(255,255,255,.08); padding: 8px 16px; border-radius: 50px; font-size: .85rem;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0;
    text-align: center; font-size: .85rem;
}

/* ===== GALERİ SEKMELERİ ===== */
.gallery-tabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 36px; }
.gallery-tab {
    padding: 12px 28px; border-radius: 50px; border: 2px solid #e2e8ea;
    background: #fff; color: var(--renk-gri-metin); font-weight: 700; font-family: inherit;
    font-size: .95rem; cursor: pointer; transition: all .2s ease;
}
.gallery-tab.active, .gallery-tab:hover { background: var(--renk-ana); border-color: var(--renk-ana); color: #fff; }
.gallery-tab-panel { display: none; }
.gallery-tab-panel.active { display: block; }

.video-thumb {
    position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16/9;
    cursor: pointer; background: #000;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s ease; }
.video-thumb:hover img { opacity: .6; }
.video-thumb-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 56px; height: 56px; border-radius: 50%; background: rgba(41,185,206,.9);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; padding-left: 4px;
}
.video-thumb-title {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 12px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    color: #fff; font-size: .88rem; font-weight: 600;
}

/* ===== BLOG ===== */
.blog-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }
.blog-list { display: flex; flex-direction: column; gap: 24px; }
.blog-card {
    display: grid; grid-template-columns: 240px 1fr; gap: 24px;
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 6px 24px rgba(7,44,51,.08); transition: transform .2s ease;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-image { background-size: cover; background-position: center; min-height: 160px; }
.blog-card-body { padding: 22px 24px 22px 0; }
.blog-card-date { color: var(--renk-ana); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; }
.blog-card-body h3 { margin: 8px 0 10px; font-size: 1.2rem; }
.blog-card-body p { font-size: .92rem; margin-bottom: 12px; }
.blog-card-link { color: var(--renk-ana); font-weight: 700; font-size: .9rem; }

.blog-sidebar { background: var(--renk-gri-acik); border-radius: var(--radius); padding: 28px; position: sticky; top: 150px; }
.blog-sidebar h4 { margin-bottom: 16px; }
.blog-archive-list li { margin-bottom: 8px; }
.blog-archive-list a { display: block; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .92rem; color: var(--renk-gri-metin); }
.blog-archive-list a:hover, .blog-archive-list a.active { background: var(--renk-ana); color: #fff; }

.blog-detail { max-width: 780px; margin: 0 auto; }
.blog-detail-image { width: 100%; border-radius: var(--radius); margin-bottom: 32px; }
.blog-detail-content { font-size: 1.05rem; line-height: 1.8; color: var(--renk-gri-metin); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 200;
    width: 60px; height: 60px; border-radius: 50%;
    background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.2);
    display: flex; align-items: center; justify-content: center;
}
.whatsapp-float img { width: 34px; height: 34px; }

/* ===== YUKARI ÇIK BUTONU ===== */
.scroll-top-float {
    position: fixed; bottom: 24px; left: 24px; z-index: 200;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--renk-derin); color: #fff; border: none;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; cursor: pointer;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.scroll-top-float.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-float:hover { background: var(--renk-ana); }

/* ===== GALERİ LIGHTBOX ===== */
.lightbox-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(7,20,23,.94);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-image {
    max-width: 88vw; max-height: 85vh; border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; background: rgba(255,255,255,.12); color: #fff; border: none;
    border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 24px; right: 24px; width: 46px; height: 46px; font-size: 1.8rem; line-height: 1; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2rem; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    color: #fff; font-size: .9rem; background: rgba(255,255,255,.12); padding: 6px 16px; border-radius: 50px;
}

/* ===== VİDEO MODAL ===== */
.video-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(7,20,23,.94);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.video-overlay.open { opacity: 1; visibility: visible; }
.video-modal-frame {
    width: min(900px, 90vw); aspect-ratio: 16/9;
    border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.video-modal-frame iframe { width: 100%; height: 100%; border: none; }
.video-modal-close { top: 24px; right: 24px; width: 46px; height: 46px; font-size: 1.8rem; line-height: 1; }

.play-video-btn {
    display: inline-flex; align-items: center; gap: 10px;
}
.play-video-btn .play-icon {
    width: 40px; height: 40px; border-radius: 50%; background: var(--renk-ana);
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: .9rem;
    flex-shrink: 0;
}

@media (max-width: 720px) {
    .lightbox-prev, .lightbox-next { width: 42px; height: 42px; font-size: 1.5rem; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 12px; right: 12px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .about-grid, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid, .gallery-grid-full { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .contact-map-section { height: 320px; }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-card { grid-template-columns: 1fr; }
    .blog-card-body { padding: 0 20px 20px; }
}

@media (max-width: 720px) {
    .main-nav { display: none; }
    .mobile-toggle { display: flex; }
    .header-cta { display: none; }
    .slide-overlay h1 { font-size: 2rem; }
    .areas-grid { grid-template-columns: 1fr; }
    .gallery-grid, .gallery-grid-full { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; }
}
