/* Temel Ayarlar */
header {
    background-color: #fff;
    border-bottom: 2px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 8px;
}

.logo span {
    font-size: 22px;
    font-weight: 700;
    color: #2f3017;
}

/* Menü */
nav {
    flex-grow: 1;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: #f1f1f1;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 18px;
}

.nav-links li a:hover {
    background-color: #007bff;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* Hamburger */
.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    margin-left: auto;
    padding: 5px 10px;
}

/* İletişim */
.contact-info {
    font-size: 16px;
    font-weight: 500;
    background-color: #f9f9f9;
    padding: 5px 10px;
    border-radius: 5px;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Menü Toggle (gizli checkbox) */
#menu-toggle {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        display: none;
        background-color: #fff;
        margin-top: 10px;
    }

    /* ✨ HAMBURGER MENÜ AÇILMA DAVRANIŞI */
    #menu-toggle:checked ~ nav .nav-links {
        display: flex;
    }

    .desktop-contact {
        display: none;
    }

    .mobile-contact {
        display: block;
        margin: 10px 0;
    }

    nav {
        width: 100%;
    }

    .container {
        align-items: flex-start;
    }
}


/* Scroll ile gizlenen header */
header.hide {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

/* Footer */
footer {
    background-color: #333;
    color: #f4f4f9;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 2px solid #007bff;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

footer p {
    margin: 5px 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

footer p:first-child {
    font-weight: 700;
}

footer p:last-child {
    font-style: italic;
}

/* Ana İçerik */
main {
    padding: 40px 15px;
}

.hero {
    text-align: center;
    background-color: #f9f9f9;
    padding: 40px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.intro, .highlight, .why-us, .cta {
    text-align: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-image-left {
    float: left;
    width: 50%;
    margin-right: 20px;
    border-radius: 8px;
}

.content-image-center {
    display: block;
    margin: 20px auto;
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
}

.why-us ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.why-us li {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.why-us li img.icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
}

.cta {
    text-align: center;
    background-color: #ffffff;
    color: #1b9bce;
    padding: 30px;
    border-radius: 8px;
}

.cta h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 20px;
}

.cta img {
    max-width: 400px;
    border-radius: 8px;
}



/* Hero Bölümü */
.about-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 300px; /* Yüksekliği ihtiyaca göre ayarlayın */
    overflow: hidden;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kesintisiz doldurur */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.5); /* Arka planı yarı saydam yapar */
    padding: 20px;
    border-radius: 8px;
}

.hero-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-overlay p {
    font-size: 1.2rem;
    margin: 0;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .about-hero {
        height: 200px;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

    .hero-overlay p {
        font-size: 1rem;
    }
}





/* Services Bölümü CSS */

/* Hero Bölümü */
.services-hero {
    text-align: center;
    padding: 50px 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 40px;
}

.services-hero h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.services-hero p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

/* Services List */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.service-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-item h2 {
    font-size: 1.5rem;
    color: #444;
    margin: 15px 0;
}

.service-item p {
    font-size: 1rem;
    color: #555;
    padding: 0 15px 20px;
    line-height: 1.6;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .services-hero {
        padding: 30px 10px;
    }

    .services-hero h1 {
        font-size: 2rem;
    }

    .services-hero p {
        font-size: 1rem;
    }

    .service-item h2 {
        font-size: 1.3rem;
    }

    .service-item p {
        font-size: 0.9rem;
    }
}




/* Genel Galeri Stilleri */
.gallery-hero {
    background-color: #f4f4f4;
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.gallery-hero h1 {
    font-size: 2.5rem;
    color: #333;
    margin: 0;
}

.gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 1000px;
}

/* Galeri Öğeleri */
.gallery-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #ffffff; /* Arkaplan beyaz */
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 250px;
    aspect-ratio: 3 / 4; /* Kartın oranını büyüt */
    text-align: center;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 50%; /* Kartın yarısını kaplasın */
    object-fit: cover;
}

.gallery-item h2 {
    font-size: 1.1rem;
    color: #333;
    margin: 0.5rem 0;
    text-decoration: underline; /* Başlık altı çizili */
}

.gallery-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0.5rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.5rem;
    }

    .gallery-item {
        max-width: 180px;
    }

    .gallery-item img {
        height: 50%;
    }

    .gallery-item h2 {
        font-size: 1rem;
    }

    .gallery-item p {
        font-size: 0.8rem;
    }
}





/* Product Container */
.product-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ana Resim */
.main-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f3f3f3;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Thumbnail Galeri */
.thumbnail-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: border 0.3s ease;
}

.thumbnail:hover {
    border: 2px solid #007BFF;
}

/* Açıklama Bölümü */
.product-description {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 20px;
}

.product-description h2 {
    margin: 0;
    font-size: 28px;
    color: #333;
    font-weight: bold;
    text-decoration: underline;
}

.product-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Fiyat Etiketi */
.product-description .price {
    font-size: 24px;
    color: #d90000;
    font-weight: bold;
}

/* Butonlar */
.product-description .buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.product-description .buttons button {
    padding: 10px 20px;
    border: none;
    background-color: #007BFF;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.product-description .buttons button:hover {
    background-color: #0056b3;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
    }

    .thumbnail-gallery {
        flex-direction: row;
        justify-content: center;
    }

    .product-description {
        padding-left: 0;
    }

    .product-description h2 {
        font-size: 24px;
    }
}





/* Contact Hero Section */
.contact-hero {
    text-align: center;
    padding: 40px 20px;
    background-color: #f4f4f4;
    color: #333;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 1.2rem;
    color: #555;
}

/* Contact Info Section */
.contact-info {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.info-box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-box h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.info-box p {
    font-size: 1.2rem;
    color: #555;
    word-wrap: break-word;
}

/* Map Section */
.map-section {
    margin-top: 40px;
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.map-container iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border: none;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .info-box {
        width: 90%;
    }

    .map-container iframe {
        height: 300px;
    }
}






.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
}
