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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #ffffff;
}

.container {
    width: 70%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Add padding to body to prevent content from going under sidebars */
body {
    padding-left: 280px;
    padding-right: 280px;
}

/* Ensure sidebar doesn't overlap nav */
.ad-sidebar {
    top: 0;
    padding-top: 80px;
}

nav {
    background: linear-gradient(160deg, #faf9f7 0%, #f0ede8 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
    margin-left: 280px;
    margin-right: 280px;
}

nav .container {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

nav a {
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    transition: color 0.25s ease;
}

nav a:hover {
    color: #8b7355;
}

/* Hero / H1 başlık – premium açık palet (tüm sayfalar) */
header {
    background: linear-gradient(160deg, #faf9f7 0%, #f0ede8 50%, #e8e4de 100%);
    color: #2c2c2c;
    padding: 72px 20px 64px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

header .container {
    position: relative;
}

header h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.25;
    margin-bottom: 0;
    color: #1f1f1f;
}

/* Ana sayfa hero ek öğeleri */
.hero-header h1 {
    margin-bottom: 14px;
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8b7355;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #5c5c5c;
    max-width: 420px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.hero-accent {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #b8a088, #8b7355);
    margin: 0 auto;
    border-radius: 2px;
}

.hero-cta {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #8b7355, #6b5b45);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.35);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.4);
}

.cta-inline {
    margin: 2rem 0;
    text-align: center;
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #333;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f1f1f;
    margin-bottom: 24px;
    padding-right: 40px;
}

/* Saat Form */
.saat-form .form-step {
    display: none;
}

.saat-form .form-step.active {
    display: block;
}

.form-question {
    display: block;
    font-weight: 600;
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.5;
}

.form-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.option-radio:hover {
    background: #f1f5f9;
}

.option-radio:has(input:checked) {
    background: #e8f3ff;
    border-color: #2563eb;
}

.option-radio input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.form-sub-options {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.form-sub-options .form-question {
    margin-bottom: 12px;
}

.form-sub-options .option-radio {
    margin-bottom: 8px;
}

.form-nav {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    justify-content: space-between;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s, opacity 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #8b7355, #6b5b45);
    color: #fff;
}

.btn-primary:hover {
    opacity: 0.95;
}

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
}

.btn-secondary:hover:not(:disabled) {
    background: #e2e8f0;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-results h3 {
    font-size: 1.25rem;
    color: #1f1f1f;
    margin-bottom: 16px;
}

.form-results #results-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.form-results #results-list li {
    padding: 12px 16px;
    margin-bottom: 8px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #8b7355;
}

.form-results #results-list li a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.form-results #results-list li a:hover {
    text-decoration: underline;
}

.form-results #results-list li.no-results {
    border-left-color: #94a3b8;
    color: #64748b;
}

.email-collect {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.email-collect-title {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 12px;
}

.email-collect-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.email-input {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
}

.email-input::placeholder {
    color: #94a3b8;
}

.kvkk-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
}

.kvkk-checkbox input {
    flex-shrink: 0;
    margin-top: 2px;
}

.kvkk-checkbox a {
    color: #2563eb;
    text-decoration: none;
}

.kvkk-checkbox a:hover {
    text-decoration: underline;
}

.email-collect .btn {
    margin-top: 4px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

article {
    padding: 0 0 60px;
    flex: 1;
    min-width: 0;
}

article p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #444;
}

article h2 {
    font-size: 2rem;
    color: #2563eb;
    margin: 2.5rem 0 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

article h3 {
    font-size: 1.5rem;
    color: #3b82f6;
    margin: 2rem 0 1rem;
    font-weight: 600;
    line-height: 1.4;
}

article ul,
article ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

article li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #444;
}

article blockquote {
    border-left: 4px solid #2563eb;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background-color: #f0f7ff;
    font-style: italic;
    color: #555;
}

.article-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 2.5rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: block;
}

.article-image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    font-style: italic;
}

footer {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 40px 20px;
    text-align: center;
    color: #64748b;
    margin-top: 60px;
}

footer p {
    margin: 0 0 10px 0;
    font-size: 0.95rem;
}

footer nav {
    background-color: transparent;
    border-bottom: none;
    padding: 0;
    box-shadow: none;
    position: static;
}

