/* ============================================================
   OM Collection — Orange · Black · White Theme
   PRODUCTION-READY FULLY RESPONSIVE CSS
   Senior Frontend Developer — All 5 Breakpoints
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange:       #E8430A;
  --orange-dark:  #c23508;
  --orange-pale:  #fff3ee;
  --black:        #1a1a1a;
  --dark:         #222222;
  --white:        #ffffff;
  --off-white:    #f7f7f7;
  --gray-light:   #f0f0f0;
  --gray-mid:     #aaaaaa;
  --gray-dark:    #666666;

  --font:         'Poppins', sans-serif;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:    0 6px 28px rgba(0,0,0,0.11);
  --transition:   0.3s ease;

  /* Navbar height token — used for body offset & hero padding */
  --nav-h:        68px;
}

html {
  scroll-behavior: smooth;
  /* Prevent layout shift caused by scrollbar appearing */
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  /* Push content below fixed navbar */
  padding-top: var(--nav-h);
}

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

a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ============================================================
   NAVBAR — position:fixed, z-index:9999, all breakpoints
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.09);
  border-bottom: 3px solid var(--orange);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

/* Hidden checkbox — powers CSS-only mobile menu */
.menu-toggle { display: none; }

/* Hamburger icon — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px 6px;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--orange);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Animate hamburger → X when menu is open */
.menu-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}
.nav-links a:hover            { color: var(--orange); }
.nav-links a:hover::after     { width: 100%; }

/* ============================================================
   HERO — full-viewport, background image + dark overlay
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  /* Use svh where supported for mobile (hides address bar) */
  min-height: 100svh;
  background: url("home.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  /* No extra padding-top needed — body already has padding-top */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20,10,0,0.82)  0%,
    rgba(20,10,0,0.55) 60%,
    rgba(20,10,0,0.20) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(232,67,10,0.88);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-tagline-box {
  margin-top: 1.5rem;
  margin-bottom: 1.8rem;
  padding: 1.2rem 1.6rem;
  border-left: 3px solid var(--orange);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  max-width: 580px;
}

.hero-tagline-title {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.45rem;
  line-height: 1.45;
}

.hero-tagline-sub {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font);
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(232,67,10,0.35);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font);
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-outline:hover { background: var(--white); color: var(--orange); }

/* ============================================================
   ABOUT — image left · content right
   ============================================================ */
.about {
  padding: 5rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.about-title {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 0.92rem;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 0.9rem;
}

.about-line {
  width: 45px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

.owner-info-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.4rem 0;
  padding: 1.2rem 1.4rem;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--orange);
}

.owner-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.owner-row i {
  color: var(--orange);
  font-size: 0.95rem;
  margin-top: 3px;
  min-width: 16px;
  flex-shrink: 0;
}
.owner-row div    { display: flex; flex-direction: column; gap: 0.1rem; }
.info-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
}
.info-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark);
  word-break: break-word;
}

.gst-box {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  border: 2px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.3rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.gst-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-dark);
}
.gst-number {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  word-break: break-all;
}

/* ============================================================
   SERVICES — 4 cards
   ============================================================ */
.services {
  padding: 5rem 0;
  background: var(--off-white);
}

