/* Genel stiller */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #ffffff; /* çok açık mavi */
    color: #222;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Topbar */
.topbar {
    background: #f7f7f7; /* koyu beyaz */
    color: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 18px;
    font-size: 0.95rem;
    border-bottom: 1px solid #e0e0e0;
}
.topbar .contact-info {
    display: flex;
    gap: 18px;
}
.topbar .social-icons {
    display: flex;
    gap: 10px;
}

.social {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Sosyal medya ikonları */
.social.facebook { background-image: url('../socials/facebook.png'); }
.social.instagram{ background-image: url('../socials/instagram.png'); }
.social.tiktok   { background-image: url('../socials/tiktok.png'); }
.social.map      { background-image: url('../socials/location-pin.png'); }

/* Hover efekti */
.social:hover {
    opacity: 0.8;
    transform: scale(1.1); /* biraz büyür */
}

/* Header */
header {
    background: #f3f3f3; /* koyu beyaz */
    color: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px; /* daha da küçültüldü */
    width: 100%;
    height: 125px;
    margin: 0 auto;
    padding: 8px 16px; /* padding küçültüldü */
    box-sizing: border-box;
}
.logo {
    text-align: left;
    margin-bottom: 0;
    flex: 0 0 auto;
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    margin-bottom: 4px;
}

.logo-tagline {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    transition: color 0.3s ease;
}

.logo a:hover .logo-tagline {
    color: red;
}

nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

nav ul {
    display: flex;
    gap: 4px; /* nav itemler arası boşluk azaltıldı */
    list-style: none;
    padding: 0;
    margin: 0;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s;
}

nav a:hover {
    color: black;
    background: rgba(207, 36, 24, 0.1);
}

.btn-contact {
    background: red;
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 1.3rem;
    border: 2px solid red;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(255, 0, 0, 0.2);
}

.btn-contact:hover {
    background: #fff;
    color: red !important;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.3);
}


/* Main content styles */
main {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
}

/* Footer */
footer {
    background: #f3f3f3; /* koyu beyaz */
    color: #222;
    text-align: center;
    padding: 18px 0 10px 0;
    font-size: 0.95rem;
    letter-spacing: 1px;
    position: sticky;
    bottom: 0;
    width: 100%;
    margin-top: auto;
    z-index: 10;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Footer Styles */
#footer {
    background: #f3f3f3;
    padding: 50px 0 0 0;
    position: relative;
}

.upper-footer {
    padding-bottom: 30px;
}

.footer-widget-area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-widget img {
    width: 180px;
    height: auto;
    margin-bottom: 20px; /* Logo ile sosyal ikonlar arası mesafe */
    margin-top: 25px; /* Logo'yu aşağı indirmek için */
    margin-right: 75px;
}

.footer-widget {
    margin-bottom: 20px;
}

.widget-title {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    text-align: left; /* Başlıkları sola yasla */
}

.widget-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60%; /* Çizgiyi tam genişliğe çıkar */
    height: 2px;
    background: red;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left; /* Menü öğelerini sola yasla */
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: red;
}

.social-icons-footer {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center; /* Sosyal ikonları ortaya hizala */
    margin-left: -80px;
}

.lower-footer {
    background: #e6e6e6;
    padding: 15px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background: red;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 100;
}

.back-to-top:hover {
    background: darkred;
}

.floating-phone {
    position: fixed;
    left: 2%;              /* Sol köşe */
    top: 90%;             /* Dikey ortada */
    transform: translateY(-50%);
    background: red;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: all 0.3s ease;
}

.floating-phone:hover {
    background: #fff;
    color: red;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}


.menu-toggle {
    display: none;
    background: red;
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 1.3rem;
    border: 2px solid red;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(255, 0, 0, 0.2);
}

/* Dropdown menü */
.nav-item.dropdown {
    position: relative;
}

.nav-item .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #f3f3f3;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    display: none;
    min-width: 200px;
    z-index: 999;
}

.nav-item .dropdown-menu li {
    padding: 0;
}

