@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+SC:ital,wght@0,100..900;1,100..900&display=swap');




*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Alumni Sans SC", sans-serif;

}

:root{
    --accent: #5d50fa;
    --black: #131313;
    --gray: #f9f9f9;
    --blue-gray: #f7f7fb;


}

html{
    scroll-behavior: smooth;
}

body{
    min-height: 100vh;
}

section{

    min-width: 100%;
    min-height: 100vh;
    color: var(--black);
}
nav a {
    position: relative;
    color: white;
    text-decoration: none;
  }
  
  nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: blue;
    transition: 0.4s;
  }
  
  nav a:hover::after {
    width: 100%;
  }
  
nav{
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--black);
    background-color: white;
    padding: 30px 50px;
    transition: all 0.1s ease-out;
    filter: drop-shadow( 5px 5px 10px transparent);

}



nav.sticky{
    background-color: white;
    filter: drop-shadow( 5px 5px 10px rgba(194, 184, 255, 0.5));


}

.brand{
    text-decoration: none;

    transition: all ease-in-out 0.3s;
    color: var(--black);
}


.brand h1{
    font-size: 32px;
    font-weight: bold;
}

.accent{
    color: var(--accent);

}

.brand:hover{
    opacity: 0.8;
}

.menu{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 42px;

}

.menu a{
    display: inline-block;
    position: relative;
    color: var(--black);
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
}

.menu a::after{
    color: var(--accent);
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    border-radius: 5px;
    height: 0.1en;
    bottom: 0;
    left: 0;
    background: currentColor;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;

}

.menu a:hover::after{
   transform: scaleX(1);
   transform-origin: bottom left;


}
.btn{
    color: white;
    font-size: 25px;
    cursor: pointer;
    display: none;
    
}

.btn-2{
    width: 160px;
    height: 50px;
    font-size: 20px;
    background-color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 12px;
    color: white;
    transition: all ease-in-out 0.2s;
    cursor: pointer;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.2));

  
}

.btn-2:hover{

    background-color: var(--black);
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.5));
}
.hero-page{
    margin-top: 200px;
    display: flex;
    padding: 0px 50px;
    justify-content: space-between;
    overflow: hidden;

}


.hero-headlines{
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 625px;


}

.hero-headlines h1{
    font-size: 48px;
    font-weight: bold;

}


.hero-headlines p{
    font-size: 20px;

}

.btn-hero{
    width: 276px;
    height: 62px;
    font-size: 24px;

}

.download-buttons{
    display: flex;
    gap: 18px;
    margin-top: 24px;

}

.download-buttons img{
    transition: 0.3s ease-out all;

}

.download-buttons img:hover{
    opacity: 0.8;
    cursor: pointer;



}

.hero-page-img{
    max-width: 100%;
    height: auto;

}


.about{
    display: flex;
    flex-direction: column;
    color: white;
    margin-top: 110px;
}

.about-container{
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;

    background-image: url("img/about_img.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 540px;

}

.about-container h1  {
     font-size: 40px;
     font-weight: bold;
     width: 494px;
     text-align: center;
     margin-top: 67px;

}

.about-subline {
    font-size: 24px;
    width: 822px;
    text-align: center;
    opacity: 0.7;

}

.about-info{
    display: flex;
    position: absolute;
    top: 300px;
    gap: 50px;
    flex-wrap: wrap;

}

.about-info-item{

    display: flex;
    flex-direction: column;
    background-color: white;
    color: var(--black);
    padding: 0px 35px 47px 17px;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.2));
    width: 380px;
    height: 414px;
    transition: all ease-out 0.3s;

}

.about-info-item:hover{
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.4));
    
}

.about-hr{
    width: 100%;
    position: absolute;
    border: 16px solid var(--accent);
    color: var(--accent);
    left: 0px;
}

.about-info-item img{
    width: 178px;
    height: 178px;
    margin-top: 45px;

}

.about-info-item h5{
       font-size: 32px;

}

.about-info-item p{
    font-size: 16px;
       margin-top: 8px;
}


.collection{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;


}

.collection h1{


    font-size: 64px;
    font-weight: bold;

}

.collection-container{
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 50px;
    justify-content: center;

}

.collection-car-item{
    width: 430px;
    height: 500px;
    background-color: var(--gray);
    flex-direction: column;
    border-radius: 32px;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.15));
    transition: all 0.3s ease-out;
}


.collection-car-item:hover{
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.25));   

}

.collection-car-item img{
    border-radius: 32px;


}


