/* ===== Double T Automotive - stylesheet ===== */

:root{
  --red: #e30613;
  --red-dark: #b8050f;
  --black: #161616;
  --black-soft: #1c1c1c;
  --gray-bg: #ebebeb;
  --text-dark: #2b2b2b;
  --text-muted: #6f6f6f;
  --white: #ffffff;
  --font-head: 'Roboto', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

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

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }

h1,h2,h3{ font-family: var(--font-head); text-transform: uppercase; }

a{ color: inherit; text-decoration: none; }

ul{ list-style:none; }

/* ===== TOP NAV ===== */
.site-nav{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display:flex;
  align-items:center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(35,35,35,.82) 0%, rgba(22,22,22,.88) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0 4vw;
  height: 130px;
  border-bottom: 2px solid var(--red);
  box-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.nav-links{
  display:flex;
  align-items:center;
  justify-content: flex-end;
  gap: 3.2rem;
  flex: 1;
}
.nav-links.nav-links-right{ justify-content: flex-start; }
.nav-link{
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: .8px;
  transition: color .2s;
  white-space: nowrap;
}
.nav-link:hover{ color: var(--red); }
.nav-logo{
  flex-shrink:0;
  margin: 0 4rem;
}
.nav-logo img{ height: 108px; }

@media (max-width: 820px){
  .site-nav{ flex-wrap: wrap; height:auto; padding: 1.2rem 4vw; }
  .nav-links{ flex: none; width:100%; justify-content:center; flex-wrap:wrap; gap: .5rem 1.5rem; }
  .nav-links.nav-links-right{ justify-content:center; }
  .nav-logo{ order:-1; width:100%; text-align:center; margin: 0 0 .8rem; }
  .nav-logo img{ height: 68px; }
}

/* ===== HERO ===== */
.hero{
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero-overlay{
  position:absolute;
  inset:0;
}
.hero-overlay-left{
  background: linear-gradient(90deg, rgba(5,5,5,.85) 0%, rgba(8,8,8,.55) 48%, rgba(8,8,8,.42) 100%);
}
.hero-overlay-right{
  background: linear-gradient(270deg, rgba(5,5,5,.85) 0%, rgba(8,8,8,.55) 48%, rgba(8,8,8,.42) 100%);
}
.hero-overlay-center{
  background: linear-gradient(180deg, rgba(5,5,5,.55) 0%, rgba(8,8,8,.72) 55%, rgba(5,5,5,.85) 100%);
}

.hero{ display:flex; align-items:center; }

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 1350px;
  padding: 0 6vw;
  color: var(--white);
  width: 100%;
}

.hero-content-left{ text-align: left; margin-right: auto; }
.hero-content-right{ text-align: right; margin-left: auto; }
.hero-content-center{ text-align: center; margin: 0 auto; }
.hero-content-right p{ margin-left: auto; }
.hero-content-center p{ margin-left: auto; margin-right: auto; }
.hero-content-right .hero-cta{ margin-left: auto; }
.hero-content-center .hero-cta{ margin-left: auto; margin-right: auto; }

.hero-content h1{
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: .5px;
  margin-bottom: 1.4rem;
  text-shadow: 0 3px 18px rgba(0,0,0,.65);
}

.hero-content h1 .accent{
  color: var(--red);
  font-weight: 900;
}

.hero-content p{
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 400;
  color: #f0f0f0;
  max-width: 480px;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}

.hero-cta{
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: 2.2rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1px;
  padding: 1rem 2.2rem;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(227,6,19,.35);
  transition: background .2s, transform .2s;
}
.hero-cta:hover{ background: var(--red-dark); transform: translateY(-2px); }

.hero-scroll{
  position:absolute;
  bottom: 1.6rem;
  left:50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--white);
  text-align:center;
  font-size:.75rem;
  letter-spacing: 2px;
  opacity: .85;
}
.hero-scroll i{
  display:block;
  font-size: 1.4rem;
  margin-bottom: .4rem;
  animation: scrollBounce 1.8s infinite;
}
@keyframes scrollBounce{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(8px); }
}

