/* =========================================================
   DETAILS PAGE – FULL CSS (Complete file)
   Includes Gallery-style Samantha ending (Quote + 3-col footer)
   ========================================================= */

/* ==================== CSS VARIABLES ==================== */
:root {
  --color-cream: #faf8f5;
  --color-beige: #e8dfd6;
  --color-warm-gray: #9b9280;
  --color-muted-brown: #7a6f5d;
  --color-black: #1a1a1a;
  --color-white: #ffffff;
  --color-light-pink: #E5D5D0;

  --font-serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.3s ease;
}

/* ==================== GLOBAL RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-black);
  background-color: var(--color-cream);
  line-height: 1.7;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 0.05em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

/* Default paragraph (your editorial override style) */
p {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0;
  color: rgba(17, 17, 17, 0.75);
  font-weight: 400;
  margin-bottom: 1rem;
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--color-black);
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 300;
}

.logo-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
  margin-top: 0.25rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 3rem;
}

nav a {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted-brown);
  position: relative;
  transition: var(--transition-fast);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-black);
  transition: var(--transition-fast);
}

nav a:hover {
  color: var(--color-black);
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: var(--color-black);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background-color: var(--color-black);
  transition: var(--transition-fast);
}

/* ==================== PAGE HERO ==================== */
.page-hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10rem 2rem 6rem;
  background: url(/images/hero.jpg) center/cover no-repeat fixed;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero > * {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.2s;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--color-white);
  max-width: 800px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.4s;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-tags {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.6s;
}

.hero-tag {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== INTRO SECTION ==================== */
.intro-section {
  padding: 8rem 4rem;
  background-color: var(--color-white);
}

.intro-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.intro-container h2 {
  margin-bottom: 3rem;
  font-weight: 300;
}

.intro-container p {
  line-height: 2;
  margin-bottom: 1.5rem;
  color: rgba(17, 17, 17, 0.75);
}

/* ==================== PACKAGES SECTION ==================== */
.packages-section {
  padding: 8rem 4rem;
  background-color: var(--color-beige);
}

.packages-container {
  max-width: 1200px;
  margin: 0 auto;
}

.packages-title {
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 300;
}

.packages-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
}

.package-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.package-icon {
  font-size: 1.5rem;
  color: var(--color-muted-brown);
  margin-top: 0.25rem;
}

.package-item p {
  margin-bottom: 0;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 2;
  color: rgba(17, 17, 17, 0.75);
}

/* ==================== SERVICES CARDS ==================== */
.services-cards-section {
  padding: 8rem 4rem;
  background-color: var(--color-white);
}

.services-cards-container {
  max-width: 1600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.service-card {
  text-align: center;
}

.service-image {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(
    135deg,
    var(--color-beige) 0%,
    var(--color-warm-gray) 100%
  );
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-card h3 {
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.service-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--color-light-pink);
  color: var(--color-black);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition-fast);
  font-weight: 400;
}

.service-button:hover {
  background-color: var(--color-muted-brown);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ==================== PRICING SECTION ==================== */
.pricing-section {
  padding: 8rem 4rem;
  background-color: var(--color-beige);
  text-align: center;
}

.pricing-container {
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-container h2 {
  margin-bottom: 3rem;
  font-weight: 300;
}

.pricing-content {
  background-color: var(--color-white);
  padding: 4rem;
  border-radius: 2px;
  margin-bottom: 3rem;
}

.pricing-content p {
  margin-bottom: 1.5rem;
  color: rgba(17, 17, 17, 0.75);
}

.pricing-includes {
  text-align: left;
  max-width: 800px;
  margin: 3rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--color-beige);
}

.pricing-includes h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.pricing-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pricing-item::before {
  content: "✦";
  color: var(--color-muted-brown);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.pricing-item p {
  margin: 0;
  font-size: 17px;
  line-height: 2;
  color: rgba(17, 17, 17, 0.75);
}

.cta-button {
  display: inline-block;
  padding: 1.25rem 3rem;
  background-color: var(--color-black);
  color: var(--color-white);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition-fast);
  font-weight: 400;
  margin-top: 2rem;
}

.cta-button:hover {
  background-color: var(--color-muted-brown);
  transform: translateY(-2px);
}

/* =========================================================
   ✅ GALLERY-STYLE ENDING (Quote band + 3-col footer)
   This is what makes it look identical to Gallery.
   ========================================================= */

/* Hide any old CTA section + default dark footer (if present) */
.cta-section,
footer {
  display: none !important;
}

/* Quote band */
.sb-quote {
  background: #f7f5f1;
  padding: 95px 22px 85px;
  text-align: center;
}

.sb-quote__line1 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.25;
  color: #111;
}

.sb-quote__line2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.4;
  font-style: italic;
  color: rgba(17, 17, 17, 0.70);
}

/* prevent global p margins from breaking the quote */
.sb-quote p {
  margin: 0 !important;
}

/* Footer band */
.sb-footer {
  background: #fff;
  padding: 70px 22px 78px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.sb-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 0;
  align-items: center;
}

.sb-footer__col {
  padding: 0 34px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sb-footer__col--center,
.sb-footer__col--right {
  border-left: 1px solid rgba(17, 17, 17, 0.12);
}

/* Titles */
.sb-footer__title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: #111;
  margin: 0 0 18px;
}

/* Contact button */
.sb-footer__btn {
  display: inline-block;
  padding: 16px 22px;
  background: #f7f5f1;
  border: 1px solid rgba(17, 17, 17, 0.12);
  color: #111;
  text-decoration: none;
  text-align: center;

  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  max-width: 280px;
}

.sb-footer__btn:hover {
  background: #f1eee8;
}

/* Center logo + tagline */
.sb-footer__col--center {
  text-align: center;
  align-items: center;
}

.sb-footer__logo {
  width: 220px;
  max-width: 70%;
  height: auto;
  display: block;
  margin: 0 auto 14px;
}

.sb-footer__centerline {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  color: rgba(17, 17, 17, 0.55);
  line-height: 1.5;
}

/* Explore links */
.sb-footer__links {
  display: grid;
  gap: 10px;
}

.sb-footer__links a {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  line-height: 1.55;
}

.sb-footer__links a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

/* prevent global p margins from breaking footer */
.sb-footer p {
  margin: 0 !important;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .packages-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1.5rem 2rem;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 999;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 2rem;
  }

  nav a {
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .intro-section,
  .packages-section,
  .services-cards-section,
  .pricing-section {
    padding: 4rem 2rem;
  }

  .pricing-content {
    padding: 2rem;
  }
}

/* Responsive footer band (same behavior as Gallery) */
@media (max-width: 980px) {
  .sb-footer__inner {
    grid-template-columns: 1fr;
  }

  .sb-footer__col {
    padding: 26px 0;
    min-height: auto;
    text-align: center;
    align-items: center;
  }

  .sb-footer__col--center,
  .sb-footer__col--right {
    border-left: none;
    border-top: 1px solid rgba(17, 17, 17, 0.12);
  }

  .sb-footer__btn {
    width: 100%;
    max-width: 340px;
  }
}

/* ==================== OPTIONAL WIDTH TWEAKS (as you had) ==================== */
@media (min-width: 1024px){
  .intro-container{
    max-width: 900px;
  }
  .pricing-container{
    max-width: 900px;
  }
  .packages-list{
    max-width: 880px;
  }
}
