﻿html {
  scroll-behavior: smooth;
}

:root {
  --bg-left: #b7b1a4;
  --bg-mid: #4a4031;
  --bg-right: #1c160e;
  --surface: #0f1a24;
  --primary: #e6d7bb;
  --accent: #c78b38;
  --text: #f2ebdc;
  --muted: #d2c6b1;
  --border: #3b3021;
  --footer-bg: #111a22;
}

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

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: linear-gradient(
    120deg,
    var(--bg-left) 0%,
    var(--bg-mid) 48%,
    var(--bg-right) 100%
  );
  line-height: 1.6;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(17, 26, 34, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2d3a47;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  text-decoration: none;
  color: #f0d8a8;
}

.menu {
  display: flex;
  gap: 1.3rem;
  align-items: center;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #2d3a47;
  border-radius: 10px;
  background: rgba(17, 26, 34, 0.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #f0dfbf;
  border-radius: 999px;
  transition:
    transform 0.3s ease,
    opacity 0.25s ease;
}

.menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.menu a:hover,
.menu a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hero,
.page-hero {
  padding: 5rem 0 3.7rem;
}

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

.eyebrow {
  color: black;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
}

.hero h1,
.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 2.9vw, 3.1rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #f0dfbf;
}

.lead {
  color: var(--muted);
  max-width: 65ch;
}

.cta {
  display: inline-block;
  margin-top: 1.4rem;
  background: var(--primary);
  color: #1c160e;
  text-decoration: none;
  border: 0;
  padding: 0.8rem 1.3rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  text-decoration: none;
  color: #f0dfbf;
  border: 1px solid #536b84;
  background: rgba(36, 58, 87, 0.45);
  border-radius: 9px;
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.btn-outline:hover {
  background: rgba(36, 58, 87, 0.75);
  transform: translateY(-1px);
}

.hero-card {
  background: #243a57;
  color: #fff;
  padding: 1.6rem;
  border-radius: 14px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

.hero-card h3 {
  margin-bottom: 0.75rem;
}

.hero-card ul {
  list-style: none;
}

.hero-card li + li {
  margin-top: 0.55rem;
}

.section {
  padding: 3.6rem 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.text-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent);
}

.section h2 {
  font-family: "Playfair Display", serif;
  color: #f0dfbf;
  font-size: 2rem;
}

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

.project-card {
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.project-thumb {
  width: 100%;
  height: 390px;
  display: block;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.project-slider {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.project-slider::before {
  display: none;
}

.project-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 0.75s ease,
    transform 1s ease;
}

.project-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.project-slider::after {
  display: none;
}

.project-content {
  padding: 1rem;
}

.project-content h3 {
  margin-bottom: 0.35rem;
}

.project-content p {
  color: var(--muted);
}

.project-actions {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.project-meta {
  font-size: 0.8rem;
  color: #f2c574;
  border: 1px solid #5b4627;
  background: rgba(199, 139, 56, 0.1);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.detail-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 12px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.vadi-detail-image,
.detail-image-large {
  min-height: 520px;
}

.detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem;
}

.detail-list {
  list-style: none;
  margin: 0.9rem 0 1.1rem;
}

.detail-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
}

.detail-list li + li {
  margin-top: 0.55rem;
}

.detail-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.65em;
}

.services-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.7rem;
}

.service-mini-card h3 {
  color: #f0dfbf;
}

.service-mini-card p {
  color: var(--muted);
}

.service-mini-card .btn-outline {
  width: 100%;
}

.why-us-section {
  padding-top: 2.2rem;
}

.why-us-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  align-items: start;
}

.why-us-intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem;
}

.why-us-intro h2 {
  margin-bottom: 0.55rem;
}

.why-us-intro p {
  color: var(--muted);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.why-us-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.why-us-card h3 {
  margin-bottom: 0.35rem;
  color: #f0dfbf;
}

.why-us-card p {
  color: var(--muted);
}
.services-stack {
  padding-top: 2rem;
}

.services-flow {
  display: grid;
  gap: 1rem;
}

.service-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.service-row.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.service-row.reverse .service-image {
  order: 2;
}

.service-row.reverse .service-body {
  order: 1;
}

.service-image {
  width: 100%;
  height: clamp(240px, 28vw, 320px);
  object-fit: cover;
}

.service-body {
  padding: 1.1rem;
  display: grid;
  align-content: center;
}

.service-body h2 {
  margin-bottom: 0.5rem;
}

.service-body p {
  color: var(--muted);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
}

.about-tone {
  background: #3a2c18;
  border-top: 1px solid #5a4528;
  border-bottom: 1px solid #5a4528;
}

.info-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.contact-form label {
  font-weight: 600;
  margin-top: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #314255;
  border-radius: 8px;
  padding: 0.7rem;
  font: inherit;
  background: #162635;
  color: #f2ebdc;
}

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  padding: 1.2rem;
}

