/* Genel Ayarlar ve Renkler */
:root {
    --primary-color: #922629; /* Koyu kırmızı - Yakamoz ana rengi */
    --secondary-color: #ad3236; /* Daha açık kırmızı */
    --accent-color: #d4af37; /* Altın vurgu rengi */
    --light-bg-color: #faf8f5; /* Daha temiz krem rengi */
    --dark-bg-color: #1a1a1a; /* Koyu arka plan */
    --dark-card-bg-color: #2a2a2a; /* Koyu kart arka planı */
    --history-bg-color: linear-gradient(135deg, #4b6a82 0%, #5a7a92 100%); /* Gradient mavi */
    --dark-text-color: #2c2c2c;
    --light-text-color: #f8f8f8;
    --card-border-color: #e0e0e0;
    --menu-card-bg: #f0ede7;
    --shadow-light: 0 2px 10px rgba(146, 38, 41, 0.08);
    --shadow-medium: 0 4px 20px rgba(146, 38, 41, 0.12);
    --shadow-heavy: 0 8px 30px rgba(146, 38, 41, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Tüm text elementleri için Montserrat font */
body, p, h1, h2, h3, h4, h5, h6, span, div, a, li, ul, button, input, textarea, label {
    font-family: 'Montserrat', sans-serif !important;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-text-color);
    background: linear-gradient(135deg, #faf8f5 0%, #f5f2ed 100%);
    line-height: 1.7;
    font-weight: 400;
    scroll-behavior: smooth;
    transition: all 0.3s ease;
}

body.menu-open {
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-top: 40px;
    line-height: 1.2;
}

.subtitle {
    font-size: 1rem;
    text-align: center;
    color: var(--dark-text-color);
    margin-bottom: 50px;
    font-family: 'Montserrat', sans-serif;
}

.section-divider {
    width: min(220px, 80%);
    height: 4px;
    margin: 0 auto 60px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(146, 38, 41, 0), rgba(146, 38, 41, 0.4), rgba(146, 38, 41, 0));
    position: relative;
    overflow: visible;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(146, 38, 41, 0.35);
    background: #fff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header ve Navigasyon - Mobile First */
.main-header {
    background-color: var(--light-bg-color);
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    container-type: inline-size;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    min-height: 60px;
    flex-wrap: nowrap;
    position: relative;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: color 0.3s ease;
    cursor: pointer;
    margin-right: 10px;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo:hover {
    color: var(--secondary-color);
}

.hamburger-menu {
    background: none;
    border: none;
    color: var(--dark-text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: block;
    flex-shrink: 0;
    z-index: 1001;
}

.hamburger-menu:hover {
    background-color: rgba(146, 41, 41, 0.1);
    color: var(--primary-color);
}

.nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--light-bg-color);
    list-style: none;
    padding: 80px 20px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.nav-links.active {
    display: flex;
    transform: translateY(0);
}

.nav-links li {
    margin: 20px 0;
    opacity: 0;
    animation: slideInFromTop 0.3s ease forwards;
}

.nav-links.active li {
    animation-delay: calc(var(--i) * 0.1s);
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links a {
    color: var(--dark-text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 15px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    white-space: nowrap;
}

.nav-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(146, 41, 41, 0.3);
}

/* Hamburger menü overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hamburger menü kapatma butonu */
.nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--dark-text-color);
    font-size: 2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-close:hover {
    background-color: rgba(146, 41, 41, 0.1);
    color: var(--primary-color);
    transform: rotate(90deg);
}

@media (min-width: 768px) {
    .main-header {
        padding: 20px 0;
    }
    
    .main-header .container {
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        padding: 0 20px;
        min-height: 70px;
    }
    
    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        background-color: transparent;
        border-top: none;
        padding: 0;
        box-shadow: none;
        justify-content: center;
        align-items: center;
        flex: 1;
        margin: 0 20px;
        transform: none;
        overflow: visible;
    }
    
    .nav-links li {
        margin: 0 15px;
        opacity: 1;
        animation: none;
    }
    
    .nav-links a {
        font-size: 0.95rem;
        padding: 10px 15px;
        display: inline-block;
        width: auto;
        max-width: none;
        margin: 0;
    }
    
    .nav-links a:hover {
        background-color: var(--primary-color);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(146, 41, 41, 0.3);
    }
    
    .logo {
        font-size: 1.4rem;
        flex-shrink: 0;
        margin-right: 0;
    }
    
    .hamburger-menu {
        display: none !important;
    }

    .nav-overlay {
        display: none !important;
    }

    .nav-close {
        display: none !important;
    }

    .nav-links.force-hamburger {
        display: none !important;
    }

    .hamburger-menu.force-show {
        display: none !important;
    }
}

/* Orta boyut ekranlar için hamburger menü kontrolü */
@media (min-width: 768px) and (max-width: 1023px) {
    .main-header .container {
        position: relative;
    }

    .main-header {
        padding: 15px 0;
    }

    .main-header .container {
        padding: 0 15px;
        min-height: 60px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .hamburger-menu {
        font-size: 1.3rem;
    }

    .nav-links.force-hamburger {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--light-bg-color);
        flex-direction: column;
        padding: 80px 20px 30px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.force-hamburger.active {
        display: flex;
        transform: translateY(0);
    }

    .nav-links.force-hamburger li {
        margin: 20px 0;
        opacity: 0;
        animation: slideInFromTop 0.3s ease forwards;
    }

    .nav-links.force-hamburger.active li {
        animation-delay: calc(var(--i) * 0.1s);
    }

    .nav-links.force-hamburger a {
        font-size: 1.2rem;
        padding: 15px 20px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
        text-align: center;
        border-radius: 8px;
    }

    .nav-links.force-hamburger a:hover {
        background-color: var(--primary-color);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(146, 41, 41, 0.3);
    }

    .hamburger-menu.force-show {
        display: block !important;
    }
}

/* Çok dar ekranlar için hamburger menü (768px altı) - Mobile First */
@media (max-width: 767px) {
    .hamburger-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--light-bg-color);
        list-style: none;
        padding: 80px 20px 30px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        z-index: 1000;
        overflow-y: auto;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
    }

    .nav-links li {
        margin: 20px 0;
        opacity: 0;
        animation: slideInFromTop 0.3s ease forwards;
    }

    .nav-links.active li {
        animation-delay: calc(var(--i) * 0.1s);
    }

    .nav-links a {
        color: var(--dark-text-color);
        text-decoration: none;
        font-weight: 500;
        font-size: 1.2rem;
        padding: 15px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .nav-links a:hover {
        background-color: var(--primary-color);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(146, 41, 41, 0.3);
    }
}

/* Akıllı hamburger menü için CSS sınıfları */
.nav-links.force-hamburger {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--light-bg-color);
    flex-direction: column;
    padding: 80px 20px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.nav-links.force-hamburger.active {
    display: flex !important;
    transform: translateY(0);
}

.nav-links.force-hamburger li {
    margin: 20px 0;
    opacity: 0;
    animation: slideInFromTop 0.3s ease forwards;
}

.nav-links.force-hamburger.active li {
    animation-delay: calc(var(--i) * 0.1s);
}

.nav-links.force-hamburger a {
    font-size: 1.2rem;
    padding: 15px 20px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    text-align: center;
    border-radius: 8px;
}

.nav-links.force-hamburger a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(146, 41, 41, 0.3);
}

.hamburger-menu.force-show {
    display: block !important;
}

/* Büyük ekranlar için ek düzenlemeler */
@media (min-width: 1024px) {
    .main-header .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 30px;
    }
    
    .nav-links {
        margin: 0 40px;
    }
    
    .nav-links li {
        margin: 0 20px;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 12px 18px;
    }
    
    .logo {
        font-size: 1.6rem;
    }
}

@media (min-width: 1200px) {
    .main-header .container {
        padding: 0 40px;
    }
    
    .nav-links {
        margin: 0 60px;
    }
    
    .nav-links li {
        margin: 0 25px;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 14px 20px;
    }
    
    .logo {
        font-size: 1.8rem;
    }
}


/* Hero Section */
.hero-section {
    min-height: 100vh;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    background: url('assets/bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 20px;
    position: relative;
    padding-top: 80px;
}

.hero-logo {
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    width: 350px;
    height: 350px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(146, 38, 41, 0.3);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    animation: rotate 10s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-image {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.halal-badge {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.halal-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.halal-badge:hover::before {
    left: 100%;
}

.hero-content h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.hero-content .tagline {
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.hero-content .description {
    font-size: 0.9rem;
    color: #ccc;
    max-width: 80%;
    font-family: 'Montserrat', sans-serif;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80%;
}

.btn {
    padding: 14px 30px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-red {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #fff;
    box-shadow: var(--shadow-light);
}

.btn-red:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7a1f22 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-transparent {
    background-color: transparent;
    color: var(--light-bg-color);
    border-color: var(--light-bg-color);
}

.btn-transparent:hover {
    background-color: var(--light-bg-color);
    color: var(--dark-text-color);
    border-color: var(--light-bg-color);
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 5rem;
    }
    .hero-buttons {
        flex-direction: row;
        width: auto;
    }
    .logo-image {
        max-width: 300px;
    }
}

/* iPad Mini ve benzeri tabletler için özel düzenleme */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section {
        height: 100vh;
        min-height: 700px;
        background-attachment: scroll; /* iOS cihazlarda fixed sorun yaratabilir */
    }

    .hero-content {
        padding: 40px 20px;
        width: 100%;
        max-width: 90%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }

    .hero-content .tagline {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .hero-content .description {
        font-size: 1rem;
        max-width: 85%;
        margin-bottom: 25px;
    }

    .hero-buttons {
        margin-top: 20px;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 400px;
    }

    .btn {
        padding: 16px 30px;
        font-size: 1.1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 600px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        background-attachment: scroll;
    }
    .hero-content {
        padding-top: 20px;
        padding-bottom: 20px;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .hero-logo {
        width: 150px;
        height: 150px;
        margin-bottom: 10px;
    }
    .logo-image {
        max-width: 100px;
    }
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 5px;
        line-height: 1.1;
    }
    .hero-content .tagline {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    .hero-content .description {
        font-size: 0.75rem;
        margin-bottom: 15px;
        max-width: 90%;
    }
    .hero-buttons {
        margin-top: 15px;
        width: 90%;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {
    .hero-section {
        min-height: 500px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    .hero-content {
        padding-top: 15px;
        padding-bottom: 15px;
        width: 100%;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    .hero-logo {
        width: 120px;
        height: 120px;
        margin-bottom: 8px;
    }
    .logo-image {
        max-width: 80px;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content .tagline {
        font-size: 0.75rem;
    }
    .hero-content .description {
        font-size: 0.7rem;
    }
    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    /* Çok küçük ekranlar için ek düzenlemeler */
    .container {
        padding: 0 10px;
        width: 95%;
    }
    
    .main-header .container {
        padding: 0 10px;
    }
}


/* Willkommen Section */
.welcome-section {
    background-color: var(--light-bg-color);
    padding: 40px 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    flex: 1;
    min-width: 250px;
    box-shadow: var(--shadow-medium);
    font-family: 'Montserrat', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.card:hover::before {
    transform: scaleX(1);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.card:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Hikaye Section */
.history-section {
    background: var(--history-bg-color);
    color: var(--light-text-color);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.history-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.history-section h2 {
    color: #fff;
}

.history-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.history-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.history-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #f0f0f0;
}

/* Kontakt Section */
.contact-section {
    background-color: var(--light-bg-color);
    padding: 40px 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info {
    flex: 1;
    margin-right: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 2;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (min-width: 768px) {
    .contact-grid {
        flex-direction: row;
        align-items: flex-start;
    }
    .contact-info {
        flex: 1;
        margin-right: 30px;
    }
    .map-container {
        flex: 2;
        height: 350px;
    }
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg-color);
    color: #999;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    font-family: 'Montserrat', sans-serif;
}

.footer-social a {
    font-size: 1.5rem;
    margin: 0 10px;
    color: #999;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
}

.copyright {
    font-size: 0.8rem;
    color: #555;
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
}
@media (max-width: 767px) {
    /* Ana sayfa logosu için mobil düzenlemesi */
    .hero-logo {
        width: 150px;
        height: 150px;
        margin-bottom: 10px;
    }

    .logo-image {
        max-width: 100px;
    }

    /* Kartlar için mobil düzenlemesi (önceki çözüm) */
    .card-container {
        flex-direction: column;
    }
    
    /* Mobil görünümde sağ boşluk sorununu çözmek için */
    .main-header .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        min-height: 80vh;
        padding: 80px 20px 60px;
        background-attachment: scroll;
        background-position: center top;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .welcome-section,
    .menu-section,
    .history-section,
    .contact-section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .card {
        width: 100%;
        max-width: 100%;
        margin: 0 10px;
    }
    
    .menu-category {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}