/* General Styles */
html {
    overflow-x: hidden;
}
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #fff;
    color: #000;
    line-height: 1.6;
}

h2 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

p {
    font-size: 16px;
    color: #6d6d6d;
}

/* Header */
.navbar {
    display: flex;
    justify-content: space-between; /* Ensures space between logo and nav items */
    align-items: center;
    padding: 10px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: top 0.3s ease;
}

.logo img {
    width: 15vw;
}

.nav-links {
    list-style-type: none;
    display: flex;
    margin-left: auto; /* Push the nav links to the right */
    gap: 30px;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 18px;
}

.nav-links li a:hover {
    color: #d92149;
}

.language-switcher {
    margin-left: 20px; /* Ensure some margin between the nav links and the language switcher */
}

.language-switcher img {
    width: 30px;
    height: auto;
    cursor: pointer;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: absolute; /* Ensure it stays on the right */
    right: 20px; /* Align to the right with some padding */
}

.hamburger span {
    height: 3px;
    width: 30px;
    background-color: #333;
    margin-bottom: 5px;
    border-radius: 5px;
}

/* Mobile Menu */
.nav-links-mobile {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: white;
    width: 100%;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.nav-links-mobile.nav-active {
    transform: translateY(0);
}

.nav-links-mobile li {
    text-align: center;
    padding: 10px;
}

.nav-links-mobile li a {
    font-size: 18px;
    text-decoration: none;
    color: #000;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    margin-bottom: 10vw;
}

/* Hero Content */
.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-get-started {
    padding: 10px 20px;
    background-color: #d92149;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-get-started:hover {
    background-color: #c71d43;
}

/* Slider için temel ayarlar */
.slider {
    position: relative;
    width: 50%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
}

.slider img {
    width: 100%;
    height: 500px; /* Sabit bir yükseklik belirliyoruz */
    object-fit: cover; /* Resimleri kutuya tam oturtup, taşmalarını engeller */
    display: none;
    transition: opacity 0.5s ease-in-out;
}

.slider img.active {
    display: block;
}

/* About Us Section */
.about-us-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 5%;
}

.about-us-image {
    flex: 1;
    max-width: 50%;
}

.about-us-image img {
    width: 100%;
    border-radius: 10px;
}

.about-us-content {
    flex: 1;
    padding: 0 20px;
}

.about-us-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-us-content p {
    font-size: 16px;
    color: #6d6d6d;
    margin-bottom: 20px;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .about-us-container {
        flex-direction: column;
    }

    .about-us-image {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .about-us-content {
        padding: 0;
    }

    .about-us-content h2 {
        font-size: 28px;
    }

    .about-us-content p {
        font-size: 14px;
    }
}

/* Services Section */
.services {
    padding: 80px 5%;
    text-align: center;
}

.services-images {
    width: 100%;
    height: 250px; /* Tüm görsellerin yüksekliğini sabit tut */
    object-fit: cover; /* Görsellerin kesilmeden kutuya sığmasını sağlar */
    border-radius: 6px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.service-item {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.service-item p {
    color: #6d6d6d;
}

/* Responsive Services Section for Mobile */
@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr; /* Make service items stack vertically */
    }
    .services-images {
        height: 200px; /* Mobilde daha küçük yüksekliği ayarla */
    }
}

/* FAQ Section */
/* Dropdown ve yanıtın stilini ayarla */

.faq {
    padding: 80px 5%;
    text-align: center;
}
.faq-dropdown-container {
    text-align: center;
    margin-bottom: 20px;
}

.faq-select {
    padding: 10px;
    width: 100%;
    max-width: 600px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.faq-answer {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: #333;
}



/* Contact Us Section */
.contact-section {
    padding: 80px 5%;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 auto;
    gap: 80px;
}

.contact-form-container,
.map-info-container {
    flex: 1;
    min-width: 45%;
}

.contact-form-container h2,
.map-info-container h2 {
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    background-color: #d92149;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

/* Map and Address */
.map-info-container {
    display: flex;
    flex-direction: column;
}

.map-info-container p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #6d6d6d;
}

.map-info-container a {
    text-decoration: none;
    color: #000;
}

.map-info-container a:hover {
    color: #d92149;
}

.map-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
    margin-top: 20px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Social Media Section */
.social-media {
    margin: 20px 0;
}

.social-media ul {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-media ul li {
    list-style: none;
}

.social-media ul li a {
    font-size: 24px;
    color: #000;
    transition: color 0.3s ease;
}

.social-media ul li a i {
    margin-right: 8px;
}

.social-media ul li a:hover {
    color: #d92149;
}

/* Footer */
footer {
    padding: 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    flex-wrap: wrap;
}

footer p {
    font-size: 14px;
    color: #6d6d6d;
    margin: 0;
}

.footer-links,
.social-mediaa {
    display: flex;
    gap: 20px;
}

.footer-links li,
.social-mediaa li {
    list-style-type: none;
}

.footer-links a,
.social-mediaa a {
    text-decoration: none;
    color: #6d6d6d;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.social-mediaa a:hover {
    color: #d92149;
}

.social-mediaa a i {
    font-size: 24px;
}

/* Social Media Icons */
.social-media ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px; /* Space between icons */
}

.social-media ul a img {
    height: auto;
}

/* Mobile Styles */
@media (max-width: 768px) {

    #language-flag {
        display: none;
    }
    .social-media ul a img {
        width: 60px; /* Smaller icon size for mobile */
        height: auto;
    }
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 20px;
    }

    .slider {
        width: 100%; /* Mobilde slider genişliği tam olacak */
        max-height: 250px;
        margin-bottom: 20px;
    }

    .hero-content {
        margin-top: 20px;
        padding: 0;
        text-align: center;
    }

    .hero-content h1, .hero-content p {
        margin: 0 10px;
    }

    .btn-get-started {
        margin: 20px auto;
    }

    /* Mobilde sabit yükseklik ve orantılı görüntü */
    .slider img {
        width: 100%;
        height: 200px; /* Mobilde daha küçük sabit yükseklik */
        object-fit: cover;
    }
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-links-mobile {
        display: none;
    }

    .nav-links-mobile.nav-active {
        display: flex;
        transform: translateY(0);
        padding-top: 20px;
    }

    .logo img {
        width: 40vw;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center; /* Footer'ı mobilde ortalamak için ekledik */
        padding: 20px; /* Mobilde uygun padding */
    }

    .footer-links,
    .social-mediaa {
        justify-content: center;
        margin: 10px 0;
        text-align: center; /* Bağlantıların ortalanması */
    }

    .footer-links li,
    .social-mediaa li {
        text-align: center;
    }

    h2, h3 {
        font-size: 1.1rem; /* Adjust text size for mobile */
    }
    .hero-content h1 {
        font-size: 1.5rem; /* Adjust hero heading size for mobile */
    }
    p {
        font-size: 0.8rem; /* Adjust text size for mobile */
    }
    .service-item h3 {
        font-size: 1rem; /* Adjust service heading size for mobile */
    }
    .hero-content p {
        font-size: 0.8rem; /* Adjust hero text size for mobile */
        margin-bottom: 20px;
    }
    .map-info-container p {
        font-size: 0.8rem; /* Adjust map info text size for mobile */
    }

    h1 {
        font-size: 2rem; /* Adjust heading size for mobile */
    }
    .faq-item h3 {
        font-size: 0.8rem; /* Adjust FAQ heading size for mobile */
    }
    .faq-item.active p {
        font-size: 0.7rem; /* Adjust FAQ answer size for mobile */
    }
}
