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

:root {
  --blue: #2c5f8a;
  --blue-dark: #1e4060;
  --blue-light: #3a7cb8;
  --gray-dark: #333;
  --gray: #666;
  --gray-light: #f5f5f5;
  --white: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,0.12);
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Trebuchet MS', Arial, Helvetica, sans-serif;
  color: var(--gray-dark);
  line-height: 1.6;
  background-color: var(--gray-light);
}

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  color: var(--blue-light);
}

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

/* === Top Bar === */
.top-bar {
  background: var(--blue-dark);
  color: var(--white);
  text-align: center;
  padding: 8px 20px;
  font-size: 0.85rem;
}
.top-bar a {
  color: var(--white);
  opacity: 0.9;
}
.top-bar a:hover {
  opacity: 1;
}

/* === Header === */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img {
  height: 50px;
  width: auto;
}
.header-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue-dark);
  letter-spacing: 0.5px;
}

/* === Navigation === */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-dark);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  text-transform: capitalize;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--blue);
  color: var(--white);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--blue-dark);
  padding: 8px;
}

/* === Hero Section === */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 24px;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* === Content Sections === */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 24px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 30px;
  text-align: center;
}

/* === Home: Intro + Slideshow === */
.home-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.slideshow {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1;
  background: #000;
}
.slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.slideshow img.active {
  opacity: 1;
}
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-style: italic;
  z-index: 2;
}

.intro-text h2 {
  font-size: 1.5rem;
  color: var(--blue-dark);
  margin-bottom: 16px;
}
.intro-text p {
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.intro-text ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.intro-text ul li {
  padding: 10px 0 10px 30px;
  position: relative;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-dark);
}
.intro-text ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.2rem;
}

/* === Services Cards === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  padding: 30px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
}
.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 1.15rem;
  color: var(--blue-dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--gray);
}

/* === About Page === */
.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}
.team-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.team-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.team-card h3 {
  font-size: 1rem;
  color: var(--blue-dark);
  margin-bottom: 4px;
}
.team-card p {
  font-size: 0.85rem;
  color: var(--gray);
}
.about-text p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* === Gallery === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s;
}
.gallery-item:hover {
  transform: scale(1.02);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.gallery-item p {
  padding: 12px 16px;
  background: var(--white);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gray);
}

/* === CTA / Contact Section === */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: var(--white);
  text-align: center;
  padding: 50px 24px;
}
.cta-section h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.cta-phone {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-email {
  font-size: 1.1rem;
}
.cta-email a {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}
.cta-email a:hover {
  border-bottom-color: var(--white);
}

/* === Trust Badges === */
.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 30px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.trust-badges a img,
.trust-badges img {
  height: 50px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.trust-badges a:hover img {
  transform: scale(1.05);
}

/* === Footer === */
.site-footer {
  background: var(--gray-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 20px 24px;
  font-size: 0.85rem;
}
.site-footer a {
  color: rgba(255,255,255,0.9);
}

/* === Responsive === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 12px;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
  }
  .main-nav a {
    padding: 12px 18px;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .home-intro {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .cta-phone {
    font-size: 1.6rem;
  }
}

/* === Gallery Categories === */
.gallery-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--blue);
}