/* ===== INFO BAR ===== */
.info-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  background: var(--black);
  color: var(--white);
  position: relative;
  padding: 0;
  font-family: var(--font-head);
  font-size: .95rem;
  letter-spacing: .5px;
}

.info-item{
  background: var(--red);
  display:flex;
  align-items:center;
  gap: .6rem;
  padding: 1.1rem 3rem;
  flex: 1;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
}

.info-item-right{
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
  justify-content:flex-end;
  text-align:right;
}

.info-icon{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: .85rem;
  flex-shrink:0;
}

.info-phone{
  flex-shrink:0;
  padding: 1.1rem 2rem;
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
}
.info-phone a{ color: var(--white); }

@media (max-width: 760px){
  .info-bar{ flex-direction: column; }
  .info-item, .info-item-right{ clip-path:none; width:100%; justify-content:center; text-align:center; padding: .8rem 1rem; }
  .info-phone{ order:-1; padding: .9rem; }
}

/* ===== SECTION HEADINGS ===== */
.section-heading{
  text-align:center;
  padding-top: 3.5rem;
}
.section-heading h2{
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--text-dark);
}
.section-heading h2 strong{ font-weight: 700; }
.subheading{
  color: var(--text-muted);
  font-size: .8rem;
  letter-spacing: 2px;
  margin-top: .4rem;
  font-family: var(--font-head);
}
.subheading.light{ color: #d9d9d9; }

.dashed-rule{
  border-top: 3px dashed var(--red);
  max-width: 1400px;
  margin: 1.8rem auto 0;
}

.mini-dash{
  width: 40px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 10px);
  margin: 1rem auto 0;
}
.mini-dash.light{ margin-left:0; }

/* ===== OFFER SECTION ===== */
.offer-section{
  background: var(--gray-bg);
  padding-bottom: 3rem;
}
.offer-intro{
  text-align:center;
  max-width: 900px;
  margin: 1.8rem auto 0;
  color: var(--text-muted);
  font-size: .95rem;
}
.offer-checklist{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 1.8rem 2.5rem;
  max-width: 1300px;
  margin: 2.2rem auto 0;
  padding: 0 1.5rem;
}
.offer-checklist li{
  display:flex;
  align-items:center;
  gap: .8rem;
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--white);
  padding: .9rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.offer-checklist i{
  color: var(--white);
  background: var(--red);
  width: 22px; height: 22px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: .68rem;
  flex-shrink:0;
}

/* ===== STATS ===== */
.stats-section{
  position: relative;
  background: url('../images/slide1-towbus.jpg') center/cover fixed;
  padding: 4.5rem 1.5rem;
}
.stats-overlay{
  position:absolute;
  inset:0;
  background: rgba(6,6,6,.82);
  backdrop-filter: blur(2px);
}
.stats-grid{
  position:relative;
  z-index:1;
  max-width: 1300px;
  margin:0 auto;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align:center;
  color: var(--white);
}
.stat i{
  color: var(--red);
  font-size: 2.4rem;
  margin-bottom: .8rem;
}
.stat-number{
  display:block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 600;
}
.stat-label{
  display:block;
  font-size: .85rem;
  color: #cfcfcf;
  margin-top: .3rem;
}
@media (max-width: 760px){
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ===== SERVICES ===== */
.services-section{
  background: var(--gray-bg);
  padding-bottom: 4rem;
}
.services-grid{
  max-width: 1300px;
  margin: 2.5rem auto 0;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding: 0 2rem;
}
.service-card{
  text-align:center;
  background: var(--white);
  border-radius: 6px;
  padding: 2.6rem 2rem 2.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  border-top: 4px solid var(--red);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,.14);
}
.service-icon{
  font-size: 2.6rem;
  color: var(--red);
  margin-bottom: 1rem;
}
.service-card h3{
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.service-card ul{
  text-align:left;
  max-width: 340px;
  margin: 0 auto;
}
.service-card li{
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: .7rem;
  font-size: .88rem;
  color: var(--text-muted);
}
.service-card li::before{
  content:'';
  position:absolute;
  left:0;
  top:.55em;
  width:6px; height:6px;
  border-radius:50%;
  border: 2px solid var(--red);
}
.service-card li strong{ color: var(--text-dark); }

@media (max-width: 900px){
  .services-grid{ grid-template-columns: 1fr; }
}

/* ===== MISSION + FORM ===== */
.mission-form-section{
  position: relative;
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  background-image: url('../images/mission-bg.jpg');
  background-size: cover;
  background-position: center 35%;
  background-attachment: fixed;
  color: var(--white);
  padding: 6rem 5vw;
  gap: 2rem;
}
.mission-form-section::before{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(180,5,11,.88) 0%, rgba(160,4,10,.85) 48%, rgba(10,10,10,.4) 52%, rgba(5,5,5,.4) 100%);
}
.mission-col, .form-col, .logo-col{
  position:relative;
  z-index:1;
  min-width: 0;
}
.logo-col{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top: .3rem;
}
.logo-col img{ width: 240px; }
.mission-col h2, .form-col h2{
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: .5px;
}
.form-col h2 strong{ color: var(--red); }
.mission-form-section .subheading{
  font-size: .95rem;
  letter-spacing: 1.5px;
  margin-top: .5rem;
}
.mission-text{
  margin-top: 1.8rem;
  font-style: italic;
  font-weight: 300;
  font-size: 1.3rem;
  line-height: 1.7;
  max-width: 500px;
  color: #f1f1f1;
}

