/* =====================================================
   NOORI TYRES — Main Stylesheet
   Simple, clean, accessible. Works on any device.
   ===================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:      #FF5500; /* Orange theme matching shopfront */
  --red-dark: #D44400; /* Darker orange for hover states */
  --yellow:   #FFA500; /* Soft orange highlight instead of yellow */
  --white:    #FFFFFF;
  --light:    #F5F5F5;
  --mid:      #EEEEEE;
  --border:   #DDDDDD;
  --text:     #1A1A1A;
  --muted:    #555555;
  --radius:   6px;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 17px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── TOP INFO STRIP ── */
.top-strip {
  background: #1A1A1A;
  color: var(--white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.top-strip a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.top-strip a:hover { text-decoration: underline; }

/* ── HEADER / NAV ── */
header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -1px;
  line-height: 1;
}

.logo span { color: var(--red); }

.header-phone {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover { color: var(--red-dark); text-decoration: none; }

nav ul {
  list-style: none;
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
}

nav ul a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
}

nav ul a:hover,
nav ul a.active {
  background: var(--red);
  color: var(--white);
}

/* ── PROMO BANNER ── */
.promo-banner {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.promo-banner span {
  background: var(--white);
  color: var(--red);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-right: 0.25rem;
  display: inline-block;
  vertical-align: middle;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d0000 100%);
  color: var(--white);
  padding: 3rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(204,0,0,0.04) 40px,
      rgba(204,0,0,0.04) 80px
    );
}

.hero-inner { position: relative; max-width: 800px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}

.hero p {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
}

.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover { background: var(--red-dark); color: var(--white); }

.btn-yellow {
  background: var(--white);
  color: var(--red);
}
.btn-yellow:hover { background: var(--mid); color: var(--red-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--text); }

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.15rem;
}

/* ── TRUST STRIP (numbers) ── */
.trust-strip {
  background: var(--red);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
}

.trust-item {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.trust-item:last-child { border-right: none; }

.trust-num {
  font-size: 2rem;
  font-weight: 900;
  display: block;
  color: var(--white);
}

.trust-label {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.95;
}

/* ── SECTIONS ── */
.section { padding: 3.5rem 1.5rem; }
.section-light { background: var(--light); }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(204,0,0,0.1);
}

.service-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  display: block;
  fill: none;
  stroke: var(--red);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.service-price {
  display: inline-block;
  margin-top: 1rem;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
}

/* ── PHONE CTA BLOCK ── */
.phone-cta {
  background: var(--text);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
}

.phone-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.phone-cta .big-phone {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--yellow);
  text-decoration: none;
  margin: 0.5rem 0 1.5rem;
}

.phone-cta .big-phone:hover { color: var(--yellow); text-decoration: underline; }

.phone-cta p { color: #aaaaaa; font-size: 0.95rem; }

/* ── WHY US LIST ── */
.why-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.why-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.why-icon svg {
  width: 32px;
  height: 32px;
  display: block;
  fill: none;
  stroke: var(--red);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-text strong {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.why-text span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── OPENING HOURS ── */
.hours-table {
  width: 100%;
  max-width: 500px;
  border-collapse: collapse;
  font-size: 1.05rem;
}

.hours-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.hours-table td:first-child { font-weight: 600; }
.hours-table td:last-child  { text-align: right; color: var(--muted); }

.hours-table tr:last-child td { border-bottom: none; }

.open-now {
  display: inline-block;
  background: #22c55e;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ── CONTACT FORM ── */
.contact-form {
  max-width: 540px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }

/* ── MAP WRAPPER ── */
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  margin-top: 1.5rem;
}

.map-wrapper iframe { display: block; width: 100%; border: none; }

/* ── ADDRESS BOX ── */
.address-box {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

.address-box strong { display: block; font-size: 1.1rem; margin-bottom: 0.5rem; }

/* ── INFO GRID ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #25D366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  text-decoration: none;
  z-index: 200;
  transition: transform 0.2s;
}

.whatsapp-float:hover { transform: scale(1.1); text-decoration: none; color: var(--white); }

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: #cccccc;
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-brand .logo { color: var(--white); font-size: 1.5rem; }
.footer-brand p { margin-top: 0.75rem; font-size: 0.9rem; color: #aaaaaa; }

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: #aaaaaa; font-size: 0.95rem; text-decoration: none; }
.footer-col ul a:hover { color: var(--yellow); text-decoration: none; }

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

/* ── SUCCESS PAGE ── */
.success-box {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.success-box .icon { font-size: 4rem; margin-bottom: 1rem; }
.success-box h1 { font-size: 2rem; font-weight: 900; margin-bottom: 1rem; }
.success-box p { color: var(--muted); margin-bottom: 2rem; font-size: 1.05rem; }

/* ── STICKY MOBILE CALL/MAP BAR ── */
.mobile-action-bar {
  display: none;
}

/* ── MOBILE ── */
@media (max-width: 640px) {
  /* Sticky bottom bar for one-tap calling and directions */
  .mobile-action-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    border-top: 2px solid var(--red);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    z-index: 1000;
  }
  .mobile-action-bar .action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    text-decoration: none;
    text-align: center;
    gap: 0.5rem;
  }
  .mobile-action-bar .call-btn {
    background: var(--red);
    color: var(--white);
  }
  .mobile-action-bar .directions-btn {
    background: var(--white);
    color: var(--red);
    border-left: 1px solid var(--border);
  }
  
  body {
    padding-bottom: 60px; /* Prevent bottom content cutoff */
  }

  /* Reposition WhatsApp button above mobile action bar */
  .whatsapp-float {
    bottom: 5.25rem;
    right: 1.25rem;
    width: 54px;
    height: 54px;
  }
  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }

  /* Clean up top strip and header on mobile */
  .top-strip {
    font-size: 0.85rem;
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-inner {
    padding: 0.6rem 1rem;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
  .logo {
    font-size: 1.6rem;
  }
  .header-phone {
    display: none; /* Already sticky at top strip and bottom bar */
  }
  nav {
    width: 100%;
  }
  nav ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  nav ul li {
    flex: 1;
    text-align: center;
  }
  nav ul a {
    padding: 0.4rem 0.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
  }

  /* Make sections fit mobile beautifully */
  .section {
    padding: 2rem 1rem;
  }
  .hero {
    padding: 3rem 1rem;
  }
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  .hero p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }
  .hero-btns .btn {
    width: 100%;
  }
  
  /* Trust strip layout for mobile */
  .trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-item {
    border-right: 1px solid rgba(255,255,255,0.2);
    padding: 1rem 0.5rem;
  }
  .trust-item:last-child {
    border-right: none;
  }
  .trust-num {
    font-size: 1.4rem;
  }
  .trust-label {
    font-size: 0.75rem;
  }
}

