@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* Premium Variables & Reset */
:root {
  --primary-color: #0f172a;       /* Sleek slate 900 */
  --primary-light: #1e293b;     /* Slate 800 */
  --secondary-color: #f97316;   /* Vibrant orange 500 */
  --secondary-dark: #ea580c;    /* Deep orange 600 */
  --accent-color: #0ea5e9;      /* Sky blue 500 */
  --accent-light: #e0f2fe;      /* Sky light 100 */
  --text-dark: #334155;         /* Slate text */
  --text-light: #f8fafc;        /* Off-white */
  --bg-light: #f8fafc;          /* Slate 50 */
  --border-color: #e2e8f0;      /* Slate 200 */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --whatsapp-color: #25D366;
  --phone-color: #0ea5e9;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 8px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* Header & Glassmorphism Navigation */
header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition-fast);
}

header.scroll-shadow {
  box-shadow: var(--shadow-md);
}

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

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

.logo-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
}

nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-color);
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition-fast);
}

nav a:hover {
  color: var(--secondary-color);
  background-color: rgba(249, 115, 22, 0.05);
}

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

.mobile-menu-btn:hover {
  background: rgba(15, 23, 42, 0.05);
}

/* Hero Section with Modern Gradients */
.hero {
  position: relative;
  height: 85vh;
  min-height: 650px;
  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);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 0 20px;
  animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 15px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--secondary-color);
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 650px;
  margin: 0 auto 35px;
  color: rgba(248, 250, 252, 0.9);
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  color: #fff;
  font-size: 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 18px 36px;
  border-radius: 50px;
  box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.4);
  transition: var(--transition-normal);
}

.hero-phone:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 30px -10px rgba(249, 115, 22, 0.6);
}

.hero-phone i {
  animation: phoneShake 2s infinite ease-in-out;
}

/* Section Title */
.section-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 50px;
  letter-spacing: -1px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 5px;
  background: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 5px;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--bg-light);
}

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

.service-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(249, 115, 22, 0.3);
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition-normal);
}

.service-card:hover .service-img {
  transform: scale(1.04);
}

.service-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.service-info p {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* About Us Section */
.about {
  padding: 100px 0;
  background: #ffffff;
}

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

.about-img {
  flex: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-normal);
}

.about-img:hover img {
  transform: scale(1.03);
}

.about-text {
  flex: 1.2;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 25px;
  letter-spacing: -1px;
  position: relative;
}

.about-text h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--secondary-color);
  margin-top: 10px;
  border-radius: 2px;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Service Areas with Subsections */
.areas {
  padding: 100px 0;
  background: var(--primary-color);
  color: var(--text-light);
  position: relative;
}

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

.areas-subsection-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 40px 0 20px;
  color: var(--secondary-color);
  letter-spacing: -0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

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

.area-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.area-btn:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

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

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

.testimonial-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 6rem;
  color: rgba(249, 115, 22, 0.15);
  font-family: serif;
  line-height: 1;
}

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

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 25px;
  line-height: 1.7;
}

.testimonial-author {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.05rem;
}

/* Contact Form & Info */
.contact {
  padding: 100px 0;
  background: #ffffff;
}

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

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

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary-color);
  letter-spacing: -1px;
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.btn i {
  margin-right: 12px;
  font-size: 1.4rem;
}

.btn-whatsapp {
  background: var(--whatsapp-color);
  box-shadow: 0 6px 15px -3px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1eb855;
  transform: translateY(-3px);
  box-shadow: 0 12px 20px -5px rgba(37, 211, 102, 0.5);
}

.btn-phone {
  background: var(--phone-color);
  box-shadow: 0 6px 15px -3px rgba(14, 165, 233, 0.3);
}

.btn-phone:hover {
  background: #0284c7;
  transform: translateY(-3px);
  box-shadow: 0 12px 20px -5px rgba(14, 165, 233, 0.5);
}

.contact-form form {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

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

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  background: #fff;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary-color);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

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

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

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent-color);
}

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.btn-submit {
  background: var(--primary-color);
  color: #fff;
  border: none;
  width: 100%;
  padding: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.btn-submit:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.4);
}

/* Footer Section */
footer {
  background: #090d16;
  color: #94a3b8;
  padding: 50px 0 25px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-links a {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.95rem;
}

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

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  font-size: 0.85rem;
}

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

/* Sticky Contact Buttons at the bottom */
.sticky-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  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 10px 25px rgba(15, 23, 42, 0.2);
  transition: var(--transition-normal);
  animation: buttonPulse 2.5s infinite;
}

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

.sticky-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.3);
}

/* Keyframes Animations */
@keyframes buttonPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes phoneShake {
  0%, 100% { transform: rotate(0); }
  10%, 30%, 50%, 70%, 90% { transform: rotate(-8deg); }
  20%, 40%, 60%, 80% { transform: rotate(8deg); }
}

/* Responsive Styling */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 3.2rem; }
  .hero-content h2 { font-size: 1.8rem; }
  .about-container, .contact-container { flex-direction: column; gap: 40px; }
  .about-img, .contact-info { width: 100%; }
}

@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: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 25px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
    gap: 15px;
  }
  
  nav ul.active {
    display: flex;
    animation: slideUpFade 0.3s ease-out;
  }
  
  .hero { height: 75vh; min-height: 500px; }
  .hero-content h1 { font-size: 2.6rem; }
  .hero-content h2 { font-size: 1.4rem; }
  .hero-content p { font-size: 1.1rem; }
  .hero-phone { font-size: 1.3rem; padding: 15px 28px; }
  .section-title { font-size: 2.2rem; }
  
  /* Mobile Sticky Bottom Bar (App Style Layout) */
  .sticky-buttons {
    bottom: 0; right: 0; left: 0;
    flex-direction: row;
    gap: 0;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
  }
  
  .sticky-btn {
    width: 50%;
    border-radius: 0;
    height: 60px;
    animation: none;
    box-shadow: none;
  }
  
  .sticky-btn:hover { transform: none; }
}
