/* =========================================================================
   AYDOĞAN APART - PREMIUM VANILLA CSS STYLESHEET
   ========================================================================= */

   :root {
    --color-primary: #1A365D;
    --color-primary-light: #2c5282;
    --color-accent: #2F855A;
    --color-accent-hover: #276749;
    --color-bg: #F8FAFC;
    --color-surface: #FFFFFF;
    
    --color-text: #2D3748;
    --color-text-light: #718096;
    --color-border: #E2E8F0;
    
    --color-whatsapp: #25D366;

    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--color-text); background-color: var(--color-bg); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); color: var(--color-primary); line-height: 1.2; margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition-normal); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.bg-light { background-color: var(--color-surface); }
.bg-dark-blue { background-color: var(--color-primary); color: #fff; }
.bg-dark-blue h2, .bg-dark-blue p { color: #fff; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 2.5rem; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background-color: var(--color-accent); border-radius: 2px; }
.section-subtitle { color: var(--color-text-light); font-size: 1.1rem; margin-top: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* BUTTONS */
.btn { display: inline-block; padding: 0.8rem 2rem; border-radius: 50px; font-weight: 600; font-size: 1rem; font-family: var(--font-sans); text-align: center; cursor: pointer; border: 2px solid transparent; transition: var(--transition-normal); }
.btn-primary { background-color: var(--color-accent); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background-color: var(--color-accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background-color: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background-color: #fff; color: var(--color-primary); }

/* HEADER & NAV */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: transparent; transition: var(--transition-normal); padding: 1.5rem 0; }
.header.scrolled { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); padding: 1rem 0; }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; color: #fff; transition: var(--transition-normal); }
.logo span { color: var(--color-accent); font-weight: 400; }
.header.scrolled .logo { color: var(--color-primary); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: 2rem; align-items: center; }
.nav-link { color: rgba(255, 255, 255, 0.9); font-weight: 500; font-size: 1rem; position: relative; }
.header.scrolled .nav-link { color: var(--color-text); }
.nav-link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 2px; background-color: var(--color-accent); transition: var(--transition-normal); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-btn { background-color: var(--color-accent); color: #fff !important; padding: 0.6rem 1.5rem; border-radius: 50px; }
.nav-btn::after { display: none; }
.nav-btn:hover { background-color: var(--color-accent-hover); transform: translateY(-2px); }

/* HEADER SOCIAL */
.header-social { display: flex; gap: 1rem; align-items: center; }
.header-social a { color: #fff; font-size: 1.2rem; opacity: 0.8; transition: var(--transition-fast); }
.header.scrolled .header-social a { color: var(--color-primary); }
.header-social a:hover { opacity: 1; color: var(--color-accent); transform: scale(1.1); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: #fff; cursor: pointer; position: relative; z-index: 1005; }
.header.scrolled .menu-toggle { color: var(--color-primary); }

/* HERO */
.hero { height: 100vh; min-height: 600px; background: url('images/Slider/Slider_1.jpg') center/cover no-repeat; display: flex; align-items: center; justify-content: center; position: relative; }
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0, 0, 0, 0.6); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 700px; }
.hero-subtitle { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; font-weight: 500; color: var(--color-accent); display: block; margin-bottom: 1rem; }
.hero-title { color: #fff; font-size: 4rem; margin-bottom: 1.5rem; line-height: 1.1; }
.hero-description { font-size: 1.2rem; font-weight: 300; margin-bottom: 2.5rem; opacity: 0.9; }
.hero-buttons { display: flex; gap: 1rem; }

/* ABOUT SECTION */
.about-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* FEATURES SECTION */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature-card { background: var(--color-surface); padding: 2.5rem 2rem; border-radius: 12px; text-align: center; transition: var(--transition-normal); border: 1px solid var(--color-border); }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--color-accent); }
.feature-icon { width: 70px; height: 70px; background: rgba(47, 133, 90, 0.1); color: var(--color-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 1.5rem; transition: var(--transition-fast); }
.feature-card:hover .feature-icon { background: var(--color-accent); color: #fff; }
.feature-title { font-size: 1.1rem; font-weight: 600; margin-bottom:0; }

/* GALLERY GRID */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.gallery-item { width: 100%; height: 260px; object-fit: cover; border-radius: 12px; cursor: pointer; transition: var(--transition-normal); box-shadow: var(--shadow-sm); background: #e2e8f0; }
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }

/* MODALS (Gallery Lightbox) */
.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.9); display: flex; align-items: center; justify-content: center; z-index: 5000; opacity: 0; pointer-events: none; transition: opacity var(--transition-fast); }
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-content { max-width: 90%; max-height: 90%; border-radius: 8px; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; }
.lightbox-close:hover { color: var(--color-accent); }

.full-gallery-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--color-surface); z-index: 3000; overflow-y: auto; opacity: 0; pointer-events: none; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease; }
.full-gallery-modal.active { opacity: 1; pointer-events: auto; transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 3rem; border-bottom: 1px solid var(--color-border); position: sticky; top: 0; background: var(--color-surface); z-index: 10; }
.modal-title { margin: 0; font-size: 1.8rem; color: var(--color-primary); }
.modal-close { background: none; border: none; font-size: 3rem; line-height: 1; color: var(--color-text-light); cursor: pointer; transition: color 0.2s; }
.modal-close:hover { color: var(--color-accent); }
.gallery-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; padding: 2rem; }
.filter-btn { background: transparent; border: 2px solid var(--color-border); padding: 0.6rem 1.5rem; border-radius: 50px; font-weight: 600; font-family: var(--font-sans); color: var(--color-text); cursor: pointer; transition: var(--transition-fast); }
.filter-btn:hover, .filter-btn.active { border-color: var(--color-accent); color: var(--color-accent); }
.filter-btn.active { background-color: var(--color-accent); color: #fff; }
.full-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; padding: 0 3rem 4rem; }
.gallery-item-wrap { animation: fadeIn 0.4s ease-in; }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.gallery-item-full { width: 100%; height: 260px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow-sm); background: #e2e8f0; }

