/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #00A896; /* Su yeşili */
    --white: #FFFFFF;
    --black: #000000;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --text-gray: #666666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Header Üst Kısmı - İletişim Bilgileri */
.header-top {
    background-color: var(--light-gray);
    padding: 10px 0;
    font-size: 14px;
}

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

.header-contact {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    text-decoration: none;
}

.header-contact-item:hover {
    color: var(--primary-green);
}

.header-contact-item i {
    color: var(--primary-green);
}

.header-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-social a {
    color: var(--text-gray);
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
}

.header-social a:hover {
    color: var(--primary-green);
}

/* Ana Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 0;
    padding: 0;
}

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

.logo {
    height: 60px;
    width: auto;
}

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

/* Hamburger Menü Butonu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-gray);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.mobile-menu-toggle:hover {
    color: var(--primary-green);
}

/* Navigasyon */
.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link.active {
    color: var(--primary-green);
}

/* Dropdown Menü */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-green);
    padding-left: 25px;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* 1920x600 görseller için masaüstü yüksekliği */
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--white);
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    background-color: #008B7A;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,168,150,0.4);
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background-color: var(--primary-green);
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background-color: rgba(255,255,255,0.8);
}

/* Ürün Kartları Bölümü */
.products-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,168,150,0.2);
}

.product-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0,168,150,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: var(--primary-green);
}

.product-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.product-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-green);
    padding: 12px 30px;
    border: 2px solid var(--primary-green);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* Ürün Detay Sayfası */
.product-detail-header {
    text-align: center;
    padding: 60px 20px 40px;
    background-color: var(--light-gray);
}

.product-detail-header h1 {
    font-size: 42px;
    color: var(--primary-green);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.product-detail-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary-green);
}

.product-description {
    max-width: 900px;
    margin: 30px auto 0;
    padding: 0 20px;
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 16px;
    text-align: center;
}

.product-examples {
    padding: 60px 20px;
}

.product-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.example-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,168,150,0.2);
}

.example-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: var(--light-gray);
}

.example-card-content {
    padding: 25px;
}

.example-card-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.example-card-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.detail-info-btn {
    text-align: center;
    padding: 40px 20px;
}

/* İçerik Sayfaları */
.content-page {
    padding: 60px 20px;
    min-height: 60vh;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-page h1 {
    font-size: 42px;
    color: var(--primary-green);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.content-page h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary-green);
}

.content-page h2 {
    font-size: 28px;
    color: var(--dark-gray);
    margin: 30px 0 15px;
}

.content-page p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

/* İletişim Formu */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-gray);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    margin-top: 50px;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 18px;
}

.contact-info-item i {
    color: var(--primary-green);
    font-size: 24px;
    margin-top: 5px;
}

.contact-info-item a {
    transition: color 0.3s;
}

.contact-info-item a:hover {
    color: var(--primary-green);
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
}

.contact-btn.whatsapp-btn {
    background-color: #25D366;
}

.contact-btn.whatsapp-btn:hover {
    background-color: #20ba5a;
}

.map-container {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 40px 20px 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p,
.footer-section a {
    color: #CCCCCC;
    text-decoration: none;
    line-height: 1.8;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.floating-btn.phone {
    background-color: var(--primary-green);
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.floating-btn.whatsapp {
    background-color: #25D366;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
    z-index: 999;
}

.scroll-top.show {
    display: flex;
}

.scroll-top:hover {
    background-color: #008B7A;
    transform: translateY(-5px);
}

/* Responsive Tasarım */
@media (max-width: 1199px) and (min-width: 769px) {
    .hero-section {
        height: 480px;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none; /* Mobilde iletişim bilgilerini gizle, footer'da var */
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 15px 20px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        width: 100%;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1000;
        margin: 0;
        padding: 0;
    }

    .main-nav.mobile-open {
        max-height: 500px;
        padding: 0;
        margin: 0;
    }

    .main-nav .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid var(--light-gray);
        width: 100%;
        display: block;
        margin: 0;
        box-sizing: border-box;
        text-align: left;
    }

    .main-nav .dropdown {
        width: 100%;
    }

    .main-nav .dropdown-toggle {
        padding: 15px 20px;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        display: block !important;
        text-align: left;
        border-bottom: 1px solid var(--light-gray);
        align-items: unset;
        gap: 0;
    }

    .main-nav .dropdown-toggle i {
        margin-left: 5px;
        float: none;
        display: inline;
        vertical-align: middle;
    }

    .main-nav .nav-link:first-child {
        border-top: none;
    }

    .main-nav .nav-link:last-child {
        border-bottom: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--light-gray);
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-menu .dropdown-item {
        padding: 12px 20px 12px 40px;
        margin-left: 0;
    }

    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .hero-section {
        height: 220px; /* Mobilde daha kompakt */
    }

    .hero-slide {
        background-size: contain; /* Mobilde görselin tam sığması için */
        background-position: center;
    }

    .hero-content {
        padding: 15px;
        max-width: 100%;
        position: absolute;
        bottom: 50px;
        left: 0;
        right: 0;
        z-index: 3;
    }

    .hero-content h1 {
        display: none; /* Mobilde başlığı gizle */
    }

    .hero-content p {
        display: none; /* Mobilde açıklama metnini gizle */
    }

    .hero-content {
        padding: 10px;
        bottom: 40px;
    }

    .hero-content .btn-primary {
        padding: 10px 20px;
        font-size: 13px;
        display: inline-block;
        position: relative;
        z-index: 4;
        margin: 0;
    }

    .hero-indicators {
        bottom: 20px;
        z-index: 3;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 20px;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .contact-btn {
        width: 100%;
        min-width: auto;
    }

    .map-container iframe {
        height: 300px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }

    .product-detail-header {
        padding: 40px 15px 25px;
    }

    .product-detail-header h1 {
        font-size: 28px;
    }

    .products-section,
    .product-examples,
    .content-page {
        padding: 40px 15px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-examples-grid {
        grid-template-columns: 1fr;
    }

    .example-card img {
        height: 200px;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .floating-btn.phone {
        bottom: 20px;
        left: 20px;
    }

    .floating-btn.whatsapp {
        bottom: 20px;
        right: 20px;
    }
}

