/* styles.css - Ankara esintili zarif ve kontrastlı tasarım */
/* Renk paleti: Ankara'nın bozkır tonları, kiremit kırmızı, kum beji, derin lacivert ve selçuklu turkuazı */

:root {
    --bg-main: #f8f5f0;            /* Açık kum beji - genel arka plan */
    --primary: #9b1d2c;            /* Ankara kalesi kiremit kırmızı */
    --secondary: #005566;         /* Derin lacivert - Anıtkabir esintisi */
    --accent: #00a0b0;            /* Selçuklu turkuazı */
    --light: #fdfdfb;             /* Neredeyse beyaz */
    --dark: #2d1e1a;              /* Koyu kahverengi-bozkır gölgesi */
    --gray: #e8e2d8;
}

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

html {
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
}

body {
    background: var(--bg-main);
    max-width: 1090px;
    margin: 0 auto;
    background: linear-gradient(to bottom, #fdfcfb, #f0ede5);
    min-height: 100vh;
}

/* Container */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Genel section ayarları - kontrastlı bloklar */
.section {
    padding: 70px 0;
}

/* Tek-çift bloklarda renk değişimi + kontrast */
.section:nth-child(even) {
    background: var(--secondary);
    color: var(--light);
}

.section:nth-child(odd):not(#teklif) {
    background: var(--light);
    color: var(--dark);
}

/* İlk teklif bloğu - hero */
#teklif {
    min-height: 470px;
    background: linear-gradient(rgba(0,85,102,0.85), rgba(155,29,44,0.85)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f8f5f0" fill-opacity="0.15" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat, var(--primary);
    color: var(--light);
    text-align: center;
    display: flex;
    align-items: center;
}

#teklif h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

#teklif p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

#teklif strong {
    font-size: 1.5rem;
    color: var(--accent);
}

/* Genel butonlar */
.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0,160,176,0.4);
    margin-top: 20px;
}

.btn:hover {
    background: #00c4e0;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,160,176,0.5);
}

/* Bölüm başlıkları */
h2 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Makale öne çıkarma */
.section h2 + p,
.section ol {
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section ol {
    padding-left: 30px;
    margin: 30px auto;
}

.section ol li {
    margin-bottom: 20px;
    padding-left: 10px;
}

/* Ürün listesi */
.products {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.products li {
    background: rgba(255,255,255,0.15);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s;
}

.products li:hover {
    transform: translateY(-8px);
}

/* Yorumlar */
.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.review {
    background: rgba(255,255,255,0.15);
    padding: 30px;
    border-radius: 15px;
    font-style: italic;
    position: relative;
    border-left: 5px solid var(--accent);
}

.review::before {
    content: '“';
    font-size: 5rem;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    color: var(--accent);
}

/* Ekip listesi */
.team {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.team li {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
}

/* Form */
#abonelik-formu {
    background: var(--light);
    color: var(--dark);
}

form {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

form input[type="email"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray);
    border-radius: 50px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    transition: all 0.3s;
}

form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0,160,176,0.2);
}

form button {
    width: 100%;
    padding: 16px;
    font-size: 1.2rem;
}

/* Harita */
iframe {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-top: 30px;
}

/* Footer */
footer {
    background: var(--dark);
    color: #ccc;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}

/* Mobil uyum */
@media (max-width: 768px) {
    #teklif h1 {
        font-size: 2.4rem;
    }

    #teklif {
        min-height: 500px;
        padding: 40px 20px;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: 50px 0;
    }

    .products,
    .reviews,
    .team {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 16px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }

    #teklif h1 {
        font-size: 2.1rem;
    }

    #teklif p {
        font-size: 1.1rem;
    }
}