.nav-item .dropdown-menu li a {
    display: block;
    padding: 8px 22px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.nav-item .dropdown-menu li a:hover {
    background: rgba(207,36,24,0.1);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.floating-buttons {
    position: fixed;
    left: 2%;
    bottom: 5%;
    display: flex;
    flex-direction: row; /* yan yana */
    gap: 12px;
    z-index: 9999;
    width: max-content;
    /* artık top ve transform yok */
}

.floating-phone {
    position: relative; /* fixed değil, container ile hareket eder */
    background: red; /* veya yeşil */
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
/* Kırmızı telefon */
.phone-red {
    background: #e53935; /* kırmızı */
}
.phone-red:hover,
.phone-red:focus {
    background: #c62828;
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* WhatsApp yeşili */
.whatsapp-green {
    background: #25D366; /* WhatsApp yeşili */
}
.whatsapp-green:hover,
.whatsapp-green:focus {
    background: #1ebe57;
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* Erişilebilir odak göstergesi (klavye ile gezme için) */
.floating-phone:focus {
    border-color: rgba(255,255,255,0.9);
    box-shadow: 0 0 0 4px rgba(0,0,0,0.12), 0 6px 20px rgba(0,0,0,0.15);
}

.contact-section {
    display: flex;
    justify-content: center;
    align-items: center; /* Dikeyde ortala */
    padding: 80px 20px;
    background: #f9f9f9;
    min-height: 80vh; /* Tüm ekranın %80'i kadar yükseklik */
}

.contact-container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    align-items: stretch; /* iki sütunu aynı yüksekliğe getir */
}

.contact-left,
.contact-right {
    display: flex;
    flex-direction: column;
    justify-content: center; /* İçeriği dikey ortala */
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.contact-left {
    flex: 0.4; /* sol sütun daraltıldı */
    border-left: 5px solid #e53935;
    max-height: 400px;
}

.contact-right {
    flex: 0.91; /* mümkün olduğunca alan kapla */
    min-width: 500px; /* minimum form genişliği */
}

.contact-left h3,
.contact-right h2 {
    margin-bottom: 20px;
    color: #e53935;
}

.contact-left p strong {
    color: #e53935;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 95%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    resize: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e53935;
}

.btn-submit {
    background: #e53935;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    width: 300px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 0 auto;
}

.btn-submit:hover {
    background: #c62828;
}

.map-section {
    width: 100%;      /* ekranın tamamı kadar */
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* 920px ve altı */
@media (max-width: 920px) {
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }

    .contact-left,
    .contact-right {
        padding: 30px 20px;
    }
}

/* 820px ve altı */
@media (max-width: 820px) {
    /* Genel düzen */
    .services-container {
        padding: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet için 2 sütun */
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .testimonial-card {
        padding: 25px 15px;
    }

    /* Footer düzen */
    .footer-widget-area {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 15px;
    }

    .footer-column {
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .footer-widget {
        border-bottom: 1px solid rgba(0,0,0,0.1);
        padding-bottom: 15px;
        margin-bottom: 15px;
        text-align: left;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-widget:last-child {
        border-bottom: none;
    }

    .widget-title {
        display: block;
        cursor: default;
        padding: 10px 0;
        margin-bottom: 0;
        text-align: left;
        width: 100%;
    }

    .widget-title:after,
    .widget-title.active:after {
        content: '';
    }

    .footer-menu {
        display: block !important;
        padding: 10px 0;
        text-align: left;
        width: 100%;
    }

    .footer-widget:first-child {
        text-align: center;
        align-items: center;
    }

    .footer-widget:first-child img {
        margin: 0 auto 15px auto;
    }

    .social-icons-footer {
        margin: 0;
        justify-content: center;
    }

    #footer {
        padding: 30px 0 0 0;
    }

    .lower-footer {
        padding: 15px;
        font-size: 0.8rem;
    }

    /* Floating buton */
    .floating-phone {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .floating-buttons {
        bottom: 4%;
        left: 3%;
        gap: 10px;
    }

}


/* İletişim Sayfası Stilleri */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: center; /* Dikeyde ortala */
    padding: 80px 20px;
    background: #f9f9f9;
    min-height: 80vh; /* Tüm ekranın %80'i kadar yükseklik */
}

.contact-container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    align-items: stretch; /* iki sütunu aynı yüksekliğe getir */
}

.contact-left,
.contact-right {
    display: flex;
    flex-direction: column;
    justify-content: center; /* İçeriği dikey ortala */
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.contact-left {
    flex: 0.4; /* sol sütun daraltıldı */
    border-left: 5px solid #e53935;
    max-height: 400px;
}

.contact-right {
    flex: 0.91; /* mümkün olduğunca alan kapla */
    min-width: 500px; /* minimum form genişliği */
}

.contact-left h3,
.contact-right h2 {
    margin-bottom: 20px;
    color: #e53935;
}

.contact-left p strong {
    color: #e53935;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 95%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    resize: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e53935;
}

.btn-submit {
    background: #e53935;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 0 auto;
}

.btn-submit:hover {
    background: #c62828;
}

.map-section {
    width: 100%;      /* ekranın tamamı kadar */
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.map-section iframe {
    width: 100%;      /* iframe tam genişlik */
    height: 400px;    /* istersen yüksekliği artırabilirsin */
    border: 0;
    display: block;   /* kenarlık boşluklarını kaldırmak için */
}

/* 821px altı için mobil görünüm - DÜZELTME */
@media (max-width: 820px) {
    nav {
        position: relative;
        flex-direction: column; /* Butonları alt alta hizalar */
        align-items: center; /* Sola hizala */
        gap: 10px; /* Aralarına boşluk */
    }
    
    .menu-toggle {
        display: block !important; /* Burada !important kullanıyoruz ki kesinlikle görünsün */
        background: red;
        color: #fff;
        border: none;
        padding: 8px 16px;
        border-radius: 6px;
        font-size: 1rem;
        cursor: pointer;
        width: auto; /* Genişliği içeriğe göre ayarla */
    }
    
    nav ul {
        display: none; /* menü gizli */
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 100px; /* menu-toggle + btn-contact yüksekliği kadar aşağı */
        left: 50%;
        transform: translateX(-50%);
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    nav ul.show {
        display: flex; /* menü açılınca görünür */
        width: 100%;
        min-width: 250px;
        padding: 15px 20px;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .btn-contact {
        align-self: flex-start; /* Sola hizala */
        margin-top: 0; /* Üstteki gap yeterli */
    }

    .nav-item .dropdown-menu li a {
        display: block;
        padding: 4px 8px;
        color: #333;
        text-decoration: none;
        font-size: 0.85rem;
        transition: background 0.2s;
    }
}

/* 820px ve altı */
@media (max-width: 820px) {
    .contact-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .contact-right {
        width: 100%;
        padding: 20px 15px;
        box-sizing: border-box;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Hafif gölge ekle */
    }

    .contact-left {
        width: 100%;
        padding: 20px 15px;
        box-sizing: border-box;
        max-height: none; /* Yükseklik sınırlamasını kaldır */
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        box-sizing: border-box;
    }

    .btn-submit {
        width: 100%;
        font-size: 1rem;
        padding: 12px 0;
    }
}

/* Responsive: 520px ve altı ekranlar için */
@media (min-width: 320px) and (max-width: 820px) {
    .topbar {
        flex-direction: column;
        gap: 8px;
        padding: 8px;
        text-align: center;
    }
    
    .topbar .contact-info {
        flex-direction: column;
        gap: 4px;
    }

    .header-inner {
        flex-direction: column;
        height: 220px;
        padding: 8px;
        gap: 8px;
    }
}


/* 520px ve altı */
@media (max-width: 520px) {
    .contact-container {
        flex-direction: column; /* Her şey dikey */
        align-items: center;
    }

    .contact-left,
    .contact-right {
        width: 100%; /* Tam genişlik */
        min-width: auto; /* <<< ÖNEMLİ: min-width kaldırıldı */
        padding: 12px 10px;
        box-sizing: border-box;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        font-size: 0.9rem;
        padding: 10px;
        margin-bottom: 10px;
    }

    .btn-submit {
        width: 100%;
        font-size: 0.9rem;
        padding: 10px;
        display: block;
        margin-top: 5px;
    }
}






