/* --- Genel Ayarlar --- */
:root {
    --primary-color: #0a2e36; /* Gece Mavisi */
    --secondary-color: #00a79d; /* Turkuaz */
    --accent-color: #f4b41a; /* Altın Sarısı Vurgu */
    --text-color: #333;
    --light-text-color: #fff;
    --background-color: #f9f9f9;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    margin: 0;
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden; /* Yatay kaydırmayı engellemek için */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--light-text-color);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-secondary {
    background-color: #28a745; /* Yeşil Renk */
    color: var(--light-text-color);
    border: 2px solid #28a745;
}

.btn-secondary:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: var(--light-text-color);
}

/* --- Header --- */
.main-header {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 250px;
    height: 60px;
    object-fit: contain;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: var(--light-text-color);
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.main-nav a.active, .main-nav a:hover {
    border-bottom-color: var(--accent-color);
    color: var(--accent-color);
}

.header-right {
    display: flex;
    align-items: center;
}

.header-phone {
    margin-right: 20px;
    color: var(--light-text-color);
}

.lang-switcher {
    margin-left: 20px;
}

.lang-switcher a {
    color: #ccc;
}

.lang-switcher a.active {
    color: var(--light-text-color);
    font-weight: bold;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* --- Main Content & Sections --- */
main {
    padding-top: 80px; /* Header yüksekliği kadar boşluk */
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

/* --- Hero Section --- */
.hero {
    height: 90vh;
    background: url('assets/images/hero1.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text-color);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-in-out;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--light-text-color);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.hero-buttons .btn i {
    margin-right: 8px;
}

.btn-hero {
    background-color: transparent;
    color: var(--light-text-color);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-hero:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

/* --- Popüler Yemekler & Galeri Kartları --- */
.popular-dishes-grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-item a {
    display: block;
    height: 100%;
}

.dish-card, .gallery-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dish-card:hover, .gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.dish-card img, .gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.dish-card-content {
    padding: 20px;
}

.dish-card h3 {
    margin-top: 0;
}

/* --- Yorumlar (Swiper) --- */
.testimonials {
    background-color: #fff;
}

.swiper-container {
    width: 100%;
    padding: 40px 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.swiper-container.swiper-initialized {
    visibility: visible;
    opacity: 1;
}

.swiper-slide {
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-card p {
    font-style: italic;
    font-size: 18px;
}

.testimonial-author {
    font-weight: bold;
    margin-top: 15px;
    color: var(--primary-color);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    height: 100%;
    min-height: 450px;
}

/* --- Hakkımızda Sayfası --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.about-text .section-title::after {
    margin: 10px 0 0; /* Başlık altı çizgiyi sola hizala */
}

.about-text h3 {
    font-size: 24px;
    margin-top: 30px;
}

.about-quote {
    font-style: italic;
    font-size: 18px;
    color: var(--secondary-color);
    border-left: 3px solid var(--accent-color);
    padding-left: 20px;
    margin-top: 30px;
}

/* --- İletişim Sayfası --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-card i {
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.contact-card h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.contact-card p {
    margin: 0;
    color: #666;
}

.contact-card .card-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-social {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-social h4 {
    margin-top: 0;
}

/* --- Menü Sayfası --- */
.menu-filters {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.menu-filters button {
    background: none;
    border: 1px solid #ddd;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-filters button.active {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border-color: var(--primary-color);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

/* --- Rezervasyon Sayfası --- */
.reservation-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.reservation-info .section-title {
    text-align: left;
}

.reservation-info .section-title::after {
    margin-left: 0;
}

.reservation-warning {
    font-weight: bold;
    color: var(--accent-color);
    background-color: rgba(244, 180, 26, 0.1);
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
}

.reservation-alternatives {
    margin-top: 30px;
}

.reservation-alternatives .btn {
    margin-right: 10px;
}

.whatsapp-btn {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
}

.whatsapp-btn:hover {
    background-color: #1DA851 !important;
    border-color: #1DA851 !important;
}

.reservation-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group input:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 5px rgba(244, 180, 26, 0.5);
}

.btn-block {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 18px;
}

/* --- Formlar --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--primary-color);
    color: #ccc;
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}

.footer-logo {
    width: 220px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

.footer-col h4 {
    color: var(--light-text-color);
}

.footer-col a {
    color: #ccc;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.footer-col p i {
    margin-right: 10px;
    color: var(--accent-color);
}

.social-links a {
    margin-right: 15px;
    font-size: 20px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* --- Animasyonlar --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Responsive --- */
@media (max-width: 992px) {
    .about-grid, .contact-grid, .reservation-container {
        grid-template-columns: 1fr;
    }
    .contact-info-cards {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .gallery-grid {
        gap: 15px;
    }
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; /* Header yüksekliğine göre ayarlanabilir */
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav li {
        margin: 0;
        text-align: center;
    }
    .main-nav a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #444;
    }
    .mobile-toggle {
        display: block;
    }
    .header-right .btn, .header-right .header-phone {
        display: none;
    }
    .hero h1 {
        font-size: 42px;
    }
    .hero p {
        font-size: 18px;
    }
    .section {
        padding: 60px 0;
    }
    .menu-grid, .contact-info-cards {
        grid-template-columns: 1fr;
    }
    .footer-content {
        text-align: center;
    }
    .social-links {
        justify-content: center;
        display: flex;
    }
}

/* Genel olarak yatay scroll kapat */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/* Hero butonları mobilde alt alta gelsin */
@media (max-width: 768px) {
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .hero-buttons a {
    width: 87%;
    text-align: center;
  }
}

/* Swiper taşma fix */
.swiper-container, 
.swiper-wrapper, 
.swiper-slide {
  max-width: 100% !important;
  box-sizing: border-box;
}

/* Map taşma fix */
.map-container {
  width: 100%;
  overflow: hidden;
}
.map-container iframe {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
}