#tow-form{ margin-top: 1.2rem; max-width: 560px; width: 100%; min-width: 0; }
.form-row{
  display:flex;
  min-width: 0;
  gap: 1rem;
  margin-bottom: .9rem;
}
.form-row input{
  flex:1;
  min-width:0;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  padding: .8rem 1rem;
  font-family: var(--font-body);
  font-size: .85rem;
  border-radius: 2px;
}
.form-row input::placeholder{ color: #cfcfcf; }
.form-row input:focus{
  outline: none;
  border-color: var(--red);
  background: rgba(0,0,0,.5);
}
.hp-field{ position:absolute; left:-9999px; opacity:0; height:0; width:0; }

.submit-btn{
  background: var(--red);
  color: var(--white);
  border:none;
  padding: .8rem 2.2rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: .85rem;
  cursor:pointer;
  border-radius: 2px;
  transition: background .2s;
}
.submit-btn:hover{ background: var(--red-dark); }
.form-status{
  margin-top: .9rem;
  font-size: .88rem;
}
.form-status.ok{ color: #7be08a; }
.form-status.err{ color: #ff9d9d; }

@media (max-width: 820px){
  .mission-form-section{ grid-template-columns: 1fr; background-attachment: scroll; }
  .logo-col{ order:-1; margin-bottom: .5rem; }
  .logo-col img{ width: 140px; margin: 0 auto; }
  .form-row{ flex-direction: column; gap: .9rem; }
}

/* ===== MAP ===== */
.map-section{ line-height:0; }
.map-section iframe{ display:block; filter: grayscale(15%); }

/* ===== FOOTER ===== */
.site-footer{
  background: var(--black-soft);
  color: #d8d8d8;
  padding: 3rem 6vw 1.5rem;
  position: relative;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}
.footer-brand img{ width: 180px; margin-bottom: 1rem; }
.footer-brand p{ margin-bottom: .8rem; color: #b8b8b8; font-size: .9rem; }
.fb-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 34px; height:34px;
  background: #fff;
  color: #161616;
  border-radius: 3px;
}
.footer-contact h3{ font-size: 1.3rem; }
.footer-contact h3 strong{ font-weight:700; }
.footer-contact ul{ margin-top: 1.2rem; }
.footer-contact li{
  display:flex;
  align-items:center;
  gap: .7rem;
  margin-bottom: .9rem;
  font-size: .92rem;
}
.footer-contact i{ color: var(--red); width:18px; text-align:center; }

.footer-bottom{
  text-align:center;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  font-size: .78rem;
  color: #8c8c8c;
}

.back-to-top{
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 44px; height:44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  border:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  opacity:0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
  z-index: 50;
}
.back-to-top.visible{ opacity:1; visibility:visible; }

@media (max-width: 700px){
  .footer-grid{ grid-template-columns: 1fr; text-align:center; }
  .footer-contact li{ justify-content:center; }
}