* {
    font-family: sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

.yy-menu-container {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 9999;
}

.menu {
    background-color: rgba(245, 245, 245, 0.9);
    width: 100%;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 50px;
    padding: 0 20px;
}

.menu .logo label {
    font-size: 24px;
    color: #2d6a4f;
    cursor: pointer;
    font-weight: bold;
    margin-left: 20px;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
}

.menu ul li {
    margin-right: 15px;
    transition: transform 0.2s ease;
}

.menu ul li:hover {
    transform: translateY(-3px);
}

.menu ul li a {
    padding: 10px 15px;
    text-decoration: none;
    color: #52b788;
    position: relative;
    font-weight: 500;
}

.menu ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    left: 0;
    bottom: 5px;
    height: 1px;
    background-color: #2d6a4f;
    transition: width 0.3s ease;
}

.menu ul li a:hover::after {
    width: 100%;
}

.yy-slider {
    margin-top: 0;
}

.carousel-item img {
    object-fit: cover;
    height: 100vh;
    display: block;
    width: 100%;
    filter: contrast(105%); 
}

.carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
    z-index: 1;
}

.yy-btn {
    background-color: #086375;
    outline: none;
    border: none;
    padding: 10px 20px;
    color: #fff !important;
    border-radius: 5px;
    cursor: pointer;

    /* Gradyanı en başta %100 görünürlükte tanımlıyoruz */
    background-image: radial-gradient(circle at left, #74c69d 100%, transparent 100%);
    
    background-position: left center;
    background-repeat: no-repeat;
    
    /* Başlangıç boyutu 0, çıkış animasyonunu sağlayan transition burada */
    background-size: 0% 100%;
    
    transition: all 0.5s ease;
}

.yy-btn:hover {
    background-size: 300% 100%;
}

.yy-wp-btn {
    background-color: #52b788;
    outline: none;
    border: none;
    padding: 10px 20px;
    color: #fff !important;
    border-radius: 5px;
    cursor: pointer;

    /* Gradyanı en başta %100 görünürlükte tanımlıyoruz */
    background-image: radial-gradient(circle at left, #2d6a4f 100%, transparent 100%);
    
    background-position: left center;
    background-repeat: no-repeat;
    
    /* Başlangıç boyutu 0, çıkış animasyonunu sağlayan transition burada */
    background-size: 0% 100%;
    
    transition: all 0.5s ease;
}

.yy-wp-btn:hover {
    background-size: 300% 100%;
}


@media (max-width: 768px) {
    .col-md-4 {
        margin-bottom: 20px;
    }
}

.card {
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;

    &:hover {
        transform: translateY(-5px);
        
        .card-img-top {
            transform: scale(1.1);
        }
    }
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-title {
    color: #001f3f;
}

#iletisim .contact-info-wrapper {
    border-left: 5px solid #52b788; /* Sol tarafa marka renginden şık bir çizgi */
}

#iletisim .map-wrapper {
    /* Haritanın mobilde çok uzun, masaüstünde ise sol tarafa tam eşit olmasını sağlar */
    display: flex;
}

@media (max-width: 768px) {
    #iletisim iframe {
        height: 300px !important; /* Mobilde harita boyunu biraz küçültelim */
    }
}

.yy-back-to-top{
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background-color: #52b788; /* Senin turuncu */
    color: #fff !important;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    
    /* Z-index çok önemli, her şeyin üstünde olmalı */
    z-index: 9999; 
    
    /* Butonu ortalamak için */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Başlangıçta gizlemek yerine test için şunu yap: */
    opacity: 0; 
    transition: all .2s ease;
}

.yy-back-to-top.show{
    opacity: 1;
}

.yy-back-to-top:hover{
    background-color: #2d6a4f;
    transform: translateY(-5px);
}

.footer {
    font-family: 'Poppins', sans-serif;
    background-color: #001f3f; 
    color: #ffffff;
}

.footer-logo {
    font-weight: 800;
    color: #fff;
    span { color: #52b788; }
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
    color: #bdc3c7;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: #fff;

    &::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50px;
        height: 2px;
        background-color: #52b788;
    }
}