.section-header { text-align: center; margin-bottom: 3rem; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.section-title span { color: var(--orange); }

.title-line {
  width: 50px;
  height: 3px;
  background: var(--orange);
  margin: 0 auto;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eee;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.83rem;
  color: var(--gray-dark);
  line-height: 1.65;
}

/* ============================================================
   CONTACT — left info · right map
   ============================================================ */
.contact { padding: 5rem 0; background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon-wrap {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--orange-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.contact-icon-wrap.phone { background: #fff0f0; color: #e33; }
.contact-icon-wrap.email { background: #f0f4ff; color: #446; }
.contact-icon-wrap.hours { background: #f0fff4; color: #2a7; }

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
  margin-bottom: 0.2rem;
  display: block;
}
.contact-item p {
  font-size: 0.88rem;
  color: var(--dark);
  line-height: 1.55;
  word-break: break-word;
}
.contact-item a { color: var(--dark); transition: color var(--transition); }
.contact-item a:hover { color: var(--orange); }

/* Map iframe wrapper */
.contact-map {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ============================================================
   FOOTER — dark three-column grid
   ============================================================ */
.footer {
  background: #1b1c1b;
  color: var(--white);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}

.footer-col {
  justify-self: end;
}

.footer-logo {
  height: 55px;
  width: auto;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.2rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  transition: color var(--transition);
  word-break: break-word;
}
.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li:hover,
.footer-col ul li a:hover { color: var(--orange); }
.footer-col ul li i {
  margin-top: 4px;
  color: var(--orange);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  text-align: center;
}
.footer-bottom p   { font-size: 0.8rem; color: rgba(255,255,255,0.28); }
.footer-bottom a   { color: var(--orange); font-size: 0.8rem; }
.footer-bottom a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE — Laptop / Large Tablet  ≤ 1199px
   ============================================================ */
@media (max-width: 1199px) {
  .about-grid   { gap: 3rem; }
  .contact-grid { gap: 2.5rem; }
  .services-grid { gap: 1.2rem; }
}

/* ============================================================
   RESPONSIVE — Tablet  768px – 991px
   ============================================================ */
@media (max-width: 991px) {
  /* Services: 2 columns */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer: brand full-width, then 2 cols */
  .footer-inner  { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand  { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }

  /* About gap */
  .about-grid   { gap: 2.5rem; }
  .about-image img { height: 420px; }

  /* Contact gap */
  .contact-grid { gap: 2rem; }
}

/* ============================================================
   RESPONSIVE — Large Mobile  481px – 767px
   ============================================================ */
@media (max-width: 767px) {

  /* ── NAVBAR ── */
  .hamburger { display: flex; }

  .nav-links {
    /* Hidden by default, shown via checkbox */
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-top: 2px solid var(--orange);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 0.4rem 0 0.8rem;
    z-index: 9998;
    /* Smooth slide-in */
    animation: none;
  }
  .nav-links a {
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.95rem;
    display: block;
    width: 100%;
  }
  .nav-links a::after { display: none; }
  .nav-links a:last-child { border-bottom: none; }

  /* Show menu when checkbox is checked */
  .menu-toggle:checked ~ .nav-links { display: flex; }

  /* ── HERO ── */
  .hero-content { padding: 3rem 1.25rem 2.5rem; }
  .hero-tagline-box { max-width: 100%; }

  /* ── ABOUT ── */
  .about { padding: 3.5rem 0; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-image img { height: 300px; object-position: center; }
  .about-title     { font-size: 1.65rem; }

  /* ── SERVICES ── */
  .services { padding: 3.5rem 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .service-card  { padding: 1.5rem 1rem; }
  .section-header { margin-bottom: 2rem; }

  /* ── CONTACT ── */
  .contact { padding: 3.5rem 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-map iframe { height: 300px; }

  /* ── FOOTER ── */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.5rem;
  }
  .footer-brand { grid-column: unset; }
  .footer-brand p { max-width: 100%; }
}

/* ============================================================
   RESPONSIVE — Mobile  321px – 480px
   ============================================================ */
@media (max-width: 480px) {

  :root { --nav-h: 62px; }

  /* ── NAVBAR ── */
  .nav-logo img   { height: 44px; }
  .nav-container  { padding: 0 1rem; }

  /* ── HERO ── */
  .hero-content   { padding: 2.5rem 1rem 2rem; }
  .hero-badge     { font-size: 0.7rem; padding: 0.35rem 0.9rem; }
  .hero-tagline-box { padding: 1rem 1.1rem; }
  .hero-tagline-title { font-size: 0.95rem; }
  .hero-tagline-sub   { font-size: 0.8rem; }

  .hero-btns { flex-direction: column; gap: 0.75rem; }
  .btn-primary,
  .btn-outline {
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-size: 0.9rem;
  }

  /* ── ABOUT ── */
  .about         { padding: 3rem 0; }
  .about-image img { height: 240px; }
  .owner-info-block { padding: 1rem 1rem; }
  .gst-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  /* ── SERVICES ── */
  .services      { padding: 3rem 0; }
  .service-card  { padding: 1.3rem 0.9rem; }
  .service-icon  { font-size: 2rem; margin-bottom: 0.75rem; }
  .service-card h4 { font-size: 0.9rem; }
  .service-card p  { font-size: 0.8rem; }

  /* ── CONTACT ── */
  .contact       { padding: 3rem 0; }
  .contact-info  { padding: 1.3rem; }
  .contact-map iframe { height: 250px; }

  /* ── FOOTER ── */
  .footer-inner  { padding: 2rem 1rem; gap: 1.5rem; }
  .footer-logo   { height: 46px; }
  .footer-brand p { font-size: 0.82rem; }
  .footer-bottom {
    padding: 1rem 1rem;
    flex-direction: column;
    gap: 0.3rem;
  }
}

/* ============================================================
   RESPONSIVE — Very Small Mobile  ≤ 320px
   ============================================================ */
@media (max-width: 320px) {
  :root { --nav-h: 58px; }

  .nav-logo img     { height: 40px; }
  .nav-container    { padding: 0 0.75rem; }

  /* 1-column service cards */
  .services-grid    { grid-template-columns: 1fr; }

  .hero-tagline-title { font-size: 0.88rem; }
  .about-title        { font-size: 1.35rem; }
  .section-title      { font-size: 1.35rem; }

  .contact-info       { padding: 0.9rem; }
  .contact-item       { gap: 0.7rem; }

  .footer-inner       { padding: 1.75rem 0.75rem; }
  .footer-bottom      { padding: 1rem 0.75rem; }
}

