/* ===== New Royale — Water Damage Restoration ===== */
/* Color Palette: Navy #1B2A4A, Dark Navy #0F1D35, Accent Blue #2C5F8A,
   Light Gray #F5F6F8, Medium Gray #E0E2E7, Dark Gray #4A4F5C, White #FFFFFF */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
  line-height: 1.7;
  background: #fff;
}

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

a {
  color: #2C5F8A;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1B2A4A;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1B2A4A;
  line-height: 1.3;
  font-weight: 700;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.section-padding-sm {
  padding: 50px 0;
}

.bg-light {
  background: #F5F6F8;
}

.bg-navy {
  background: #1B2A4A;
  color: #fff;
}

.bg-navy h2, .bg-navy h3, .bg-navy h4 {
  color: #fff;
}

.bg-navy a {
  color: #a8c4e0;
}

.bg-navy a:hover {
  color: #fff;
}

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

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #4A4F5C;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.bg-navy .section-subtitle {
  color: #c0c8d4;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: #1B2A4A;
  color: #fff;
  border-color: #1B2A4A;
}

.btn-primary:hover {
  background: #2C5F8A;
  border-color: #2C5F8A;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #1B2A4A;
  border-color: #1B2A4A;
}

.btn-outline:hover {
  background: #1B2A4A;
  color: #fff;
}

.btn-white {
  background: #fff;
  color: #1B2A4A;
  border-color: #fff;
}

.btn-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn + .btn {
  margin-left: 12px;
}

/* ===== HEADER / NAV ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #E0E2E7;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1140px;
  margin: 0 auto;
  height: 72px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1B2A4A;
  letter-spacing: -0.02em;
}

.logo span {
  color: #2C5F8A;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: #4A4F5C;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1B2A4A;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #2C5F8A;
}

.nav-cta {
  background: #1B2A4A;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
}

.nav-cta:hover {
  background: #2C5F8A;
  color: #fff !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1B2A4A;
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #1B2A4A 0%, #0F1D35 100%);
  color: #fff;
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('../images/hero-water-damage.jpg') center/cover no-repeat;
  opacity: 0.15;
}

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

.hero h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 1rem;
  max-width: 700px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  color: #c0c8d4;
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #1B2A4A 0%, #0F1D35 100%);
  color: #fff;
  padding: 60px 0 50px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: #c0c8d4;
  font-size: 1.05rem;
}

/* ===== INTRO SECTION ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

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

.intro-text p {
  margin-bottom: 1rem;
  color: #4A4F5C;
}

.intro-image img {
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #fff;
  border: 1px solid #E0E2E7;
  border-radius: 6px;
  padding: 30px;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

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

.service-card .icon {
  width: 48px;
  height: 48px;
  background: #F5F6F8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #2C5F8A;
  font-size: 1.3rem;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.92rem;
  color: #4A4F5C;
  line-height: 1.6;
}

/* ===== WHY CHOOSE ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-item {
  text-align: center;
  padding: 20px;
}

.why-item .icon-circle {
  width: 64px;
  height: 64px;
  background: rgba(44, 95, 138, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: #2C5F8A;
}

.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.9rem;
  color: #4A4F5C;
}

/* ===== PROPERTY TYPES ===== */
.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.property-card {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #E0E2E7;
}

.property-card .icon-lg {
  font-size: 2rem;
  color: #2C5F8A;
  margin-bottom: 12px;
}

.property-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.property-card p {
  font-size: 0.85rem;
  color: #4A4F5C;
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #E0E2E7;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-card-body {
  padding: 24px;
}

.project-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 0.9rem;
  color: #4A4F5C;
  line-height: 1.6;
}

.project-meta {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #7a7f8a;
}

/* ===== SERVICE AREA ===== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.area-item {
  padding: 16px 20px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #E0E2E7;
}

.area-item h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.area-item p {
  font-size: 0.85rem;
  color: #4A4F5C;
}

.area-map {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.area-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #E0E2E7;
  padding: 20px 0;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1B2A4A;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: #2C5F8A;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 12px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: #4A4F5C;
  line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-block {
  margin-bottom: 24px;
}

.contact-info-block h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.contact-info-block p,
.contact-info-block a {
  font-size: 0.95rem;
  color: #4A4F5C;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1B2A4A;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E0E2E7;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  margin-bottom: 18px;
  transition: border-color 0.2s;
  background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2C5F8A;
}

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

.form-group {
  margin-bottom: 0;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  text-align: center;
  padding: 60px 20px;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: #c0c8d4;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0F1D35;
  color: #a0a8b8;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about .logo {
  color: #fff;
  margin-bottom: 12px;
  display: inline-block;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #8a92a4;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #8a92a4;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: #6a7286;
}

.footer-bottom a {
  color: #6a7286;
  font-size: 0.82rem;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ===== SERVICES DETAIL PAGE ===== */
.service-detail {
  padding: 40px 0;
}

.service-detail-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid #E0E2E7;
}

.service-detail-item:last-child {
  border-bottom: none;
}

.service-detail-item:nth-child(even) {
  direction: rtl;
}

.service-detail-item:nth-child(even) > * {
  direction: ltr;
}

.service-detail-text h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-detail-text p {
  color: #4A4F5C;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.service-detail-image img {
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 20px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  color: #4A4F5C;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 1rem;
}

.legal-content ul li {
  color: #4A4F5C;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .services-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intro-grid,
  .service-detail-item {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-detail-item:nth-child(even) {
    direction: ltr;
  }

  .area-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 70px 0 60px;
  }

  .section-padding {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid #E0E2E7;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn + .btn {
    margin-left: 0;
    margin-top: 8px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .services-grid,
  .why-grid,
  .property-grid {
    grid-template-columns: 1fr;
  }

  .area-list {
    grid-template-columns: 1fr;
  }
}
