:root {
  --primary: #F2EFEA;
  --secondary: #222222;
  --accent: #7E9B8E;
  --glass-bg: rgba(255, 255, 255, 0.35);
  --glass-border: rgba(255, 255, 255, 0.4);
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Inter", sans-serif;
  background: var(--primary);
  color: var(--secondary);
  overflow-x: hidden;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
}

/* NAV */
.nav {
  position: absolute;
  top: 30px;
  width: 100%;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav a {
  text-decoration: none;
  color: black;
  font-weight: 400;
}

.logo {
  margin: 0 48px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: black;
}
.nav a {
  position: relative;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav a:hover {
  color: silver;
  opacity: 0.9;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


/* HAMBURGER */
.hamburger {
  display: none;
  position: absolute;
  right: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: black;
  margin: 5px 0;
}
.mobile-menu a {
  position: relative;
  transition: color 0.3s ease;
}

.mobile-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--accent);
}

.mobile-menu a:hover::after {
  transform: scaleX(1);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 10;
}

.mobile-menu a {
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* HERO FRAME */
.hero-frame {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    url("images/hero2.png") center/cover no-repeat;

}

/* GLASS */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* HERO TEXT */
.hero-text {
  position: absolute;
  bottom: 60px;
  left: 60px;
  padding: 28px 36px;
  max-width: 520px;
  z-index: 4;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  font-weight: 400;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav ul {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .logo {
    margin: 0;
  }

  .hero-text {
    left: 20px;
    right: 20px;
    bottom: 300px; /* moved up for better breathing room */
  }
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hamburger span {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
@media (max-width: 900px) {
  .nav {
    z-index: 11;
  }
}
.section {
  padding: 60px 60px;
}

.nav {
  margin-bottom: 40px;
}
.page-header {
  padding-top: 100px; /* creates space below absolute nav */
  padding-bottom: 60px;
}




.projects-row {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.project-card {
  width: 280px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.project-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
}

.project-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.85;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 6px;
}
@media (hover: hover) {
  .project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.18);
  }
}
@media (max-width: 900px) {
  .projects-row {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .project-card {
    scroll-snap-align: start;
    flex: 0 0 75%;
  }
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 20px;
}
.services-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.services-grid a:nth-child(2) { grid-column: span 1; }
.services-grid a:nth-child(3) { grid-column: span 1; }
.services-grid a:nth-child(4) { grid-column: span 2; }
.services-grid a:nth-child(5) { grid-column: span 1; }
.services-grid a:nth-child(6) { grid-column: span 1; }
.services-grid a:nth-child(7) { grid-column: span 2; }
.services-grid a:nth-child(8) { grid-column: span 1; }
.services-grid a:nth-child(9) { grid-column: span 1; }
.service-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
}

.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.05)
  );
}

.service-item span {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  font-size: 1rem;
  font-weight: 500;
}
@media (hover: hover) {
  .service-item:hover img {
    transform: scale(1.08);
  }
}
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .services-grid a {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}
/* SECTION TITLE */
.section-title {
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 400;
  margin: 0;
  padding-bottom: 30px;
}


.section-title.center {
  text-align: center;
}

/* REVIEWS GRID */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* REVIEW CARD */
.review-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

/* AVATAR */
.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXT */
.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 14px;
}

.review-name {
  font-size: 0.85rem;
  color: var(--accent);
  align-self: flex-start;
}

@media (max-width: 900px) {

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card {
    padding: 18px;
    align-items: flex-start;
  }

  .review-avatar {
    align-self: center;
    margin-bottom: 14px;
  }

  .review-text {
    font-size: 0.92rem;
    line-height: 1.45;
    max-width: 100%;
  }

  .review-name {
    font-size: 0.82rem;
    max-width: 100%;
  }

  .review-card:hover {
    transform: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  }
}

/* ABOUT US */
.about-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* MOBILE */
@media (max-width: 900px) {
  .about-text {
    max-width: 90%;
    font-size: 0.92rem;
    line-height: 1.6;
  }
}

/* FOOTER */
.footer {
  margin-top: 30px;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.footer-text {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 16px;
}

/* SOCIAL ICONS */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.footer-socials a {
  font-size: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-socials a:hover {
  transform: translateY(-4px) scale(1.05);
}

/* BRAND COLORS */
.footer-socials .fa-x-twitter {
  color: #ffffff;
}

.footer-socials .fa-instagram {
  color: #e1306c;
}

.footer-socials .fa-facebook {
  color: #1877f2;
}

/* MOBILE */
@media (max-width: 900px) {
  .footer-text {
    font-size: 0.82rem;
  }

  .footer-socials a:hover {
    transform: none;
  }
}
.x-icon {
  width: 20px;
  height: 20px;
  color: black;
}

/* PROJECTS PAGE GRID */
.projects-page .projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.projects-page{
padding-top: 1px;
}
@media (max-width: 900px) {

  .projects-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .projects-page .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .projects-page .project-card {
    padding: 14px;
    min-width: 0;
  }

  .projects-page .project-card img {
    height: 120px;
    object-fit: cover;
  }

  .projects-page .project-card h3 {
    font-size: 0.85rem;
  }

  .projects-page .project-card p {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .projects-page .project-meta {
    font-size: 0.7rem;
  }
}
.project-card {
  box-sizing: border-box;
  width: 100%;
}
/* SERVICES PAGE */
.services-page {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 1px;
}

/* SERVICE ROW */
.service-row {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px rgba(0,0,0,0.18);
}

/* CIRCULAR IMAGE */
.service-image {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXT */
.service-text {
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width: 900px) {

  .service-row {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .service-text {
    text-align: center;
  }

  .service-row:hover {
    transform: none;
  }
}
/* ABOUT PAGE */
.about-page {
  display: flex;
  justify-content: center;
  padding-top: 1px;
}

.about-text {
  max-width: 900px;
  padding: 36px 42px;
  text-align: center;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
}
/* ABOUT MAP */
.about-map {
  padding: 30px;
}

.about-map iframe {
  width: 100%;
  height: 60vh;
  border: 0;
  border-radius: 12px;
}
@media (max-width: 900px) {

  .about-text {
    padding: 24px;
  }

  .about-text p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .about-map iframe {
    height: 45vh;
  }
}
