/* SB Paints LTD - Free Professional Website */
/* Colors matching the company flyer: Navy + Orange */

:root {
  --navy: #0A2540;
  --navy-dark: #061828;
  --orange: #F5A623;
  --orange-dark: #E08E0B;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --gray: #64748B;
  --text: #1E293B;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background: var(--navy);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

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

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

nav a {
  color: white;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--orange);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: white;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--orange);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 500px;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--orange);
  color: var(--navy-dark);
}

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

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
  margin-left: 1rem;
}

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

.hero-visual {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
}

.hero-visual .paint-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

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

.section-title h2 {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: var(--light);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #E2E8F0;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.service-icon {
  width: 55px;
  height: 55px;
  background: var(--orange);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  color: var(--navy);
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Clients */
.clients {
  background: var(--light);
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.client-logo {
  background: white;
  padding: 1.2rem 1.8rem;
  border-radius: 8px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  min-width: 140px;
  text-align: center;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  color: var(--navy);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--gray);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-box {
  background: var(--navy);
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
}

.stat-box .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.8rem;
  text-align: center;
}

.team-card .avatar {
  width: 70px;
  height: 70px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.team-card h4 {
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.team-card p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Projects Table */
.projects-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.projects-table th {
  background: var(--navy);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.projects-table td {
  padding: 1rem;
  border-bottom: 1px solid #E2E8F0;
}

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

.projects-table tr:hover {
  background: var(--light);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  color: var(--navy);
  margin-bottom: 1.5rem;
}

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

.contact-item .icon {
  width: 45px;
  height: 45px;
  background: var(--orange);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  background: var(--light);
  padding: 2rem;
  border-radius: 12px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

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

/* Footer */
footer {
  background: var(--navy-dark);
  color: white;
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  opacity: 0.8;
  max-width: 300px;
}

.footer-links h4 {
  margin-bottom: 1rem;
  color: var(--orange);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

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

  .hero h1 {
    font-size: 2.2rem;
  }

  nav ul {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 1rem;
    display: inline-block;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3.5rem 0;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  section {
    padding: 3rem 0;
  }

  .projects-table {
    font-size: 0.85rem;
  }

  .projects-table th,
  .projects-table td {
    padding: 0.7rem;
  }
}