/* ================================================
   TRAVIS YARD MOVERS — style.css
   ================================================ */

/* ── 1. CSS Variables ── */
:root {
  --green:        #2E7D32;
  --green-light:  #43A047;
  --green-dark:   #1B5E20;
  --yellow:       #FFC107;
  --yellow-dark:  #F9A825;
  --dark:         #1A1A1A;
  --gray:         #555555;
  --light-gray:   #F4F6F4;
  --white:        #FFFFFF;
  --shadow:       0 4px 24px rgba(0,0,0,0.10);
  --radius:       12px;
  --transition:   all 0.3s ease;
  --font-head:    'Poppins', sans-serif;
  --font-body:    'Open Sans', sans-serif;
}

/* ── 2. Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── 3. Typography ── */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--gray); }

.section-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title { color: var(--dark); margin-bottom: 14px; }
.section-sub   { max-width: 600px; margin: 0 auto 50px; text-align: center; font-size: 1.05rem; }

/* ── 4. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary {
  background: var(--yellow);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,193,7,0.40);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
  transform: translateY(-2px);
}
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46,125,50,0.35);
}

/* ── 5. Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: var(--green-dark);
  padding: 12px 6%;
  box-shadow: var(--shadow);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo .logo-icon {
  width: 46px; height: 46px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.nav-logo .logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.1;
}
.nav-logo .logo-text span { color: var(--yellow); display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  color: rgba(255,255,255,0.88);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--yellow); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── 6. Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=80') center/cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,94,32,0.88) 0%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
  position: relative;
  padding: 120px 6% 80px;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,193,7,0.18);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-content h1 { color: var(--white); margin-bottom: 18px; font-weight: 800; }
.hero-content h1 span { color: var(--yellow); }
.hero-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 560px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  display: flex;
  gap: 40px;
  margin-top: 54px;
  flex-wrap: wrap;
}
.stat { color: var(--white); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--yellow); }
.stat span { font-size: 0.88rem; opacity: 0.85; }

/* Page Hero (inner pages) */
.page-hero {
  position: relative;
  padding: 160px 6% 80px;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,94,32,0.90), rgba(0,0,0,0.60));
  z-index: 0;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.80); font-size: 1.1rem; max-width: 550px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 16px;
  font-size: 0.88rem; color: rgba(255,255,255,0.70);
}
.breadcrumb a { color: var(--yellow); }
.breadcrumb span { color: var(--white); }

/* About hero bg */
.about-hero-bg   { background: url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1600&q=80') center/cover no-repeat; }
.services-hero-bg { background: url('https://images.unsplash.com/photo-1589923188900-85dae523342b?w=1600&q=80') center/cover no-repeat; }
.contact-hero-bg  { background: url('https://images.unsplash.com/photo-1600607686527-6fb886090705?w=1600&q=80') center/cover no-repeat; }

/* ── 7. Section Base ── */
section { padding: 90px 6%; }
.text-center { text-align: center; }

/* ── 8. Services Snapshot (index) ── */
.services-snapshot { background: var(--light-gray); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}
.service-card:hover {
  transform: translateY(-8px);
  border-bottom-color: var(--yellow);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.service-card .icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--white);
  margin: 0 auto 22px;
}
.service-card h3 { margin-bottom: 10px; }

/* ── 9. Why Choose Us ── */
.why-us { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.why-img img { width: 100%; height: 440px; object-fit: cover; }
.why-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--yellow);
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: center;
}
.why-badge strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--dark); }
.why-badge span   { font-size: 0.8rem; font-weight: 600; color: var(--dark); }

.why-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-item .wi-icon {
  min-width: 48px; height: 48px;
  background: var(--light-gray);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  font-size: 1.25rem;
  transition: var(--transition);
}
.why-item:hover .wi-icon { background: var(--green); color: var(--white); }
.why-item h4 { margin-bottom: 4px; }
.why-item p  { font-size: 0.92rem; }

