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

/* ===== BASE ===== */
body {
  font-family: "Inter", "Open Sans", Arial, sans-serif;
  color: #1f2933;
  background: #f7f7f7;
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.narrow {
  max-width: 850px;
}

/* ===== HEADER ===== */
.header {
  background: #0e1a2b;
  color: #fff;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.nav-btn {
  border: 1px solid #c9a24d;
  padding: 6px 14px;
}

.hero {
  position: relative;
  height: 75vh;
  overflow: hidden;
}

/* Slides */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 43, 0.75);
  z-index: 1;
}

/* Text */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 700px;
  padding-left: 5%;
  animation: heroEnter 1.4s ease forwards;
}

.hero h1 {
  font-size: 46px;
}

.gold-line {
  width: 80px;
  height: 3px;
  background: #c9a24d;
  margin: 18px 0;
}

.hero p {
  font-size: 18px;
  color: #e5e7eb;
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== SECTIONS ===== */
.section {
  padding: 60px 0;
}

.bg-light {
  background: #ffffff;
}

.bg-dark {
  background: #0e1a2b;
  color: #e5e7eb;
}

h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.lead {
  font-size: 17px;
  margin-bottom: 40px;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.about-grid h3 {
  margin-bottom: 10px;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: #f9fafb;
  padding: 25px;
  border-left: 4px solid #c9a24d;
  font-size: 15px;
}

/* ===== PROJECTS ===== */
.project-list {
  list-style: square;
  padding-left: 20px;
  font-size: 15px;
}

.project-list li {
  margin-bottom: 10px;
}

/* ===== CONTACT ===== */
.contact-info p {
  margin-bottom: 12px;
  font-size: 15px;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #0e1a2b, #14243d);
  color: #fff;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-brand h3 {
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.footer-brand p {
  color: #cfd6e4;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact h4 {
  font-size: 16px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 8px;
  color: #cfd6e4;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 15px;
  font-size: 13px;
  color: #cfd6e4;
}
/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #e5e7eb;
  transition: transform 0.25s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}
/* ===== LIGHTBOX ===== */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
}

#closeLightbox {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}
#gallery {
  margin-bottom: 100px;
}
/* Reduce space between gallery and footer */
#gallery {
  padding-bottom: 20px;
}

.footer {
  margin-top: 20px;
}
.section {
  margin-bottom: 0;
}
.gallery-grid {
  margin-bottom: 0;
}
body {
  margin: 0;
}
/* FORCE gallery section to wrap content tightly */
#gallery {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

#gallery.bg-light {
  padding-bottom: 0 !important;
}