/* ================================================
   IMAGE GARAGE DOORS LLC — Main Stylesheet
   ================================================ */

:root {
  --red: #C8181E;
  --red-dark: #a01015;
  --red-glow: rgba(200,24,30,0.15);
  --black: #0d0d0d;
  --dark: #141414;
  --dark2: #1c1c1c;
  --dark3: #242424;
  --gray: #888;
  --light-gray: #d0d0d0;
  --white: #f5f5f5;
  --text: #e0e0e0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--text); font-family: 'Open Sans', sans-serif; }

/* ================================================
   NAVIGATION
   ================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2a2a2a;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 70px;
  transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: #333; }

.nav-logo img { height: 50px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--light-gray); text-decoration: none;
  font-family: 'Oswald', sans-serif; font-size: 0.85rem;
  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }

.nav-right {
  display: flex; align-items: center; gap: 20px;
}
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--white); font-family: 'Oswald', sans-serif;
  font-size: 1rem; letter-spacing: 0.05em; text-decoration: none;
}
.nav-phone .icon { color: var(--red); }

.nav-cta {
  background: var(--red); color: #fff;
  padding: 10px 22px; border-radius: 3px;
  font-family: 'Oswald', sans-serif; font-size: 0.88rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-dark); }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: all 0.3s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed; top: 70px; left: 0; right: 0;
  background: rgba(13,13,13,0.98);
  padding: 20px 40px 30px;
  border-bottom: 1px solid #333;
  z-index: 99;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; }
.nav-mobile ul li { padding: 12px 0; border-bottom: 1px solid #222; }
.nav-mobile ul li a {
  color: var(--light-gray); text-decoration: none;
  font-family: 'Oswald', sans-serif; font-size: 1rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.nav-mobile .mobile-cta {
  display: inline-block; margin-top: 20px;
  background: var(--red); color: #fff;
  padding: 13px 28px; border-radius: 3px;
  font-family: 'Oswald', sans-serif; font-size: 0.95rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn-primary {
  background: var(--red); color: #fff;
  padding: 16px 34px; border-radius: 3px;
  font-family: 'Oswald', sans-serif; font-size: 1rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.35); color: #fff;
  padding: 14px 32px; border-radius: 3px;
  font-family: 'Oswald', sans-serif; font-size: 1rem;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--red); background: var(--red-glow); }

.btn-white {
  background: #fff; color: var(--red);
  padding: 16px 40px; border-radius: 3px;
  font-family: 'Oswald', sans-serif; font-size: 1.1rem;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: background 0.15s, transform 0.15s;
}
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); }

/* ================================================
   SECTION BASE
   ================================================ */
section { padding: 90px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-family: 'Oswald', sans-serif; font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: ''; display: block;
  width: 30px; height: 2px; background: var(--red);
}
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; text-transform: uppercase;
  color: #fff; line-height: 1.1; margin-bottom: 16px;
}
.section-sub {
  color: var(--gray); font-size: 1rem; line-height: 1.7;
  max-width: 560px; margin-bottom: 52px;
}

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative; height: 100vh; min-height: 620px;
  display: flex; align-items: center; justify-content: flex-start;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover; background-position: center 40%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,13,13,0.93) 40%, rgba(13,13,13,0.45) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 680px; padding: 0 60px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero-logo {
  width: 200px; margin-bottom: 28px;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--red); color: #fff;
  font-family: 'Oswald', sans-serif; font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 14px; margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700; line-height: 1.08;
  color: #fff; text-transform: uppercase; letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero p {
  font-size: 1.05rem; color: var(--light-gray);
  line-height: 1.7; margin-bottom: 36px; max-width: 520px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 60px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  color: var(--gray); font-size: 0.78rem;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.hero-scroll::before {
  content: ''; display: block;
  width: 40px; height: 1px; background: var(--red);
}

/* ================================================
   TRUST BAR
   ================================================ */