/* ── 10. Testimonials ── */
.testimonials { background: var(--green-dark); padding: 90px 6%; }
.testimonials .section-tag { background: var(--yellow); }
.testimonials .section-title { color: var(--white); }
.testimonials .section-sub   { color: rgba(255,255,255,0.75); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.t-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.t-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.t-stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 16px; }
.t-card p  { color: rgba(255,255,255,0.80); font-style: italic; margin-bottom: 22px; }
.t-author  { display: flex; align-items: center; gap: 14px; }
.t-avatar  {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
}
.t-name  { font-family: var(--font-head); font-weight: 600; color: var(--white); }
.t-loc   { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ── 11. CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  padding: 80px 6%;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-btns      { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── 12. About Page ── */
.about-story { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 460px; object-fit: cover; }
.about-text .section-tag { text-align: left; }
.about-text p { margin-bottom: 16px; }
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.highlight-box {
  background: var(--light-gray);
  border-radius: 10px;
  padding: 20px;
  border-left: 4px solid var(--green);
}
.highlight-box strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--green); }
.highlight-box span   { font-size: 0.85rem; color: var(--gray); }

.values-section { background: var(--light-gray); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.value-card .v-icon {
  font-size: 2.2rem;
  color: var(--green);
  margin-bottom: 16px;
}
.value-card h3 { margin-bottom: 10px; }

/* ── 13. Services Full Page ── */
.services-full { background: var(--white); }
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}
.service-full-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--white);
}
.service-full-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.13); }
.sf-img { position: relative; overflow: hidden; }
.sf-img img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition); }
.service-full-card:hover .sf-img img { transform: scale(1.06); }
.sf-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
}
.sf-body { padding: 28px; }
.sf-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.4rem;
  margin-bottom: 16px;
}
.sf-body h3 { margin-bottom: 10px; }
.sf-features {
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.sf-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.90rem; color: var(--gray);
}
.sf-features li i { color: var(--green); font-size: 0.85rem; }

/* ── 14. Contact Page ── */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.ci-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.ci-card:hover { background: var(--green); }
.ci-card:hover .ci-icon, .ci-card:hover h4, .ci-card:hover p { color: var(--white); }
.ci-icon {
  min-width: 48px; height: 48px;
  background: var(--green);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.25rem;
  transition: var(--transition);
}
.ci-card:hover .ci-icon { background: rgba(255,255,255,0.20); }
.ci-text h4 { margin-bottom: 4px; font-size: 1rem; transition: var(--transition); }
.ci-text p  { font-size: 0.90rem; margin: 0; transition: var(--transition); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { margin-bottom: 6px; }
.contact-form-wrap > p { margin-bottom: 28px; font-size: 0.95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  transition: var(--transition);
  outline: none;
  background: #fafafa;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.10);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 16px 20px;
  color: var(--green-dark);
  font-weight: 600;
  margin-top: 16px;
  align-items: center;
  gap: 10px;
}

.map-section { background: var(--light-gray); padding: 0 6% 80px; }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 400px; border: none; display: block; }

/* ── 15. Footer ── */
footer {
  background: var(--dark);
  padding: 70px 6% 30px;
  color: rgba(255,255,255,0.75);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand .logo-icon { background: var(--yellow); }
.footer-brand p { margin: 18px 0 24px; font-size: 0.92rem; line-height: 1.8; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
}
.social-links a:hover { background: var(--yellow); color: var(--dark); }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--yellow);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-col ul li a i { color: var(--yellow); font-size: 0.75rem; }
.footer-col ul li a:hover { color: var(--yellow); padding-left: 4px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.90rem; color: rgba(255,255,255,0.65);
}
.footer-contact-list li i { color: var(--yellow); margin-top: 4px; min-width: 14px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.87rem;
}
.footer-bottom p { color: rgba(255,255,255,0.50); margin: 0; }
.footer-bottom a { color: var(--yellow); }

/* ── 16. Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-35px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right { opacity: 0; transform: translateX(35px);  transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── 17. Back to Top ── */
#backToTop {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}
#backToTop.show { opacity: 1; pointer-events: all; }
#backToTop:hover { background: var(--green-dark); transform: translateY(-3px); }

/* ── 18. Media Queries ── */
@media (max-width: 992px) {
  .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-img img, .about-img img { height: 340px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--green-dark);
    justify-content: center;
    align-items: center;
    gap: 34px;
    z-index: 999;
  }
  .nav-links.open .nav-cta { display: flex; }
  .nav-links a { font-size: 1.3rem; }
  .hamburger { display: flex; z-index: 1001; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .about-highlights { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  section { padding: 70px 5%; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .about-highlights { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
}