/* ============================================================
   THE ROZVI CONSTRUCTION COMPANY - Main Stylesheet
   Colors: Gray #808080 | Red #C1524B | Cream #E8E3D8 | Blue #ADD8E6
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gray: #808080;
  --red: #C1524B;
  --cream: #E8E3D8;
  --blue: #ADD8E6;
  --dark: #333333;
  --white: #ffffff;
  --light-bg: #f9f8f6;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', 'Segoe UI', sans-serif;
  color: var(--dark);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover { background: #a8403a; border-color: #a8403a; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--red); }
.btn-outline-dark {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline-dark:hover { background: var(--red); color: var(--white); }

/* ---- HEADER / NAV ---- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  border-radius: 6px;
  letter-spacing: -1px;
}
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; font-size: 15px; color: var(--dark); }
.logo-text span { font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }

nav ul {
  display: flex;
  gap: 6px;
}
nav ul a {
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  transition: color 0.2s;
}
nav ul a:hover, nav ul a.active { color: var(--red); }

.nav-cta { margin-left: 12px; }

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

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid #eee;
  padding: 16px 24px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav ul a {
  display: block;
  padding: 10px 0;
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
  color: var(--dark);
}
.mobile-nav ul a:hover { color: var(--red); }
.mobile-nav .btn { margin-top: 14px; width: 100%; text-align: center; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: var(--red);
  opacity: 0.08;
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.hero-content { max-width: 640px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(193,82,75,0.2);
  color: #e88c87;
  border: 1px solid rgba(193,82,75,0.4);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--red); }
.hero p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
  display: block;
}
.stat-label {
  font-size: 13px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- SECTION COMMON ---- */
section { padding: 80px 0; }
.section-alt { background: var(--light-bg); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
}
.section-header p {
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
}
.divider {
  width: 50px;
  height: 4px;
  background: var(--red);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 28px;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--red);
  transition: width 0.3s ease;
}
.service-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-4px); }
.service-card:hover::after { width: 100%; }
.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(193,82,75,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 14px; line-height: 1.7; }

/* ---- PROJECTS GRID ---- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.project-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,0.12); }
.project-img {
  height: 220px;
  background: linear-gradient(135deg, #808080, #555);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  position: relative;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-done { background: #2ecc71; color: white; }
.badge-ongoing { background: var(--red); color: white; }
.project-info { padding: 22px; }
.project-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.project-meta { font-size: 13px; color: var(--gray); margin-bottom: 10px; }
.project-info p { font-size: 14px; color: var(--gray); line-height: 1.6; }
.project-stars { color: #f5a623; font-size: 14px; margin-top: 12px; }

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border-left: 4px solid var(--red);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 22px;
  font-size: 72px;
  color: var(--red);
  opacity: 0.12;
  font-family: Georgia, serif;
  line-height: 1;
}
.t-stars { color: #f5a623; font-size: 16px; margin-bottom: 14px; }
.t-quote { font-size: 15px; line-height: 1.7; color: #555; margin-bottom: 20px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.t-name { font-weight: 700; font-size: 15px; }
.t-project { font-size: 12px; color: var(--gray); }

/* ---- WHY US ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.why-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid #e8e8e8;
}
.why-item .icon { font-size: 36px; margin-bottom: 14px; }
.why-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.why-item p { font-size: 14px; color: var(--gray); }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--red), #a8403a);
  color: white;
  text-align: center;
  padding: 70px 0;
}
.cta-banner h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; margin-bottom: 14px; }
.cta-banner p { font-size: 17px; opacity: 0.9; margin-bottom: 32px; }
.cta-banner .btn-outline:hover { color: var(--red); }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { font-size: 30px; font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: var(--gray); margin-bottom: 32px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-item .icon {
  width: 44px; height: 44px;
  background: rgba(193,82,75,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); margin-bottom: 4px; }
.contact-item p { color: var(--dark); font-size: 15px; margin: 0; }

.contact-form {
  background: var(--light-bg);
  padding: 40px;
  border-radius: 12px;
}
.contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  background: white;
  color: var(--dark);
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  background: linear-gradient(135deg, #2c2c2c, #444);
  border-radius: 12px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 60%;
  height: 60%;
  background: var(--red);
  opacity: 0.15;
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.bbee-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: white;
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  text-align: center;
}
.bbee-badge .level { font-size: 28px; font-weight: 900; color: var(--red); line-height: 1; }
.bbee-badge .label { font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }
.about-text h2 { font-size: 34px; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.about-text h2 span { color: var(--red); }
.about-text p { color: var(--gray); margin-bottom: 18px; line-height: 1.8; }
.about-values { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
}
.value-item::before {
  content: '✓';
  width: 26px; height: 26px;
  background: rgba(193,82,75,0.1);
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
  color: white;
  padding: 70px 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 17px; opacity: 0.8; max-width: 520px; margin: 0 auto; }
.breadcrumb { margin-bottom: 16px; font-size: 13px; opacity: 0.6; }
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--red); }

/* ---- FOOTER ---- */
footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-icon { background: var(--red); }
.footer-brand .logo-text strong,
.footer-brand .logo-text span { color: rgba(255,255,255,0.8); }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-top: 16px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
  cursor: pointer;
}
.social-btn:hover { background: var(--red); }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--red); }
.footer-contact-item { display: flex; gap: 10px; font-size: 13px; margin-bottom: 12px; }
.footer-contact-item .icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  opacity: 0.5;
}

/* ---- BBEE SECTION ---- */
.bbee-section {
  background: var(--cream);
  padding: 60px 0;
  text-align: center;
}
.bbee-cards { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; }
.bbee-card {
  background: white;
  border-radius: 10px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  min-width: 180px;
}
.bbee-card .num { font-size: 40px; font-weight: 900; color: var(--red); }
.bbee-card .lbl { font-size: 13px; color: var(--gray); margin-top: 4px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 650px) {
  nav ul, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; }
  .contact-form { padding: 24px; }
}
