/* Global.css - Reset, temel layout, ortak stiller */

:root {
    --color-bg: #FCF4EE;
    --color-primary: #688745;
    --color-primary-dark: #495E31;
    --color-primary-light: #AFC794;
    --color-secondary-dark: #4B3A2D;
    --color-secondary-light: #5B4634;
    --color-text-main: #333333;
    --color-text-secondary: #F7F2EB;
    --color-muted: #777777;
    /* Header CTA (QR'l� Ol) */
    --color-accent: #970001;
    --color-accent-dark: #7A0000;
    --radius-card: 24px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.08);
    --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    background: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Layout helpers */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 48px 0;
}

@media (min-width: 992px) {
    .section {
        padding: 72px 0;
    }
}

/* Headings */
.section__title {
    font-size: 26px;
    margin: 0 0 6px;
    color: #423426;
}

.section__subtitle {
    font-size: 14px;
    color: var(--color-muted);
    margin: 0;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading--center {
    text-align: center;
}

/* Buttons */
.btn {
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 14px;
    border: none;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.btn--primary {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    border: 1px solid #dddddd;
    color: #555555;
}

.btn--full {
    width: 100%;
}

/* Scroll lock (mobil men� a��kken) */
html.no-scroll,
body.no-scroll {
    overflow: hidden;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Mobil k���k iyile�tirmeler */
@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }
}

/* Global Ad Placements */
.sticky-ad-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 5px;
}

.interstitial-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    display: none; /* Controlled by JS */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.interstitial-modal.is-active {
    display: flex;
}

.interstitial-content {
    background: #fff;
    position: relative;
    max-width: 350px;
    width: 100%;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.interstitial-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
}

body.has-sticky-ad {
    padding-bottom: 60px; /* Space for sticky footer */
}
