@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 2rem;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
}

:root {
    --main-color: #fe5b3d;
    --second-color: #ffac38;
    --text-color: #444;
    --gradient: linear-gradient(#fe5b3d, #ffac38);
}

html::-webkit-scrollbar {
    width: 0.5rem;
}

html::-webkit-scrollbar-track {
    background-color: transparent;
}

html::-webkit-scrollbar-thumb {
    background: #57854E;
    border-radius: 5rem;
}

section {
    padding: 50px 100px;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 15px 100px;
}

.logo img 
{
    width: 100px; 
    height: auto;
} 

.navbar {
    display: flex;
}

.navbar li {
    position: relative;
}

.navbar a {
    font-size: 1rem;
    padding: 10px 20px;
    color: var(--text-color);
    font-weight: 500;
}

.navbar a::after {
    content: "";
    width: 0;
    height: 3px;
    background: #636347;
    position: absolute;
    bottom: -4px;
    left: 0;
    transition: 0.5s;
}

.navbar a:hover::after {
    width: 100%;
}

#menu-icon {
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    display: none;
}

.header-btn a {
    padding: 10px 20px;
    color: var(--text-color);
    font-weight: 500;
}

.header-btn .sign-in {
    background: #57854E;
    color: #FFF;
    border-radius: 0.5rem;
}

.header-btn .sign-in:hover {
    background: #636347;
}

.home {
    width: 100%;
    min-height: 100vh;
    position: relative; 
 
    background-color: #FFF;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    display: flex;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);   
    
}
.home-img img
{
    width: 50%;
   float: right;
   margin-left: 100px;
    right: 0;
}
.text h1 {
    font-size: 2.7rem;
    letter-spacing: 2px;
}

.text span {
    color: #57854E;
}

.text p {
    margin: 0 0 1rem 0.5rem;
}

.app-stores {
    padding-top: 30px;
    display: flex;
}

.app-stores img {
    width: 100px;
    margin-right: 1rem;
    cursor: pointer;
}

.heading {
    text-align: center;
}

.heading span {
    font-weight: 500;
    text-transform: uppercase;
}

.heading h1 {
    font-size: 2rem;
}

.ride-container {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit,minmax(250px,auto));
    gap: 1rem;
    margin-top: 2rem;
}
.ride-container .box 
{
    text-align: center;
    padding: 2opx;
}
.ride-container .box .bx 
{
    font-size: 34px;
    padding: 10px;
    background: #eeeff1;
    border-radius: 0.5rem;
    color: #636347;
}
.ride-container .box h2
{
font-size: 1.3rem;
font-weight: 500;
margin: 1.4rem 0 0.5rem;
}
.ride-container .box .bx:hover, .ride-container .box .bx-calendar-star
{
    background: #57854E;
    color: #fff;
}
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    grid-template-rows: repeat(2, auto); 
    gap: 1rem; 
    margin-top: 2rem;
}

.services-container .box {
    padding: 40px;
    border-radius: 1rem;
    box-shadow: 1px 4px 41px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.services-container .box .box-img {
    width: 120%;
    height: 300px;
}

.services-container .box .box-img img {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    object-fit: cover;
    object-position: center; /* Fotoğrafın merkezlenmesi için */
}

.services-container .box p {
    padding: 0 10px;
    border: 1px solid var(--text-color);
    width: 58px;
    border-radius: 0.5rem;
    margin: 1rem 0;
    text-align: center; /* Metni ortalamak için */
}

.services-container .box h3 {
    font-weight: 500;
}

.services-container .box h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #57854E;
    margin: 0.2rem 0 0.5rem;
}

.services-container .box h2 span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--main-color);
}

.services-container .box .btn {
    display: flex;
    justify-content: center;
    background: #636347;
    color: #fff;
    padding: 10px;
    border-radius: 0.5rem;
}

.services-container .box .btn:hover {
    background: #57854E;
}
.about-container 
{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    margin-top: 2rem;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}
.about-img img
{
    width: 100%;
    left: 10px;
}
.about-text span 
{
    font-weight: 500;
    color: #636347;
    text-transform: uppercase;
}

.about-text p 
{
    margin: 1.5rem 0 1rem;
}
.about-text .btn 
{
    padding: 10px 20px;
    background: #444;
    color: #fff;
    border-radius: 0.5rem; 
}
.about-text .btn:hover
{
    background-color: #57854E;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    width: 50%;
    max-width: 400px;
    max-height: 80%;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    position: relative;
    overflow-y: auto;
    display: flex;               /* Flex ile içerik ortalama */
    flex-direction: column;      /* İçeriği dikeyde sıralar */
    align-items: center;         /* Yatayda ortalama */
    justify-content: center;     /* Dikeyde ortalama */
    margin: 20% auto;
}

