/* ==========================================================================
   White Sticky Header - Matching PlumberExample.com
   Clean professional header bar with logo left, nav center, CTA right
   ========================================================================== */

/* ==========================================================================
   Sticky Header Bar
   ========================================================================== */

.minimal-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #FFFFFF;
  box-shadow: none;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  gap: 1rem;
}

/* Logo - Centered on Mobile, Left on Desktop */
.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  order: 2;
}

.header-logo img {
  height: 110px;
  width: auto;
  transition: transform 0.3s ease;
}

.header-logo:hover img {
  transform: scale(1.05);
}

/* Desktop Navigation - Horizontal Menu - Hidden on Mobile */
.desktop-nav {
  display: none;
}

.desktop-nav a {
  color: var(--color-gray-700);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.desktop-nav a:hover {
  color: var(--color-primary);
}

/* Services Dropdown */
.desktop-nav .services-dropdown {
  position: relative;
}

.desktop-nav .services-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  padding: 1rem 0;
  min-width: 250px;
  margin-top: 0.5rem;
  z-index: 1001;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--color-gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}

.dropdown-menu a:hover {
  background-color: var(--color-gray-50);
  color: var(--color-primary);
}

/* Header Right Section - Phone & CTA - Hidden on Mobile */
.header-contact {
  display: none;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-phone-label {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.header-phone-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-phone-number:hover {
  color: var(--color-accent);
}

.btn-emergency {
  padding: 0.875rem 1.75rem;
  background-color: var(--color-accent);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
}

.btn-emergency::after {
  content: '→';
  margin-left: 0.5rem;
  font-size: 1.1rem;
}

.btn-emergency:hover {
  background-color: var(--color-accent-dark);
  transform: translateX(3px);
}

/* Mobile Menu Toggle - Hamburger */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  z-index: 1001;
  grid-column: 1;
  order: 1;
  width: 44px;
  height: 44px;
  align-items: center;
}

.mobile-menu-toggle span {
  width: 22px;
  height: 2.5px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.mobile-menu-toggle:hover {
  background-color: var(--color-primary-dark);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

/* Mobile Phone Button - Only on Mobile */
.btn-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: white;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  grid-column: 3;
  order: 3;
}

.btn-phone::before {
  content: '📞';
}

.btn-phone span {
  display: none;
}

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

.btn-phone:active {
  transform: scale(0.9);
}

/* Mobile Navigation Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: white;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  padding: 1.25rem;
  color: var(--color-gray-700);
  text-decoration: none;
  border-bottom: 1px solid var(--color-gray-200);
  font-size: 1.125rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mobile-nav a:hover {
  background-color: var(--color-gray-50);
  color: var(--color-primary);
  padding-left: 2rem;
}

.mobile-nav .mobile-phone {
  background-color: var(--color-accent);
  color: white;
  text-align: center;
  font-weight: 700;
  border-radius: 0.5rem;
  border: none;
  margin-top: 1rem;
  font-size: 1.25rem;
}

.mobile-nav .mobile-phone:hover {
  background-color: var(--color-accent-dark);
  padding-left: 1.25rem;
}

/* Desktop View - Show Navigation */
@media (min-width: 1024px) {
  .header-container {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    gap: 2rem;
  }

  .header-logo {
    justify-content: flex-start;
    grid-column: auto;
    order: 0;
  }

  .header-logo img {
    height: 140px;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
  }

  .header-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .btn-phone {
    display: none;
  }
}

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 3rem 0;
  overflow: hidden;
  background-color: #FFFFFF !important;
  background-image: none !important;
}

.hero::before {
  display: none !important;
}

/* Hero Background - Pure white with subtle spa image on right */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 60%, rgba(255, 255, 255, 0.92) 100%),
    url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?w=1600&h=900&fit=crop&q=80') right center/cover;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* Hero Layout */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

/* Hero Content */
.hero-content {
  color: var(--color-gray-900) !important;
}

/* Hero Logo Icon */
.hero-logo-icon {
  margin-bottom: 1.5rem;
}

.hero-logo-icon img {
  height: 100px;
  width: auto;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  line-height: 1.05;
  color: var(--color-primary) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: none;
}

.hero-subtitle {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-gray-900) !important;
  font-style: italic;
  line-height: 1.3;
}

.hero-description {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--color-gray-800) !important;
}

.btn-hero {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--color-accent);
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Hero Form */
.hero-form-wrapper {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-form-header {
  background-color: #60A5FA;
  color: var(--color-primary);
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

.hero-form {
  padding: 2rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-gray-700);
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-gray-300);
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.btn-form-submit {
  width: 100%;
  padding: 1rem;
  background-color: var(--color-primary);
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-form-submit:hover {
  background-color: var(--color-primary-dark);
}

/* Tablet View */
@media (min-width: 768px) {
  .hero {
    padding: 4rem 0;
    min-height: 650px;
  }

  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-subtitle {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 1.0625rem;
  }
}

/* Desktop View */
@media (min-width: 1024px) {
  .hero {
    min-height: 700px;
    padding: 5rem 0;
  }

  .hero-layout {
    grid-template-columns: 1.1fr 0.9fr; /* Better balance for content and form */
    gap: 3rem;
    align-items: center;
  }

  .hero-title {
    font-size: 3.5rem; /* Slightly smaller for better readability */
    margin-bottom: 0.75rem;
    letter-spacing: 1px; /* Reduced letter spacing */
  }

  .hero-subtitle {
    font-size: 2rem; /* Proportional to title */
    margin-bottom: 1.75rem;
  }

  .hero-description {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
  }

  .btn-hero {
    padding: 1.25rem 2.75rem;
    font-size: 1.125rem;
  }

  .hero-logo-icon {
    margin-bottom: 2rem;
  }

  .hero-logo-icon img {
    height: 120px;
  }

  /* Enhanced form styling on desktop */
  .hero-form-wrapper {
    position: sticky;
    top: 140px; /* Stick to top when scrolling, below header */
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  .hero {
    padding: 6rem 0;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .hero-subtitle {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   Dark Navy Sections - Premium Contrast
   ========================================================================== */

.section-dark {
  background-color: #1E3A8A;
  color: white;
}

.section-dark .section-subtitle {
  color: #93C5FD;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 2px;
}

.section-dark .section-title {
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-dark .section-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Service Cards on Dark Background */
.service-card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-dark .service-card {
  background: rgba(255, 255, 255, 0.98);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Professional Icon Styling - NO EMOJIS */
.service-icon {
  width: 70px;
  height: 70px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
  flex-shrink: 0;
}

.service-icon-red {
  background: var(--color-accent);
}

.service-icon-aqua {
  background: var(--color-aqua);
}

.service-icon-navy {
  background: var(--color-primary-dark);
}

.service-card .card-title {
  color: var(--color-gray-900);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card .card-text {
  color: var(--color-gray-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================================================
   Grid System Updates
   ========================================================================== */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
