/* ===========================
   TPP Painting — Style Sheet
   =========================== */

:root {
  --navy: #13284B;
  --navy-dark: #0B1930;
  --red: #C8262C;
  --red-dark: #A31F24;
  --gray: #8C8C8C;
  --light-gray: #F4F5F7;
  --white: #FFFFFF;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(19, 40, 75, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  line-height: 1.6;
  background: var(--white);
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 { font-size: 2.1rem; margin-bottom: 12px; }

.section-sub { color: var(--gray); font-size: 1rem; }

section { padding: 88px 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover { background: var(--light-gray); transform: translateY(-2px); }

/* ===== Top bar ===== */
.topbar {
  background: var(--navy-dark);
  color: var(--white);
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-right { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: var(--white); opacity: 0.9; }
.topbar-item:hover { opacity: 1; color: var(--red); }

/* ===== Header ===== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 56px; width: auto; }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover { color: var(--red); }

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 60%, var(--red-dark) 150%);
  color: var(--white);
  padding: 130px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(200,38,44,0.35), transparent 45%),
                     radial-gradient(circle at 10% 90%, rgba(255,255,255,0.06), transparent 40%);
}
.hero-inner { position: relative; max-width: 720px; }
.hero .eyebrow { color: #ff8f93; }
.hero h1 { font-size: 3rem; color: var(--white); margin-bottom: 18px; }
.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,0.85); margin-bottom: 34px; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Stats ===== */
.stats { background: var(--light-gray); padding: 40px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--red); }
.stat-label { font-size: 0.85rem; color: var(--navy); font-weight: 600; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.placeholder-photo {
  background: var(--light-gray);
  border: 2px dashed #c9cedb;
  border-radius: var(--radius);
  aspect-ratio: 4/3.4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray);
  text-align: center;
  padding: 24px;
}
.placeholder-photo i { font-size: 2.6rem; color: #c9cedb; }
.placeholder-photo span { font-size: 0.85rem; max-width: 220px; }
.placeholder-photo.has-photo {
  border: none;
  background-size: cover;
  background-position: center;
}
.placeholder-photo.has-photo i,
.placeholder-photo.has-photo span { display: none; }

.about-photo {
  width: 100%;
  aspect-ratio: 4/3.4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.about-content h2 { font-size: 2rem; margin-bottom: 18px; }
.about-content p { color: #4b5468; margin-bottom: 16px; }
.about-list { margin: 20px 0 28px; }
.about-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 600; }
.about-list i { color: var(--red); }

/* ===== Services ===== */
.services { background: var(--light-gray); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-icon {
  width: 100%;
  aspect-ratio: 1080 / 1350;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(19,40,75,0.15);
  background: var(--light-gray);
}
.service-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.service-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 0.92rem; }

/* ===== Process ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.process-step { text-align: center; padding: 0 10px; }
.process-num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  background: var(--red);
  width: 52px; height: 52px;
  line-height: 52px;
  border-radius: 50%;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.process-step p { color: var(--gray); font-size: 0.92rem; }

/* ===== Gallery ===== */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  aspect-ratio: 4/3;
  background: var(--light-gray);
  border: 2px dashed #c9cedb;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray);
}
.gallery-item i { font-size: 2rem; color: #c9cedb; }
.gallery-item span { font-size: 0.85rem; padding: 0 12px; text-align: center; }
.gallery-item.has-photo {
  border: none;
  background-size: cover;
  background-position: center;
}
.gallery-item.has-photo i,
.gallery-item.has-photo span { display: none; }

/* ===== CTA Banner ===== */
.cta-banner { background: var(--red); color: var(--white); padding: 56px 0; }
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.cta-banner h2 { color: var(--white); font-size: 1.7rem; margin-bottom: 6px; }
.cta-banner p { opacity: 0.9; }

/* ===== Contact ===== */
.contact { background: var(--light-gray); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
}
.contact-info h2 { font-size: 1.9rem; margin-bottom: 12px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 22px;
}
.contact-item i {
  width: 42px; height: 42px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 2px; }
.contact-item a, .contact-item span { color: #4b5468; font-size: 0.92rem; }
.contact-item a:hover { color: var(--red); }

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1.5px solid #dfe3ec;
  border-radius: 6px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.contact-form button { justify-self: start; margin-top: 4px; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.8); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 24px 40px;
}
.footer-logo {
  display: inline-block;
  background: var(--white);
  padding: 14px 20px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.footer-logo-img { height: 90px; width: auto; display: block; }
.site-footer p { font-size: 0.9rem; margin-bottom: 8px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.site-footer .footer-grid > div > a { display: block; font-size: 0.9rem; margin-bottom: 12px; }
.site-footer .footer-grid > div > a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px; height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===========================
   Responsive
   =========================== */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-cta { padding: 10px 16px; font-size: 0.8rem; }
  .logo-img { height: 42px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 100px 0 80px; }
  .hero h1 { font-size: 2rem; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