.trust-bar {
  background: var(--red); padding: 16px 40px;
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: #fff; font-family: 'Oswald', sans-serif;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* ================================================
   ABOUT
   ================================================ */
.about { background: var(--dark); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center;
}
.about-img { position: relative; }
.about-img img {
  width: 100%; height: 500px;
  object-fit: cover; object-position: top center;
  border-radius: 2px; display: block;
}
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--red); color: #fff;
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: 'Oswald', sans-serif; text-align: center;
  box-shadow: 0 4px 20px rgba(200,24,30,0.4);
}
.about-badge .num { font-size: 2rem; font-weight: 700; line-height: 1; }
.about-badge .txt {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 1.3; margin-top: 3px;
}
.about-text .section-sub { margin-bottom: 28px; }
.about-stats { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.stat { border-left: 3px solid var(--red); padding-left: 16px; }
.stat .num {
  font-family: 'Oswald', sans-serif; font-size: 2rem;
  font-weight: 700; color: #fff; line-height: 1;
}
.stat .lbl {
  font-size: 0.78rem; color: var(--gray);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px;
}

/* ================================================
   SERVICES
   ================================================ */
.services { background: var(--black); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
}
.service-card {
  background: var(--dark2); padding: 36px 28px;
  border-top: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.service-card:hover { border-top-color: var(--red); background: var(--dark3); }
.service-icon { font-size: 2rem; margin-bottom: 18px; display: block; }
.service-card h3 {
  font-family: 'Oswald', sans-serif; font-size: 1.05rem;
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: #fff; margin-bottom: 10px;
}
.service-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }
.service-card.featured { background: var(--red); border-top-color: transparent; }
.service-card.featured h3 { color: #fff; }
.service-card.featured p { color: rgba(255,255,255,0.78); }

/* ================================================
   BEFORE / AFTER WORK
   ================================================ */
.work { background: var(--dark); }
.ba-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  margin-bottom: 4px;
}
.ba-pair { }
.ba-images {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3px; margin-bottom: 16px;
}
.ba-frame { position: relative; overflow: hidden; }
.ba-frame img {
  width: 100%; height: 230px; object-fit: cover;
  display: block; transition: transform 0.4s;
}
.ba-frame:hover img { transform: scale(1.04); }
.ba-label {
  position: absolute; top: 10px; left: 10px;
  font-family: 'Oswald', sans-serif; font-size: 0.7rem;
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 2px;
}
.ba-label.before { background: rgba(0,0,0,0.75); color: var(--light-gray); }
.ba-label.after { background: var(--red); color: #fff; }
.ba-pair h4 {
  font-family: 'Oswald', sans-serif; font-size: 1rem;
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: #fff; margin-bottom: 6px;
}
.ba-pair p { font-size: 0.85rem; color: var(--gray); }

.gallery-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
  margin-top: 40px;
}
.gallery-row .ba-frame img { height: 230px; }

/* ================================================
   WHY CHOOSE US
   ================================================ */
.why { background: var(--black); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.why-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 28px; background: var(--dark2); border-radius: 2px;
  transition: transform 0.2s;
}
.why-item:hover { transform: translateY(-3px); }
.why-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--red-glow); border: 1px solid var(--red);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.why-item h4 {
  font-family: 'Oswald', sans-serif; font-size: 0.95rem;
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: #fff; margin-bottom: 7px;
}
.why-item p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

/* ================================================
   REVIEWS
   ================================================ */
.reviews { background: var(--dark); }
.reviews-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.review-card {
  background: var(--dark3); padding: 36px; border-radius: 2px;
  border-left: 4px solid var(--red); position: relative;
}
.review-stars { color: #f5c518; font-size: 1rem; margin-bottom: 18px; letter-spacing: 2px; }
.review-text {
  font-size: 1rem; color: var(--text); line-height: 1.75;
  font-style: italic; margin-bottom: 22px;
}
.review-author {
  font-family: 'Oswald', sans-serif; font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red);
}
.review-quote {
  position: absolute; top: 20px; right: 24px;
  font-size: 5rem; line-height: 1;
  font-family: Georgia, serif;
  color: rgba(200,24,30,0.07); pointer-events: none;
}

/* ================================================
   BRANDS
   ================================================ */
.brands { background: var(--black); padding: 60px 40px; }
.brands-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.brands-label {
  font-family: 'Oswald', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray); flex: 0 0 100%; text-align: center;
  margin-bottom: 10px;
}
.brand-pill {
  background: var(--dark2); border: 1px solid #333;
  padding: 12px 28px; border-radius: 2px;
  font-family: 'Oswald', sans-serif; font-size: 0.95rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--light-gray);
}

/* ================================================
   EMERGENCY CTA
   ================================================ */
.emergency {
  background: var(--red); padding: 80px 40px; text-align: center;
}
.emergency-inner { max-width: 700px; margin: 0 auto; }
.emergency h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; text-transform: uppercase;
  color: #fff; margin-bottom: 16px;
}
.emergency p {
  color: rgba(255,255,255,0.82); font-size: 1rem;
  line-height: 1.7; margin-bottom: 36px;
}

/* ================================================
   FOOTER
   ================================================ */
footer {
  background: #0a0a0a; padding: 60px 40px 30px;
  border-top: 1px solid #1e1e1e;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 50px; margin-bottom: 50px;
}
.footer-logo img { height: 64px; margin-bottom: 20px; display: block; }
.footer-logo p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; max-width: 300px; }
.footer-col h5 {
  font-family: 'Oswald', sans-serif; font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
  font-size: 0.88rem; color: var(--gray);
  margin-bottom: 9px; line-height: 1.4;
}
.footer-col ul li a { color: var(--gray); text-decoration: none; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 28px; border-top: 1px solid #1e1e1e;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 0.78rem; color: #555; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-phone { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-img { order: -1; }
  .about-img img { height: 380px; }
  .about-badge { bottom: -16px; right: 10px; }
  .ba-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  nav { padding: 0 20px; }
  section { padding: 65px 20px; }
  .hero-content { padding: 0 24px; }
  .hero-logo { width: 150px; }
  .hero-scroll { left: 24px; }
  .trust-bar { gap: 16px; padding: 14px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .ba-frame img { height: 170px; }
  .gallery-row { grid-template-columns: 1fr; }
  .gallery-row .ba-frame img { height: 220px; }
  .brands { padding: 50px 20px; }
  .emergency { padding: 60px 20px; }
  footer { padding: 50px 20px 24px; }
}
