/* ====================================================
   GARAGE ROOF REPLACEMENT — style.css
   ==================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange: #f97316;
  --orange-dk: #ea580c;
  --orange-lt: #fed7aa;
  --amber: #f59e0b;
  --dark: #0f1117;
  --dark2: #1a1e2a;
  --dark3: #252b3b;
  --gray: #6b7280;
  --gray-lt: #9ca3af;
  --white: #ffffff;
  --off-white: #f9fafb;
  --slate: #1e2433;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, .18);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .3);

  --transition: .35s cubic-bezier(.4, 0, .2, 1);
  --font: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Typography helpers ---------- */
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: .75rem;
  text-align: center;
}

.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--orange) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background .25s;
}

.btn:hover::after {
  background: rgba(255, 255, 255, .08);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, .35);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #fff;
  box-shadow: 0 4px 16px rgba(249, 115, 22, .35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .5);
}

.btn-outline:hover {
  border-color: #fff;
  box-shadow: 0 8px 24px rgba(255, 255, 255, .15) !important;
}

.btn-white {
  background: #fff;
  color: var(--orange-dk);
  font-weight: 800;
}

.btn-white:hover {
  box-shadow: 0 8px 24px rgba(255, 255, 255, .3) !important;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-icon {
  font-size: 1.1rem;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background .35s, box-shadow .35s, padding .35s;
}

.navbar.scrolled {
  background: rgba(15, 17, 23, .95);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .4);
  padding: .7rem 0;
}

.nav-inner {
  width: min(1200px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  margin-right: auto;
}

.logo-icon {
  font-size: 1.4rem;
}

.logo-accent {
  color: var(--orange);
}

.nav-links {
  display: flex;
  gap: .25rem;
}

.nav-link {
  color: rgba(255, 255, 255, .8);
  font-size: .9rem;
  font-weight: 500;
  padding: .4rem .9rem;
  border-radius: 999px;
  transition: color .2s, background .2s;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: .55rem 1.3rem;
  border-radius: 999px;
  position: relative;
  overflow: visible;
  transition: transform .2s, box-shadow .2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, .45);
}

.cta-pulse {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.8s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.6);
    opacity: .5;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 14s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 12, 18, .88) 0%,
      rgba(10, 12, 18, .55) 60%,
      rgba(249, 115, 22, .15) 100%);
}

/* floating badges */
.hero-badge {
  position: absolute;
  z-index: 10;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-md);
  padding: .7rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
}

.hero-badge--tl {
  top: 16%;
  left: 5%;
}

.hero-badge--tr {
  top: 22%;
  right: 5%;
}

.badge-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.badge-icon {
  font-size: 1.2rem;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(1200px, 92vw);
  margin-inline: auto;
  padding: 7rem 0 5rem;
}

.hero-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero-sub {
  color: rgba(255, 255, 255, .8);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.stat-plus {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--amber);
}

.stat-label {
  display: block;
  color: rgba(255, 255, 255, .65);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: .2rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .2);
}

/* scroll arrow */
.scroll-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-arrow-inner {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .7);
  font-size: 1.1rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: 6rem 0;
  background: var(--off-white);
}

.services .section-title,
.services .section-tag {
  text-align: center;
  display: block;
  margin-inline: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-img {
  transition: transform .6s ease;
}

.service-card:hover .service-img {
  transform: scale(1.06);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .5), transparent);
}

.service-body {
  padding: 2rem;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: .75rem;
  color: var(--dark);
}

.service-desc {
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 1.75rem;
}

.service-list li {
  color: var(--dark);
  font-size: .9rem;
  font-weight: 500;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--orange);
  font-weight: 700;
  font-size: .95rem;
  transition: gap .2s;
}

.service-cta:hover {
  gap: .6rem;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  position: relative;
  padding: 3.5rem 0;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange-dk) 0%, var(--amber) 100%);
}

.cta-banner-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://picsum.photos/seed/bannerbg/800/400') center/cover;
  opacity: .08;
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner-label {
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}

.cta-banner-title {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
}

/* =============================================
   WHY US
   ============================================= */
.why-us {
  padding: 6rem 0;
  background: var(--dark2);
}

.why-us .section-tag,
.why-us .section-title,
.why-us .section-sub {
  color: #fff;
}

.why-us .section-sub {
  color: rgba(255, 255, 255, .6);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: background .35s, transform .35s, border-color .35s;
}

.why-card:hover {
  background: rgba(249, 115, 22, .1);
  border-color: rgba(249, 115, 22, .35);
  transform: translateY(-4px);
}

.why-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.why-card h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .6rem;
}

.why-card p {
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  line-height: 1.65;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery {
  padding: 6rem 0;
  background: var(--off-white);
}

.gallery .container {
  margin-bottom: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 1rem;
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  transition: transform .55s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.g-tall {
  grid-row: span 2;
}

.g-wide {
  grid-column: span 2;
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 1.5rem .9rem .6rem;
  transform: translateY(100%);
  transition: transform .35s ease;
}

.gallery-item:hover .gallery-label {
  transform: translateY(0);
}

/* =============================================
   PROCESS
   ============================================= */
.process {
  padding: 6rem 0;
  background: var(--dark);
}

.process .section-tag,
.process .section-title {
  color: #fff;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 3.5rem;
}

.process-step {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}

.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: .75rem;
}

.step-content h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.step-content p {
  color: rgba(255, 255, 255, .55);
  font-size: .88rem;
  line-height: 1.65;
}

.process-connector {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  margin-top: 1.75rem;
  position: relative;
  align-self: flex-start;
}

.process-connector::after {
  content: '▶';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--amber);
  font-size: .65rem;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: 6rem 0;
  background: var(--slate);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-tag {
  display: inline-block;
}

.contact-info .section-title {
  text-align: left;
}

.contact-sub {
  color: rgba(255, 255, 255, .6);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ci-icon {
  font-size: 1.5rem;
}

.ci-label {
  display: block;
  color: rgba(255, 255, 255, .45);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}

.ci-value {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

a.ci-value:hover {
  color: var(--orange);
}

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Contact Form */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--dark);
  background: var(--off-white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, .18);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
}

.form-note {
  text-align: center;
  color: var(--gray-lt);
  font-size: .8rem;
  margin-top: .75rem;
}

.form-success {
  display: none;
  text-align: center;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 1rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  padding: 4rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-desc {
  color: rgba(255, 255, 255, .5);
  font-size: .9rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer-links h5,
.footer-contact h5 {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, .5);
  font-size: .9rem;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-contact p,
.footer-contact a {
  color: rgba(255, 255, 255, .5);
  font-size: .9rem;
  line-height: 1.7;
}

.footer-contact a:hover {
  color: var(--orange);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  color: rgba(255, 255, 255, .3);
  font-size: .82rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 17, 23, .97);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav-links.open .nav-link {
    font-size: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }

  .g-tall {
    grid-row: span 1;
  }

  .g-wide {
    grid-column: span 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .process-connector {
    display: none;
  }

  .process-steps {
    gap: 2rem;
  }
}

@media (max-width: 600px) {

  .hero-badge--tl,
  .hero-badge--tr {
    display: none;
  }

  .hero-stats {
    gap: 1.25rem;
  }

  .stat-num {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .g-tall,
  .g-wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}