.footer-links {
    list-style: none;
    padding: 0;

    li {
        margin-bottom: 12px;
        a {
            color: #bdc3c7;
            text-decoration: none;
            transition: all .2s ease;
            display: inline-block;

            &:hover {
                color: #52b788;
                transform: translateX(5px);
            }
        }
    }
}

.footer-contact {
    list-style: none;
    padding: 0;

    li {
        margin-bottom: 15px;
        font-size: 14px;
        display: flex;
        align-items: center;
        color: #bdc3c7;

        i {
            color: #52b788;
            margin-right: 12px;
            font-size: 18px;
            width: 20px;
        }
    }
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #52b788;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 50%;
    margin-right: 10px;
    transition: all .2s ease;

    &:hover {
        background-color: #2d6a4f;
        transform: translateY(-5px);
        color: #fff;
    }
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.copyright, .credit {
    font-size: 13px;
    color: #bdc3c7;
}

.credit a {
    text-decoration: none;
    color: #52b788;
    position: relative;
    padding-bottom: 2px;
    transition: all .2s ease;

    &::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 1px;
        background-color: #52b788;
        transition: width 0.3s ease;
    }

    &:hover::after {
        width: 100%;
    }
}

/* MOBİL UYUMLULUK AYARLARI */
@media (max-width: 992px) {
    /* 1. Menüyü Mobilde Düzenle */
    .yy-menu-container {
        top: 10px; /* Üstten boşluğu azalt */
        width: 95%;
    }

    .menu {
        min-height: 60px;
        padding: 0 15px;
        flex-direction: column; /* Logoyu ve Menüyü alt alta al */
        border-radius: 20px;
        height: auto;
        padding-bottom: 10px;
    }

    .menu .logo label {
        font-size: 18px; /* Yazıyı küçült */
        margin-left: 0;
        margin-top: 5px;
    }

    .menu ul {
        margin-top: 10px;
        padding: 0;
        justify-content: center;
        flex-wrap: wrap; /* Linkler sığmazsa alt satıra geçsin */
    }

    .menu ul li {
        margin-right: 8px;
        margin-bottom: 5px;
    }

    .menu ul li a {
        font-size: 13px;
        padding: 5px 8px;
    }

    /* Teklif Al Butonunu Mobilde Ufalt */
    .yy-btn {
        padding: 5px 12px;
        font-size: 12px;
    }

    /* 2. Slider Yüksekliği */
    .carousel-item img {
        height: 50vh; /* Mobilde tam ekran değil, yarım ekran olsun (daha şık durur) */
    }

    /* 3. İletişim ve Harita */
    #iletisim .contact-info-wrapper {
        border-left: none;
        border-top: 5px solid #52b788; /* Çizgiyi üste al */
    }

    /* 4. Kart Butonları Yanyana Sığmazsa */
    .card-body .yy-btn, 
    .card-body .yy-wp-btn {
        width: 100%; /* Mobilde butonları tam genişlik yap (tıklaması kolay olur) */
        margin-bottom: 10px;
    }
}

/* Çok Küçük Ekranlar İçin (iPhone SE vb.) */
@media (max-width: 480px) {
    .menu ul li a {
        font-size: 11px;
    }
    .footer-logo {
        font-size: 20px;
    }
}

/* GENEL SABİT BUTONLAR (Masaüstü Odaklı) */
.side-contact-bar {
    position: fixed;
    right: 30px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9998;
}

.yy-btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 50px;
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.yy-btn-contact i {
    font-size: 20px;
    margin-right: 10px;
}

.yy-whatsapp { background-color: #25D366; }
.yy-phone { background-color: #52b788; }

.yy-btn-contact:hover {
    transform: translateX(-10px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}


@media (max-width: 992px) {
    .side-contact-bar {
        right: 20px;
    }

    .yy-btn-contact {
        width: 55px;
        height: 55px;
        padding: 0;
        border-radius: 50%;
    }

    .yy-btn-contact i {
        margin-right: 0;
    }

    .btn-text {
        display: none;
    }
    
    .yy-btn-contact:hover {
        transform: scale(1.1);
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #bdc3c7;
}

.page-header h1 {
    font-size: 2.5rem;
    letter-spacing: -1px;
}