﻿/* Genel Stil Ayarları */
:root {
    --primary-color: #007bff; /* Bodrum mavisi tonu */
    --secondary-color: #28a745; /* Vurgu rengi, yeşil tonu olabilir */
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --text-color: #333;
    --white-color: #fff;
    --breakpoint-tablet: 768px;
    --breakpoint-desktop: 1024px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.section-title-white {
    color: var(--white-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

    .btn-secondary:hover {
        background-color: #218838;
    }

.btn-whatsapp {
    background-color: #25D366; /* WhatsApp yeşili */
    color: var(--white-color);
    margin-left: 1rem; /* Yan yana duran butonlar için boşluk */
}

    .btn-whatsapp:hover {
        background-color: #1DA851;
    }

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Header */
.main-header {
    background-color: var(--white-color);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

    .main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo img {
    height: 50px; /* Logo yüksekliği */
}

.main-nav ul {
    display: flex;
}

    .main-nav ul li a {
        color: var(--dark-color);
        padding: 0.5rem 1rem;
        font-weight: bold;
        transition: color 0.3s ease;
    }

        .main-nav ul li a:hover,
        .main-nav ul li a.active {
            color: var(--primary-color);
        }

.contact-header .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

.menu-toggle {
    display: none; /* Mobil için varsayılan olarak gizle */
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh; /* Ekran yüksekliğinin %70'i */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    text-align: center;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Koyu overlay */
}

.hero-content {
    position: relative; /* Overlay'in üstünde kalması için */
    z-index: 2;
}

    .hero-content h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        color: var(--white-color);
    }

    .hero-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        color: var(--white-color);
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

/* Hizmetlerimiz Özeti / Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-item {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

    .feature-item:hover {
        transform: translateY(-5px);
    }

    .feature-item .icon-large {
        font-size: 3rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

    .feature-item h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

/* Call to Action */
.call-to-action {
    background-color: var(--dark-color);
    color: var(--white-color);
    text-align: center;
}

    .call-to-action p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        opacity: 0.8;
    }

/* Testimonials */
.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
}

    .testimonial-item p {
        font-style: italic;
        margin-bottom: 1rem;
        color: #555;
    }

    .testimonial-item span {
        font-weight: bold;
        color: var(--primary-color);
    }

/* Footer */
.main-footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 3rem 0;
    font-size: 0.9rem;
}

    .main-footer a {
        color: var(--white-color);
        opacity: 0.8;
    }

        .main-footer a:hover {
            opacity: 1;
            color: var(--primary-color);
        }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: var(--white-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    opacity: 0.7;
}

/* Responsive Tasarım (Mobil Uyumlu) */
@media (max-width: var(--breakpoint-tablet)) {
    .main-header .container {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3; /* Menüyü en alta al */
        width: 100%;
        display: none; /* Varsayılan olarak gizle */
        flex-direction: column;
        text-align: center;
        background-color: var(--white-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.05);
        position: absolute; /* Header içinde konumlandır */
        top: 70px; /* Header yüksekliğinden sonra başla */
        left: 0;
        right: 0;
        z-index: 999;
    }

        .main-nav.active {
            display: flex; /* Aktif olduğunda göster */
        }

        .main-nav ul {
            flex-direction: column;
            width: 100%;
        }

            .main-nav ul li {
                border-bottom: 1px solid #eee;
                width: 100%;
            }

                .main-nav ul li:last-child {
                    border-bottom: none;
                }

                .main-nav ul li a {
                    padding: 1rem;
                    display: block;
                }

    .contact-header {
        order: 2; /* Menü toggle yanına al */
        margin-left: auto; /* Sağa yasla */
    }

        .contact-header .btn {
            display: none; /* Mobil menüde yer açmak için gizleyebiliriz veya farklı bir yere taşıyabiliriz */
        }

    .menu-toggle {
        display: block; /* Mobil cihazlarda menü butonunu göster */
        order: 2;
    }

    .hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content .btn-large {
        display: block; /* Butonları alt alta al */
        width: 90%;
        margin: 1rem auto;
    }

    .hero-content .btn-whatsapp {
        margin-left: 0; /* Mobil görünümde sola yasla */
    }

    .section-title {
        font-size: 2rem;
    }

    .section-title-white {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Tek sütunlu hale getir */
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-title-white {
        font-size: 1.8rem;
    }
}
.slider-container {
    position: relative;
    width: 100%;
    height: 80vh; /* Mobil cihazlarda daha kısa görünecek */
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slide.active {
        opacity: 1;
    }

    .slide::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4); /* Yazıların okunması için hafif karartma */
    }