/* REHBER SEO MODALI */
.guide-seo-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); display: flex; align-items: center; justify-content: center; z-index: 4000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; padding: 1.5rem; }
.guide-seo-modal.active { opacity: 1; pointer-events: auto; }
.guide-modal-content { background: var(--color-surface); width: 100%; max-width: 800px; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transform: scale(0.95); transition: transform 0.3s ease; box-shadow: var(--shadow-lg); max-height: 90vh; }
.guide-seo-modal.active .guide-modal-content { transform: scale(1); }
.guide-modal-header { position: relative; height: 350px; background: #e2e8f0; flex-shrink: 0; }
.guide-modal-img { width: 100%; height: 100%; object-fit: cover; }
.guide-modal-close { position: absolute; top: 15px; right: 20px; background: rgba(0,0,0,0.5); color: #fff; width: 40px; height: 40px; border-radius: 50%; border: none; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; }
.guide-modal-close:hover { background: var(--color-accent); }
.guide-modal-body { padding: 2.5rem; overflow-y: auto; flex-grow: 1; background: var(--color-surface); }
.guide-modal-title { font-size: 2.2rem; color: var(--color-primary); margin-bottom: 1.5rem; }
.guide-modal-body p { margin-bottom: 1.2rem; color: var(--color-text); line-height: 1.8; font-size: 1.05rem; }
.guide-modal-body strong { color: var(--color-primary); }

/* CONTACT */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; }
.contact-title { font-size: 2rem; }
.contact-desc { margin-bottom: 2rem; color: rgba(255,255,255,0.8); }
.contact-details li { display: flex; align-items: center; margin-bottom: 1rem; font-size: 1.1rem; }
.contact-details li i { color: var(--color-accent); font-size: 1.3rem; margin-right: 1rem; width: 25px; }
.contact-form { background: rgba(255, 255, 255, 0.95); padding: 2rem; border-radius: 12px; }
.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 1rem; border: 1px solid var(--color-border); border-radius: 8px; font-family: var(--font-sans); outline: none; }
.contact-map { border-radius: 12px; overflow: hidden; min-height: 400px; background: #e2e8f0; }

/* FOOTER */
.footer { background: #0f172a; color: #fff; padding: 5rem 0 2rem; }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { display: inline-block; margin-bottom: 1rem; }
.footer h3 { font-family: var(--font-sans); font-size: 1.2rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.5rem; }
.footer h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--color-accent); }
.footer-links ul li { margin-bottom: 0.8rem; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--color-accent); padding-left: 5px; }
.seo-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seo-tags span { background: rgba(255,255,255,0.1); padding: 0.4rem 0.8rem; border-radius: 4px; font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-social a:hover { color: var(--color-accent) !important; transform: translateY(-3px); }

/* WHATSAPP */
.whatsapp-btn { position: fixed; bottom: 30px; right: 30px; background-color: var(--color-whatsapp); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; box-shadow: var(--shadow-lg); z-index: 1000; transition: var(--transition-normal); }
.whatsapp-btn:hover { transform: scale(1.1) rotate(-10deg); }

/* BLOG / REHBER KARTLARI */
.blog-hero { height: 60vh; min-height: 400px; background: url('images/kizkumu.jpg') center/cover no-repeat; display: flex; align-items: center; justify-content: center; position: relative; margin-top: 70px; }
.blog-hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(26,54,93,0.6); }
.blog-hero-content { position: relative; z-index: 2; color: #fff; text-align: center; }
.blog-hero-content h1 { font-size: 4rem; color: #fff; margin-bottom: 1rem;}
.blog-hero-content p { font-size: 1.2rem; opacity: 0.9;}

.guide-category { margin-bottom: 5rem; }
.guide-category-title { font-size: 2.2rem; margin-bottom: 2.5rem; border-bottom: 2px solid var(--color-border); padding-bottom: 1rem; color: var(--color-primary); }

.guide-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.guide-card { background: var(--color-surface); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition-normal); display: flex; flex-direction: column; position: relative; }
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.guide-card-img { width: 100%; height: 220px; object-fit: cover; background: #e2e8f0; }
.guide-card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.guide-card-title { font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--color-primary); font-family: var(--font-serif); }
.guide-card-desc { color: var(--color-text-light); font-size: 0.95rem; line-height: 1.6; }
.seo-detail { display: none; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .contact-wrapper, .footer-container, .about-wrapper { grid-template-columns: 1fr; }
    .hero-title { font-size: 3rem; }
    .guide-modal-header { height: 250px; }
}
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav { position: fixed; top: 0; right: -100%; width: 250px; height: 100vh; background: #fff; box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: right var(--transition-normal); padding-top: 5rem; flex-direction: column; align-items: flex-start; padding-left: 2rem; z-index: 1000; }
    .nav.active { right: 0; }
    .nav-list { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
    .nav-link { color: var(--color-text); font-weight: 600; }
    .header-social { margin-top: 2rem; gap: 1.5rem; }
    .header-social a { color: var(--color-primary); font-size: 1.5rem; }
    .header .logo, .menu-toggle { color: var(--color-primary); }
    .header { background: #fff; padding: 1rem 0; box-shadow: var(--shadow-sm); }
    .form-row { grid-template-columns: 1fr; }
    .guide-modal-body { padding: 1.5rem; }
}

/* User requested footer heading color fix */
.footer h3 { color: #ffffff !important; letter-spacing: 0.5px; opacity: 0.95; padding-bottom: 8px; }

.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 50px; cursor: pointer; padding: 20px; transition: color var(--transition-fast), transform var(--transition-fast); z-index: 5001; user-select: none; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--color-accent); transform: translateY(-50%) scale(1.1); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
@media (max-width: 768px) { .lightbox-prev { left: 5px; font-size: 30px; } .lightbox-next { right: 5px; font-size: 30px; } }


/* MOBIL GORUNUM EKSTRA OPTIMIZASYONLAR */
@media (max-width: 768px) {
    /* 1. Ana Basliklar (Hero & Blog Hero) */
    .hero-title { font-size: 2.2rem !important; }
    .blog-hero-content h1 { font-size: 2.2rem !important; }
    
    /* 2. Aydogan Apart Farki - Kartlari ikili yapmak */
    .features-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem !important; }
    .feature-card { padding: 1.5rem 0.5rem !important; }
    .feature-icon { width: 45px !important; height: 45px !important; font-size: 1.2rem !important; margin-bottom: 0.8rem !important; }
    .feature-title { font-size: 0.85rem !important; }
    
    /* 3. Aydogan Apart Galeri gibi bolum basliklari */
    .section-title { font-size: 1.8rem !important; }
    
    /* 4. Rehber Kategori Basliklari (Tarihi ve Turistik Noktalar vb) */
    .guide-category-title { font-size: 1.5rem !important; margin-bottom: 1.5rem !important; }
}

@media (max-width: 480px) {
    /* Cok kucuk telefon (iPhone SE, vs) icin ekstra kucultme */
    .hero-title { font-size: 1.8rem !important; }
    .blog-hero-content h1 { font-size: 1.8rem !important; }
    .section-title { font-size: 1.5rem !important; }
    .guide-category-title { font-size: 1.3rem !important; }
}

/* --- GOOGLE YORUMLARI BÖLÜMÜ (Mobil Uyumlu Yatay Kaydırma) --- */
.reviews-grid {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-bottom: 1rem;
    
    /* Yatay scroll özellikleri */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS'ta akıcı kaydırma için */
    
    /* İMLECİ (SCROLLBAR) GİZLEME */
    -ms-overflow-style: none;  /* IE ve Edge için */
    scrollbar-width: none;  /* Firefox için */
}

/* Chrome, Safari ve Opera için imleci (scrollbar) tamamen gizle */
.reviews-grid::-webkit-scrollbar {
    display: none;
}

.review-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    
    /* Kartların genişliğini ayarlama */
    min-width: calc(33.333% - 1.33rem); 
    scroll-snap-align: start; 
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
    flex-shrink: 0; 
}

.reviewer-name {
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: #333;
}

.review-stars {
    color: #fbbc04;
    font-size: 0.85rem;
    margin-top: 4px;
    letter-spacing: 1px;
}

.google-icon {
    color: #4285F4;
    font-size: 1.4rem;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1;
}

.review-date {
    font-size: 0.85rem;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
}

.reviews .btn-outline:hover {
    background-color: #4285F4 !important;
    color: #ffffff !important;
}

/* --- MOBİL GÖRÜNÜM İÇİN MEDYA SORGULARI --- */
@media (max-width: 992px) {
    .review-card {
        min-width: calc(50% - 1rem); 
    }
}

@media (max-width: 768px) {
    .review-card {
        min-width: 85%; 
    }
    
    .reviews-grid {
        gap: 1rem; 
        /* MOBİLDE İLK KARTIN SOL BOŞLUĞU (İstediğiniz düzeltme) */
        padding-left: 1.5rem; 
        padding-right: 1.5rem;
        scroll-padding-inline-start: 1.5rem; /* Kaydırdıkça sol boşluğa yapışmasını sağlar */
    }
    
    .reviews .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    .reviews .section-header {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    /* Butonu mobilde ortalamak ve boşluklarını ayarlamak için */
    .reviews .btn-outline {
        width: calc(100% - 3rem); 
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
}

.phone-numbers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.phone-numbers a {
    white-space: nowrap; /* Numaranın kendi içinde bölünmesini engeller */
}

/* Mobil görünümde alt alta diz ve aradaki tireyi gizle */
@media (max-width: 768px) {
    .phone-numbers {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .phone-sep {
        display: none;
    }
}
