:root {
  --bg-main: #f6f5f2;
  --bg-white: #ffffff;
  --text-dark: #111;
  --text-muted: #6b6b6b;
  --accent: #b9a37c;
}

@font-face {
  font-family: "Neutraface Text";
  src: url("../fonts/NeutrafaceText-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

h1,
h2,
h3 {
  font-family: "Neutraface Text", "Inter", sans-serif;
  letter-spacing: 0.04em;
  font-weight: 400;
}

p {
  color: var(--text-muted);
  font-size: 14px;
}
.width-50 {
  width: 60%;
}
/* HEADER */
.header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

nav a {
  margin-left: 28px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
}

.btn {
  padding: 10px 18px;
  border: 1px solid #111;
  text-decoration: none;
  color: #111;
}

.btn.dark {
  background: #111;
  color: #fff;
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.slides,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.slide.active {
  opacity: 1;
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-text {
  position: absolute;
  bottom: 18%;
  left: 0;
  right: 0;
  z-index: 2;
  color: #fff;
}

.hero-text h1 {
  max-width: 720px;
  font-size: 52px;
}

.link {
  display: inline-block;
  margin-top: 20px;
  letter-spacing: 0.14em;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
}

/* SECTIONS */
.section {
  padding: 100px 0;
}
.section.light {
  background: #fafafa;
}

.split {
  display: flex;
  gap: 60px;
}

.stat-box {
  display: flex;
  gap: 40px;
}

.stat-box-item {
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.images .img-box {
  height: 280px;
  background: #ddd;
}

.cta {
  padding: 120px 0;
  background: #111;
  color: #fff;
  text-align: center;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
}

.footer {
  padding: 30px;
  text-align: center;
  font-size: 14px;
  color: #777;
}

/* MOBILE MENU */
.menu-toggle {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #eee;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

.mobile-menu a {
  padding: 16px 20px;
  text-decoration: none;
  color: #111;
  border-bottom: 1px solid #f1f1f1;
  letter-spacing: 0.08em;
}

#services {
  position: relative;
  background-image: url("../images/section-bg.png");
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
}

#services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

#services .container {
  position: relative;
  z-index: 2;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }

  .mobile-menu.active {
    display: flex;
  }

  .hero-text h1 {
    font-size: 32px;
  }
  .split {
    flex-direction: column;
  }
  .stat-box {
    flex-direction: column;
  }
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 26px;
  }
  .width-50 {
    width: 100%;
  }
}

/* ===== NAVBAR ===== */
.main-header {
  background: #ffffff;
  width: 100%;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.logo-area img {
  height: 40px;
}

.logo-area span {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.logo-area small {
  font-size: 11px;
  letter-spacing: 1px;
}

/* MENU */
.main-nav a {
  color: #2e2e2e;
  text-decoration: none;
  margin-left: 25px;
  font-size: 14px;
  position: relative;
  padding-bottom: 5px;
}

.main-nav a:hover {
  color: #44186d;
}

/* ACTIVE LINK */
.main-nav a.active {
  color: #45196e;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #45196e;
}

/* ===== PAGE TITLE BAR ===== */
.page-title {
  background: #eeeeee;
  padding: 12px 20px; /* reduced height */
  text-align: center;
}

.page-title h1 {
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 4px;
}

.page-title p {
  font-size: 13px;
  color: #555;
}

/* ===== FOOTER ===== */
.main-footer {
  background: #1f2428;
  color: #cfd2d4;
  padding: 12px 0;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo img {
  height: 32px;
}

.footer-logo span {
  font-size: 13px;
  font-weight: 600;
}

.footer-logo small {
  font-size: 10px;
  letter-spacing: 1px;
}

/* MENU */
.footer-nav a {
  color: #cfd2d4;
  text-decoration: none;
  margin: 0 10px;
  font-size: 13px;
}

.footer-nav a:hover {
  color: #fff;
}

/* COPYRIGHT */
.footer-copy {
  border-top:1px solid white;
  padding-top: 4px;
  font-size: 12px;
  white-space: nowrap;
  color: white;
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* ===== PAGE FADE ANIMATION ===== */
body {
  opacity: 0;
  animation: fadePage 0.6s ease-in-out forwards;
}

@keyframes fadePage {
  to {
    opacity: 1;
  }
}

/* FADE ANIMATION */
.fade {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.fade.loaded {
  opacity: 1;
}

/* INTRO */
.projects-intro {
  text-align: center;
  max-width: 800px;
  margin: 50px auto;
  color: #555;
}

/* PROJECT GRID */
.projects-grid {
  max-width: 1200px;
  margin: 0 auto 0px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* PROJECT CARD */
.project-box {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.project-box img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-box:hover img {
  transform: scale(1.08);
}

.project-box span {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 12px;
  font-size: 14px;
  text-align: center;
}

/* CONTACT SECTION */
.contact-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
}

/* MAP */
.contact-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* CONTACT INFO */
.contact-info h2 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 1000;
}
.contact-info h4 {
  margin-bottom: 15px;
  color: #555;
}
.contact-info a {
  color: #1a73e8;
  font-weight: bold;
  text-decoration: none;
}

.image-box {
  position: relative;
}

.image-box img {
  width: 100%;
}

.img-title {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  font-weight: bold;
}

/* BUTTON */
.btn {
  display: inline-block;
  background: #f0b429;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  margin-top: 10px;
}

/* BLOG WRAPPER */
.blog-wrapper {
  padding: 50px 60px;
}

.blog-card {
  width: 360px;
  border: 1px solid #ddd;
}

.blog-card img {
  width: 100%;
  display: block;
}

.blog-content {
  padding: 15px;
}

.blog-content h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.blog-content p {
  font-size: 14px;
  color: #555;
}

/* READ MORE BUTTON */
.read-btn {
  display: inline-block;
  background: #d79b1e;
  color: white;
  padding: 8px 18px;
  text-decoration: none;
  font-size: 13px;
  border-radius: 4px;
}

.blog-details {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}

.blog-details h2 {
  margin-top: 30px;
  font-size: 22px;
}

.blog-details p,
.blog-details li {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

.footer {
  background: #45196e;
  color: white;
  padding: 10px 0;
  text-align: center;
}

.footer-logo img {
  width: 120px;
  height: 40px;
}

.footer-menu {
  list-style: none;
  padding: 0;
}

.footer-menu li {
  display: inline-block;
  margin: 0 10px;
}

.footer-menu a {
  color: white;
  text-decoration: none;
}



/* ===============================
   PROJECT IMAGE GRID (PERFECT)
================================= */

.project-gallery {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 40px;
}

.project-gallery img {
  width: 100%;
  height: 320px;

  object-fit: cover;
  border-radius: 12px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover effect (Premium look) */
.project-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

/* Mobile Friendly */
@media (max-width: 768px) {
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery img {
    height: 260px;
  }
}

/* ===== PROJECT GALLERY (SAFE – affects only project pages) ===== */

.project-gallery {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  gap: 25px;
}

/* 2 image layout – Lovely Cards */
.project-gallery.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* 3 image layout – Robert Residence */
.project-gallery.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Image styling */
.project-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.project-gallery img:hover {
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 900px) {
  .project-gallery.grid-2,
  .project-gallery.grid-3 {
    grid-template-columns: 1fr;
  }

  .project-gallery img {
    height: auto;
  }
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.about-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.about-content h4 {
  color: #777;
  font-weight: 500;
  margin-bottom: 15px;
}

.about-content p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 25px;
}

.about-points li {
  list-style: disc;
  margin-left: 18px;
  color: #333;
}

.about-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #f4b000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .about-wrapper {
    grid-template-columns: 1fr;
  }
}

.page-title {
  background: #eee;
  text-align: center;
  padding: 10px 15px;
}

.page-title h1 {
  font-size: 30px;
  margin-bottom: 4px;
}

.page-title p {
  font-size: 13px;
  color: #555;
}
.services-intro {
  text-align: center;
  max-width: 900px;
  margin: 40px auto 30px;
  color: #555;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-body {
  padding: 18px;
}

.service-body h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.service-body p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.service-btn {
  display: inline-block;
  padding: 8px 16px;
  background: #45196e;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .service-img img {
    height: 200px;
  }
}
 /* PAGE INTRO */
      .projects-intro {
        max-width: 900px;
        margin: 40px auto;
        text-align: center;
        color: #555;
        line-height: 1.6;
      }

      /* GRID */
      .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        padding: 40px 0px;
      }

      /* PROJECT CARD */
      .project-box {
        position: relative;
        overflow: hidden;
        border-radius: 6px;
        text-decoration: none;
      }

      .project-box img {
        width: 100%;
        display: block;
        transition: transform 0.4s ease;
      }

      /* PROJECT TITLE OVERLAY */
      .project-box span {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 12px 10px;
        text-align: center;
        font-size: 14px;
        font-weight: 600;
        color: #fff;
        background: linear-gradient(
          to top,
          rgba(0, 0, 0, 0.75),
          rgba(0, 0, 0, 0)
        );
        text-transform: uppercase;
      }

      /* HOVER EFFECT */
      .project-box:hover img {
        transform: scale(1.05);
      }

      /* FADE ANIMATION */
      body.fade {
        opacity: 0;
        transition: opacity 0.6s ease-in-out;
      }

      body.loaded {
        opacity: 1;
      }

      @media (max-width: 768px) {
        .projects-grid {
          padding: 20px;
        }
      }

      .social-icons img{
        width: 20px;
        margin: 0px 10px;
        filter: invert(1);
      }