footer nav .container {
    padding: 0;
}

footer nav a {
    color: #64748b;
    font-size: 0.9rem;
}

footer nav a:hover {
    color: #2563eb;
}

/* ===== REKLAM ALANLARI - PASIF =====
   Tekrar aktif etmek için aşağıdaki display: none kuralını silin veya yoruma alın. */
.ad-sidebar {
    display: none !important;
}

/* Container: sol kolon */
.ad-sidebar {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 10px 0;
    position: fixed;
    top: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 50;
    background-color: #ffffff;
    padding: 20px 15px;
}

.ad-sidebar-left {
    left: 0;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.ad-sidebar-right {
    right: 0;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

/* Her reklam kartı */
.ad-box {
    background: #f8fafc;
    /* açık gri (default) */
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    /* Prevents overflow in some browsers */
    text-decoration: none;
    color: inherit;
}

/* İçerik hizalama */
.ad-box .icon {

    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.ad-box .icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.ad-box .title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111;
    text-align: center;
}

.ad-box .desc {
    font-size: 14px;
    color: #555;
    text-align: center;
    line-height: 1.4;
}

/* Hover efekti */
.ad-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Farklı kart arka plan renkleri (istenirse) */
.ad-box.blue {
    background: #e3f2fd;
}

.ad-box.pink {
    background: #ffe7ef;
}

.ad-box.purple {
    background: #f3e8ff;
}

.ad-box.lightblue {
    background: #e6f3ff;
}

.ad-box.gray {
    background: #f1f5f9;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 40px 20px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    article h2 {
        font-size: 1.6rem;
    }

    article h3 {
        font-size: 1.3rem;
    }

    article p {
        font-size: 1rem;
    }

    .container {
        width: 90%;
        padding: 0 15px;
    }

    .content-wrapper {
        flex-direction: column;
    }
}

/* Tablet ve Mobil görünüm (1000px altı) */
@media (max-width: 1000px) {
    body {
        padding-left: 0;
        padding-right: 0;
        /* Top ve Bottom sliderlar için boşluk bırak */
        padding-top: 70px;
        padding-bottom: 70px;
    }

    nav {
        margin-left: 0;
        margin-right: 0;
        /* Top slider'ın hemen altına yapışması için */
        top: 70px;
    }

    .ad-sidebar {
        width: 100%;
        height: 70px;
        /* Slider yüksekliği */
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        /* Slider olması için wrap kapatıldı */
        overflow-x: scroll;
        /* Yatay scroll - scroll kullan ki her zaman scrollbar olsun */
        overflow-y: hidden;
        position: fixed;
        z-index: 1000;
        background-color: #ffffff;
        padding: 10px;
        gap: 10px;
        /* Scrollbar gizleme */
        -ms-overflow-style: none;
        scrollbar-width: none;
        left: 0;
        right: 0;
        /* Smooth scrolling */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        /* Touch için momentum scrolling */
        /* Touch action - yatay kaydırmayı etkinleştir */
        touch-action: pan-x;
        /* İçeriğin genişliğini zorla */
        min-width: 100%;
    }

    .ad-sidebar::-webkit-scrollbar {
        display: none;
    }

    .ad-sidebar-left {
        top: 0;
        bottom: auto;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .ad-sidebar-right {
        bottom: 0;
        top: auto;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
    }

    .ad-box {
        min-width: 200px;
        /* Her kutu için minimum genişlik - artırıldı */
        width: 200px;
        flex: 0 0 200px;
        /* Sabit genişlik, küçülmesin */
        padding: 8px 15px;
        margin: 0;
        height: calc(100% - 16px);
        display: flex;
        align-items: center;
        justify-content: center;
        /* Kaydırma için gerekli - kesinlikle küçülmesin */
        flex-shrink: 0;
        flex-grow: 0;
        /* Link olduğu için touch action - yatay kaydırmaya izin ver */
        touch-action: pan-x pan-y;
        /* Hem yatay hem dikey kaydırmaya izin ver */
    }

    /* İstenen gizlemeler */
    .ad-box .icon,
    .ad-box .desc {
        display: none;
    }

    .ad-box .title {
        font-size: 14px;
        margin: 0;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    article h2 {
        font-size: 1.4rem;
    }

    article h3 {
        font-size: 1.2rem;
    }
}