:root {
  --primary: #7b1113;
  --primary-dark: #5b0b0d;
  --dark: #101828;
  --blue: #0f3d5e;
  --muted: #667085;
  --light: #f5f7fa;
  --border: #e4e7ec;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 231, 236, 0.8);
}

.navbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 180px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a:not(.btn):hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--light);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--dark);
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 24, 40, 0.88), rgba(16, 24, 40, 0.42)),
    url("../assets/img/hero.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% auto;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(123, 17, 19, 0.35);
  filter: blur(90px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  padding: 8px 14px;
  border-radius: 999px;
}

.section-kicker.light {
  color: #ffb4b6;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 980px;
}

.hero p {
  max-width: 720px;
  margin: 24px 0 32px;
  font-size: 1.16rem;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: var(--light);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.intro-section {
  padding: 64px 0;
  background: #ffffff;
}

.intro-grid,
.two-column,
.experience-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.intro-grid h2,
.content-block h2,
.section-heading h2,
.experience-grid h2,
.cta-card h2,
.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.intro-grid p,
.content-block p,
.section-heading p,
.experience-grid p,
.cta-card p,
.contact-info p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: var(--dark);
  color: var(--white);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stats-card div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 18px;
}

.stats-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 8px;
}

.stats-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.image-card {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.content-block p + p {
  margin-top: 14px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.check-list span {
  position: relative;
  padding-left: 34px;
  font-weight: 700;
}

.check-list span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(123, 17, 19, 0.12);
  color: var(--primary);
  font-size: 0.8rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 32px rgba(16, 24, 40, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(123, 17, 19, 0.1);
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.service-card h3,
.project-content h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card p,
.project-content p {
  color: var(--muted);
  font-size: 0.96rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--dark);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.project-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 10px 32px rgba(16, 24, 40, 0.06);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.project-card.hide {
  display: none;
}

.project-card:hover {
  transform: translateY(-5px);
}

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

.project-content {
  padding: 20px;
}

.project-content span {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.experience-list {
  display: grid;
  gap: 16px;
}

.experience-list div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-list strong {
  color: #ffb4b6;
  font-size: 1.2rem;
}

.experience-list span {
  color: rgba(255, 255, 255, 0.78);
}

.cta-section {
  padding: 72px 0;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(123, 17, 19, 0.16), transparent 35%),
    var(--light);
}

.contact-grid {
  align-items: start;
}

.contact-cards {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.contact-cards div {
  padding: 18px;
  border-radius: 18px;
  background: var(--light);
  border: 1px solid var(--border);
}

.contact-cards strong {
  display: block;
  margin-bottom: 6px;
}

.contact-cards span {
  color: var(--muted);
}

.contact-form {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(123, 17, 19, 0.1);
}

textarea {
  resize: vertical;
}

.form-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}


.footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.72);
  padding: 28px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer a {
  color: var(--white);
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    padding: 14px;
  }

  .nav-menu .btn {
    margin-top: 8px;
  }

  .intro-grid,
  .two-column,
  .experience-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .stats-card {
    grid-template-columns: 1fr;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .image-card img {
    height: 420px;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 150px;
  }

  .navbar {
    height: 72px;
  }

  .nav-menu {
    top: 72px;
  }

  .hero {
    min-height: 620px;
  }

  .section {
    padding: 72px 0;
  }

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

  .project-card img {
    height: 260px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Contact form and clickable contact links */
.contact-cards a {
  color: var(--primary);
  font-weight: 700;
  word-break: break-word;
}

.contact-cards a:hover {
  text-decoration: underline;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hidden-field {
  display: none !important;
}


/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.whatsapp-float:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }

}




/* Photo gallery - fixed grid, animation and lightbox */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.gallery-tab {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--dark);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.gallery-tab.active,
.gallery-tab:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.photo-gallery {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.gallery-item {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 10px 32px rgba(16, 24, 40, 0.06);
  opacity: 0;
  transform: translateY(22px);
  transition: transform 0.28s ease, opacity 0.35s ease, box-shadow 0.28s ease;
}

.gallery-item.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.gallery-item.hide {
  display: none !important;
}

.gallery-image-button {
  width: 100%;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-image-button img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover .gallery-image-button img {
  transform: scale(1.06);
  filter: brightness(0.94);
}

.gallery-caption {
  padding: 18px;
}

.gallery-caption span {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.gallery-caption h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.gallery-caption p {
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(16, 24, 40, 0.88);
  backdrop-filter: blur(8px);
}

.gallery-lightbox.open {
  display: flex;
  flex-direction: column;
  animation: lightboxFade 0.2s ease forwards;
}

.gallery-lightbox img {
  max-width: min(980px, 92vw);
  max-height: 78vh;
  border-radius: 22px;
  box-shadow: var(--shadow);
  object-fit: contain;
  background: var(--white);
}

.gallery-lightbox p {
  max-width: 900px;
  margin-top: 14px;
  color: var(--white);
  text-align: center;
  font-weight: 700;
}

.gallery-lightbox-close {
  position: fixed;
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--dark);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-lightbox-close:hover {
  transform: scale(1.06);
}

@keyframes lightboxFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .photo-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-image-button img {
    height: 260px;
  }

  .gallery-lightbox {
    padding: 18px;
  }

  .gallery-lightbox-close {
    top: 14px;
    right: 14px;
  }
}
