*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    
}

body{
    font-family:  sans-serif;
}

.container{
    width: 80%;
    margin: 0 auto;
}

/*-----------------------NAVBAR-----------------------*/

nav{
    width: 100%;
    padding: 20px 150px;
    margin: 0 auto;
    height: 110px;
    display: flex;
    justify-content:space-between;
    align-items: center;
    z-index: 10;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: background-color 0.9s;
    
}

.nav-fixed{
    position: fixed;
    justify-content: space-between;
    width: 100%;
    left: 0;
    right: 0;
    background-color: #484848;
    color: black;  
    box-shadow: none;
}



.nav-fixed {
    color: #000;
}

.nav-left{
    display: flex;
    align-items: center;
    
}

.line-socials{
    margin-right: 20px;
    display: block;
    height: 40px;
    border-left: 2px solid gray;
}

.socials a{
    font-size: 17px;
    margin-right: 15px;
    z-index: 11;
}

.socials a:hover{
    color: #f9b101;
    transition: .5s;
}

.logo-rehberin img{
    width: 170px;
    margin-right: 20px;
    
}

.logo-white{
    display: none;
}    

.nav-elements{
    display: flex;
    list-style-type: none;
}

.nav-elements li{
    margin-left: 30px;
    padding: 10px 12px;
    position: relative;
}
  
.nav-elements li a {
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.5s ease; 
}
  
 
.nav-elements li a:hover {
    color: #f9b101; 
}
  
.nav-elements li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0; 
    width: 0;
    height: 2px;
    background-color: #f9b101;
    transition: width 0.5s ease; 
  }
  
  nav ul li:hover::after {
    width: 100%; 
  }

  .nav-open {
        display: none;
    }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        /* background-color: #101010; */
        background-color: #fff;
    }


  /*-----------------------HEADER-----------------------*/

  .header {
    position: relative;
    height: 100vh;
    color: white;
    
  }
  
  .header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(84, 84, 84, 0.5), rgba(84, 84, 84, 0.5)), 
    url('./images/meeting-group.jpg') center/cover no-repeat;
    filter: brightness(100%);
    z-index: -1;
}

  .header a{
    color: white;
  }

