/* Genel Stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%; /* Tam genişlik */
    overflow-x: hidden; /* Yatay kaydırmayı gizle */
}

body {
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    padding: 10px 20px;
    color: white;
    position: fixed; /* Navbar sabit hale geliyor */
    top: 0;
    width: 100%; /* Ekranın tamamını kaplaması için */
    z-index: 1000; /* Üstte kalması için */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Gölge efekti */
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo span {
    font-size: 16px;
    font-weight: bold;
    color: white;
}

.navbar-logo:hover span {
    color: #999;
}

.navbar-logo .logo {
    width: 40px;
    height: auto;
    margin-right: 10px;
}

.navbar-links {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-grow: 1;
    margin-right: 100px;
}

.navbar-links li {
    margin-right: 30px;
}

.navbar-links a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: color 0.3s ease;
}

.navbar-links a:hover {
    color: #999;
}

/* Hero Section with Video */
.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    margin-top: 20px;
}


.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(21, 19, 19, 0.873);
    z-index: 1;
    padding-left: 600px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 24px;
}

/* Highlight Sections */
.highlight-section {
    display: flex;
    align-items: center;
    padding: 40px;
    background-color: #f4f4f4;
    max-width: 1200px; /* Genişlik sınırlanıyor */
    margin: 40px auto; /* Ortalanıyor */
}

.highlight-section:nth-child(even) {
    background-color: #fff;
}

.highlight-content {
    flex: 1;
    padding: 20px;
}

.highlight-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.highlight-content p {
    font-size: 18px;
}

