@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     font-family: "Poppins", sans-serif
}
:root{
    /*colors*/
--white-color: #fff;
--dark-color: #252525;
--primary-color: #150056;
--secondary-color: #828282;
--light-pink-color: #faf4f5;
--meduim-gray-color:#ccc;
    /*font size */
--font-size-s: 0.9rem;
--font-size-n: 1rem;
--font-size-m: 1.12rem;
--font-size-l: 1.5rem;
--font-size-xl: 2rem;
--font-size-xxl: 2.3rem;
    /* font weight */
--font-weight-normal: 400;
--font-weight-medium: 500;
--font-weight-semibold: 600;
--font-weight-bold: 700;
    /* border radius */
--border-radius-s: 8px;
--border-radius-m: 30px;
--border-radius-circle: 50%;
   /* site max width*/ 
   --site-max-width: 1300px;


}

html{
    scroll-behavior: smooth;
}



/*styling*/
ul{
    list-style: none;
}


a{
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

img {
    width:100%;
}

.section-content{
    margin: 0 auto;
    padding: 0 20px;
    max-width: var(--site-max-width);
}
.section-title {
    text-align: center;
    padding: 60px 0 100px;
    text-transform: uppercase;
    font-size: var(--font-size-xl);
}

.section-title::after{
    content: "";
    width: 80px;
    height:5px;
    display: block;
    margin: 10px auto 0;
    border-radius: var(--border-radius-s);
    background: var(--secondary-color);
}

/*navbar style*/
header {
    position: fixed;
    width: 100%;
    z-index: 5;
    background: var(--primary-color);
}

header .navbar {
display:flex;
padding: 20px;
align-items: center;
justify-content: space-between;
}


.navbar .nav-logo .logo-text {
    color: var(--white-color);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.navbar .nav-menu {
    display:flex;
    gap: 10px ;
}

.navbar .nav-menu .nav-link {
    padding: 10px 18px;
    color: var(--white-color);
    font-size: var(--font-size-m);
    border-radius: var(--border-radius-m);
    transition: 0.4s ease ;
}

.navbar .nav-menu .nav-link:hover {
 color: var(--primary-color);
  background: var(--secondary-color);
}

.navbar :where(#menu-close-button, #menu-open-button){
    display: none;
}

.hero-section{
    min-height: 100vh;
    background: var(--primary-color);
}

.hero-section  .section-content{
    display: flex;
    align-items: center;
    min-height: 100vh;
    color: var(--white-color);
    justify-content: space-between;
}
.hero-section .hero-details .title {
    font-size: var(--font-size-xl);
    color: var(--secondary-color);
    font-family: "Miniver" , sans-serif;
}
.hero-section .hero-details .subtitle {
    margin-top: 8px;
    max-width: 70%;
    font-size: var(--font-size-l);
    font-weight: var(--font-weight-semibold);
}
.hero-section .hero-details .description{
    max-width: 70%;
    margin: 24px 0 40px;
    font-size: var(--font-size-m)
}
.hero-section .hero-details .buttons{
    display: flex;
    gap: 23px;
}
.hero-section .hero-details .button{
    padding: 10px 26px;
    border: 2px solid transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius-m);
    background: var(--secondary-color);
    font-weight: var(--font-weight-medium);
    transition: 0.4s;
}
.hero-section .hero-details .button:hover{
    color: var(--white-color);
    border-color: var(--white-color);
    background: transparent;
}
.hero-section .hero-image-wrapper{
    max-width: 500px;
    margin-right: 30px;
}
/*hakkında*/
.about-section {
 padding: 120px;
 background: var(--light-pink-color);
}
.about-section .section-content {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}
.about-section .about-image-wrapper .about-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-circle);
} 

.about-section .about-details .section-title {
    padding: 0;
    text-align: center; 
}

.about-section .about-details {
    max-width: 50%;
}

.about-section  .about-details .text {
    line-height: 30px;
    margin: 50px 0 30px;
    text-align: center;
    font-size: var(--font-size-m);
}

