/* 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: #FFFACD; /* Krem rengi metin */
    display: flex;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    flex-direction: column;
    align-items: 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;
}

/* Header Styles */




/* Mobil uyumluluk */
@media screen and (max-width: 768px) {
    .home-section {
        flex-direction: column; /* Kartları dikey hizala */
        gap: 15px; /* Kartlar arasındaki boşluk */
        align-items: center; /* Kartları merkezle */
    }

    .card {
        width: 90%; /* Kartları ekran genişliğine göre küçült */
        height: auto; /* Yüksekliği içerikle uyumlu hale getir */
    }

    .image {
        height: 200px; /* Görselin yüksekliğini düzenle */
    }
}

@media screen and (max-width: 480px) {
    .home-section {
        gap: 10px; /* Daha küçük cihazlarda boşluğu azalt */
    }

    .card {
        width: 100%; /* Kartları tam genişlik yap */
        margin: 0 auto; /* Kartları yatayda merkezle */
    }

    .image {
        height: 150px; /* Görselin yüksekliğini daha da küçült */
    }

    .text-section h3 {
        font-size: 1.2rem; /* Başlık boyutunu küçült */
    }

    .text-section p {
        font-size: 0.9rem; /* Açıklama metnini küçült */
    }
}






#logo {
    max-height: 120px;
    border-radius: 8px;
    margin-right: 50px;
    padding: 5px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);*/
}


/*CARD */ 
#card-container {
    display: flex; /* Flexbox düzenini etkinleştir */
    justify-content: center; /* Kartları yatayda ortala */
    align-items: center; /* Kartları dikeyde ortala */
    height: 100vh; /* Tüm ekran yüksekliğini kapla */
    /* Arka plan rengini ayarla */
    margin:40px;
  }

  .card {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f0d436, #a33dd6);
  }

  .image {
    width: 100%;
    height: 60%;
    background-size: cover;
    background-position: center;
  }

  .wave {
    position: relative;
    background-color: #f67280;
    height: 40%;
    clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 100%);
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .text-section {
    height: auto;
    position: absolute;
    bottom: 0;
    padding: 10px;
    color: white;
    text-align: center;
    width: 100%;
    
  }

  .text-section h2 {
    margin: 0;
    font-size: 1.5rem;
  }

  .text-section p {
    margin: 5px 0 0;
    font-size: 1rem;
  }

  /* 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 {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media screen and (max-width: 480px) {
    #card-container {
      grid-template-columns: 1fr;
    }
  }

/* Section Styles */
#home {
    margin: 20px 0;
    
}

.home-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;  /* Ensures spacing between the cards */
    gap: 20px;  /* Controls the space between the cards */
}

#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;
}

/* Card Styles */
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.image {
    width: 100%;
    height: 60%;
    background-size: cover;
    background-position: center;
    
}
h2 {
    color: black;  /* Changes the text color to black */
}
.text-section {
    padding: 10px;
    text-align: center;
}

.text-section h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.text-section p {
    font-size: 1em;
}

/* Media Query for smaller screens */
@media screen and (max-width: 768px) {
    .category {
        width: 100%;  /* Stack the cards in single column */
    }
}

/* Hover Effect for Cards */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}



/* 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;
}


/* 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;
}

#events{
    margin:20px;
}