:root {
  --navy: #0A2342;
  --gold: #D4AF37;
  --muted: #f6f7f9;
  --text: #0b2540;
  --radius: 12px;
  --max-width: 1200px;
}

/* === BASE === */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Open Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: linear-gradient(180deg, var(--muted) 0%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* === HEADER & LOGO === */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(10,35,66,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }

/* --- GL ICON ADDITION --- */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.1;
}
.logo-icon {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.logo-main { color: var(--navy); }
.logo-accent { color: var(--gold); }
.logo .tagline {
  font-size: 12px;
  color: rgba(10,35,66,0.6);
  font-weight: 500;
  letter-spacing: 0.4px;
}

/* === NAVIGATION === */
nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
nav a {
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--navy);
  font-weight: 600;
}
nav a:hover { background: rgba(10,35,66,0.04); }
.cta-primary {
  background: var(--gold);
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 700;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 60vh;
  overflow: hidden;
}
.hero__slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}
.hero__slideshow .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero__slideshow .slide.active { opacity: 1; }

/* Lightened overlay for brighter slides */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 35, 66, 0.25), rgba(10, 35, 66, 0.35));
  z-index: -1;
}

/* Text improvements for visibility */
.hero__content {
  padding: 80px 0;
  color: #f9f9f9;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}
.hero h1 {
  font-family: 'Montserrat';
  font-size: 32px;
  margin: 0 0 12px;
  line-height: 1.05;
  color: var(--gold);
}
.hero p {
  max-width: 720px;
  margin: 0 0 18px;
  opacity: 0.98;
}
.hero .hero-buttons {
  display: flex;
  gap: 12px;
}

/* === SECTIONS === */
section { padding: 48px 0; }
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.eyebrow { font-weight: 700; color: var(--gold); font-size: 13px; }
.h2 { font-family: 'Montserrat'; font-size: 22px; margin: 0; }

/* === SERVICES === */
.services { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(11,37,64,0.06);
  min-height: 160px;
}
.card h3 { margin: 14px 0 8px; font-family: 'Montserrat'; }
.card p { margin: 0; color: rgba(11,37,64,0.7); }

/* === PROJECTS === */
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.project {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 180px;
  background: #ddd;
}
.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project .meta {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
}

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; }
form {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(11,37,64,0.05);
}
label { display: block; margin-bottom: 8px; font-weight: 600; }
input, textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6e9ee;
  font-size: 14px;
}
textarea { min-height: 140px; }
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
}
.btn--primary { background: var(--gold); color: var(--navy); }

/* === FOOTER === */
footer {
  background: #0b2540;
  color: #fff;
  width: 100%;
  padding: 40px 0;
}
footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.footer-grid h4 { color: #fff; }

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .services { grid-template-columns: repeat(2,1fr); }
  .projects-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  nav ul { display: none; }
  .hero h1 { font-size: 24px; }
  .services { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .brand .tagline { display: none; }
  .mobile-toggle { display: block; }
  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
}

/* === MOBILE NAV === */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}
nav[aria-expanded="true"] ul { display: block; }

/* === ABOUT PAGE === */
#about img {
  border-radius: 10px;
  object-fit: cover;
  display: block;
  height: auto;
  margin-top: 8px;
}
#about .text-block p { margin-bottom: 14px; }
#about h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-top: 20px;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  #about .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* === SERVICES PAGE === */
#services .service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
#services .card {
  background: #fff;
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(11, 37, 64, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
#services .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(11, 37, 64, 0.08);
}
#services .card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin: 10px 0 6px;
}
#services h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  margin-top: 24px;
  margin-bottom: 6px;
}

/* === PROJECTS PAGE === */
#projects .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(11, 37, 64, 0.08);
}
.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.4s ease;
}
.project-card:hover img { transform: scale(1.06); }
.project-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 10px 16px;
  font-size: 0.95rem;
  border-radius: 0 0 14px 14px;
  font-weight: 600;
}
/* === RENOVATIONS GALLERY === */
#renovations-gallery {
  padding: 60px 0;
  background: #fff;
}

#renovations-gallery .section-title {
  text-align: center;
  margin-bottom: 30px;
}

#renovations-gallery .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

#renovations-gallery .project {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f4f7;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#renovations-gallery .project img {
  width: 100%;
  height: 200px; /* reduced height for balance */
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

#renovations-gallery .project:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

#renovations-gallery .project:hover img {
  transform: scale(1.05);
}

#renovations-gallery .meta {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #renovations-gallery .project img {
    height: 160px;
  }
}
/* Mobile Navigation */
.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  .mobile-toggle {
    display: inline-block;
  }
  #main-menu {
    display: none;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    position: absolute;
    top: 60px; /* below header */
    left: 0;
    width: 100%;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
  }
  #main-menu.open {
    display: flex;
  }
  #main-menu li a {
    display: block;
    padding: 8px 0;
  }
}
/* Mobile Navigation */
.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: inline-block;
  }
  #main-menu {
    display: none;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
  }
  #main-menu.open {
    display: flex;
  }
  #main-menu li a {
    display: block;
    padding: 8px 0;
  }
}
/* === Page Hero (Subheader Background Section) === */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.page-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
}

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

.back-btn {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 10px;
  transition: opacity 0.3s;
}

.back-btn:hover {
  opacity: 0.8;
}

.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
}
/* === STATS / COUNTER SECTION === */
.stats-section {
  background: linear-gradient(135deg, #002b5b, #0a3d79);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat .number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: #d4af37;
  transition: all 0.3s ease;
}

.stat .label {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  opacity: 0.85;
  margin-top: 8px;
}

/* === Stats Section === */
.stats-section {
  background: linear-gradient(to right, #003366, #00509e);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  align-items: center;
}

.stat-item {
  font-family: 'Montserrat', sans-serif;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  display: inline-block;
  color: var(--gold, #d4af37);
}

.plus {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 2px;
}

.stat-item p {
  margin: 6px 0 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* === FORCE MOBILE NAV TOGGLE VISIBILITY === */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block !important;
  }
}
