*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
html {
  background-color: #030403;
  font-family:
    "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
    Arial, sans-serif;
  margin: 0;
  scrollbar-width: none;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
p {
  font-family: "Inter", sans-serif;
}
p,
h1,
h2,
h3,
a {
  color: #fff;
}
h1,
h2 {
  font-family: "Archivo", sans-serif;
}
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* font-family: "Archivo", sans-serif;
font-family: "Inter", sans-serif; */

/* ------------------------ */
nav {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10%;
  box-sizing: border-box;
  background-color: transparent;
  z-index: 1;
}
nav img {
  max-height: 100px;
  transform: scale(1.25);
}
nav .nav-anchors {
  display: flex;
  gap: 25px;
}
nav a {
  color: #fff;
  text-decoration: none;
}
#nav-contact-btn {
  padding: 10px 20px;
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 10px;
  cursor: pointer;
  &:hover {
    background-color: #fff;
    color: #000;
  }
}
.mobile-menu-icon {
  display: none;
}
.mobile-menu-icon svg {
  width: 45px;
  height: 45px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav{
    padding: 0 10px 0 10%;
  }
  .mobile-menu-icon {
    display: block;
    padding-right: 20px;
  }
  .nav-anchors a, #nav-contact-btn{
    display: none;
  }
  .mobile-menu {
    display: none;
    position: absolute;
    top: 70%;
    right: 0;
    background: #1e1e1e;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-radius: 6px;
    margin-right: 4%;
    font-size: 1.4em;
  }
  .mobile-menu.open {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}

/* Hide mobile menu on desktop */
.mobile-menu {
  display: none;
}

/*---------*/
#hero {
  position: relative;
  height: 100vh;
  width: 100%;
  background-image: url(images/porsche-wide.png);
  background-size: cover;
  background-position: center bottom;
  display: flex;
  flex-direction: column;
}

.hero-content {
  text-align: center;
  position: relative;
  top: 20%;
}
h1 {
  font-weight: 600;
  font-size: 6rem;
  margin: 0;
  color: #fff;
}

#hero #hero-p1 {
  max-width: 700px;
  margin: 1rem auto 0;
  color: #fff;
}
#hero p {
  z-index: 1;
}
#hero #hero-p2 {
  color: #fff;
  padding-left: 25px;
  position: absolute;
  bottom: 10px;
  font-size: 1.5rem;
  text-align: center;
  cursor: default;
}
#hero-p2 span {
  display: block;
}
#hero-span1 {
  font-size: 2rem;
  font-weight: 900;
}
#hero-span2 {
  font-size: 0.8rem;
}
#hero-p3 {
  color: #fff;
  position: absolute;
  left: 110px;
  bottom: 100px;
  cursor: pointer;
  z-index: 100;
}
@media (max-width: 1024px) {
  h1 {
    font-size: clamp(3rem, 9vw, 6.5rem);
  }
}
@media (max-width: 768px) {
  #hero #hero-p1 {
    width: 70%;
  }
}
/*---------------*/
#about-us {
  height: 100%;
  display: grid;
  grid-template-columns: 20% 1fr;
  padding: 100px 5% 0 5%;
}
#about-us h2 {
  color: #fff;
  justify-self: center;
  text-align: center;
  padding-top: 75px;
}
#about-us p {
  color: #fff;
}
#about-us-p1 {
  font-size: clamp(2rem, 4vw, 4.5rem);
}
#about-us-p1 span {
  display: block;
  color: #e10000;
}
#about-us hr {
  width: 300px;
  border: none;
  border-top: 1px solid #fff;
  margin: 20px 0;
}
.about-us-right-bottom {
  display: flex;
  gap: 100px;
}
#about-us-p2 {
  max-width: 50%;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  #about-us {
    display: flex;
    flex-direction: column;
  }
  .about-us-right-bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    #about-us-p2 {
      max-width: 90%;
    }
  }
}

/* ----------------------- */

.rear-light-seperator {
  width: 100%;
  display: flex;
  justify-content: center;
}
.rear-light-seperator img {
  max-width: 100%;
}

/* ----------------------- */

#pricing {
  max-width: 1080px;
  margin: 0 auto;
  padding: 50px 0;
}

.pricing-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
}
.pricing-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0 0 12px;
  color: #fff;
}
.pricing-header p {
  color: #9aa1ad;
  font-size: 1.1rem;
  margin: 0;
  max-width: 700px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.pricing-card {
  position: relative;
  background: #1f1f1f;
  border: 1px solid #565656;
  border-radius: 20px;
  padding: 30px;
  z-index: 1;
}
.pricing-popular {
  border-color: #e10000;
  box-shadow: 0 0 50px rgba(225, 0, 0, 0.12);
  z-index: 0;
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #e10000;
  color: #0f1115;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 99px;
}

.pricing-card h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: #aeb4c0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
}
.pricing-desc {
  color: #9aa1ad;
  font-size: 0.92rem;
}

.pricing-btn {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 700;
  background: #151313;
  color: #fff;
  transition: background 0.15s;
  margin-top: 25px;
}
.pricing-btn:hover {
  background: #090909;
}
.pricing-btn-solid {
  background: #e10000;
  color: #0f1115;
}
.pricing-btn-solid:hover {
  background: #c50000;
}

