/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

/* Değişkenler ve Genel Stiller */
:root {
    --primary-color: #ff6b6b;
    --primary-hover-color: #ff4757;
    --dark-color: #2c3e50;
    --light-color: #f4f4f9;
    --white-color: #ffffff;
    --text-color: #34495e;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Header ve Logo */
header.main-header {
    padding: 20px 0;
    text-align: center;
    background-color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header .logo {
    max-width: 300px;
}

/* Footer */
footer.main-footer {
    background: var(--dark-color);
    color: var(--white-color);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer.main-footer a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 500;
}

footer.main-footer img,
footer.coming-soon-footer img {
    height: 25px;
    width: auto;
    vertical-align: middle;
    margin: 0 5px;
    transition: transform 0.3s ease;
}

footer.main-footer img:hover,
footer.coming-soon-footer img:hover {
    transform: scale(1.1);
}

/* Buton Stilleri */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: var(--primary-hover-color);
    transform: translateY(-2px);
}

/* --- ANA SAYFA (index.html) Stilleri --- */
.coming-soon-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: var(--white-color);
    text-align: center;
}

.logo-container {
    background-color: var(--white-color);
    width: 100%;
    padding: 20px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.coming-soon-logo {
    max-width: 400px;
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-content {
    width: 100%;
    padding: 20px;
}

.coming-soon-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 40px;
}

.coming-soon-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

#countdown {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.launch-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.coming-soon-footer {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.coming-soon-footer .tm-brand {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- HERO BÖLÜMÜ STİLLERİ (Tüm Sayfalar İçin Ortak) --- */
.hero {
    background: var(--dark-color);
    color: var(--white-color);
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- TEDARİKÇİ SAYFASI (orgzaartedarikcisi.html) Stilleri --- */
.supplier-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.supplier-form-container, .supplier-info-container {
    flex: 1;
    min-width: 320px;
}

.form-card, .info-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 25px;
}

.form-card h2, .info-card h3 {
    color: var(--dark-color);
    margin-bottom: 25px;
    font-size: 1.6rem;
    text-align: center;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
}

textarea { resize: vertical; }

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}
.form-check a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.form-check a:hover { text-decoration: underline; }

.btn[type="submit"] { width: 100%; }

.info-list {
    list-style: none;
    padding: 0;
}
.info-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}
.info-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}
.faq details {
    border-bottom: 1px solid #eee;
    padding: 15px 5px;
    cursor: pointer;
}
.faq details:last-child { border-bottom: none; }
.faq summary {
    font-weight: 500;
    font-size: 1rem;
    outline: none;
}
.faq p { padding-top: 10px; font-size: 0.95rem; }

.faq h4 {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.faq h4:first-of-type {
    margin-top: 0;
}

/* Fotoğraf Galerisi Stilleri */
.slider-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 25px;
}

.slider-card h3 {
    color: var(--dark-color);
    margin-bottom: 25px;
    font-size: 1.6rem;
    text-align: center;
}

.image-slider {
    display: grid;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.slide {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* === BLOG SAYFALARI İÇİN GÜNCELLENMİŞ OPTİMİZE STİLLER === */

/* Ana Blog Sayfası (blog.html) */
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* YENİ EKLENDİ: Resimler için 16:9 oranında bir kutu oluşturur */
.blog-card-image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (9 / 16 = 0.5625) */
    overflow: hidden;
}

/* GÜNCELLENDİ: Resmin bozulmadan bu kutuyu doldurmasını sağlar */
.blog-card-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bu satır en önemlisi: Resmi kırpar, esnetmez */
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-content h3 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.blog-card-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-content .btn {
    align-self: flex-start;
}


/* Tekil Blog Yazısı Sayfası */
.blog-post-container {
    background: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 40px auto;
}

/* GÜNCELLENDİ: Yazı içindeki resmin boyutlarını optimize eder */
.post-image {
    width: 100%;
    max-height: 450px; /* Resmin maksimum yüksekliğini sınırlar */
    object-fit: cover; /* Yüksekliği sınırlanınca oranın bozulmaması için kırpar */
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.blog-post-container article h1 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-meta {
    font-size: 0.9rem;
    color: #95a5a6;
    margin-bottom: 30px;
}

.blog-post-container article p {
    margin-bottom: 1.5em;
    font-size: 1.1rem;
    line-height: 1.7;
}

.blog-post-container article h2 {
    font-size: 1.6rem;
    color: var(--dark-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

/* --- DİĞER STİLLER --- */

.success-message {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2ecc71;
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-align: center;
    font-size: 1rem;
    z-index: 1000;
    animation: fadeInOut 4s ease forwards;
}
@keyframes fadeInOut {
    0%, 100% { opacity: 0; transform: translate(-50%, -20px); }
    10%, 90% { opacity: 1; transform: translate(-50%, 0); }
}

.legal-content {
    background: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.legal-content h1 {
    color: var(--dark-color);
    margin-bottom: 20px;
}
.legal-content h2 {
    color: var(--dark-color);
    margin-top: 30px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}
.legal-content ul {
    padding-left: 20px;
}

@media (max-width: 768px) {
    .coming-soon-content h1 { font-size: 2.2rem; }
    #countdown { font-size: 1.5rem; }
    .hero h1 { font-size: 2rem; }
    .legal-content { padding: 20px; }
    .supplier-content { flex-direction: column; }
    .blog-post-container { padding: 20px; }
    .blog-post-container article h1 { font-size: 1.8rem; }
}