.contact-box h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.55rem 0.95rem 0.55rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(
    135deg,
    #f58529,
    #dd2a7b 48%,
    #8134af 76%,
    #515bd4
  );
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.social-links a::after {
  content: "Instagram";
  font-size: 0.86rem;
  line-height: 1;
}

.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  filter: saturate(1.08);
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex-shrink: 0;
}

body {
  animation: pageFadeIn 0.5s ease both;
}

main > section {
  opacity: 0;
  transform: translateY(16px);
  animation: sectionRise 0.65s ease forwards;
}

main > section:nth-of-type(1) {
  animation-delay: 0.06s;
}
main > section:nth-of-type(2) {
  animation-delay: 0.14s;
}
main > section:nth-of-type(3) {
  animation-delay: 0.22s;
}
main > section:nth-of-type(4) {
  animation-delay: 0.3s;
}
main > section:nth-of-type(5) {
  animation-delay: 0.38s;
}

.map-section {
  padding-top: 1.2rem;
}

.map-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #0b141d;
}

.map-card iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.footer {
  background: var(--footer-bg);
  color: #e9e9e9;
  padding: 1.8rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.footer-brand-block h3,
.footer-contact h4,
.footer-social h4 {
  color: #f0dfbf;
  margin-bottom: 0.45rem;
}

.footer-social {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
}

.footer-social h4 {
  margin-bottom: 0;
}

.footer-brand-block p,
.footer-contact li {
  color: #cfc7b8;
}

.footer-contact ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.footer-contact strong {
  color: #f2ddba;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #2a3440;
  color: #b8c1c9;
}

@media (min-width: 981px) and (max-width: 1200px) {
  .projects {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .project-card {
    max-width: 920px;
    margin: 0 auto;
  }

  .project-thumb {
    height: clamp(460px, 62vw, 700px);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .projects,
  .contact-grid,
  .info-grid,
  .detail-grid,
  .services-mini-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    padding-top: 4.2rem;
  }

  .menu-toggle {
    display: inline-flex;
    z-index: 12;
  }

  .menu {
    position: fixed;
    top: 78px;
    right: 4%;
    width: min(310px, 92vw);
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid #314255;
    background: rgba(15, 26, 36, 0.97);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transform: translateY(-14px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.28s ease,
      transform 0.32s ease;
    z-index: 11;
  }

  .menu a {
    display: block;
    width: 100%;
    padding: 0.7rem 0.6rem;
    border-radius: 8px;
    border-bottom: 0;
  }

  .menu a:hover,
  .menu a.active {
    background: rgba(36, 58, 87, 0.75);
    border-bottom-color: transparent;
  }

  .nav-open .menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 9;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::before {
    opacity: 1;
    pointer-events: auto;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-thumb {
    width: min(100%, 329px);
    height: 350px;
    margin: 0 auto;
  }

  .project-card {
    max-width: 329px;
    margin: 0 auto;
  }

  .service-row,
  .service-row.reverse,
  .why-us-wrap,
  .why-us-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-row.reverse .service-image,
  .service-row.reverse .service-body {
    order: initial;
  }

  .footer-social,
  .social-links {
    justify-items: stretch;
  }

  .social-links a {
    width: 100%;
    justify-content: center;
  }

  .map-card iframe {
    min-height: 300px;
  }

  .vadi-detail-image,
  .detail-image-large {
    min-height: 430px;
  }
}

@media (min-width: 681px) and (max-width: 980px) {
  .featured-projects .projects {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .featured-projects .project-card {
    max-width: 760px;
    margin: 0 auto;
  }

  .featured-projects .project-thumb {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
  }

  .featured-projects .project-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    transition: height 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .featured-projects .project-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.02);
    transition:
      opacity 0.6s ease,
      transform 0.75s ease;
    object-fit: contain;
    object-position: center;
  }

  .featured-projects .project-slide.is-active {
    opacity: 1;
    transform: scale(1);
  }
}
