/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #0d0d0d;
    color: #fff;
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden; /* Menü açıkken kaydırmayı engelle */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ff3333;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 50px;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
    object-position: center;
    max-width: 150px;
}
.hamburger {
    display: none; /* Varsayılan olarak gizli */
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.nav {
    position: relative; /* Kapatma butonu için */
}

.close-menu {
    display: none; /* Varsayılan olarak gizli */
    position: fixed; /* Fixed pozisyon ile sağ üstte */
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #ff3333;
    cursor: pointer;
    z-index: 999;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 25px;
}

.nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav ul li a:hover {
    color: #ff3333;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 50px;
    color: #ff3333;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #ff3333;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #cc0000;
}

/* Section */
.section {
    padding: 80px 0;
    text-align: center;
}

.section h2 {
    font-size: 36px;
    color: #ff3333;
    margin-bottom: 40px;
}

/* About Section */
.about-icon {
    font-size: 50px;
    color: #ff3333;
    margin-bottom: 20px;
}

.highlight {
    color: #ff3333;
    font-weight: bold;
}

/* Products Section */
.product-grid {
    display: flex; /* Flexbox ile yan yana sıralama */
    flex-wrap: nowrap; /* Kartlar alta geçmeyecek, yan yana kalacak */
    gap: 30px; /* Kartlar arasında boşluk */
    justify-content: center; /* Kartları ortala */
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 500px; /* Sabit genişlik */
    box-sizing: border-box; /* Padding ve border genişliğe dahil */
    /* Eklenen Flexbox özellikleri */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card .cta-button {
    margin-top: auto;
}
.product-card-img {
    max-width: auto;
    height: auto;
}

.product-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 5px;
    object-fit: contain;
}

.product-logo {
    width: 200px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 20px !important;
    object-fit: contain !important;
    max-width: 200px !important;
}

.product-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
}

.logo-icon {
    font-size: 32px;
}

.logo-brand {
    color: #ff3333;
}

.product-card h3 {
    font-size: 28px;
    color: #ff3333;
    margin-bottom: 15px;
}

.product-card h4 {
    font-size: 22px;
    color: #ff3333;
    margin: 20px 0 10px;
}

.product-card p {
    font-size: 16px;
    margin-bottom: 20px;
}

.product-card ul {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 0 auto 20px;
    padding: 0;
}

.product-card ul li {
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.product-card ul li:before {
    content: "✔";
    color: #ff3333;
    position: absolute;
    left: 0;
}

.product-card blockquote {
    font-style: italic;
    color: #ccc;
    border-left: 3px solid #ff3333;
    padding-left: 15px;
    margin: 20px 0;
    font-size: 16px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 40px;
    color: #ff3333;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    color: #ff3333;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
}

/* Why Choose Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    text-align: center;
}

.feature-card i {
    font-size: 40px;
    color: #ff3333;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    color: #ff3333;
    margin-bottom: 10px;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #222 0%, #1a1a1a 100%);
}

#contact a {
    color: #ff3333;
    text-decoration: none;
}

#contact p {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
}

.social-links a {
    color: #ff3333;
    margin: 0 10px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #cc0000;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: block; /* Mobil cihazlarda hamburger menü görünür */
        -webkit-display: block; /* Safari için ek destek */
    }

    .nav {
        display: none; /* Varsayılan olarak navigasyon gizli */
        position: fixed; /* Fixed pozisyon ile tam ekran */
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; /* Tam ekran yüksekliği */
        background-color: #000;
        padding: 80px 20px 20px; /* Üstten padding ile header’ın altına yerleştir */
        z-index: 998; /* Header’ın altında */
        overflow-y: auto; /* İçerik taşarsa kaydırma çubuğu */
        -webkit-overflow-scrolling: touch; /* iOS için daha iyi kaydırma */
    }

    .nav.active {
        display: flex; /* Hamburger menü açıldığında görünür */
        -webkit-display: flex; /* Safari için ek destek */
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .close-menu {
        display: block; /* Menü açıkken görünür */
        -webkit-display: block; /* Safari için ek destek */
    }

    .nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        width: 100%;
    }

    .nav ul li {
        margin-left: 0;
    }

    .nav ul li a {
        font-size: 24px; /* Daha büyük font boyutu */
        padding: 15px;
        display: block;
        color: #fff;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section h2 {
        font-size: 28px;
    }

    .product-grid {
        flex-direction: column; /* Mobil cihazlarda alt alta */
    }

    .product-card {
        width: 100%; /* Mobil cihazlarda tam genişlik */
    }

    .product-card ul li {
        font-size: 14px;
    }
}

/* Masaüstü görünüm için ek kontrol (Safari dahil) */
@media (min-width: 769px) {
    .hamburger {
        display: none !important; /* Masaüstünde kesinlikle gizli */
        -webkit-display: none !important; /* Safari için ek destek */
    }

    .nav {
        display: flex !important; /* Masaüstünde kesinlikle görünür */
        -webkit-display: flex !important; /* Safari için ek destek */
        position: static;
        background: none;
        padding: 0;
        height: auto;
        overflow: visible;
    }

    .nav ul {
        flex-direction: row;
    }

    .close-menu {
        display: none !important; /* Masaüstünde gizli */
        -webkit-display: none !important; /* Safari için ek destek */
    }
}

/* Safari’ye özgü çözüm (Webkit motoru için) */
@supports (-webkit-touch-callout: none) {
    @media (min-width: 769px) {
        .hamburger {
            display: none !important; /* Safari’de masaüstünde kesinlikle gizli */
        }

        .nav {
            display: flex !important; /* Safari’de masaüstünde kesinlikle görünür */
            position: static;
            background: none;
            padding: 0;
            height: auto;
            overflow: visible;
        }

        .close-menu {
            display: none !important; /* Safari’de masaüstünde gizli */
        }
    }

    @media (max-width: 768px) {
        .nav {
            display: none !important; /* Varsayılan olarak gizli */
            -webkit-display: none !important;
        }

        .nav.active {
            display: flex !important; /* Açıldığında görünür */
            -webkit-display: flex !important;
        }

        .close-menu {
            display: block !important; /* Menü açıkken görünür */
            -webkit-display: block !important;
        }
    }
}

