/* ==========================================================================
   EFE HALI YIKAMA - ÖZEL CSS STİLLERİ
   ========================================================================== */

/* Renk Değişkenleri ve Genel Ayarlar */
:root {
    --primary-color: #0088ff;      /* Temizlik Mavisi */
    --primary-dark: #0056b3;       /* Koyu Mavi */
    --accent-color: #00d2ff;       /* Açık Köpük Mavisi */
    --whatsapp-color: #25D366;     /* WhatsApp Yeşili */
    --text-dark: #1e293b;          /* Başlık Metin Rengi */
    --text-muted: #64748b;         /* Alt Metin Rengi */
    --bg-light: #f8fafc;           /* Açık Gri Arka Plan */
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Canvas Köpük Efekti Arka Planı */
#foamCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Mouse tıklamalarını engellemez */
    z-index: 9999;        /* En üst katmanda süzülür */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-center: center;
    text-align: center;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* --------------------------------------------------------------------------
   HEADER & LOGO ALANI
   -------------------------------------------------------------------------- */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Otomatik Boyutlanan Yatay Logo Kutusu */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    max-height: 60px;
}

/* Hangi boyutta resim atılırsa atılsın kutuya kusursuz sığar */
.site-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain; /* Görselin oranını bozmadan sığdırır */
    border-radius: 6px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-dark);
}

/* Menü Linkleri */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.btn-nav-cta {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-nav-cta:hover {
    background-color: var(--primary-dark);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   HERO SLIDER (Yatay Görseller Taşmaz, Şekli Alır)
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 80px;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Görsel Kutunun Şeklini Alır, Kırpılmaz/Bozulmaz */
.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görseli taşma olmadan alana tam oturtur */
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    z-index: 2;
    width: 90%;
}

.slide-content .badge {
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
}

.slide-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin: 15px 0;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.1rem;
    max-width: 650px;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Buton Stilleri */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 10px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--text-dark);
}

/* Slider Okları */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: var(--primary-color);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 10px;
}

/* --------------------------------------------------------------------------
   HAKKIMIZDA BÖLÜMÜ
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-box {
    position: relative;
}

.responsive-box-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.about-features {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* --------------------------------------------------------------------------
   HİZMETLER & GALERİ (Kutu Şeklini Alan Görseller & Büyüteç)
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    cursor: pointer;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görsel kutunun tam şeklini alır */
    transition: var(--transition);
}

.zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 136, 255, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    font-size: 2rem;
}

.service-img-wrapper:hover .zoom-overlay {
    opacity: 1;
}

.service-img-wrapper:hover .service-img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* 15 Adet Galeri Grid Yapısı */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    color: var(--white);
    font-size: 1.8rem;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   YORUMLAR VE SIKÇA SORULAN SORULAR
   -------------------------------------------------------------------------- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.reviewer {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.reviewer span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Accordion SSS */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px 20px;
}

/* --------------------------------------------------------------------------
   İLETİŞİM FORMU VE WHATSAPP
   -------------------------------------------------------------------------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    width: 45px;
    height: 45px;
    background: rgba(0, 136, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-form-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    margin-bottom: 20px;
    color: var(--whatsapp-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.2);
}

.btn-whatsapp-submit {
    width: 100%;
    background-color: var(--whatsapp-color);
    color: var(--white);
    justify-content: center;
    font-size: 1.05rem;
    padding: 14px;
}

.btn-whatsapp-submit:hover {
    background-color: #1eb954;
}

/* --------------------------------------------------------------------------
   SABİT BUTONLAR (Yukarı Çık & WhatsApp)
   -------------------------------------------------------------------------- */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 990;
}

.scroll-top-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--text-dark);
    color: var(--white);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float {
    position: relative;
    width: 55px;
    height: 55px;
    background-color: var(--whatsapp-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    transition: var(--transition);
}

/* Hover olunca sola doğru 'Randevu Oluştur' yazısı açılır */
.wa-tooltip {
    position: absolute;
    right: 65px;
    background: var(--text-dark);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    font-weight: 500;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    right: 70px;
}

/* --------------------------------------------------------------------------
   LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 85%;
    max-height: 85%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Scroll Animasyon Sınıfı */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   RESPONSIVE UYUMLULUK (Mobil ve Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        transition: var(--transition);
        padding: 40px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
    }
}