/* Reset and Global Styles */
body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: black; /* Krem rengi metin */
    display: flex;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    flex-direction: column;
    align-items: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Görüntüleme alanı kadar yüksek yapar */
    justify-content: center;
}


.container {
    max-width: 100%;
    margin: auto;
    padding: 20px;
}


.wrapper {
    flex: 1; /* İçerik alanını esnetir */
    display: flex;
    flex-direction: column;
    width: 99.8%;
}

/* Footer her zaman en altta */
footer {
    background: linear-gradient(135deg, #eac226, #9273e0); 
    color: #110606; 
    display: flex;
    align-items: center;
    justify-content: center; /* Ortala */
    
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    height: 100%;/* Footer'ı en alta iter */
    max-height: 100px;
}
/* Varsayılan harf renkleri */
.char {
    display: inline-block;
    color: rgb(17, 14, 14);
    transition: color 0.3s ease;
}

#card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    justify-items: center;  
    margin-top: 20px;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card {
    position: relative;
    width: 300px;
    height: 350px; /* Kartların sabit yüksekliği */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column; /* İçerikleri dikey olarak hizala */
}

.card:hover {
    transform: scale(1.05);
}

.image {
    height: 60%; /* Görsel alanının boyutu (oran) */
    background-size: cover;
    background-position: center;
    width: 100%;  
    object-fit: cover; /* Görselin taşmasını önler */
}
.wave {
    position: relative;
    background: linear-gradient(135deg, #f0d436, #a33dd6);
    height: 40%; /* Metin alanının yüksekliği */
    clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 100%);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}


.text-section {
    padding: 40px;
    text-align: center;
}

.text-section h2 {
    margin: 0;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Taşan metinlere üç nokta ekler */
}

.text-section p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Taşan metinlere üç nokta ekler */
}


/* Hakkımızda Bölümü */
.about-section {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    width: 90%;
}

.about-title {
    font-size: 2em;
    font-weight: bold;
    color: #020702;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

.about-text {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
    text-align: justify;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .about-title {
        font-size: 1.5em;
    }

    .about-text {
        font-size: 1em;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 1.2em;
    }

    .about-text {
        font-size: 0.9em;
        line-height: 1.4;
    }
}



  /* Hover effect */
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }

  #search-box {
    width: 300px;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
  }

  @media screen and (max-width: 768px) {
    #card-container {
        display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
    }
  }

  @media screen and (max-width: 480px) {
    #card-container {
      grid-template-columns: 1fr;
    }
  }

/* Section Styles */
#home {
    margin: 20px 0;
}

#search-bar {
    width: 100%;
    padding: 10px;
    margin: 20px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#activities {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.activity {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    width: 30%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.activity h3 {
    margin-bottom: 10px;
    color: #333;
}

.activity p {
    color: #666;
}



/* Activities Grid Layout */
#activities {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Her satırda 3 sütun */
    gap: 20px;
    justify-items: center;
}

.activity {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.activity img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.activity:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.activity h3 {
    margin-bottom: 10px;
    color: #0078d7;
}

.activity p {
    color: #666;
}



/* slider */ 

.slider-container {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 700px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 500px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%; /* Tüm genişliği kaplar */
    height: 100%;
    
}

.slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    
}

.slide img {
    width: 100%; /* Görseller tam genişlikte yerleşir */
    height: 100%;
    object-fit: cover;
}

.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.navigation button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.navigation button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* Style the navigation menu */
.topnav {
    overflow: hidden;
    width: 100%;
    background: linear-gradient(135deg, #eac226, #9273e0); 
    color: #110606; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: 130px;
    box-sizing: border-box; 
    position: relative;
    
  }
  
  /* Hide the links inside the navigation menu (except for logo/home) */
  .topnav #myLinks {
    display: flex;
  }
  
  /* Style navigation menu links */
  .topnav a {
   
    display: block;
    font-family: 'Playfair Display', serif;
    text-decoration: none;
    color: #0a0000;
    font-weight: bold;
    font-size: 18px;
    padding: 10px;
    transition: color 0.3s ease;
  }
  
  /* Style the hamburger menu */
  .topnav a.icon {
    
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    display: none;
  }
  
  /* Add a grey background color on mouse-over */
  .topnav a:hover {
    
    color: rgb(243, 241, 241);
  }
  
  /* Style the active link (or home/logo) */
  .active {
    background-color: #04AA6D;
    color: white;
  }

  #logo {
    max-height: 120px;
    border-radius: 8px;
    margin-right: 50px;
    padding: 5px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);*/
}


@media (max-width: 768px)
{
    .topnav a.icon {
    
        display: block;
        position: absolute;
        right: 0;
        top: 0;  
        display: none;    
      }

      .topnav a {
       display: flex;
        font-size: 15px;
      }

      #logo{
        width: 130px;
        margin-right: 10px;
        padding: 0px;
      }
      
}



@media (max-width: 480px)
{
    .topnav a.icon {
    
        display: block;
        position: absolute;
        right: 0;
        top: 0;  
        display: none;    
      }

      .topnav a {
       display: flex;
        font-size: 13px;
      }

      #logo{
        width: 100px;
        
      }
      
}


#about {
    margin:20px;
    width:1000px;
}

#events{
    margin:20px;
}

#home1{
    margin: 20px;
}

#insta {
    max-height: 50px;
    max-width: 50px;
    height: auto;
    width: auto;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);*/
}


.quote-container {
    text-align: center;
    max-width: 600px;
    padding: 40px;
    padding-top: 80px;
    color: #705945;
}

.quote-container .quote {
    font-size: 1.5em;
    line-height: 1.6;
    position: relative;
}

.quote-container .quote::before {
    content: "\201C"; /* Large opening quotation mark */
    font-size: 3em;
    color: #a7896d;
    position: absolute;
    top: -20px;
    left: -20px;
}

.quote-container .quote::after {
    content: "\201D"; /* Large closing quotation mark */
    font-size: 3em;
    color: #a7896d;
    position: absolute;
    bottom: -20px;
    right: -20px;
}

.quote-container .author {
    margin-top: 20px;
    font-size: 1em;
    font-style: italic;
}



