/* =========================================
   GENEL STİLLER VE DEĞİŞKENLER
   ========================================= */
:root {
    --main-red: #D72638;
    --dark-gray: #333;
    --text-gray: #666;
    --light-gray-bg: #f2f2f2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-gray);
    background-color: #fff;
}

/* Sayfa içeriğini saran ana sarmalayıcı */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Her bir ana bölüm arasındaki boşluk */
section {
    margin-top: 80px;
    margin-bottom: 80px;
}

/* Bölüm başlıkları (Hakkımızda, Galeri vb.) */
.section-header {
    background: var(--main-red);
    color: white;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 40px;
    display: inline-block;
}

/* Ana buton stili */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--main-red);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: transform 0.2s;
}
.btn-primary:hover {
    transform: scale(1.05);
}

/* =========================================
   1. HEADER STİLLERİ
   ========================================= */
.site-header {
    position: relative;
    height: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}
.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://placehold.co/1920x400/222222/FFFFFF?text=Header+Resim+Alanı');
    background-size: cover;
    background-position: center;
}
.site-header .logo {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
.main-nav a.nav-button {
    text-decoration: none;
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}
.main-nav a.nav-button:hover { background-color: rgba(255, 255, 255, 0.1); }
.main-nav a.nav-button.active { background-color: var(--main-red); }

/* =========================================
   2. HAKKIMIZDA BÖLÜMÜ
   ========================================= */
.intro-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.intro-box h3 { font-size: 18px; margin-bottom: 15px; color: var(--main-red); }
.intro-box p { line-height: 1.8; color: var(--text-gray); }

/* =========================================
   3. & 5. TAM GENİŞLİKLİ BANNER'LAR
   ========================================= */
.full-width-banner-link {
    display: block;
    width: 100vw; /* Tam ekran genişliği */
    position: relative;
    left: 50%;
    transform: translateX(-50%); /* Ortalamak için */
    margin-top: 80px;
    margin-bottom: 80px;
}
.instagram-banner, .ad-banner {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}
.instagram-banner:hover, .ad-banner:hover {
    transform: scale(1.02);
}
.instagram-banner {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://placehold.co/1920x250/D72638/FFFFFF?text=Bizi+Instagram%27da+Takip+Edin!');
}
.ad-banner {
    background-image: url('https://placehold.co/1920x250/333333/FFFFFF?text=Reklam+Banner+Alanı');
}

/* =========================================
   4. FRANCHISE FORMU
   ========================================= */
.form-section-container { text-align: center; }
.form-title { font-size: 36px; margin-bottom: 40px; }
.franchise-form { max-width: 700px; margin: 0 auto; text-align: left; }
.form-group { margin-bottom: 20px; }
.form-group-row { display: flex; gap: 20px; }
.form-group-row .form-group { flex: 1; }
.franchise-form input, .franchise-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: var(--light-gray-bg);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    border-radius: 4px;
}
.franchise-form textarea { min-height: 120px; resize: vertical; }
.franchise-form button[type="submit"] {
    width: 100%;
    padding: 15px;
    background: var(--main-red);
    color: white;
    border: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.franchise-form button[type="submit"]:hover { background-color: #a01d2a; }

/* =========================================
   6. GALERİ BÖLÜMÜ
   ========================================= */
.homepage-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}
.gallery-grid-item.item-top { transform: translateY(-15px); }
.gallery-grid-item.item-bottom { transform: translateY(15px); }

/* =========================================
   7. FOOTER BÖLÜMÜ
   ========================================= */
footer {
    background-color: #1a1a1a;
    color: #a0a0a0;
    padding: 60px 20px 20px 20px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    border-bottom: 1px solid #444;
    padding-bottom: 40px;
    margin-bottom: 20px;
}
.footer-left { flex: 0 0 250px; }
.footer-logo { color: white; font-size: 32px; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.social-links a { color: #a0a0a0; text-decoration: none; font-size: 20px; font-weight: bold; margin-right: 15px; transition: color 0.3s; }
.social-links a:hover { color: white; }
.footer-right { flex: 1; border-left: 1px solid #444; padding-left: 50px; }
.footer-promo-text { line-height: 1.7; margin-bottom: 30px; }
.footer-contact-details { display: flex; gap: 30px; }
.footer-map { flex: 1; }
.footer-map iframe { width: 100%; height: 200px; border-radius: 5px; }
.contact-info { flex: 1; }
.contact-info p { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px; font-size: 14px; }
.footer-bottom { text-align: center; color: #777; font-size: 12px; }
.footer-bottom p:last-child { margin-top: 5px; }

/* =========================================
   MOBİL UYUMLULUK (RESPONSIVE)
   ========================================= */
@media (max-width: 992px) {
    .intro-columns { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-right { border-left: none; padding-left: 0; border-top: 1px solid #444; padding-top: 40px; }
    .social-links { justify-content: center; }
}
@media (max-width: 768px) {
    .site-header { height: 300px; }
    .site-header .logo { font-size: 36px; }
    .form-group-row { flex-direction: column; gap: 0; }
    .homepage-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid-item.item-top, .gallery-grid-item.item-bottom { transform: translateY(0); }
    .footer-contact-details { flex-direction: column; }
}