/* Reset and Global Styles */
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
/* Form css*/
#feedback-page{
    text-align:center;
    }
     
    #form-main{
    width:100%;
    float:left;
    padding-top:0px;
   
    }
     
    #form-div {
    background-color:rgba(72,72,72,0.4);
    padding-left:35px;
    padding-right:35px;
    padding-top:35px;
    padding-bottom:50px;
    width: 450px;
    float: left;
    left: 50%;
    position: absolute;
   
    margin-left: -260px;
    }
     
    .feedback-input {
    color:#3c3c3c;
    font-family: Helvetica, Arial, sans-serif;
    font-weight:500;
    font-size: 18px;
    border-radius: 0;
    line-height: 22px;
    background-color: #fbfbfb;
    padding: 13px 13px 13px 54px;
    margin-bottom: 10px;
    width:100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    border: 3px solid rgba(0,0,0,0);
    }
     
    .feedback-input:focus{
    background: #fff;
    box-shadow: 0;
    border: 3px solid #3498db;
    color: #3498db;
    outline: none;
    padding: 13px 13px 13px 54px;
    }
     
    .focused{
    color:#30aed6;
    border:#30aed6 solid 3px;
    }
     
    /* Icons ---------------------------------- */
    #name{
    background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
    background-size: 30px 30px;
    background-position: 11px 8px;
    background-repeat: no-repeat;
    }
     
    #name:focus{
    background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
    background-size: 30px 30px;
    background-position: 8px 5px;
    background-position: 11px 8px;
    background-repeat: no-repeat;
    }
     
    #email{
    background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
    background-size: 30px 30px;
    background-position: 11px 8px;
    background-repeat: no-repeat;
    }
     
    #email:focus{
    background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
    background-size: 30px 30px;
    background-position: 11px 8px;
    background-repeat: no-repeat;
    }
     
    #comment{
    background-image: url(http://rexkirby.com/kirbyandson/images/comment.svg);
    background-size: 30px 30px;
    background-position: 11px 8px;
    background-repeat: no-repeat;
    }
     
    textarea {
    width: 100%;
    height: 150px;
    line-height: 150%;
    resize:vertical;
    }
     
    input:hover, textarea:hover,
    input:focus, textarea:focus {
    background-color:white;
    }
     
    #button-blue{
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    float:left;
    width: 100%;
    border: #fbfbfb solid 4px;
    cursor:pointer;
    background-color:#56ddd7; 
    color:white;
    font-size:24px;
    padding-top:22px;
    padding-bottom:22px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    margin-top:-4px;
    font-weight:700;
    }
     
    #button-blue:hover{
    background-color: rgba(0,0,0,0);
    color: #0493bd;
    }
     
    .submit:hover {
    color: #3498db;
    }
     
    .ease {
    width: 0px;
    height: 74px;
    background-color: #fbfbfb;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    -o-transition: .3s ease;
    -ms-transition: .3s ease;
    transition: .3s ease;
    }
     
    .submit:hover .ease{
    width:100%;
    background-color:white;
    }
     
    @media only screen and (max-width: 580px) {
    #form-div{
    left: 3%;
    margin-right: 3%;
    width: 88%;
    margin-left: 0;
    padding-left: 3%;
    padding-right: 3%;
    position: relative;
    flex-wrap: wrap;
    }

 }


body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    
    /* Gradient'in daha göz alıcı olması için */
    background-attachment: fixed; /* Scroll yapıldığında sabit durur */
    background-repeat: no-repeat; /* Tekrarlanmaz */
    background-size: cover; /* Alanı tamamen kaplar */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: #FFFACD; /* 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 */
}

.container {
  max-width: 100%;
  margin: auto;
  padding: 20px;
}




.wrapper {
    flex: 1; /* İçerik alanını esnetir */
    display: flex;
    flex-direction: column;
    width: 99.8%;
}



#logo {
    max-height: 120px;
    border-radius: 8px;
    margin-right: 50px;
    padding: 5px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);*/
}


#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-color: #df841d;
    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: 20px;
    text-align: center;
}

.text-section h2 {
    margin: 0;
    font-size: 1.3rem;
    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 */
}


  /* 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;
}

#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;
}

/* Footer Styles */
footer {
  max-height: 100px;
  background: linear-gradient(135deg, #eac226, #9273e0); 
    color: #110606; 
    display: flex;
    align-items: center;
    justify-content: space-between;
  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    box-sizing: border-box; 
    height: 100%px;
    left: 0;
    bottom: 0;
    color: rgb(20, 20, 20);  /* Text color */
    text-align: center;  /* Center the text */
    padding: 10px 0;  /* Adjust padding as needed */
    margin-top: 40px;
}

/* 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;
        
        
      }
      
}