/**
 * Çağlayan Yemek - Ana CSS Dosyası
 * Sayfa yerleşimleri, bileşen stilleri, animasyonlar ve mikro etkileşimler.
 */

/* ==========================================================================
   1. HEADER VE NAVİGASYON (Top Bar, Navbar, Sticky State, WhatsApp Float)
   ========================================================================== */

/* Top Bar */
.top-bar {
    background-color: var(--secondary);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 1.5rem;
}

.top-info span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-info i {
    color: var(--primary);
}

.top-info a:hover {
    color: var(--primary);
}

.top-social {
    display: flex;
    gap: 1rem;
}

.top-social a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.top-social a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Header Navbar */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
    transition: var(--transition);
}

.header.sticky {
    padding: 0.8rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.logo i {
    color: var(--primary);
    font-size: 1.6rem;
}

.logo-text {
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--primary);
    font-weight: 500;
}

/* Nav Menu */
.nav-list {
    display: flex;
    gap: 2.2rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary);
    position: relative;
    padding: 0.3rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
}

.nav-mobile-btn {
    display: none;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* ==========================================================================
   2. ANASAYFA BÖLÜMLERİ (Hero, Features, Services Summary, Testimonials)
   ========================================================================== */

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroSlideshow 18s infinite ease-in-out;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

@keyframes heroSlideshow {
    0%, 100% {
        background-image: linear-gradient(rgba(15, 23, 18, 0.75), rgba(15, 23, 18, 0.75)), url('../images/hero_banner.png');
    }
    33% {
        background-image: linear-gradient(rgba(15, 23, 18, 0.75), rgba(15, 23, 18, 0.75)), url('../images/hero_banner_2.png');
    }
    66% {
        background-image: linear-gradient(rgba(15, 23, 18, 0.75), rgba(15, 23, 18, 0.75)), url('../images/hero_banner_3.png');
    }
}

.hero-content {
    max-width: 650px;
}

.hero-tagline {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Features Section (Neden Biz) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--secondary);
    color: white;
    transform: rotateY(360deg);
}

.feature-card h3 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services Summary Section */
.services-summary {
    background-color: #f3ece2; /* Hafif Sıcak Bej */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image-wrapper img {
    transform: scale(1.1);
}

.service-icon-badge {
    position: absolute;
    bottom: -20px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.service-content {
    padding: 2rem 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.service-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--secondary);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Call To Action Banner */
.cta-banner {
    background: linear-gradient(rgba(27, 46, 36, 0.9), rgba(27, 46, 36, 0.9)), url('../images/cta_banner.png') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Testimonials Section (Müşteri Yorumları) */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem;
}

.rating-stars {
    color: #f1c40f;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.testimonial-comment {
    font-style: italic;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-comment::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(197, 168, 128, 0.25);
    position: absolute;
    top: -25px;
    left: -15px;
    line-height: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.user-info h4 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-size: 1.05rem;
    font-weight: 700;
}

.user-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* ==========================================================================
   3. İÇ SAYFA BİLEŞENLERİ (Breadcrumb/Hero, İletişim Form, Menü Filtreleri)
   ========================================================================== */

/* Page Banner (Tüm İç Sayfa Kafaları) */
.page-banner {
    background: linear-gradient(rgba(27, 46, 36, 0.85), rgba(27, 46, 36, 0.85)), url('../images/page_banner.png') no-repeat center center/cover;
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--primary);
}

/* --- Hakkımızda Sayfası --- */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.about-text .lead {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* Stats Section (Sayılarla Biz) */
.stats-section {
    background-color: var(--secondary);
    color: white;
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* --- Hizmetler Sayfası --- */
.service-detail-section {
    padding: 5rem 0;
}

.service-detail-section:nth-child(even) {
    background-color: #f7f4ed;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-section:nth-child(even) .service-detail-grid {
    direction: rtl; /* Görseli sola, metni sağa atmak için */
}

.service-detail-section:nth-child(even) .service-detail-text {
    direction: ltr; /* Metin yönünü düzelt */
}

.service-detail-text h2 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.service-detail-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.service-detail-image img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    height: 380px;
    width: 100%;
    object-fit: cover;
}

/* --- Menü Sayfası --- */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    background-color: white;
    color: var(--secondary);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(197, 168, 128, 0.3);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.menu-card-wrapper {
    transition: var(--transition);
}

.menu-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-card:hover .menu-image img {
    transform: scale(1.08);
}

.menu-price {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    font-weight: 700;
    font-size: 1.15rem;
    border-radius: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.menu-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-info h3 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.menu-info .price-detail {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.menu-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.menu-items-list {
    margin-bottom: 1.5rem;
    flex-grow: 1;
    border-top: 1px dashed var(--border-color);
    padding-top: 1.2rem;
}

.menu-items-list li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.menu-items-list li i {
    color: var(--primary);
    font-size: 0.85rem;
}

.menu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
}

.menu-tag {
    font-size: 0.75rem;
    background-color: var(--primary-light);
    color: var(--secondary);
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
}

/* --- İletişim Sayfası --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-card-content h3 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-card-content p,
.contact-card-content a {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-card-content a:hover {
    color: var(--primary);
}

/* Teklif / İletişim Formu */
.form-container {
    padding: 3rem;
}

.form-container h2 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-container p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-full {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: #faf9f7;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background-color: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #e74c3c;
    background-color: #fff9f9;
}

.success-box {
    background-color: #d4edda;
    color: #155724;
    padding: 1.2rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 2rem;
    border-left: 5px solid #28a745;
    font-weight: 600;
}

/* Map Section */
.map-section {
    line-height: 0;
    border-top: 1px solid var(--border-color);
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: 0;
}


/* ==========================================================================
   4. FOOTER (Footer layout, Columns, Copyright bar)
   ========================================================================== */

.footer {
    background-color: #111a15; /* Çok koyu orman yeşili/siyah */
    color: rgba(255, 255, 255, 0.7);
    padding-top: 5rem;
    border-top: 3px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.brand-col {
    grid-column: span 1.5;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    color: var(--primary);
}

.footer-logo span span {
    color: var(--primary);
    font-weight: 500;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-heading);
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--primary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    gap: 0.8rem;
    font-size: 0.95rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.footer-contact a:hover {
    color: var(--primary);
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #0b110e;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .developer {
    color: rgba(255, 255, 255, 0.3);
}
