@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f8f6f2;
    color: #333;
}

header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* NAV SECTION */

/* Genel Navbar Stil */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(255, 255, 255);
    backdrop-filter: blur(25px); /* Daha güçlü blur efekti */
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.2); /* Güçlü bir gölge */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Hafif alt sınır */
}

/* Sayfa kaydırıldığında navbar'ın stili */
nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.25);
}

.logo {
    display: flex;            /* Resim ve metnin yan yana olması için */
    align-items: center;      /* Dikeyde ortalamak */
    gap: 10px;                /* Resim ve yazı arasında boşluk */
  }
  
  /* Logo resmi */
  .logo-image {
    width: 80%;              /* İsteğe göre boyutu ayarlayın */
    height: auto;             /* En-boy oranını korumak için */
  }
  
  /* Renkli metin kısmı */
  .text-logo {
    font-size: 20px;          /* Dikkat çekici boyut */
    font-weight: 800;         /* Kalın yazı */
    text-transform: uppercase;
    letter-spacing: 2px;      /* Harfler arası açıklık */
    transition: transform 0.3s ease; /* Hover vb. animasyon geçişi */
  }
  
  /* Hover efekti */
  .text-logo:hover {
    transform: scale(1.03);
  }
/* Menü Linkleri */
.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

/* Menü öğelerinin stilini güncelle */
.nav-links li {
    position: relative;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Menü öğelerine hover efekti */
.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 10px;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover sırasında yazı rengi değişimi ve animasyon */
.nav-links li a:hover {
    color: #ff7f50;
    transform: translateY(-3px); /* Hover sırasında hafifçe yukarıya kayma efekti */
}

/* Aktif menü öğesi */
.nav-links li a.active {
    color: #ff7f50;
    font-weight: 700;
    text-decoration: underline; /* Aktif menü öğesini altı çizili göster */
}

/* Dropdown Menü */
.dropdown-menu {
    display: none;
    position: absolute;
    background: #fffaf0;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    list-style: none;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

/* Dropdown Menü Hover */
.dropdown-menu li {
    padding: 10px 20px;
}

/* Dropdown Menü Link Hover */
.dropdown-menu li a {
    color: #333;
    transition: color 0.3s ease;
}

.dropdown-menu li a:hover {
    color: #ff7f50;
}

/* Dropdown Menü görünür hale gelirken animasyon */
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Dropdown menüsünü yukarı kaydırarak yavaşça göster */
}

/* Mobil Uyumlu Menü */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #ff7f50;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: rotate(180deg); /* Menü butonuna hover etkisi */
}

/* Mobil Menü */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.9);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 20px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
        animation: slideIn 0.3s ease;
    }

    /* Dropdown Menü Mobilde */
    .dropdown-menu {
        position: relative;
        display: none;
        opacity: 1;
        transform: none;
        visibility: visible;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        transform: none;
    }

    .menu-toggle {
        display: block;
    }
}

/* Mobil Menü Kayma Animasyonu */
@keyframes slideIn {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Sayfa kaydırıldığında navbar'ın stilini değiştirecek JavaScript için sınıf eklemeyi unutma */

/* HERO SECTION */

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url("assets/IMG_1304.JPG") no-repeat center center/cover;
    color: white;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
}

.hero h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background: #ff7f50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #ff5733;
}

/* VİDEO SECTION */

.video-section {
    padding: 60px 50px;
    background: #faf3e0;
    text-align: left;
}