.about-section .social-link-list {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.about-section .social-link-list .social-link {
    color: var(--primary-color);
    font-size: var(--font-size-l);
    transition: 0.2s ease;
}
.about-section .social-link-list .social-link:hover{
    color: var(--secondary-color);
}
@media (max-width: 600px) {
    .about-section .about-details .section-title {
        font-size: 20px;           /* daha küçük font */
        padding: 40px 10px 60px;   /* üst-alt ve yan boşlukları optimize et */
        text-align: center;        /* yatayda ortala */
    }

    .section-title::after {
        width: 50px;               /* alt çizgi kısa ve ortalanmış */
        margin: 5px auto 0;
    }
}
/* menü*/
.menu-section{
    color: var(--white-color);
    background: var(--primary-color);
    padding: 50px 0 100px;
}
.menu-section .section-title{
    color: #fff;
}
.menu-section .menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}
.menu-section .menu-list .menu-item .name {
    text-align: center;
    word-wrap: break-word;
}

.menu-section .menu-list .menu-item {
    overflow: hidden; /* köşelerden taşanı gizle */
    border-radius: var(--border-radius-s);
    width: calc(100% / 6 - 32px);
}

.menu-section .menu-list .menu-item .menu-image {
    width: 100%;
    height: 100%;
    display: block; /* tarayıcı boşluk bırakmasın */
    object-fit: cover; /* resim kutuya taşmadan sığsın */
}

.menu-section .menu-list .menu-item .name {
    margin: 12px 0;
    font-size: var(--font-size-l);
    font-weight: var(--font-weight-semibold);
}

.menu-section .urun-section {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
}

/* Modal */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow: auto;
}

/* Modal içindeki resim */
.modal-content {
    display: block;
    position: absolute;      /* relative yerine absolute */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* tam ortala */
    border-radius: 10px;
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90%;
}

/* Kapatma butonu */
.close {
    position: fixed;
    top: 20px;
    right: 35px;
    color: #ffffff;       /* Normalde beyaz */
    font-size: 60px;      /* Büyük boyut */
    font-weight: bold;
    cursor: pointer;
    z-index: 2100;  
    transition: color 0.3s ease; /* Hover geçiş efekti */
}

.close:hover {
    color: #bbb;          /* Hover olunca gri */
}


/* Modal içindeki ok butonları */
.prev, .next {
    position: fixed;       /* sayfanın üstünde sabit */
    top: 50%;
    transform: translateY(-50%); /* tam ortalanma */
    color: white;
    font-size: 50px;
    cursor: pointer;
    z-index: 2100;         /* resmin üstünde */
    user-select: none;
    padding: 10px;
}

.prev {
    left: 10px;            /* ekranın solunda sabit */
}

.next {
    right: 10px;           /* ekranın sağında sabit */
}

.prev:hover, .next:hover, .close:hover {
    color: #bbb;           /* hover efekti */
}

/* arge */
.video-gallery-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.video-gallery-item {
    flex: 1 1 30%;
    max-width: 400px;
}

.video-item {
    width: 100%;
    height: 500px; /* iframe yüksekliği */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


/* Responsive - Tablet ve küçük ekranlar */
@media (max-width: 900px) {
    .video-gallery-item {
        flex: 1 1 45%; /* 2 video yan yana */
    }
}

/* Responsive - Mobil ekranlar */
@media (max-width: 600px) {
    .video-gallery-item {
        flex: 1 1 100%; /* 1 video tam genişlik */
    }
}

/* Galeri bölümü arka plan ve padding */
.video-gallery-section {
    background-color: #f5f5f5; /* Açık gri arka plan */
    padding: 40px 20px;
    border-radius: 15px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

/*galeri*/
.gallery-section {
    padding: 50px 0 100px;
    background-color: #150056;
}
.gallery-section .section-title{
    color: #fff;
}

.gallery-section .gallery-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.gallery-section .gallery-list .gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius-s);
    width: calc(100% / 3 - 32px) ;
}
.gallery-section .gallery-item .gallery-image {
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    transition: 1s ease;
}
.gallery-section .gallery-item:hover .gallery-image{
    transform: scale(1.3);
}

/*iletişim*/
.contact-section {
    padding: 50px 0 100px;
    background: var(--light-pink-color);
    text-align: center; /* metinleri ortalar */
}

.contact-section .section-content {
    display: flex;
    gap: 48px; /* öğeler arasında yatay boşluk */
    align-items: flex-start; /* dikey hizalama */
    justify-content: center; /* yatay ortalama */
    flex-wrap: wrap; /* küçük ekranlarda alt alta gelmesini sağlar */
}

