/* ===================================
   GasWise Brand CSS
   Color Palette:
   - Brand Red: #C0392B
   - Royal Blue: #2471A3
   - White: #FFFFFF
   - Dark Grey: #2C3E50
   - Light Grey: #ECF0F1
   =================================== */

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

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

:root {
  --brand-red: #C0392B;
  --brand-blue: #2471A3;
  --brand-blue-dark: #1E5A96;
  --brand-grey: #2C3E50;
  --brand-light: #ECF0F1;
  --brand-yellow: #FFD700;
  --body-bg: #F5F8FB;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--brand-grey);
  background-color: var(--body-bg);
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  color: #2C3E50;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #2C3E50;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2C3E50;
}

h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #2C3E50;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

header {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 35%, var(--brand-red) 100%);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.14);
}

.logo {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: #FFFFFF;
  letter-spacing: 2px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo::before {
  content: '';
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-blue) 100%);
  border-radius: 6px;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.15);
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

nav a:hover {
  color: #FFD700;
}

.call-button-header {
  background-color: #C0392B;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.call-button-header:hover {
  background-color: #A03225;
}

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

/* ===================================
   MOBILE RESPONSIVE NAV
   =================================== */

@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    padding: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2471A3 0%, #1E5A96 100%);
    flex-direction: column;
    gap: 0;
    padding: 1.5rem;
    width: 100%;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

/* ===================================
   BUTTONS & CTAS
   =================================== */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: #C0392B;
  color: white;
}

.btn-primary:hover {
  background-color: #A03225;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(192, 57, 43, 0.3);
}

.btn-secondary {
  background-color: #2471A3;
  color: white;
}

.btn-secondary:hover {
  background-color: #1E5A96;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(36, 113, 163, 0.3);
}

.btn-outline {
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: #2471A3;
  color: white;
}

/* ===================================
   FLOATING WHATSAPP BUTTON
   =================================== */

.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 999;
  font-size: 1.5rem;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 55px;
    height: 55px;
  }
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  background: linear-gradient(180deg, #f8fbff 0%, #edf4fb 50%, #dfe8f2 100%);
  color: var(--brand-grey);
  padding: 3.5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(36, 113, 163, 0.1), transparent 30%),
              radial-gradient(circle at bottom left, rgba(192, 57, 43, 0.08), transparent 28%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
}

.hero-content.hero-split {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  color: var(--brand-blue);
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.05;
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
  max-width: 10ch;
}

.hero p {
  color: #35495e;
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
  max-width: 680px;
}

.hero-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 1rem;
  align-items: start;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  border: 6px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(34, 62, 85, 0.14);
  background-color: white;
}

.hero .hero-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
  color: white;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.08rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 1.5rem;
    text-align: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

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

  .hero p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

/* ===================================
   SERVICE CARDS
   =================================== */

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: white;
  border: 2px solid #ECF0F1;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
}

.service-card:hover {
  box-shadow: 0 8px 20px rgba(36, 113, 163, 0.15);
  border-color: #2471A3;
  transform: translateY(-4px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: #2C3E50;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.service-card p {
  margin-bottom: 1.5rem;
  color: #555;
}

/* ===================================
   TRUST STRIP
   =================================== */

.trust-strip {
  background: linear-gradient(90deg, #C0392B 0%, #2471A3 100%);
  color: white;
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 8px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.trust-item h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

.trust-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
}

/* ===================================
   REVIEWS SECTION
   =================================== */

.reviews-section {
  background-color: #F8F9FA;
  padding: 3rem 2rem;
  border-radius: 8px;
  margin: 3rem 0;
}

.reviews-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.review-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #C0392B;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.stars {
  color: #FFD700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: #555;
}

.reviewer-name {
  font-weight: 700;
  color: #2C3E50;
}

/* ===================================
   CONTENT SECTIONS
   =================================== */

.section {
  padding: 2.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.section-intro h2 {
  margin-bottom: 1rem;
}

.section-intro p {
  font-size: 1.1rem;
  color: #555;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

.two-column img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .section {
    padding: 2rem 1.5rem;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .trust-strip {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===================================
   SERVICE DETAIL SECTIONS
   =================================== */

.service-detail {
  background: white;
  border: 2px solid #ECF0F1;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 6px solid #C0392B;
}

.service-detail:nth-child(even) {
  border-left-color: #2471A3;
}

.service-detail h3 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-detail-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #C0392B, #2471A3);
  color: white;
  border-radius: 8px;
}

.service-detail ul {
  list-style: none;
  margin: 1rem 0;
}

.service-detail ul li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
}

.service-detail ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #C0392B;
  font-weight: bold;
  font-size: 1.2rem;
}

/* ===================================
   CONTACT FORM
   =================================== */

.contact-form {
  background: #F8F9FA;
  padding: 2.5rem;
  border-radius: 8px;
  max-width: 600px;
  margin: 2rem auto;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2C3E50;
}

input,
textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #ECF0F1;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #2471A3;
  box-shadow: 0 0 0 3px rgba(36, 113, 163, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background-color: #C0392B;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-submit:hover {
  background-color: #A03225;
}

/* ===================================
   CONTACT INFO SECTION
   =================================== */

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.contact-item {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border-top: 4px solid #2471A3;
  text-align: center;
}

.contact-item:nth-child(2) {
  border-top-color: #C0392B;
}

.contact-item:nth-child(3) {
  border-top-color: #2471A3;
}

.contact-item h4 {
  color: #2C3E50;
  margin-bottom: 1rem;
}

.contact-item p {
  margin: 0.5rem 0;
}

.contact-item a {
  color: #2471A3;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #C0392B;
}

/* ===================================
   GOOGLE MAPS EMBED
   =================================== */

.map-container {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

@media (max-width: 768px) {
  .map-container iframe {
    height: 300px;
  }
}

/* ===================================
   EMERGENCY PAGE - SAFETY BOARD STYLE
   =================================== */

.emergency-hero {
  background: linear-gradient(135deg, #C0392B 0%, #A03225 100%);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.emergency-hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.emergency-hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
}

.emergency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.emergency-panel {
  background: repeating-linear-gradient(
    45deg,
    #C0392B,
    #C0392B 10px,
    white 10px,
    white 20px
  );
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.emergency-panel:hover {
  transform: translateY(-4px);
}

.emergency-content {
  background: white;
  padding: 1.5rem;
}

.emergency-content h3 {
  color: #C0392B;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.emergency-content p {
  margin: 0.5rem 0;
  font-weight: 600;
  color: #2C3E50;
}

.emergency-content a {
  color: #2471A3;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.emergency-content a:hover {
  color: #C0392B;
}

.emergency-icon {
  font-size: 1.5rem;
}

/* ===================================
   FOOTER
   =================================== */

footer {
  background: linear-gradient(135deg, #2C3E50 0%, #1C252F 100%);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

footer a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

.text-red {
  color: #C0392B;
}

.text-blue {
  color: #2471A3;
}

.mt-2 {
  margin-top: 1.5rem;
}

.mb-2 {
  margin-bottom: 1.5rem;
}

.hidden {
  display: none;
}

/* ===================================
   ANIMATIONS
   =================================== */

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}
