:root {
  --accent: #c26b3f;
  --accent-soft: rgba(194, 107, 63, 0.14);
  --bg-main: #f4efe7;
  --bg-hero: #f2ecdf;
  --text: #261f18;
  --text-muted: #6e645c;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(0, 0, 0, 0.06);
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-soft: 0 22px 48px rgba(0,0,0,0.12);
  --nav-height: 80px;
}

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

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-main);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

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

.container {
  width: min(1180px, 92%);
  margin: auto;
}

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

/* ---------------- NAVBAR ---------------- */

header.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(244, 239, 231, 0.86);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 55px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  color: #4b4239;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 16px;
}

/* ---------------- HERO ---------------- */

.hero {
  position: relative;
  padding: 5rem 0 3.5rem;
  background: var(--bg-hero);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-family: "Montserrat", system-ui, sans-serif;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--accent);
}

.hero-text {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.hero-card {
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

/* ---------------- GALLERY ---------------- */

.gallery {
  padding: 3.2rem 0;
  background: var(--bg-main);
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.gallery-tab {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem 0.4rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: #6b5f55;
  position: relative;
}

.gallery-tab.active {
  color: #000;
}

.gallery-tab.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

/* Liquid glass gallery frame */

.gallery-slider {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 0;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(28px) saturate(150%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.5),
    inset 0 0 35px rgba(255,255,255,0.25),
    0 20px 42px rgba(0,0,0,0.22);
}

.gallery-track-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
}

.gallery-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.gallery-item.active {
  opacity: 1;
  pointer-events: auto;
}

/* Image blur-border effect */

.image-blur-border {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
}

.image-blur-border::before {
  content: "";
  position: absolute;
  inset: -4px; /* 4px larger on all sides */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: var(--bg-url);
  filter: blur(24px) brightness(1.08); /* soft blur */
  z-index: 1;
}

.image-blur-border .main-layer {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  z-index: 2;
}

/* caption */

.gallery-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 0.82rem;
  backdrop-filter: blur(7px);
  border: 1px solid rgba(255,255,255,0.32);
  z-index: 10;
}

/* arrows */

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: bold;
  color: #3b2d24;
  cursor: pointer;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 10px 24px rgba(0,0,0,0.24);
  z-index: 20;
  transition: 0.25s ease;
}

.gallery-arrow:hover {
  transform: translateY(-50%) scale(1.08);
  background: #ffffff;
}

.gallery-arrow.prev {
  left: 1rem;
}

.gallery-arrow.next {
  right: 1rem;
}

/* dots */

.gallery-dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.9);
  backdrop-filter: blur(5px);
  cursor: pointer;
  transition: 0.25s ease;
}

.gallery-dot.active {
  width: 28px;
  background: var(--accent);
  border-color: #ffffff;
}

/* ---------------- PROJECTS / SERVICES / ABOUT / CONTACT ---------------- */

#projects, #services, #about, #contact {
  padding: 4rem 0;
}

.section-title {
  font-size: 1.8rem;
  font-family: "Montserrat", system-ui, sans-serif;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  max-width: 600px;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.project-card {
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 1rem 1.1rem;
  transition: 0.25s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* SERVICES */

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.service-pill {
  background: #ffffff;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0.9rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: #4b4239;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.8rem;
  align-items: flex-start;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-text p + p {
  margin-top: 0.9rem;
}

.about-card {
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* CONTACT */

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.8rem;
  align-items: flex-start;
}

.glass-card {
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.contact-form .field {
  margin-bottom: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.14);
  background: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

.contact-side p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
 .contact-side a {
      text-decoration:underline;
      text-underline-offset:2px;
    }

/* FOOTER & WHATSAPP */

footer {
  background: #f1ebe4;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 1.5rem 0;
  color: #756a61;
  text-align: center;
  font-size: 0.9rem;
}

.whatsapp-btn {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.6rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  text-decoration: none;
  z-index: 90;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .gallery-track-wrapper {
    height: 340px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .gallery-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }
}
 .btn {
      padding:0.55rem 1.3rem;
      border-radius:var(--radius-pill);
      cursor:pointer;
      border:1px solid transparent;
      font-size:0.85rem;
      letter-spacing:0.03em;
      text-transform:uppercase;
      transition:0.2s;
      display:inline-flex;
      align-items:center;
      gap:.3rem;
    }

    .btn-outline {
      background:rgba(255,255,255,0.7);
      border:1px solid rgba(0,0,0,0.12);
      color:#4b4239;
    }

    .btn-outline:hover {
      background:#ffffff;
    }

    .btn-primary {
      background:linear-gradient(145deg,#fffaf5,#f0dec9);
      border:1px solid rgba(0,0,0,0.12);
      color:#2b231b;
    }

    .btn-primary:hover {
      box-shadow:0 12px 30px rgba(0,0,0,0.16);
      transform:translateY(-1px);
    }
    /* --- Mobile Navbar Logo Fix --- */
/* --- Mobile: Logo on separate line --- */
@media (max-width: 720px) {

  .nav-inner {
    flex-direction: column;     /* stack logo + links vertically */
    align-items: center;        /* center everything nicely */
    gap: 0.1rem;                /* clean spacing */
  }

  .logo-img {
    height: 48px;               /* slightly smaller on mobile */
    width: auto;                /* keep aspect ratio */
    display: block;
    margin-top:5px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;    /* center nav links */
    flex-wrap: wrap;
    gap: 1rem;
  }
}