.pricing-features {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.pricing-features li {
  padding: 9px 0 9px 28px;
  position: relative;
  color: #c2c7d0;
  font-size: 0.94rem;
}
.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e10000;
  font-weight: 800;
}
@media(max-width:1024px){
  #pricing{
    padding: 20px;
  }
}
@media (max-width: 768px) {
  #pricing{
    padding: 20px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .pricing-popular {
    transform: none;
  }
}

/* ----------------------- */

#portfolio {
  height: 100%;
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 100px 20px;
}
#portfolio h2 {
  font-size: 3.2rem;
  margin: 0;
  padding-left: 25px;
}
.left-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr 1fr;
  grid-template-areas:
    "t t"
    "i1 i3"
    "i1 i3"
    "i2 i3"
    "i2 i3";
  gap: 15px;
  width: 600px;
  height: 600px;
}
.gallery-image {
  overflow: hidden;
}
#gallery-title {
  grid-area: t;
}
#gallery-image-square {
  grid-area: i1;
}
#gallery-image-wide {
  grid-area: i2;
}
#gallery-image-tall {
  grid-area: i3;
}
.right-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 600px;
  height: 600px;
  gap: 15px;
}
.gallery-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1024px) {
  #portfolio {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  #portfolio h2 {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .left-gallery-grid,
  .right-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 90%;
    height: auto;
  }
}

/* ---------------------------- */

#testimonials {
  height: 60vh;
  background-color: #121212;
  margin-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
#testimonials h2 {
  font-size: 2.2rem;
}
#testimonials p {
  max-width: 50%;
}
.profile-section {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 25px;
  padding: 30px;
}
.profile-section img {
  max-width: 50px;
  max-height: 50px;
}
.testimonial-page {
  display: flex;
  gap: 10px;
}
.testimonial-page p {
  color: #656565;
}
p.active {
  color: #fff;
}
#left-arrow {
  position: absolute;
  left: 25px;
}
#right-arrow {
  position: absolute;
  right: 25px;
}
#testimonials button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}
#testimonials button p {
  color: #656565;
  font-size: 6rem;
}
#testimonials > p,
.profile-section {
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* ----------------------------- */

#contact {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-bottom: 50px;
}
.contact-left {
  width: 50%;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}
.contact-left h2 {
  font-size: 3rem;
  width: 75%;
  align-self: center;
}
.contact-right {
  width: 50%;
  display: flex;
  justify-content: center;
  position: relative;
}
.contact-right img {
  max-height: 95vh;
  object-fit: cover;
}
#contact-right-img1 {
  border-radius: 30px;
  rotate: 180deg;
  max-width: 100%;
}
#contact-right-img2 {
  position: absolute;
  max-width: 400px;
  left: -40px;
  top: 50px;
  border-radius: 20px;
}
.input-field {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 100px 0 0 100px;
  width: 100%;
}
.text-input {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-size: 1.5rem;
  font-family: "Inter", sans-serif;
}
.text-input::placeholder {
  font-size: 1.1rem;
}
.name-email {
  display: flex;
  gap: 30px;
}
#name-input,
#email-input {
  width: 30%;
  padding-bottom: 5px;
}
textarea {
  field-sizing: content;
  min-height: calc(2lh + 1rem); /* your starting 2-line height */
  max-height: calc(6lh + 1rem); /* grows to here, then scrolls */
  overflow-y: auto;
  max-width: 90%;
}
.input-field button {
  max-width: 90%;
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 10px 0;
  border-radius: 50px;
  margin-top: 30px;
  cursor: pointer;
  font-size: 1.1rem;
}
.contact-left h3 {
  font-size: 0.9rem;
  padding-left: 100px;
}
#tel {
  font-size: 2.4rem;
  padding-top: 100px;
}
h3 a {
  font-size: 2rem;
}
.socials {
  display: flex;
  gap: 25px;
  padding: 10px 100px;
}
.socials img {
  max-width: 50px;
  color: #fff;
  background-color: #181818;
  padding: 10px;
  border-radius: 10px;
}
@media (max-width: 1024px) {
  .contact-right {
    transform: translateX(50%);
  }
  #contact-right-img2 {
    display: none;
  }
  .contact-left {
    width: 100%;
  }
  .contact-right img{
    max-height: 70%;
  }
}

@media (max-width: 768px) {
  .contact-right {
    display: none;
  }
  .contact-left {
    width: 100%;
  }
  .input-field {
    padding-left: 20px;
  }
  .contact-left h2 {
    width: 90%;
    text-align: center;
  }
  #name-input,
  #email-input {
    width: calc(50% - 30px);
  }
  textarea {
    max-width: calc(100% - 30px);
  }
  .contact-left h3 {
    text-align: center;
    padding: 0;
  }
  .socials {
    justify-content: center;
    padding: 10px 20px;
  }
}

/* -------------------------------- */
footer {
  display: flex;
  justify-content: center;
  gap: 10%;
  text-align: center;
}