.car-info, 
.car-price, 
.car-location{

    display: flex;

}

.car-info{
    justify-content: space-between;
    align-items: center;

}

.car-price{
    gap: 4px;
    align-items: center;

}
.car-price h5{
    font-size: 24px;

}

.car-price h6{
    font-size: 20px;
    opacity: 0.6;

}

.car-location{
    gap: 8px;
    align-items: center;
    opacity: 0.3;

}


.car-location i{
    font-size: 20px;

}
.car-location h6{
    font-size: 20px;

}

.car-info-container h2{
    font-size: 32px;
    margin-bottom: 33px;
    margin-top: 5px;



}

.btn-car{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 32px;
    width: 172px;
    height: 50px;
    font-size: 16px;


}

.btn-car i {
    font-size: 16px;

}

.btn-car:hover{
    gap: 8px;

}
.btn-herocar{
     width: 276px;
     height: 60px;
     border-radius: 0px;
     font-size: 24px;
     background-color: var(--black);
     color: whitesmoke;
     margin-top: 32px;
     transition: all 0.3s ease-out;
    
}

.btn-herocar i {
        font-size: 24px;

}

.btn-herocar:hover{
    background-color: white;
    color: var(--black);

}

.car-info-container{
    padding: 20px 30px 30px 30px;
}


.review {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.review h1 {
    font-size: 48px;
    font-weight: bold;
}

.review-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 40px;
    max-width: 1200px;
    width: 100%;
}

.review-item {
    background: #fff;
    width: 350px;
    min-height: 240px;
    border-radius: 24px;
    border: 1px solid var(--blue-gray);
    padding: 30px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-item:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.review-item p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.review-people {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-people img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.review-people h5 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.footer {
    background-color: #111;
    color: #eee;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
  }
  
  .footer-container > div {
    flex: 1 1 200px;
  }
  
  .footer h3, .footer h4 {
    color: #fff;
    margin-bottom: 15px;
  }
  
  .footer ul {
    list-style: none;
    padding: 0;
  }
  
  .footer ul li {
    margin: 8px 0;
  }
  
  .footer ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer ul li a:hover {
    color: #fff;
  }
  
  .footer-contact p,
  .footer-about p {
    color: #ccc;
    font-size: 14px;
  }
  
  .footer-social a {
    color: #ccc;
    margin-right: 10px;
    font-size: 18px;
    transition: color 0.3s;
  }
  
  .footer-social a:hover {
    color: #fff;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 14px;
    color: #777;
  }


  #collection-page{
    margin-top: 90px;
    margin-bottom: 150px;

  }

  #collection-category{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0px 50px;
    margin-top: 100px;

  }

  .collection-category h1{
    font-size: 48px;

  }
  .collection-category h2{
    font-weight: 500;

  }

  #collection-page-img{
    margin: 18px;

  }

  .btn-collection-page{
    width: 100%;
    border-radius: 12px;
    font-size: 20px;

  }

  .contact-section {
    width: 100%;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 1rem;
  }
  
  .contact-intro > * + * {
    margin-top: 1rem;
  }
  
  .contact-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
  }
  
  .contact-description {
    color: rgb(107 114 128);
  }
  
  .form-group-container {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
  }
  
  .form-label {
    margin-bottom: 0.5rem;
  }
  
  .form-input,
  .form-textarea {
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    display: flex;
    height: 2.5rem;
    width: 100%;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  
  .form-input::placeholder,
  .form-textarea:focus-visible {
    color: #6b7280;
  }
  
  .form-input:focus-visible,
  .form-textarea:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
  }
  
  .form-textarea {
    min-height: 120px;
  }
  
  .form-submit {
    width: 100%;
    margin-top: 1.2rem;
    background-color: #3124ca;
    color: #fff;
    padding: 13px 5px;
    border-radius: 0.375rem;
  }


  
  .contact{
    margin-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("img/contact-img.png");
    background-size: cover;

  }
  
  .contact h1{
    font-size: 48px;
    font-weight: bold;

  }
 
.contact p{
    font-size: 24px;
    width: 708px;
    text-align: center;

}

.car-select{
    background-color: rgb(141, 141, 140);
    width: 90vw;
    height: 153px;
    border-radius: 32px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 72px;

}


.car-select-item{
    display: flex;
    flex-direction: column;

}
.car-select-item label{
    font-size: 24px;


}

.car-select-input{
    width: 276px;
    height: 45px;
    border-radius: 32px;
    padding: 10px;
    font-size: 16px;

}