.header-content{
    width: 80%;
    margin: 0 auto;
    display: flex;
    height: 85vh;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-content h1{
    font-size: 55px;
    background: linear-gradient(45deg, #f9b101, #f9e01a, #fbb305);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.header-content p {
    font-size: 30px;
    margin: 40px auto;
    margin-bottom: 60px;
}

.btn-info{
    border: 1px solid #f9b101;
    padding: 15px 20px;
    border-radius: 20px;
    opacity: .9;
    background: linear-gradient(45deg, #f9b101, #f9e01a, #fbb305);
}

.btn-info:hover{
    transition: .2s;
    opacity: .8;
    background: linear-gradient(45deg, #f9b101, #f1e271, #fbb305);

}

/*-----------------------REHBERİN-----------------------*/

.rehberin{
    width: 90%;
    padding: 100px 0;
    color: #666666;
    margin: 0 auto;

}

.rehberin-content{
    text-align: center;
}

.rehberin-content h2{
    font-size: 45px;
    color: #484848;
    position: relative;
    font-weight: 800;
    margin-bottom: 30px;
}

.rehberin-content h2::before{
        position: absolute;
        content: '';
        height: 3px;
        width: 100px;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        background: #dedede;
}

.rehberin-content p{
    font-size: 20px;
    
}

.rehberin-card{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.rehberin-card-left{
    width: 50%;
    position: relative;
    margin-right: 40px;
    height: 100%;
}

.rehberin-card-left img{
    width: 500px;
    margin-top: -100px;
}

.rehberin-card-left-slogan{
    min-width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    font-size: 40px;
    font-weight: 800;
    position: absolute;
    bottom: 0px;
    padding-left: 50px;
    color: white;
    background: linear-gradient(45deg, #f9b101, #f1e271, #fbb305);

}



.rehberin-card-right{
    padding-top: 80px;
    font-size: 20px;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.rehberin-card-right h2,h3{
    color: #fbb305;
    font-size: 25px;
}

.rehberin-card-right ul{
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.rehberin-card-right ul li{
    color: #666666;
}

.readmore{
    font-size: 16px;
    border-radius: 0;
    padding: 5px 10px;
    color: #fbb305;
    text-decoration: underline;
    opacity: .9;

}

/*-----------------------ABOUTUS-----------------------*/

.about-us{
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.about-us-left{
    width: 50%;
}

.about-us-right{
    width: 45%;
}

.about-us-right img{
    width: 100%;
    border-bottom-left-radius: 50%;
    box-shadow: 0 4px 15px rgba(84, 84, 84, 0.5); 
    transition: transform 0.3s ease; 
}

.about-us-right img:hover{
    transform: scale(1.04); 
  }

.about-us h2{
    font-size: 45px;
    color: #484848;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
}


.about-us h2::before{
    position: absolute;
    content: '';
    height: 4px;
    width: 120px;
    bottom: -10px;
    left: 0; 
    background: #dedede;
}

.about-us-left h3{
    font-size: 20px;
    color: #f9b101;
    margin-bottom: 30px;
    font-weight: 100;
}

.about-us p{
    font-size: 20px;
    color: #666666;
    margin-bottom: 20px;
}

.about-us-row{
    display: flex;
    font-size: 30px;
    color: #666666;
    margin-bottom: 20px;
    
}

.about-us-row i{
    margin-right: 20px;
}

/*-----------------------CONTACT-----------------------*/

.contact-footer{
    width: 100%;
    border: 1px solid black;
    margin-top: 130px;
    position: relative;
    color: #fff;
    background-color: #484848;
    padding-top: 50px;
}

.contact{
    text-align: center;
    width: 90%;
    margin: 0 auto;
    box-shadow: 0 1px 0 #f9b101;
    padding-bottom: 50px;
}

.rehberin-text{
    background: linear-gradient(90deg, #f9b101, #ffcc33, #f99e01); 
    background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.contact h2{
    font-size: 50px;
    margin-bottom: 20px;
}

.contact p{
    font-size: 20px;
    margin-bottom: 20px;
}

.contact-btn{
    display: inline-block;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease; 
    background-color: transparent;
    color: #000;
    border: 2px solid #f9b101;
     
}

.contact-btn:hover{
    color: #000; 
    transform: scale(1.05);
    
}

.contact-btn a{
    color: white;
}

/*-----------------------FOOTER-----------------------*/


.footer {
    color: #fff;
    padding-top: 40px;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-logo p {
    margin-top: 10px;
    font-size: 14px;
    color: #ccc;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #ccc;
}

.footer-links ul li a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #f99e01;
}

.footer-social a {
    color: #ccc;
    margin-right: 15px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #f99e01;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #777;
    padding-bottom: 20px;
}

.footer-bottom p {
    margin-top: 20px;
}

.footer-logo img{
    width: 200px;
    margin-top: -100px;
}

.nav-elements.active{
    z-index: 999;
}

/*----------------------MEDİA------------------------*/

@media (max-width: 768px){

    nav{
        width: 100%;
        padding: 20px 50px;
    }

    .nav-elements{
        position: fixed;
        left: -100%;
        top: 6.7rem;
        flex-direction: column;
        background-color: #222;
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow:
            0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-elements.active {
        left: 0;
    }

    .nav-open {
        display: block;
        cursor: pointer;
    }

    .nav-open.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-open.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-open.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .rehberin-card{
        display: block;
        margin-top: 0;
    }

    .rehberin{
        padding-bottom: 50px;
    }

    .rehberin-card-left{
        width: 100%;
    }

    .rehberin-card-left img{
        display: block;
        margin: 0 auto;

    }

    .rehberin-card-left-slogan{
        justify-content: center;
        padding-left: 0;
    }
   
    .about-us{
        display: block;
    }

    .about-us-left{
        width: 100%;
    }

    .about-us-right{
        width: 100%;
    }

    .about-us-right img{
        border-radius: 0;
    }

    .contact h2 {
        font-size: 40px;
    }

    .contact-btn{
        padding: 10px 25px;
        font-size: 1rem;
        margin-top: 10px;
    }

    .contact p{
        font-size: 18px;
    }

    .rehberin-card-left{
        margin-top: -50px;
    }

    .footer-container{
        justify-content: space-around;
    }

}

@media (max-width: 425px){
    nav{
        padding: 10px;
    }

    .header-content{
        width: 100%;
    }

    .header-content-align{
        padding: 0 10px;
    }

    .header-content h1{
        font-size: 40px;
    }

    .header-content p{
        font-size: 20px;
    }

    .btn-info{
        padding: 10px 15px;
        font-size: 14px;
    }

    .rehberin-content h2{
        font-size: 35px;
    }

    .rehberin-card-left{
        margin-top: -50px;
    }

    .rehberin-card-left img{
        width: 100%;
    }

    .rehberin-card-left-slogan{
        font-size: 33px;
    }

    .rehberin-card-right h2,h3{
        font-size: 22px;
        margin-bottom: 10px;
    }

    .rehberin-card-right{
        padding: 40px 5px;
    }
    
    .footer-logo{
        display: none;
    }

    .footer-container{
        gap: 0;
    }

    .footer-social{
        display: none;
    }

    
}