/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;

  /* space for the fixed header (approx height of topbar+brandbar+menubar) */
  padding-top: 152px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================= */
/* HEADER (Two-row: brand + nav) */
/* ============================= */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* Top utility bar */
.topbar {
  background: #1f2a36;
  color: #d6dde4;
  font-size: 0.9rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 1rem;
}

.topbar a {
  color: #d6dde4;
  text-decoration: none;
}

.top-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #233041;
  border: 1px solid #2a3a4e;
  padding: 4px 10px;
  border-radius: 999px;
  margin-right: 8px;
  white-space: nowrap;
  font-size: 0.85rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Brand row */
.brandbar {
  background: #2c3e50;
  color: white;
}

.brandbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 86px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-large {
  height: 72px;           /* big, prominent logo */
  width: auto;
  object-fit: contain;
}

.brand-text h1 {
  font-size: 1.9rem;
  color: #ffffff;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.5px;
}

.brand-text span {
  font-size: 0.9rem;
  color: #c7d0d8;
  line-height: 1.1;
}

/* Phone + CTA right */
.header-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.cta-label {
  font-size: 0.8rem;
  color: #b8c2cc;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.cta-phone {
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.6rem;       /* large phone number */
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-phone i { font-size: 1rem; }

.btn-quote, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  gap: 8px;
  min-height: 44px;
}

.btn-quote {
  background: #27ae60;
  color: #fff;
}

.btn-quote:hover {
  background: #229954;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(39, 174, 96, 0.28);
}

/* Burger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  background: transparent;
  border: 0;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Navigation row */
.menubar {
  background: #1f2a36;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  min-height: 56px;
  align-items: center;
  justify-content: flex-start;
}

.nav-link {
  text-decoration: none;
  color: #e7edf3;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.2px;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #5fb2ff;
}

.nav-link.active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 3px;
  background: #5fb2ff;
  border-radius: 2px;
}

/* ================= */
/* HERO / GENERAL UI */
/* ================= */

.hero {
  position: relative;
  background: url(../images/image1.jpg) no-repeat center center;
  background-size: cover;
  color: white;
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero .container { position: relative; z-index: 1; }

.hero-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: white;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

.feature i { color: #5fb2ff; width: 20px; }

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons (shared) */
.btn-primary {
  background: #3498db;
  color: white;
}

.btn-primary:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.btn-emergency {
  background: #e74c3c;
  color: white;
}

.btn-emergency:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

/* Hero form */
.hero-form {
  background: white;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 140px;
}

.form-header {
  background: #3498db;
  color: white;
  padding: 1.5rem;
  border-radius: 12px 12px 0 0;
}

.form-header h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.form-tabs { display: flex; }

.tab-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
}

.tab-btn.active {
  background: white;
  color: #3498db;
}

.hero-form .contact-form { padding: 2rem; }

.hero-form .form-group { margin-bottom: 1rem; }

.hero-form .form-group input,
.hero-form .form-group textarea,
.hero-form .form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  background: #f8f9fa;
  font-family: inherit;
}

.hero-form .form-group input:focus,
.hero-form .form-group textarea:focus,
.hero-form .form-group select:focus {
  outline: none;
  border-color: #3498db;
  background: white;
}

.hero-form .form-group select {
  background-color: #f8f9fa;
  border: 2px solid #e9ecef;
}

.hero-form .form-group select:focus {
  background-color: white;
  border-color: #3498db;
}

.call-section {
  background: #2c3e50;
  color: white;
  padding: 1.5rem;
  text-align: center;
  border-radius: 0 0 12px 12px;
}

