/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  color: #fff;
  overflow-x: hidden;
}

/* --- Full-screen background slideshow --- */
.slideshow {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #000;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}
.slide.active { opacity: 1; z-index: 1; }

/* --- Main content (above slideshow) --- */
main {
  position: relative;
  z-index: 1;
}

/* --- Section layout --- */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  position: relative;
}

/* Dark gradient overlay for text readability (common pattern) */
.section .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.5) 100%
  );
  pointer-events: none;
}

.section-content {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  text-align: center;
}

/* Card style for About, Services, Contact: semi-transparent background + border */
.section-content.card {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Strong text shadow for any text on images (hero) */
.hero .section-content {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8),
               0 4px 24px rgba(0, 0, 0, 0.6);
}

h1, h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); letter-spacing: 0.02em; }
h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1rem;
  color: #f5f5f5;
}

.hero-title { margin-bottom: 0.25em; }
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.95;
  margin: 0 0 0.5rem;
}
.hero-tagline {
  font-size: clamp(0.9rem, 2vw, 1rem);
  opacity: 0.85;
  margin: 0;
}

.section-content p {
  margin: 0 0 1rem;
  line-height: 1.65;
  font-size: 1.05rem;
}
.section-content p:last-child { margin-bottom: 0; }

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.services-list li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}
.services-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1em;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}
.services-list strong { font-weight: 500; color: #fff; }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}
.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline:hover { color: #000; background: #fff; border-color: #fff; }

/* Page nav --- */
.page-nav {
  position: fixed;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.page-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.page-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .page-nav {
    top: auto;
    bottom: 1rem;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .section-content.card { padding: 2rem 1.5rem; }
}
