/* ============================================
   IRAInfrabuild - Main Stylesheet
   Premium Construction Products
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --gold: #c9a24b;
  --gold-light: #e5c97f;
  --gold-deep: #a8842f;
  --navy: #0b1f3f;
  --navy-2: #122d5c;
  --emerald: #0e6b4f;
  --ink: #1c2b3a;
  --muted: #5b6b7b;
  --cream: #fbf8f2;
  --white: #ffffff;
  --line: #e9e2d2;
  --space-sm: 12px;
  --space-md: 24px;
  --space-lg: 48px;
  --radius: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink); line-height: 1.7; background: var(--white);
}
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; }

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

/* ===== Header ===== */
header {
  position: sticky; top: 0; z-index: 1000; background: var(--white);
  border-bottom: 3px solid var(--gold); box-shadow: 0 2px 16px rgba(11,31,63,0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: 1200px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 52px; width: 52px; object-fit: contain; border: 2px solid var(--gold); border-radius: 50%; padding: 2px; background: var(--white); }
.brand h1 { font-size: 1.4rem; line-height: 1.15; letter-spacing: 1px; }
.brand h1 b { color: var(--gold-deep); }
.brand span { display: block; font-family: 'Inter'; font-size: 0.68rem; font-weight: 600; color: var(--muted); letter-spacing: 3px; text-transform: uppercase; }
.menu { display: flex; gap: 28px; list-style: none; align-items: center; }
.menu a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.88rem;
  letter-spacing: 1px; text-transform: uppercase; transition: color 0.2s;
}
.menu a:hover { color: var(--gold-deep); }
.menu .menu-cta { background: var(--gold); color: var(--navy); padding: 10px 22px; border-radius: 30px; font-weight: 700; }
.menu .menu-cta:hover { background: var(--gold-light); color: var(--navy); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.menu-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; display: block; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 0;
  min-height: 78vh; display: flex; align-items: center; justify-content: center;
  text-align: center; background: var(--navy);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease; will-change: transform;
}
.hero-slide.active { opacity: 1; animation: kenburns 8s ease-out forwards; }
@keyframes kenburns {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.18); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(201,162,75,0.22), transparent 45%),
    linear-gradient(180deg, rgba(11,31,63,0.82) 0%, rgba(11,31,63,0.55) 50%, rgba(11,31,63,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 130px 20px 150px; max-width: 900px; margin: 0 auto; }
.hero .eyebrow {
  display: inline-block; border: 1px solid var(--gold); background: rgba(11,31,63,0.35);
  color: var(--gold-light); padding: 9px 26px; border-radius: 30px; letter-spacing: 3px;
  text-transform: uppercase; font-size: 0.75rem; font-weight: 600; margin-bottom: 30px;
  backdrop-filter: blur(4px);
}
.hero h2 { font-size: 3.2rem; margin-bottom: 22px; letter-spacing: 1px; line-height: 1.15; }
.hero h2 span {
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.18rem; max-width: 720px; margin: 0 auto 42px; color: #e2e9f2; font-weight: 300; text-shadow: 0 2px 12px rgba(11,31,63,0.6); }
.hero .btn-outline { margin-left: 16px; margin-bottom: 0; }

/* Hero slider controls */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.45);
  background: rgba(11,31,63,0.35); color: #fff; font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--gold); color: var(--navy); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; gap: 10px; justify-content: center; }
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.4); transition: background 0.3s, transform 0.3s; padding: 0;
}
.hero-dot.active { background: var(--gold); transform: scale(1.3); }
.btn {
  display: inline-block; background: linear-gradient(90deg, var(--gold), var(--gold-light));
  color: var(--navy); padding: 16px 44px; border-radius: 40px; text-decoration: none;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 0.9rem;
  box-shadow: 0 10px 26px rgba(201,162,75,0.4); transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(201,162,75,0.5); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); box-shadow: none; margin-left: 16px; padding: 14px 42px; }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ===== Section general ===== */
section { padding: 90px 20px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-title { text-align: center; margin-bottom: 16px; font-size: 2.4rem; color: var(--navy); letter-spacing: 1px; }
.section-title span { color: var(--gold-deep); }
.section-sub { text-align: center; color: var(--muted); max-width: 700px; margin: 0 auto 56px; font-size: 1.05rem; }

.gold-divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px; }
.gold-divider::before, .gold-divider::after { content: ''; height: 1px; width: 70px; background: linear-gradient(90deg, transparent, var(--gold)); }
.gold-divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.gold-divider span { color: var(--gold); font-size: 1.3rem; }

/* ===== Stats ===== */
.stats { background: var(--cream); padding: 70px 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: center; padding: 26px 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat h3 { font-size: 2.6rem; color: var(--gold-deep); margin-bottom: 6px; }
.stat p { color: var(--muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.8rem; }

/* ===== Products ===== */
.products { background: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 24px rgba(11,31,63,0.06); transition: transform 0.3s, box-shadow 0.3s; position: relative;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; z-index: 2; }
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(11,31,63,0.14); }
.card:hover::before { transform: scaleX(1); }
.card-img {
  height: 220px; background-size: cover; background-position: center; position: relative;
  transition: transform 0.4s ease;
}
.card:hover .card-img { transform: scale(1.05); }
.card-body { padding: 26px 28px 32px; }
.card-body h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.2rem; }
.card-body p { color: var(--muted); font-size: 0.94rem; line-height: 1.75; }