.modal-content p {
    text-align: center;
}

/* Görseli ortalamak */
#customModalImg {
    width: 100%; /* Görselin genişliğini sınırlayın */
    max-width: 500px; /* Görselin en fazla bu kadar genişlemesine izin verin */
    height: auto;
    margin-bottom: 20px; /* Görselle metin arasına mesafe ekleyin */
}
  


/* Kapatma butonu */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.reviews-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.reviews-boxes {
    display: flex;
    gap: 1rem;
    overflow: hidden; /* Yalnızca bir kutu görünür */
    width: 100%; /* Kutuların genişliği 100% olacak şekilde ayarlandı */
    transition: transform 0.3s ease; /* Kaydırma geçiş efekti */
}

.review-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-shadow: 1px 4px 41px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    width: 100%;
    flex-shrink: 0;
    opacity: 1; /* Başlangıçta kutu görünmez */
    transition: opacity 0.3s ease; /* Geçiş efekti */
}

.review-item img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    z-index: 1;
}

#left-btn {
    left: 10px;
}

#right-btn {
    right: 10px;
}


.newsletter 
{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.newsletter h2 
{
    color: #444;
    font-size: 1.8rem;
}
.newsletter .box 
{
    margin-top: 1rem;
    background: #fff;
    border-radius: 0.5rem;
    padding: 4px 8px;
    width: 350px;
    display: flex;
    justify-content: space-between;
}
.newsletter .box input 
{
    border: none;
    outline: none;
}
.newsletter .box .btn
{
    background: var(--text-color);
    color: #fff;
    padding: 8px 20px;
    border-radius: 0.5rem;
}
.copyright
{
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social a 
{
    color: #444;
    padding: 10px;
    font-size: 21px;
}
@media (max-width:991px)
{
    header 
    {
        padding: 18px 40px;
    }
    section 
    {
        padding: 40px 50px;
    }
}
@media (max-width:8811px)
{
    .home
    {
    background-position: left;
    }
    .form-container form 
    {
        bottom: 0.2rem;
        left: 40px;
    }
    
}
@media (max-width:768px)
{
    header 
    {
        padding: 11px 40px;
    }
    #menu-icon 
    {
        display: initial;
    }
    .sign-in 
    {
        display: none;
    }
    .text h2
    {
        font-size: 2.5rem;
    }
    .home 
    {
        grid-template-columns: 1fr;
    }
    .form-container form 
    {
        position: unset;
    }
    header .navbar 
    {
        position: absolute;
        top: -500px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: #fff;
        box-shadow: 0 4px 4px rgba(0,0,0,0.1);
        transition: 0.2 ease;
        text-align: left;
    }   
    .navbar.active 
    {
        top:100%
    }
    .navbar a 
    {
        padding: 1rem;
        border-left: 2px solid var(--main-color);
        margin: 1rem;
        display: block;
    }
    .navbar a:hover 
    {
        color: #fff;
        background: var(--main-color);
        border: none;
    }
    .navbar a::after 
    {
    display: none;
    }
    .heading span 
    {
        font-size: 0.9rem;
        font-weight: 600;
    }
    .heading h1
    {
        font-size: 1.3rem;
    }
    .about-container
    {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-img 
    {
        padding: 1rem;
        order:2;
    }
}
@media (max-width: 568px)
{
    .copyright
    {
        flex-direction: column;
    }
    .newsletter .box 
    {
        width: 284px;
    }
    .form-container 
    {
        padding-top: 2rem;
    }
}
@media (max-width: 568px)
{
    header 
    {
        padding: 4px 14px;
    }
    .logo img 
    {

    width: 30px;
    }
    section 
    {
        padding: 50px 14px;
    }
    .header-btn .sign-in
    {
        padding: 7px 10px;
        font-size: 14px;
        font-weight: 400;
    }
    .text h1 
    {
        font-size: 2rem;
    }
    .form-container 
    {
        padding-top: 2rem;
    }
    .services-container
    {
        grid-template-columns: repeat(auto-fit,minmax(254px,auto));
    }
}
.about-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    gap: 30px;
  }
  
  .about-img, .about-text {
    flex: 1 1 45%;
    max-width: 700px;
  }
  
  .slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
  }
  
  .slide {
    min-width: 100%;
    background-size: cover;
    background-position: center;
  }
  
  .nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
  }
  
  .nav button {
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
  }
  
  .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #008cba;
    color: white;
    text-decoration: none;
    border-radius: 5px;
  }
  
  .btn:hover {
    background-color: #005f6b;
  }
  
  /* Modal Tasarımı */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
  }
  
  .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 10px;
    width: 80%;
    max-width: 1100px;
    border-radius: 10px;
  }
  
  .close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }

.saying {
 width: 80%;
 padding: 10px;
margin: 30px;
}