.slide-content {
    position: relative;
    z-index: 5;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: white;
    padding: 15px;
    border: none;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

@media (max-width: 768px) {
    .slider-container {
        height: 60vh;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }
}
/* --- Header ve Navigasyon Düzeltmeleri --- */
.main-header {
    background-color: var(--white-color);
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000; /* Menünün her zaman en üstte kalmasını sağlar */
}

    .main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

/* Mobil Menü Ayarları */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* Varsayılan kapalı */
        position: absolute;
        top: 100%; /* Header'ın hemen altından başlar */
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

        .main-nav.active {
            display: block; /* JS ile active klası gelince açılır */
        }

        .main-nav ul {
            flex-direction: column;
            padding: 0;
        }

            .main-nav ul li {
                text-align: center;
                border-bottom: 1px solid #f4f4f4;
            }

                .main-nav ul li a {
                    display: block;
                    padding: 15px;
                    color: #333;
                }

    .menu-toggle {
        display: block !important; /* Mobilde görünür yap */
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
    }

    .contact-header {
        display: none; /* Mobilde kalabalık yapmasın diye gizledik, menü içine de konulabilir */
    }
}

/* --- Slider Responsive Düzeltmesi --- */
.slider-container {
    position: relative;
    width: 100%;
    height: 70vh; /* Masaüstü yüksekliği */
    overflow: hidden;
    z-index: 1; /* Menünün altında kalması için */
}

@media (max-width: 768px) {
    .slider-container {
        height: 50vh; /* Mobilde daha kısa görünsün */
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}
/* İletişim Sayfası için Genel Stiller */
.page-hero {
    background: var(--primary); /* Ana renk */
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

    .page-hero h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: var(--white);
    }

    .page-hero p {
        font-size: 1.2rem;
        opacity: 0.9;
    }

.contact-info .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

    .contact-card .icon-large {
        font-size: 3rem;
        color: var(--primary);
        margin-bottom: 1rem;
    }

    .contact-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        color: #333;
    }

    .contact-card p {
        margin-bottom: 0.5rem;
    }

    .contact-card a {
        color: #555;
        transition: color 0.3s ease;
    }

        .contact-card a:hover {
            color: var(--primary);
        }

.bg-light {
    background-color: #f4f4f4;
}

.form-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    width: auto;
    display: inline-block;
    padding: 15px 30px;
}

.contact-map iframe {
    border-radius: 8px;
}

/* Mobil Uyumlu İletişim Sayfası */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .form-map-grid {
        grid-template-columns: 1fr; /* Tek sütuna düşür */
    }

    .contact-map {
        order: -1; /* Haritayı formun üstüne al (isteğe bağlı) */
    }
}
/* Hakkımızda Sayfası Özel Stilleri */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 10px;
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

    .stat-item h3 {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 5px;
    }

    .stat-item p {
        font-size: 0.9rem;
        margin-bottom: 0;
        font-weight: bold;
    }

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}
/* Hizmetlerimiz Sayfası Özel Stilleri */
.services-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

    .service-card:hover {
        transform: translateY(-10px);
    }

.service-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
    position: relative;
    text-align: center;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    background: #fff;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-content h3 {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-content p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .services-list-grid {
        grid-template-columns: 1fr;
    }
}
/* Galeri Sayfası Özel Stilleri */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-item .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 74, 173, 0.7); /* Logo mavisi tonu */
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        opacity: 0;
        transition: opacity 0.3s ease;
        font-weight: bold;
        font-size: 1.1rem;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

    .gallery-item:hover .overlay {
        opacity: 1;
    }

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
    }
}