.tag {
  display: inline-block; background: linear-gradient(90deg, var(--gold), var(--gold-light));
  color: var(--navy); font-size: 0.68rem; font-weight: 700; padding: 5px 14px;
  border-radius: 20px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px;
}

/* ===== Why us ===== */
.why { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.why-item {
  text-align: center; padding: 46px 30px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(11,31,63,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.why-item:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(11,31,63,0.1); }
.why-item .icon { font-size: 2.8rem; line-height: 1; }
.why-item h3 { color: var(--navy); margin: 16px 0 10px; font-size: 1.2rem; }
.why-item p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; }

/* ===== Brands We Deal In ===== */
.brands { background: var(--white); }
.brands-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.brands-info h2 { color: var(--navy); }
.brands-info .btn { margin-top: 6px; }
.brands-showcase {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 16px 40px rgba(11,31,63,0.16); border: 1px solid var(--line);
}
.brands-showcase img { display: block; width: 100%; height: 100%; object-fit: cover; max-height: 560px; }

/* ===== CTA ===== */
.cta {
  background:
    radial-gradient(circle at 15% 85%, rgba(14,107,79,0.5), transparent 50%),
    linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, var(--emerald) 120%);
  text-align: center; position: relative; overflow: hidden; padding: 100px 20px;
}
.cta h2 { color: #fff; font-size: 2.4rem; margin-bottom: 18px; }
.cta h2 span { color: var(--gold-light); }
.cta p { color: #d7e0ea; margin-bottom: 36px; font-weight: 300; font-size: 1.1rem; }
.cta .btn { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* ===== Team ===== */
.team { background: var(--cream); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 24px rgba(11,31,63,0.06); transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(11,31,63,0.14); }
.team-img { height: 310px; background-size: cover; background-position: center 22%; }
.team-body { padding: 24px 24px 28px; text-align: center; }
.team-body h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 6px; }
.team-role {
  display: inline-block; color: var(--gold-deep); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.5px;
}
@media (max-width: 992px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } .team-img { height: 320px; } }

/* ===== FAQ ===== */
.faq-grid { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(11,31,63,0.05);
}
.faq-item summary {
  cursor: pointer; padding: 22px 26px; font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700; font-size: 1.08rem; color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--gold-deep); font-weight: 400; transition: transform 0.25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 26px 24px; color: var(--muted); line-height: 1.75; }
.faq-item a { color: var(--gold-deep); }

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 999;
  background: #25d366; color: #fff; width: 58px; height: 58px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.3); text-decoration: none; transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ===== Contact ===== */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h3 { color: var(--navy); margin-bottom: 18px; font-size: 1.4rem; }
.contact-info p { margin-bottom: 16px; color: var(--muted); font-size: 1.02rem; }
.contact-info strong { color: var(--navy); }
.contact-info a { color: var(--gold-deep); text-decoration: none; font-weight: 600; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea {
  padding: 15px 18px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; width: 100%; background: var(--cream); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,0.18); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form button { align-self: flex-start; border: none; cursor: pointer; }

/* ===== Social Links ===== */
.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light);
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.social-links a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.social-links svg { width: 22px; height: 22px; }
.social-google { overflow: hidden; }
.social-google img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Footer ===== */
footer { background: var(--navy); color: #c7d2e0; padding: 48px 20px 42px; text-align: center; }
footer a { color: var(--gold-light); text-decoration: none; }
.footer-social { display: flex; justify-content: center; gap: 14px; margin-bottom: 20px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18); color: var(--gold-light);
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-social-google { overflow: hidden; padding: 0; }
.footer-social-google img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat { border-right: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 76px 20px; }
}
@media (max-width: 768px) {
  .hero h2 { font-size: 2.2rem; }
  .hero { min-height: 72vh; }
  .hero-content { padding: 100px 20px 130px; }
  .hero-arrow { width: 40px; height: 40px; font-size: 1.1rem; }
  .hero-arrow.prev { left: 8px; }
  .hero-arrow.next { right: 8px; }
  .section-title { font-size: 2rem; }
  .menu-toggle { display: flex; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--white); padding: 18px 20px; gap: 16px;
    box-shadow: 0 12px 24px rgba(11,31,63,0.15); border-bottom: 3px solid var(--gold);
  }
  .menu.open { display: flex; }
  .menu .menu-cta { text-align: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .brands-grid { grid-template-columns: 1fr; gap: 32px; }
  .brands-showcase img { max-height: 420px; }
  .why-grid { grid-template-columns: 1fr; }
  .btn-outline { margin-left: 0; margin-top: 16px; }
  .hero .btn-outline { margin-left: 0; }
}
@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero h2 { font-size: 1.9rem; }
  .hero-arrow { display: none; }
  section { padding: 64px 20px; }
  .cta { padding: 80px 20px; }
  .card-body { padding: 22px 24px 26px; }
}
