* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Georgia", serif;
}

body {
  background: #070b18;
  color: #f2f2f2;
}

h1, h2, h3 {
  letter-spacing: 1px;
}

/* HERO */
.hero {
  height: 70vh;
  background: url("ttphotos/tm2.png") center/cover no-repeat;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
   background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.4) 50%,
    #070b18 100%
  );
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.logo {
  width: 230px;
  margin-top: -15px;
  background: transparent;
}

.hero h1 {
  font-size: 100px;
  margin-bottom: 0;
  line-height: 1;
  position: relative;
  display: inline-block;
}

.hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0; /* TOUCHES the text */
  width: 100%;
  height: 2px;
  background: #d4af37;

}
.tagline {
  margin: 10px 0 25px; /* controls spacing from title AND buttons */
  font-style: italic;
  color: #d4af37;
  font-size: 18px;
}

/* BUTTONS */
.btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
  
}

.btn {
  padding: 12px 26px;
  border-radius: 150px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.gold {
  background: linear-gradient(135deg,#d4af37,#f7e199);
  color: #111;
}

.gold:hover {
  transform: translateY(-4px);
}

/* ABOUT */
.about {
  padding: 80px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.about h2 {
  color: #d4af37;
  margin-bottom: 25px;
}

.about p {
  margin-bottom: 15px;
  line-height: 1.7;
}

/* SERVICES */
.services {
  padding: 80px 20px;
  text-align: center;
}

.services h2 {
  color: #d4af37;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.service-box {
  border: 1px solid rgba(212,175,55,0.4);
  padding: 25px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
}

.service-box h3 {
  color: #d4af37;
  margin-bottom: 15px;
}

.service-box ul {
  list-style: none;
}

.service-box li {
  margin: 8px 0;
}

/* GALLERY */
.gallery-wrapper {
  width: 100%;
  overflow: hidden; /* hides sliding overflow */
}

.gallery-slider {
  display: flex;
  width: max-content;
  gap: 10px;
  will-change: transform;
  flex-wrap: nowrap;
}

.gallery-slider img {
  width: 320px;      /* fixed size for smooth sliding */
  height: 270px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.modal {
  display: none;              /* important */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);

  justify-content: center;
  align-items: center;

  z-index: 99999;             /* keeps it above everything */
}

/* CTA */
.cta {
  background: url("ttphotos/cars.png") center/cover fixed no-repeat;
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
}

.cta * {
  position: relative;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.large {
  font-size: 18px;
  padding: 14px 40px;
}

/* FOOTER */
footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* MOBILE */
@media (max-width: 1024px) {

  .hero h1 {
    font-size: 70px; /* tablet scaling */
  }

  .tagline {
    font-size: 16px;
  }

}
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.section-title hr {
  width: 80px;   /* fixed width keeps symmetry */
  height: 1px;
  border: none;
  background-color: #d4af37;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
}

.elegant-line {
  border: none;
  height: 4px;
  width: 70%;
  margin: 1px auto;
  background: linear-gradient(to right, transparent,#d4af37, transparent);
}
/* FIX SPACING UNDER ABOUT TEXT */
.about p:last-of-type {
  margin-bottom: 5px;
}

/* REDUCE EXTRA SPACE IN ABOUT SECTION */
.about {
  padding-bottom: 30px;
}

/* TIGHTEN GOLD DIVIDER */
.elegant-line {
  margin: 6px auto;
  height: 2px;
}

.gallery-wrapper {
  position: relative;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #d4af37;
  border: none;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.slider-btn.left {
  left: 10px;
}

.slider-btn.right {
  right: 10px;
}

.slider-btn:hover {
  background: rgba(0,0,0,0.8);
}
.hero h1 {
  font-size: 100px;
  margin-bottom: 5px; /* brings tagline closer */
}

@media (max-width: 768px) {

  .hero {
    height: 60vh;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.1;
  }

  .tagline {
    font-size: 14px;
    margin: 10px 0 20px;
  }

  .btn-group {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 85%;
    text-align: center;
  }

  .logo {
    width: 140px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .gallery-slider img {
    width: 240px;
    height: 190px;
  }

  .about, .services {
    padding: 50px 15px;
  }
}
@media (max-width: 768px) {
  .section-title hr {
    width: 40px;
  }
}