html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

/* body {
    color: #333;
    line-height: 1.6;
} */
body {
    background: linear-gradient(rgba(42, 166, 161, 0.6), rgba(42, 166, 161, 0.6)),
        url('img/background.jpg') no-repeat center/cover;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Bulanık efekti için body'ye değil, ::before'a uygula */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('img/background.jpg') no-repeat center/cover;
    filter: blur(8px);
    z-index: -1;
    /* sayfa kaydırılsa da sabit kalır */
}


.container {
    background: rgba(255, 255, 255, 0.95);
    /* Neredeyse tamamen beyaz, biraz saydam */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    /* Yumuşak gölge */
    border-radius: 12px;
    /* Köşeleri yuvarlat */
    padding: 20px;
}

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 50px;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1px;
    /* Logo ile metin arasındaki boşluk */
    font-weight: 700;
    font-size: 1 rem;
    color: #007BFF;
    /* İstersen renk ayarla */
}

.logo img {
    height: 80px;
    display: block;
}

/* .logo img {
    mask-image: url('img/logo.png');
    -webkit-mask-image: url('img/logo.png');
    background-color: #7FCAC7;
    width: 100px;
    height: 50px;
    display: block;
} */

.logo span {
    color: #2aa6a1;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
} */

nav a {
    position: relative;
    margin-left: 22px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 6px 0;
    transition: color .3s ease;
}

/* Alt çizgi efekti */
nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #2aa6a1;
    transition: width .3s ease;
}

nav a:hover {
    color: #2aa6a1;
}

nav a:hover::after {
    width: 100%;
}

.btn {
    background: #2aa6a1;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)),
        url("https://images.unsplash.com/photo-1588776814546-1ffcf47267c7") center/cover;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
}

.hero p {
    margin: 15px 0 25px;
}

.section {
    padding: 60px 0;
    text-align: center;
}

.section.gray {
    background: #f4f7f8;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
}

.footer {
    background: #2aa6a1;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* 📱 MOBİL */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 65px;
        right: 0;
        background: #fff;
        width: 100%;
        display: none;
        flex-direction: column;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
    }

    nav.open {
        display: flex;
    }

    nav a {
        margin: 15px;
        font-size: 18px;
    }

    .hero h1 {
        font-size: 32px;
    }
}

.hero-slider {
    position: relative;
    height: 90vh;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.slides {
    height: 100%;
    width: 100%;
    /* genişlik tam olarak slider genişliğine uyacak */
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    width: 100%;
    /* genişlik tam */
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* .overlay {
    background: rgba(0, 0, 0, .45);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
} */
.overlay {
    background: rgba(0, 0, 0, .25);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

/* YENİ EKLE */
.overlay>* {
    max-width: 1200px;
    width: 100%;
}

.overlay h1 {
    font-size: 48px;
    animation: fadeUp 1s ease;
}

.overlay p {
    margin: 15px 0 25px;
    font-size: 18px;
    animation: fadeUp 1.2s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* DOTS */
.dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, .5);
    border-radius: 50%;
    cursor: pointer;
    transition: .3s;
}

.dot.active {
    background: #2aa6a1;
}

/* 📱 MOBİL */
@media (max-width: 768px) {
    .overlay h1 {
        font-size: 30px;
    }
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
    text-align: center;
}

.service-content h3 {
    color: #2aa6a1;
    font-size: 22px;
    margin-bottom: 10px;
}

.service-content p {
    color: #666;
    font-size: 16px;
}

.container-a {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    /* Neredeyse tamamen beyaz, biraz saydam */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    /* Yumuşak gölge */
    border-radius: 12px;
    /* Köşeleri yuvarlat */

    /* padding: 20px; */
}

.container {
    background: rgba(255, 255, 255, 0.95);
    /* Neredeyse tamamen beyaz, biraz saydam */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    /* Yumuşak gölge */
    border-radius: 2px;
    /* Köşeleri yuvarlat */
    padding: 3px;
    nav{
        padding-right: 20px;
    }
}

.content-row-a {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    max-width: 1200px;
}

/* İkinci satırda resim sağda olsun diye flex yönünü değiştiriyoruz */
.content-row-a.reverse {
    flex-direction: row-reverse;
}

.side-image {
    width: 40%;
    max-width: 300px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text {
    width: 90%;
    text-align: justify;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {

    .content-row-a,
    .content-row-a.reverse {
        flex-direction: column !important;
    }

    .side-image,
    .text {
        width: 100%;
        text-align: left;
    }

    .side-image {
        margin-bottom: 15px;
    }
}

.map-wrapper {
    margin-top: 30px;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.contact-card .icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.contact-card h4 {
    color: #2aa6a1;
    font-size: 18px;
    margin-bottom: 6px;
}

.contact-card p {
    color: #555;
    font-size: 16px;
}

.top-phone-bar {
    /* background-color: #007BFF; */
    background-color: #7FCAC7;
    color: white;
    position: relative;
    /* veya fixed yapabilirsin */
    height: 30px;
    display: flex;
    justify-content: flex-end;
    /* Sağda hizala */
    align-items: center;
    padding: 0 15px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    user-select: none;
    width: 100%;
    box-sizing: border-box;
}

.top-phone-bar a {
    color: white;
    text-decoration: none;
}

.top-phone-bar a:hover {
    text-decoration: underline;
}