:root {
  --color-navy: #0a1f2f;
  --color-navy-dark: #071522;
  --color-slate: #1f3b4d;
  --color-gold: #d6a35a;
  --color-gold-light: #f3d8b6;
  --color-cream: #f5f1ec;
  --color-white: #ffffff;
  --color-muted: #8a9cab;
  --font-heading: "Playfair Display", "Times New Roman", serif;
  --font-body: "Poppins", "Helvetica Neue", sans-serif;
  --shadow-soft: 0 20px 45px rgba(10, 31, 47, 0.12);
  --shadow-card: 0 12px 30px rgba(7, 21, 34, 0.15);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-navy);
  background-color: var(--color-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.section {
  padding: 5rem 1.5rem;
}

.section.light {
  background-color: var(--color-cream);
}

.section.dark {
  background-color: var(--color-navy-dark);
  color: var(--color-cream);
}

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading {
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  font-size: 0.85rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 720px;
}

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(135deg, var(--color-gold), #f1c07a);
  color: var(--color-navy-dark);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  background: transparent;
  color: var(--color-cream);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.btn:hover,
.btn:focus {
  transform: translateY(-3px);
}

.btn-outline:hover,
.btn-outline:focus {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: rgba(10, 31, 47, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  color: var(--color-white);
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--color-white);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.25rem;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  left: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a:focus::after,
nav a.active::after {
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-white);
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(120deg, rgba(10, 31, 47, 0.7), rgba(10, 31, 47, 0.45)), url("../img/hero-banner.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-cream);
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(10, 31, 47, 0.7));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: 1.25rem;
  text-align: center;
}

.metric-card h3 {
  font-size: 2rem;
  margin: 0.3rem 0;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.card {
  background: var(--color-white);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(7, 21, 34, 0.2);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(214, 163, 90, 0.15);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.features-list li {
  list-style: none;
  padding-left: 1.75rem;
  position: relative;
  font-weight: 500;
}

.features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gold);
}

.parallax-block {
  background-image: linear-gradient(90deg, rgba(10, 31, 47, 0.8), rgba(10, 31, 47, 0.5)), url("../img/marble-detail.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--color-cream);
  border-radius: 1.5rem;
  padding: 4rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
}

.service-card img {
  border-radius: 1.25rem;
  transition: transform 0.6s ease;
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-card-content {
  margin-top: -2.5rem;
  background: var(--color-white);
  padding: 1.75rem;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.service-card h3 {
  margin-top: 0;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: "View";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 31, 47, 0.55);
  color: var(--color-cream);
  font-weight: 600;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.testimonial-card p {
  font-style: italic;
}

.testimonial-card strong {
  display: block;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.cta-banner {
  padding: 3rem;
  background: linear-gradient(120deg, var(--color-slate), var(--color-navy));
  border-radius: 1.5rem;
  color: var(--color-cream);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.contact-card {
  padding: 2rem;
  border-radius: 1.25rem;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(10, 31, 47, 0.1);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(214, 163, 90, 0.2);
}

.map-embed iframe {
  width: 100%;
  border: 0;
  border-radius: 1.25rem;
  min-height: 320px;
  box-shadow: var(--shadow-card);
}

footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
}

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

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
}

.lightbox.active {
  display: flex;
}

.lightbox .close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
}

.scroll-indicator::after {
  content: "";
  width: 6px;
  height: 12px;
  background: var(--color-gold);
  border-radius: 999px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
    transform: translate(-50%, 10px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 5.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-gold);
  color: var(--color-navy-dark);
  font-size: 1.2rem;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: none;
  z-index: 900;
}

.back-to-top.show {
  display: grid;
  place-items: center;
}

.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: #25d366;
  color: #0b1b2c;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 950;
}

.whatsapp-button svg {
  width: 20px;
  height: 20px;
}

.whatsapp-button:hover,
.whatsapp-button:focus {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(37, 211, 102, 0.4);
}

@media (max-width: 1024px) {
  .hero {
    min-height: 80vh;
  }
  .section {
    padding: 4rem 1rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    background: rgba(7, 21, 34, 0.95);
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 1rem;
    width: 220px;
    box-shadow: var(--shadow-card);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

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

  .nav-toggle {
    display: flex;
  }

  .btn-row {
    flex-direction: column;
  }

  .hero-content {
    text-align: center;
  }

  .metrics {
    margin-top: 2rem;
  }

  .contact-layout,
  .grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .parallax-block {
    padding: 3rem 1.5rem;
  }
}