.contact-form{
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 50px;

}

.contact-form input{
    height: 60px;
    border: none;
    border-bottom: 1px solid var(--black);
    font-size: 32px;
    color: var(--accent);
    font-weight: 600;
    background-color: transparent;
    outline: none;

}

.contact-form button{
    width: 260px;
    height: 50px;
    border-radius: 0px;

}

.contact-footer{
    margin-top: 300px;

}   

/* Default Styles for Desktop (Laptop) View */
@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+SC:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Alumni Sans SC", sans-serif;
}

:root{
    --accent: #5d50fa;
    --black: #131313;
    --gray: #f9f9f9;
    --blue-gray: #f7f7fb;
}

html{
    scroll-behavior: smooth;
}

body{
    min-height: 100vh;
}

section{
    min-width: 100%;
    min-height: 100vh;
    color: var(--black);
}

/* ----------------- TABLET VIEW ----------------- */
@media (max-width: 1024px) {
  nav {
    padding: 20px 30px;
  }

  .hero-page {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
  }

  .hero-headlines {
    width: 100%;
    align-items: center;
  }

  .hero-headlines h1 {
    font-size: 36px;
  }

  .download-buttons {
    justify-content: center;
  }

  .about-container {
    height: auto;
    padding-bottom: 50px;
  }

  .about-container h1 {
    font-size: 32px;
    width: 90%;
  }

  .about-subline {
    width: 90%;
  }

  .about-info {
    position: static;
    justify-content: center;
  }

  .collection h1 {
    font-size: 48px;
  }

  .collection-car-item {
    width: 90%;
    height: auto;
  }

  .contact h1 {
    font-size: 36px;
    text-align: center;
    padding: 0 20px;
  }

  .contact p {
    width: 90%;
  }

  .car-select {
    flex-direction: column;
    height: auto;
    gap: 20px;
    padding: 20px 0;
  }

  .contact-form input {
    font-size: 24px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }
}


/* ----------------- MOBILE VIEW ----------------- */
/* -------------------- MOBILE VIEW -------------------- */
@media (max-width: 600px) {
  /* Set light background everywhere */
  body,
  nav,
  .hero-page,
  .collection,
  .about,
  .contact,
  footer,
  .review {
    background-color: white;
  }

  nav {
    flex-wrap: wrap;
    padding: 15px 20px;
  }

  .brand h1 {
    font-size: 24px;
  }

  .btn-2 {
    font-size: 16px;
    width: 120px;
    height: 40px;
  }

  .menu {
    display: none;
  }

  .menu.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
  }

  .btn {
    display: block;
  }

  /* HERO SECTION */
  .hero-page {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
  }

  .hero-headlines {
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .hero-headlines h1 {
    font-size: 28px;
  }

  .hero-headlines p {
    font-size: 16px;
  }

  .btn-hero {
    width: 100%;
    font-size: 18px;
    height: 50px;
  }

  .download-buttons {
    justify-content: center;
  }

  .download-buttons img {
    width: 120px;
  }

  .hero-page-img {
    width: 100%;
    max-width: 350px;
  }

  /* ABOUT SECTION */
  .about-container h1 {
    font-size: 24px;
    width: 90%;
    text-align: center;
  }

  .about-info {
    position: static;
    flex-direction: column;
    align-items: center;
  }

  .about-info-item {
    width: 90%;
    padding: 20px;
    height: auto;
    margin-bottom: 20px;
  }

  /* COLLECTION */
  .collection h1 {
    font-size: 32px;
  }

  .collection-car-item {
    width: 95%;
    height: auto;
  }

  .car-info-container h2 {
    font-size: 20px;
  }

  /* CONTACT */
  .contact h1 {
    font-size: 28px;
    text-align: center;
  }

  .contact p {
    width: 90%;
    font-size: 16px;
  }

  .car-select {
    flex-direction: column;
    height: auto;
    padding: 20px;
    gap: 20px;
    width: 95%;
  }

  .car-select-input {
    width: 100%;
  }

  .car-select-item label {
    font-size: 18px;
  }

  .contact-form input {
    font-size: 20px;
  }

  .contact-form button {
    width: 100%;
    font-size: 18px;
  }

  /* REVIEW SECTION */
  .review h1 {
    font-size: 28px;
  }

  .review-item {
    width: 90%;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer ul li {
    margin: 4px 0;
  }

  .footer-bottom {
    font-size: 12px;
  }
}
