/* CSS Variables */
:root {
    --primary-color: #003d8f;
    --primary-dark: #002a66;
    --accent-color: #25D366;
    --accent-dark: #128C7E;
    --text-color: #666;
    --text-dark: #333;
    --white: #fff;
    --background-light: #f8f9fa;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --overlay-light: rgba(255, 255, 255, 0.85);
    --overlay-dark: rgba(0, 0, 0, 0.5);
    
    /* Spacing */
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 30px;
}

/* Genel Stiller */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Arial', sans-serif;
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/denizmanzarakullan.webp');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Banner/Slider Stili */
.banner-container {
    width: 100%;
    max-width: 1400px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #000;
    height: 70vh;
    min-height: 400px;
    max-height: 800px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
    height: 100%;
    flex-shrink: 0;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 100px 20px 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    text-align: center;
    z-index: 2;
}

.slide-content h2 {
    margin: 0;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    font-weight: 600;
    letter-spacing: 1px;
    color: white;
}

/* Slider Kontrolleri */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 20px;
    border: none;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.banner-container:hover .slider-button {
    opacity: 1;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .banner-container {
        height: 60vh;
        min-height: 350px;
    }
    
    .slide-content h2 {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .banner-container {
        height: 50vh;
        min-height: 300px;
        margin: 20px auto;
    }

    .slide-content h2 {
        font-size: 1.8em;
    }

    .slider-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .banner-container {
        height: 40vh;
        min-height: 250px;
        margin: 15px auto;
    }

    .slide-content h2 {
        font-size: 1.5em;
    }

    .slider-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Özellikler Bölümü */
.features-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 50px 20px;
    background: #f8f9fa;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3em;
    color: #003d8f;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Galeri Bölümü */
.gallery-section {
    padding: 50px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Responsive Galeri */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .gallery-item {
        height: 200px;
    }

    .gallery-caption {
        padding: 15px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        height: 180px;
    }
}

/* Galeri Başlıkları */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 15px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5em;
    }

    .feature-card {
        min-width: 100%;
    }

    .gallery-item {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2em;
    }
}

/* Tüm sayfa için margin ve padding sıfırlama */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}
body {
    background-image: url('images/denizmanzarakullan.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
}

/* Arka planın üzerine eklenmiş opaklık katmanı */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);  /* Beyaz opaklık (0.5 opaklık) */
    z-index: -1;  /* Opaklık katmanının, içeriklerin arkasında olmasını sağlar */
}

/* Banner alanını ortalamak ve boyutunu ayarlamak */
.banner-container {
    width: 90%;                /* Genişliği ekranın %90'ı kadar yap */
    max-width: 2000px;          /* Maksimum genişliği 800px yap */
    aspect-ratio:5 / 2;       /* Kare oranı, yüksekliği genişlikle eşit yapar */
    position: relative;        /* Pozisyonlama için */
    overflow: hidden;          /* Taşan resimleri gizler */
    margin: 100px auto;        /* Sayfanın ortasında yer alacak şekilde hizalama */
    margin-top: 50px;           /* Üst boşluğu 50px yaparak yukarı kaydır */
    margin-bottom: 100px;       /* Alt boşluğu 100px olarak bırak */
    
}

/* Slider içindeki her bir slayt */
.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 2s ease-in-out;
}

/* Slaytlar kare olacak şekilde */
.slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

/* Her bir görseli kutuya sığdırmak */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;         /* Görselleri tam oturtacak şekilde keser */
}
.specific-image { /*balık masasının yuvarlak içersinde görünmesini sağladık*/
    width: 200px;
    height: 200px;
    border-radius: 50%;  /* Görseli yuvarlak hale getirir */
    object-fit: cover;   /* Görselin alanı tamamen kaplamasını sağlar */
    object-position: bottom; /* Görseli alt kısma hizalar */
}
/* Ekran boyutu küçüldüğünde slider boyutunu ayarla */
@media (max-width: 768px) {
    .banner-container {
        height: 250px;  /* Mobilde slider yüksekliği küçültülür */
        margin-bottom: 40px; /* Banner ile sonraki içerik arasında boşluk */
    }
    .slide img {
        object-fit: cover;  /* Görseller mobilde de tam kapsayacak şekilde */
    }
}

/* Görselin yuvarlak olmasını ve boyutunu ayarlıyoruz */
.zoom-image {
    width: 200px;   /* Görselin genişliği */
    height: 200px;  /* Görselin yüksekliği */
    border-radius: 50%;  /* Yuvarlak yapmak için */
    object-fit: cover;   /* Görselin alanı tamamen kaplamasını sağlar */
    transition: transform 0.3s ease-in-out; /* Geçiş efekti */
}

/* Hover efekti ile görseli yakınlaştırıyoruz */
.zoom-image:hover {
    transform: scale(2);  /* Görseli %150 oranında yakınlaştır */
}


/* Sekmeler */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 50px;
    justify-content: center;  /* Sekmeleri ortalamak */
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #003d8f;
    border-radius: 5px;
}

.header-image img {
    width: 40%;       /* Görselin genişliği %100 */
    height: auto;      /* Yüksekliği orantılı tut */
    display: block;    /* Altında boşluk bırakmamak için */
}


/* Yeni Görsel ve Açıklama Bölümü */
.image-description-section {
    display: flex;
    padding-top: 100px; /* İçerik ile üst kısım arasına boşluk */
    flex-wrap: wrap; /* Satır dolunca yeni satır oluşturur */
    justify-content: space-between; /* Resimler arasında boşluk bırakır */
    gap: 20px; /* Elemanlar arasına boşluk ekler */
}

.image-item {
    flex: 0 0 calc(33.333% - 20px); /* Genişliği %33 olarak sınırla */
    max-width: calc(33.333% - 20px); /* Maksimum genişliği %33 yap */
    box-sizing: border-box; /* Padding ve border'ı genişliğe dahil et */
    margin-bottom: 40px; /* Alt satır ile üst satır arasına boşluk */
    text-align: center; /* Yazıyı ortala */

}

.rounded-image {
    width: 200px;  /* Görselin genişliği */
    height: 200px; /* Görselin yüksekliği */
    border-radius: 50%;  /* Görselleri yuvarlak hale getirir */
    object-fit: cover;  /* Görsellerin alanı doldurmasını sağlar */
    margin-bottom: 10px;  /* Görsel ile açıklama arasına boşluk */
}

/* Açıklama metni */
.image-item p {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

/* Ortadaki tanıtım yazısı için geniş kutu stili */
.intro-text {
    background-color: rgba(255, 255, 255, 0.8); /* Hafif beyaz arka plan */
    padding: 40px 60px;                         /* Yatayda geniş padding */
    margin: 0;                                   /* Sayfa kenarına yapışsın */
    width: 100%;                                /* Tüm genişliği kaplasın */
    border-radius: 0;                           /* Köşeleri düzleştir */
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05); /* Hafif iç gölge */
    font-family: Arial, sans-serif;
    text-align: center;
    margin-top: 20px;           /* Üst boşluğu 50px yaparak yukarı kaydır */
    margin-bottom: -20px;           /* Üst boşluğu 50px yaparak yukarı kaydır */
}

.intro-text h2 {
    font-size: 32px;
    color: #003d8f;
    margin-bottom: 20px;
    font-weight: bold;
}

.intro-text p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

.intro-text a {
    color: #003d8f;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.intro-text a:hover {
    color: #0056c7;
    text-decoration: underline;
}

  
    