.video-section h2 {
    text-align: center;
    font-size: 30px;
    color: #ff7f50;
    margin-bottom: 20px;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    border: 5px solid #ffdab9;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    width: 100%;
    display: block;
    border-radius: 15px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 50px;
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: 0.3s ease;
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

video {
    display: none;
    width: 100%;
    height: 450px;
    border-radius: 15px;
    border: 5px solid #ffdab9;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 768px) {
    .video-section {
        padding: 40px 20px;
    }

    .video-section h2 {
        font-size: 24px;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }

    video {
        height: auto;
    }
}


/* Aktiviteler SECTION */

.activities {
    padding: 60px 50px;
    background: url(assets/etkinlikbg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: left;
}


.activities h2 {
    font-size: 30px;
    color: #ff7f50;
    margin-bottom: 20px;
    text-align: center;
}

/* İçerik düzeni */
.activities-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Sol taraf: Etkinlik listesi */
.activities-list {
    flex: 1;
}

.activities-list ul {
    list-style: none;
    padding: 0;
}


.activities-list li {
    margin-bottom: 25px;
    
    background-color: #ffffffb2;
    padding: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.activities-list li:hover {
    background-color: #f4f4f4;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.activities-list a {
    text-decoration: none;
    font-size: 18px;
    color: #333;
    transition: color 0.3s ease-in-out;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.activities-list a:hover {
    color: #ff7f50;
}

/* Sağ taraf: Placeholder görsel */
.activities-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.activities-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}

/* Mobil uyumluluk */
@media screen and (max-width: 768px) {
    .activities-container {
        flex-direction: column;
        text-align: center;
    }

    .activities-list, .activities-image {
        text-align: center;
    }
}

/* BRANSLAR SECTION */

.branches {
    padding: 60px 50px;
    background: url("assets/branslarbg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.branches h2 {
    font-size: 30px;
    color: #ff7f50;
    margin-bottom: 20px;
}

/* İçerik düzeni */
.branches-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Sol taraf: Placeholder görsel */
.branches-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.branches-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}

/* Sağ taraf: Branş listesi */
.branches-list {
    flex: 1;
    text-align: left;
}

.branches-list ul {
    list-style: none;
    padding: 0;
}

.branches-list li {
    margin-bottom: 25px;
    padding: 12px;
    background-color: #ffffffb2;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.branches-list li:hover {
    background-color: #f4f4f4;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}
.branches-list a {
    text-decoration: none;
    font-size: 18px;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: left;
    
}

.branches-list a:hover {
    color: #ff7f50;
}

/* Mobil uyumluluk */
@media screen and (max-width: 768px) {
    .branches-container {
        flex-direction: column;
        text-align: center;
    }

    .branches-list, .branches-image {
        text-align: center;
    }

    .branches-list li{
        margin: 25px 0px;
    }
}


.gallery {
    padding: 60px 50px;
    background: #faf3e0;
    text-align: center;
}

.gallery h2 {
    font-size: 30px;
    color: #ff7f50;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* Resim stilini ayarlama */
.gallery-grid img {
    width: 100%; /* Resimlerin genişliği konteynerin tamamını kapsayacak şekilde ayarlanır */
    height: 320px; /* Sabit yükseklik */
    object-fit: cover; /* Resmin orantısını bozmadan, alanı doldurur */
    border-radius: 15px;
    border: 5px solid #ffdab9;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Küçük ekranlar için (tablet ve telefon) düzen */
@media screen and (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 sütunlu düzen */
    }
}

@media screen and (max-width: 568px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* 1 sütunlu düzen */
    }
}

@media screen and (max-width: 380px) {
    .gallery h2 {
        font-size: 24px; /* Başlık fontunu küçültme */
    }
    .gallery {
        padding: 40px 20px; /* Daha dar ekranlarda galeri alanını optimize etme */
    }
}

/* HAKKIMIZDA SECTION */

.about{
    padding: 0px;
    margin: 0px;
    background: #FAF3E0;
}
.about-box {
    justify-content: center;
    display: block;
    background: #FAF3E0;
    width: 90%;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 20px auto ;
}

.about-box h2 {
    text-align: center; 
    font-size: 30px;
    color: #ff7f50;
    padding: 15px;
}


/* Kutu İçin Stil */

/* Hover Efekti */
.about-box:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.about-box p {
    text-align:justify;
    font-size: 18px;
    color: #555;
}
/* FOOTER SECTİON */

footer {
    background: #f5e6cc;
    padding: 40px 50px;
    color: #333;
}

/* Footer içeriğini hizalama */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Başlıkları yukarı hizala */
    flex-wrap: wrap;
    gap: 20px;
    text-align: left;
}

/* Logo hizalama ve boyut */
.footer-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo img {
    width: 150px;
    height: auto;
    border-radius: 10px;
}

/* İletişim ve adres alanları */
.footer-contact, .footer-address {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Başlıkları hizalama */
.footer-contact h3, .footer-address h3 {
    font-size: 22px;
    color: #ff7f50;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    padding-bottom: 5px;
}

/* Başlıkların altına çizgi ekleme */
.footer-contact h3::after, .footer-address h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #ff7f50;
    margin: 5px auto 0;
    border-radius: 2px;
}

/* Metinleri ortala */
.footer-contact p, .footer-address p {
    font-size: 16px;
    margin: 5px 0;
    text-align: center;
}

/* Sosyal medya ikonları */
.social-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Copyright kısmını düzgün hizala */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    padding-top: 10px;
}

/* Mobil uyumluluk */
@media screen and (max-width: 768px) {
    .footer-container {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        order: -1; /* Logoyu en üste al */
    }
}



