/* Modern Variables & Reset */
:root {
  --primary-color: #0b2e59;
  --secondary-color: #e67e22;
  --accent-color: #3498db;
  --text-dark: #333;
  --text-light: #fff;
  --bg-light: #f9f9fb;
  --font-main: 'Inter', sans-serif;
  --transition: all 0.3s ease;
  --whatsapp-color: #25D366;
  --phone-color: #34b7f1;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* Header */
header {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
}

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

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

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

nav ul {
  display: flex;
  gap: 20px;
}

nav a {
  font-weight: 600;
  color: var(--primary-color);
  transition: var(--transition);
}

nav a:hover {
  color: var(--secondary-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  background: url('assets/images/hero_plumbing_bg.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(11, 46, 89, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInDown 1s ease;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.hero-phone {
  display: inline-block;
  background: var(--secondary-color);
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
  transition: var(--transition);
  margin-top: 20px;
}

.hero-phone:hover {
  background: #d67118;
  transform: translateY(-3px);
}

/* Services */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

.services {
  padding: 80px 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
  text-align: center;
}

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

.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-info {
  padding: 20px;
}

.service-info h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.service-info p {
  font-size: 0.95rem;
  color: #666;
}

/* About Us */
.about {
  padding: 80px 0;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-img {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
}

/* Service Areas */
.areas {
  padding: 80px 0;
  background: var(--primary-color);
  color: #fff;
}

.areas .section-title {
  color: #fff;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.area-btn {
  display: block;
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}

.area-btn:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  position: relative;
}

.stars {
  color: #f1c40f;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-color);
}

/* Contact */
.contact {
  padding: 80px 0;
}

.contact-container {
  display: flex;
  gap: 50px;
}

.contact-info, .contact-form {
  flex: 1;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  color: #fff;
  transition: var(--transition);
}

.btn i {
  margin-right: 10px;
  font-size: 1.3rem;
}

.btn-whatsapp {
  background: var(--whatsapp-color);
}

.btn-whatsapp:hover {
  background: #20b858;
}

.btn-phone {
  background: var(--phone-color);
}

.btn-phone:hover {
  background: #259ed4;
}

.contact-form form {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.checkbox-group label {
  font-size: 0.9rem;
  color: #666;
}

.btn-submit {
  background: var(--primary-color);
  color: #fff;
  border: none;
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--secondary-color);
}

/* Footer */
footer {
  background: #111;
  color: #aaa;
  padding: 40px 0 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #ddd;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-copy {
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 0.9rem;
}

.footer-copy a {
  color: var(--secondary-color);
}

/* Sticky Buttons */
.sticky-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sticky-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.sticky-btn.whatsapp { background: var(--whatsapp-color); }
.sticky-btn.phone { background: var(--phone-color); animation-delay: 1s; }

.sticky-btn:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,0,0, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0,0,0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0, 0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 3rem; }
  .about-container, .contact-container { flex-direction: column; }
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  nav ul.active { display: flex; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content h2 { font-size: 1.5rem; }
  
  /* Mobile Sticky Buttons */
  .sticky-buttons {
    bottom: 0; right: 0; left: 0;
    flex-direction: row;
    gap: 0;
  }
  .sticky-btn {
    width: 50%;
    border-radius: 0;
    height: 60px;
    animation: none;
    box-shadow: none;
  }
  .sticky-btn:hover { transform: none; }
}
