/* Genel Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
}

body, html {
    overflow: visible; /* Sticky'nin çalışması için */
}

/* Navbar */
.navbar {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0; /* Sayfanın üst kısmına sabitler */
    width: 100%;
    z-index: 1000; /* Diğer içeriklerin altında kalmaması için */
    background-color: #fff; /* Arka plan rengi */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Hafif gölge */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

/* Hero Section */
#hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/bgRealistic.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #0056b3;
}

.about {
    padding: 50px 20px;
    background-color: #f9f9f9; /* Hafif gri arka plan */
    text-align: center;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-content p {
    margin-bottom: 20px;
}

/* Ürünler Section */
.products {
    padding: 5rem 5%;
    background: #f8f9fa;
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3, .product-card p {
    padding: 1rem;
}

/* Hizmetler Section */
.services {
    padding: 5rem 5%;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left; /* Sola yaslama */
}

.service-card i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 1rem;
    display: block; /* İkonu üstte göstermek için */
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center; /* Başlıklar ortada kalabilir */
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    text-align: left; /* Maddeleri sola yaslama */
}

/* İletişim Section */
.contact {
    padding: 5rem 5%;
    background: #fff;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr; /* 1/3 ve 2/3 oranı */
    gap: 20px; /* Aradaki boşluk */
    align-items: start;
}

.contact-info {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-info i {
    margin-right: 1rem;
    color: #007bff;
}

.contact-info a {
    color: #25D366; /* WhatsApp yeşil rengi */
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
} 

.map-container {
    width: 100%;
    height: 100%;
}

.google-map {
    width: 100%;
    height: 300px; /* Harita yüksekliği */
    border: 0;
    border-radius: 8px; /* Köşeleri yuvarlat */
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 8px;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 2rem 5%;
    background: #333;
    color: white;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    margin: 0.5rem 0;
    display: inline-block;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    background: #222;
    color: white;
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Tasarım */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}
 
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25d366;
    color: white;
    border-radius: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background: #1ebe57;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

.map-container {
    width: 100%;
    max-width: 800px;
    height: 450px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.google-map {
    width: 100%;
    height: 100%;
    border: none;
}

.address-info {
    margin-top: 15px;
    text-align: center;
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr; /* Tek sütun */
    }

    .google-map {
        height: 200px; /* Daha küçük harita yüksekliği */
    }
}

/* WhatsApp Butonu */
.whatsapp-button {
    position: fixed;
    bottom: 50px;
    right: 50px;
    background: #25d366;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    z-index: 1000;
}

.whatsapp-button:hover {
    background: #1ebe57;
}

.whatsapp-icon {
    width: 80px; /* İkonun genişliği */
    height: 80px; /* İkonun yüksekliği */
}