.contact-section .contact-info-list .contact-info {
    margin: 12px 0; /* her yazı arasında dikey boşluk */
}

.contact-section .contact-info-list .contact-info i {
    font-size: var(--font-size-m);
    display: block;
    margin: 0 auto; /* ikonları ortalar */
}

/* Responsive ayar - küçük ekranlarda daha okunaklı */
@media (max-width: 768px) {
    .contact-section .section-content {
        flex-direction: column; /* alt alta sıralama */
        gap: 24px; /* öğeler arasında boşluk küçültüldü */
        align-items: center; /* ortalama */
    }

    .contact-section .contact-info-list .contact-info {
        margin: 8px 0; /* dikey boşluk küçültüldü */
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 30px 15px 50px; /* mobilde daha az padding */
    }
    

    .contact-section .contact-info-list .contact-info {
        margin: 6px 0; /* çok küçük ekranlarda boşluk biraz daha daralır */
    }
}



/*footer*/
.footer-section {
    padding: 20px 0;
    background: var(--dark-color);
}

.footer-section .section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-section :where(.copyright-text, .social-link, .policy-link) {

    color: var(--white-color);
    transition: 0.2s ease;
}

.footer-section .social-link-list{
    display: flex;
    gap: 25px;
}

.footer-section .social-link-list .social-link{
    font-size: var(--font-size-l);
}

.footer-section .social-link-list .social-link:hover, .footer-section .policy-text .policy-link:hover{
    color: var(--secondary-color);
}

.footer-section .policy-text .seperator {
    margin: 0 5px;
    color: var(--white-color);
}

@media screen and (max-width: 1024px) {
.menu-section .menu-list{
    gap: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.menu-section .menu-list .menu-item {
    width: calc(100% / 6 - 60px);
    min-width: 200px;  /* çok küçülmesini engeller */
    box-sizing: border-box; /* padding ve border genişliğe dahil olur */
}
}

@media screen and (max-width: 900px) {
    :root {
        --font-size-m: 1rem;
        --font-size-l: 1.3rem;
        --font-size-xl: 1.5rem;
        --font-size-xxl: 1.8rem;
    }

 body.show-mobile-menu header::before{
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.2);
 }

.navbar :where(#menu-close-button, #menu-open-button) {
    display: block;
    font-size: var(--font-size-l);
}
.navbar #menu-close-button {
    position: absolute;
    right: 30px;
    top: 30px;
}
.navbar #menu-open-button {
    color: var(--white-color);
}

 .navbar .nav-menu {
    display: block;
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    background: var(--white-color) ;
    transition: left 0.2s ease;

 }  
 body.show-mobile-menu .navbar .nav-menu {
 left: 0;
 }


 .navbar .nav-menu .nav-link {
 color: var(--dark-color);
 display: block;
 margin-top: 15px;
 font-size: var(--font-size-l);

 }
.hero-section  .section-content {
    gap: 50px;
    text-align: center;
    padding: 30px 20px 20px;
    flex-direction: column-reverse;
    justify-content: center;
}
.hero-section .hero-details :is(.subtitle, .description), .about-section .about-details, .contact-section .contact-form {
    max-width: 100%;
}

.hero-section.hero-details .buttons {
    justify-content: center;
}

.hero-section .hero-image-wrapper {
    max-width: 270px;
    margin-right: 0;
}
  .menu-section .menu-list {
    gap: 20px;
    justify-content: space-around;
  }
  .menu-section .menu-list .menu-item {
    width: calc(33.333% - 20px); /* 3 öğe yan yana */
    min-width: 0;
  }

.about-section .section-content {
 gap: 70px;
 flex-direction: column;
}
.about-section .about-image-wrapper .about-image {
    width: 100%;
    height: 100%;
    max-width: 250px;
    aspect-ratio: 1;
}


.contact-section .section-content {
    align-items: center;
    flex-direction: column-reverse;
}

}

@media screen and (max-width: 640px) {
  .menu-section .menu-list {
    gap: 15px;
    justify-content: space-around;
  }
  .menu-section .menu-list .menu-item {
    width: calc(50% - 15px); /* 2 öğe yan yana */
  }
.footer-section .section-content{
   flex-direction: column;
   gap: 20px;  
}

}

