/* Logo Konteyneri */
.logo-container {
    width: 150px;
    height: 150px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.logo-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Genel Ayarlar */
body {
    margin-left: auto;
    margin-right: auto;
    background-color: #f9f9f9;
    padding-top: 50px;
}

.section {
    padding: 10. 0;
    scroll-margin-top: 56px; /* Kaydırma sırasında menünün üstünde görünmesi için */
    padding-top: 50px;

}

/* Navbar Ayarları */
.navbar {
    background-color: #595959;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-color: #f1941a;
}

.navbar-brand {
    color: #f1941a !important;
    font-weight: bold;
    font-size: 24px;
}

.nav-link {
    color: #f1941a !important;
    margin-left: 15px;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-link.active {
    color: #ffffff !important;
    font-weight: bold;
    border-radius: 5px;
}

.nav-link:hover {
    color: #fff !important;
}

/* Hero Bölümü */
.hero {
    background-color: #f1941a;
    color: white;
    padding: 70px 0;
}

/* Hoş Geldiniz Bölümü */
.welcome-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.welcome-overlay {
    text-align: center;
    color: #f1941a;
    position: relative;
    z-index: 1;
}

.welcome-text {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.scroll-down {
    font-size: 4rem;
    color: white;
    text-decoration: none;
}

.scroll-down:hover {
    color: #f1941a;
}

/* Hareketli nesneler */
.animated-objects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.object {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite; /* Hızlı hareket için süreyi azalt */
    opacity: 0.6;
}

/* Her bir daireye farklı boyut ve konum verelim */
.object:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.object:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 30%;
    left: 15%;
    animation-delay: 1s;
}

.object:nth-child(3) {
    width: 90px;
    height: 90px;
    top: 50%;
    left: 25%;
    animation-delay: 2s;
}

.object:nth-child(4) {
    width: 110px;
    height: 110px;
    top: 20%;
    left: 40%;
    animation-delay: 3s;
}

.object:nth-child(5) {
    width: 130px;
    height: 130px;
    top: 70%;
    left: 60%;
    animation-delay: 4s;
}

.object:nth-child(6) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 80%;
    animation-delay: 5s;
}

.object:nth-child(7) {
    width: 75px;
    height: 75px;
    top: 15%;
    left: 70%;
    animation-delay: 6s;
}

.object:nth-child(8) {
    width: 95px;
    height: 95px;
    top: 65%;
    left: 30%;
    animation-delay: 7s;
}

/* Footer Ayarları */
.footer {
    background-color: #595959;
    color: #f1941a;
    padding: 20px 0;
}

/* Hizmetler */
.service-box {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
    margin-top: 20px;
}

.service-box img {
    transition: transform 0.5s ease;
}

.service-box:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    color: #f9f9f9;
    background-color: #f1941a;
    text-align: center;
    transition: top 0.5s ease;
    padding: 20px;
    border-radius: 10px;
}

.service-box:hover .overlay {
    top: 40%;
}

/* İletişim */
.address-card {
    background-color: #595959;
    color: #fcfcfc;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
}

.address-item i {
    margin-left: 1.5rem;
    color: #f09619;
    font-size: 2rem;
    margin-right: 1.5rem;
}

h4 {
    color: #f09619;
}

label {
    color: #f09619;
}

/* ----- Mobil Uyumluluk (Media Queries) ----- */

/* Ekran genişliği 768px ve daha küçük olan cihazlar için */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 20px;
    }

    .nav-link {
        font-size: 14px;
        margin-left: 10px;
    }

    .hero {
        padding: 50px 0;
    }

    .welcome-text {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .scroll-down {
        font-size: 3rem;
    }

    .logo-container {
        width: 120px;
        height: 120px;
    }

    .object {
        width: 60px;
        height: 60px;
        animation-duration: 6s;
    }

    .footer {
        font-size: 14px;
        padding: 10px 0;
    }

    .service-box {
        width: 100%;
        margin-top: 10px;
    }

    .address-card {
        font-size: 14px;
    }
}

/* Ekran genişliği 480px ve daha küçük olan cihazlar için */
@media (max-width: 480px) {
    .navbar-brand {
        font-size: 18px;
    }

    .nav-link {
        font-size: 12px;
        margin-left: 8px;
    }

    .hero {
        padding: 30px 0;
    }

    .welcome-text {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .scroll-down {
        font-size: 4rem;
    }

    .logo-container {
        width: 100px;
        height: 100px;
    }

    .object {
        width: 50px;
        height: 50px;
        animation-duration: 8s;
    }

    .footer {
        font-size: 12px;
        padding: 8px 0;
    }
}