.highlight-image {
    flex: 1;
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.highlight-image-small {
    width: 20%; /* Küçültme */
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Purchase Button Section */
.purchase-section {
    text-align: center;
    margin: 40px 0;
    max-width: 1200px; /* Genişlik sınırlanıyor */
    margin: 40px auto; /* Ortalanıyor */
}

.btn-purchase {
    background-color: #098809;
    color: white;
    padding: 15px 30px;
    font-size: 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-purchase:hover {
    background-color: #005bb5;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Three Images Section - Ortalanmış ve Daraltılmış Versiyon */
.three-images-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Esnek grid yapısı */
    gap: 20px;
    margin: 50px auto; /* Ortalanmış görünüm */
    padding: 20px;
    background-color: #f4f4f4;
    max-width: 1200px; /* Genişlik sınırlaması */
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Hafif gölge efekti */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; /* Hover için geçiş efekti */
}

.image-container:hover img {
    transform: scale(1.05); /* Hoverda büyütme efekti */
}

.image-container p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6); /* Yarı saydam arka plan */
    color: white;
    font-size: 16px;
    text-align: center;
    transition: opacity 0.3s ease; /* Hover sırasında yazının görünmesi */
}

.image-container:hover p {
    opacity: 1;
}



.side-image {
    flex: 1;
    text-align: center;
    margin-right: 20px;
}

.side-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.stacked-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stacked-images .image-item {
    text-align: center;
    margin-bottom: 20px;
}

.stacked-images img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.image-item p,
.side-image p {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

.comment-section {
    display: flex;
    justify-content: space-around;
    margin: 50px auto;
    padding: 20px;
    max-width: 1200px;
}

.single-comment {
    max-width: 600px; /* Yorum kutusunun genişliğini daralttık */
    width: 100%;
    font-size: 20px; /* Yorum metni boyutu */
    line-height: 1.5; /* Satır yüksekliği */
    text-align: center; /* Metni ortaladık */
    margin: 0 auto; /* Ortalamak için */
    color: #000000; /* Metin rengi */
}

.single-comment h4 {
    font-size: 22px; /* Alt başlık boyutu */
    margin-top: 15px; /* Üstteki boşluk */
    color: #131313; /* Alt başlık rengi */
}



.highlight-video {
    flex: 1;
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}


/* Hamburger Buton */
.hamburger {
    display: none; /* Varsayılan olarak gizle */
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    position: absolute; /* Pozisyonu kesinleştir */
    right: 10px; /* Sağdan 20 piksel uzaklıkta konumlandır */
    top: 10px; /* Üstten boşluk ver */
    z-index: 1001; /* Üstte kalması için */
}



/* Responsive Tasarım */
@media (max-width: 1200px) {

    .hero-section {
        position: relative; /* Allow absolute positioning for child elements */
        width: 100%;
        height: 50vh; /* Mobile height setting */
        overflow: hidden;
    }
    
    .hero-section img {
        width: 100%; /* Image takes full width */
        height: 100%; /* Image takes full height */
        object-fit: cover; /* Image covers the section */
        display: block; /* Remove bottom space under image */
    }
    
    .hero-content {
        position: absolute; /* Position the text absolutely */
        top: 50%; /* Center vertically */
        left: 50%; /* Center horizontally */
        transform: translate(-50%, -50%); /* Offset the center */
        color: rgb(255, 255, 255); /* Text color */
        text-align: center; /* Center the text */
        z-index: 10; /* Ensure text is on top */
        padding: 20px; /* Optional: add some padding for better visibility */

    }
    
    .hero-content h1 {
        font-size: 2rem; /* Font size for mobile */
    }
    
    .hero-content p {
        font-size: 1.2rem; /* Font size for mobile */
    }

    .navbar-links {
        display: none; /* Varsayılan olarak gizle */
        flex-direction: column; /* Dikey sıralama */
        width: 100%;
        position: absolute;
        background-color: #111; /* Arka plan rengi */
        top: 50px; /* Navbar altına yerleştir */
        left: 0;
        z-index: 999; /* Üstte kalması için */
    }

    .navbar-links.active {
        display: flex; /* Açık olduğunda göster */
    }

    .navbar-links li {
        margin-right: 20px; /* Yatay boşluk kaldırıldı */
        margin-bottom: 10px; /* Dikey boşluk */
    }
    .navbar-links a {
        font-size: 12px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .highlight-content h2 {
        font-size: 28px;
    }

    .highlight-content p {
        font-size: 16px;
    }

    .btn-purchase {
        font-size: 20px;
        padding: 10px 20px;
    }

    .three-images-section,
    .comment-section {
        flex-direction: column; /* Dikey sıralama */
    }

    .side-image,
    .stacked-images {
        margin-right: 0; /* Sağdaki boşluğu kaldır */
        margin-bottom: 20px; /* Aşağıdaki boşluk */
    }

    .highlight-section {
        display: flex;
        flex-direction: column; /* Dikey sıralama */
    }

    .highlight-section:nth-child(even) {
        flex-direction: column-reverse; /* Alternatif sıralama */
    }

    .highlight-image,
    .highlight-video {
        width: 100%; /* Tam genişlik */
        height: auto; /* Orantılı yükseklik */
    }

    .highlight-content {
        text-align: center;
        margin-bottom: 20px; /* Mobilde yazı ile resim arasında boşluk */
    }

    .comment {
        margin: 20px 0; /* Yatay boşluk kaldırıldı */
    }

    .hamburger {
        display: block; /* Sadece mobilde göster */
    }
}

@media (max-width: 768px) {
    .hero {
        background-size: contain; /* Mobilde fotoğrafın boyutunu koru */
        background-position: top;  /* Fotoğrafı biraz daha yukarı konumlandır */
      }

    .hero-section {
        height: 50vh; /* Mobilde yükseklik ayarı */
    }

    .hero-content h1 {
        font-size: 2rem; /* Küçük ekran için yazı boyutu */
    }

    .hero-content p {
        font-size: 1.2rem; /* Küçük ekran için yazı boyutu */
    }
    .navbar-links {
        display: none; /* Varsayılan olarak gizle */
        flex-direction: column; /* Dikey sıralama */
        margin-right: 0;
        width: 100%;
        position: absolute;
        background-color: #111; /* Arka plan rengi */
        top: 50px; /* Navbar altına yerleştir */
        left: 0;
        z-index: 999; /* Üstte kalması için */
    }

    .navbar-links.active {
        display: flex; /* Açık olduğunda göster */
    }

    .navbar-links li {
        margin-right: 0; /* Yatay boşluk kaldırıldı */
        margin-bottom: 10px; /* Dikey boşluk */
    }

    .hero-content h1 {
        font-size: 28px; /* Küçük ekran için yazı boyutu */
    }

    .hero-content p {
        font-size: 18px; /* Küçük ekran için yazı boyutu */
    }

    .highlight-content h2 {
        font-size: 24px;
    }

    .highlight-content p {
        font-size: 14px;
    }

    .highlight-section {
        display: flex;
        flex-direction: column; /* Dikey sıralama */
    }

    .highlight-section:nth-child(even) {
        flex-direction: column-reverse; /* Alternatif sıralama */
    }

    .highlight-image,
    .highlight-video {
        width: 100%; /* Tam genişlik */
        height: auto; /* Orantılı yükseklik */
    }

    .highlight-content {
        text-align: center;
        margin-bottom: 20px; /* Mobilde yazı ile resim arasında boşluk */
    }

    .three-images-section {
        flex-direction: column; /* Dikey sıralama */
        margin: 0; /* Yatay boşluk kaldırıldı */
    }

    .three-images-section img {
        margin-bottom: 20px; /* Alt boşluk */
    }

    .comment-section {
        flex-direction: column; /* Dikey sıralama */
    }
}

@media (max-width: 500px) {

    .hero-section {
        height: 50vh; /* Mobilde yükseklik ayarı */
    }

    .hero-content h1 {
        font-size: 28px; /* Küçük ekran için yazı boyutu */
    }

    .hero-content p {
        font-size: 18px; /* Küçük ekran için yazı boyutu */
    }
    .hero-content h1 {
        font-size: 28px; /* Küçük ekran için yazı boyutu */
    }

    .hero-content p {
        font-size: 18px; /* Küçük ekran için yazı boyutu */
    }

    .btn-purchase {
        font-size: 20px; /* Küçük ekran için buton yazı boyutu */
        padding: 12px 24px; /* Küçük ekran için buton dolgu */
    }
}


/* Yan Menü */
.side-menu {
    position: fixed;
    top: 50px; /* Üstten 50px aşağıda başla */
    left: -290px; /* Başlangıçta gizli (sola kaydır) */
    width: 250px; /* Genişlik */
    height: calc(100% - 50px); /* Yüksekliği 50px üstten ayır */
    background-color: #111; /* Arka plan rengi */
    color: white; /* Yazı rengi */
    padding: 20px; /* İçerik için boşluk */
    transition: left 0.3s ease; /* Geçiş efekti */
    z-index: 999; /* Üstte kalması için */
}


.side-menu.active {
    left: 0; /* Aktif olduğunda sola kaydır */
}

.side-menu ul {
    list-style: none; /* Noktaları gizle */
    padding: 0; /* İçerik boşluğu sıfırla */
}

.side-menu li {
    margin-bottom: 15px; /* Aşağıda boşluk */
}

.side-menu a {
    text-decoration: none; /* Alt çizgi yok */
    color: white; /* Yazı rengi */
    font-size: 18px; /* Yazı boyutu */
}