.call-label {
  font-size: 0.8rem;
  color: #bdc3c7;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.call-number {
  color: #FFFFFF !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.call-number:hover { color: #3498db !important; }

.call-number i { font-size: 0.9rem; }

/* Form Dropdown menu text colour styling */
.form-group select:invalid { color: #6c757d; }
.form-group select:valid { color: #333; }
.form-group select option:first-child { color: #6c757d; }

/* About */
.about { padding: 100px 0; background: #f8f9fa; }

.about-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 5rem;
  align-items: start;
}

.profile-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-text h3 {
  font-size: 1.3rem;
  color: #3498db;
  margin-bottom: 2rem;
  font-weight: 600;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.highlight i { color: #3498db; font-size: 1.5rem; margin-top: 4px; }
.highlight h4 { color: #2c3e50; margin-bottom: 0.5rem; font-size: 1.1rem; }
.highlight p { color: #666; margin: 0; font-size: 0.95rem; }

/* Services */
.services { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 700;
}
.section-header p { font-size: 1.2rem; color: #666; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-image { height: 200px; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; }

.service-content { padding: 2rem; }
.service-content h3 { font-size: 1.3rem; margin-bottom: 1rem; color: #2c3e50; font-weight: 600; }
.service-content p { margin-bottom: 1.5rem; color: #666; line-height: 1.6; }

.service-link {
  color: #3498db; text-decoration: none; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px; transition: color 0.3s;
}
.service-link:hover { color: #2980b9; }

/* Gallery */
.gallery { padding: 100px 0; background: #f8f9fa; }

.gallery-categories {
  display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap;
}

.category-btn {
  background: white; border: 2px solid #e9ecef; color: #666; padding: 10px 20px;
  border-radius: 25px; cursor: pointer; transition: all 0.3s; font-weight: 600;
}

.category-btn.active,
.category-btn:hover { background: #3498db; border-color: #3498db; color: white; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem; margin-bottom: 3rem;
}

.gallery-item {
  position: relative; border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transition: transform 0.3s, box-shadow 0.3s; background: white;
}

.gallery-item:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.15); }

.gallery-item img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white; padding: 2rem 1.5rem 1.5rem; transform: translateY(100%); transition: transform 0.3s;
}
.gallery-item:hover .gallery-overlay { transform: translateY(0); }

.gallery-overlay h4 { font-size: 1.2rem; margin-bottom: 0.5rem; font-weight: 700; }
.gallery-overlay p { font-size: 0.9rem; opacity: 0.9; margin: 0; }

.gallery-cta { text-align: center; margin-top: 3rem; }
.gallery-cta p { font-size: 1.1rem; color: #666; }
.gallery-cta a { color: #3498db; text-decoration: none; font-weight: 700; transition: color 0.3s; }
.gallery-cta a:hover { color: #2980b9; }

/* Contact */
.contact { padding: 100px 0; background: #f8f9fa; }

.contact-header { text-align: center; margin-bottom: 4rem; }
.contact-header h2 {
  font-size: 3rem; color: #2c3e50; margin-bottom: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
}
.contact-header p { font-size: 1.2rem; color: #666; max-width: 600px; margin: 0 auto; line-height: 1.6; }

.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }

.contact-item {
  display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2rem;
}
.contact-item i { color: #3498db; font-size: 1.5rem; margin-top: 0.25rem; }
.contact-item h4 { margin-bottom: 0.5rem; color: #2c3e50; font-weight: 700; }
.contact-item a { color: #555; text-decoration: none; transition: color 0.3s; }
.contact-item a:hover { color: #3498db; }

.emergency-box {
  background: #e74c3c; color: white; padding: 2rem; border-radius: 12px; text-align: center; margin-top: 2rem;
}
.emergency-box h4 { margin-bottom: 1rem; color: white; }

.contact-form-wrapper {
  background: white; padding: 2rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }

.form-group { margin-bottom: 1rem; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 16px; border: 2px solid #e9ecef; border-radius: 8px;
  font-size: 0.95rem; transition: border-color 0.3s; background: #f8f9fa; font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: #3498db; background: white; }

.form-group select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px;
}
.form-group select:hover { border-color: #3498db; }
.form-group select option { padding: 10px; background: white; color: #333; }
.form-group select option:first-child { color: #999; }

/* Footer */
.footer { background: #2c3e50; color: white; padding: 3rem 0 1rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-info h4 { font-size: 1.5rem; margin-bottom: 1rem; color: #3498db; }
.footer-badges { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.footer-badges span { background: #34495e; padding: 6px 12px; border-radius: 15px; font-size: 0.8rem; }
.footer-links h4 { margin-bottom: 1rem; color: #3498db; }
.footer-links ul { list-style: none; }
.footer-links a { color: #bdc3c7; text-decoration: none; line-height: 2; transition: color 0.3s; }
.footer-links a:hover { color: #3498db; }
.footer-bottom { border-top: 1px solid #34495e; padding-top: 1rem; text-align: center; color: #95a5a6; }

/* Modal Styles */
.modal {
  display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px);
}
.modal-content {
  background-color: #fff; margin: 15% auto; padding: 2rem; border-radius: 12px; width: 90%; max-width: 500px;
  text-align: center; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: modalSlideIn 0.3s ease-out;
}
@keyframes modalSlideIn { from { opacity:0; transform: translateY(-50px);} to { opacity:1; transform: translateY(0);} }
.modal-icon { font-size: 4rem; color: #27ae60; margin-bottom: 1rem; }
.modal-content h3 { color: #2c3e50; margin-bottom: 1rem; font-size: 1.5rem; }
.modal-content p { color: #666; margin-bottom: 1.5rem; line-height: 1.6; }
.modal-contact { border-top: 1px solid #e9ecef; padding-top: 1.5rem; margin-top: 1.5rem; }
.modal-contact p { margin-bottom: 1rem; font-weight: 700; color: #2c3e50; }
.close {
  color: #aaa; float: right; font-size: 28px; font-weight: bold; position: absolute; top: 1rem; right: 1.5rem;
  cursor: pointer; transition: color 0.3s;
}
.close:hover, .close:focus { color: #2c3e50; }

/* Form message styling */
.form-message { padding: 1rem; border-radius: 8px; margin-top: 1rem; font-weight: 600; text-align: center; }
.form-message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* =============================== */
/* RESPONSIVE (Mobile-first tweaks) */
/* =============================== */

@media (max-width: 992px) {
  .brandbar-inner {
    grid-template-columns: auto 1fr auto;
  }
  .cta-phone { font-size: 1.4rem; }
  body { padding-top: 160px; } /* small bump for two-row header */
}

@media (max-width: 768px) {
  /* Show burger, stack brand/cta */
  .hamburger { display: flex; }
  .header-cta { display: none; } /* hide on small screens; we show a floating bar instead */
  .brandbar-inner { grid-template-columns: auto 1fr auto; }

  /* Nav becomes drawer */
  .nav-menu {
    position: fixed;
    left: -100%;
    top: calc(36px + 86px); /* below topbar + brandbar */
    flex-direction: column;
    background-color: #1f2a36;
    width: 100%;
    text-align: left;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
    padding: 1rem 0 2rem;
    gap: 0.5rem;
    z-index: 999;
  }

  .nav-menu li { padding: 0.75rem 1.25rem; border-bottom: 1px solid #2a3a4e; }
  .nav-menu.active { left: 0; }

  .nav-link { display: block; }

  /* Hero */
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-text h1 { font-size: 2.3rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-buttons { justify-content: center; }
  .hero-form { position: static; order: -1; }

  /* About */
  .about-content { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .about-highlights { gap: 1rem; }

  /* Services & Gallery */
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-categories { gap: 0.5rem; }
  .category-btn { padding: 8px 16px; font-size: 0.9rem; }

  /* Contact */
  .contact-header h2 { font-size: 2rem; }
  .contact-content { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-content { grid-template-columns: 1fr; text-align: center; }

  body { padding-top: 134px; }
}

@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .hero { padding: 80px 0 40px; }
  .hero-text h1 { font-size: 1.9rem; }
  .hero-form .contact-form { padding: 1.5rem; }
  .btn { padding: 12px 20px; font-size: 0.9rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-content { padding: 1.5rem; }
  .contact-header h2 { font-size: 1.6rem; }
}

/* Mobile phone bar for emergency calls */
.mobile-phone-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-phone-bar {
    display: block;
    background: #e74c3c;
    color: white;
    padding: 1rem;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.2);
  }

  .mobile-phone-bar a {
    color: white;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  /* Make room for mobile call bar */
  body { padding-bottom: 70px; }
}


.btn-form {
  background: #27ae60;
  color: white;
  width: 100%;
}

.btn-form:hover {
  background: #229954;
}
.btn-form {
  background: #27ae60;
  color: white;
  width: 100%;
}

.btn-form:hover {
  background: #229954;
}
