/* ============================================
   LAYOUT.CSS — Page Layouts: Hero, Footer, CTA
   ============================================ */

/* --- Header Nav (shared across pages) --- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}

.site-header__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
}

.site-header__nav {
  display: flex;
  gap: 1.5rem;
}

.site-header__nav a {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--taupe);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-header__nav a:hover {
  color: var(--rose);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/main.jpg');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 2px solid rgba(196,114,127,0.25);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: breathe 8s ease-in-out infinite;
  z-index: 1;
}

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50%      { transform: translate(-50%, -50%) scale(1.08); opacity: 0.3; }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero__tag {
  display: inline-block;
  padding: 0.35rem 1.5rem;
  border: 1px solid var(--rose-soft);
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 2rem;
  animation: fadeDown 0.8s ease-out;
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  animation: fadeUp 0.8s ease-out 0.15s both;
}

.hero__title em {
  font-style: italic;
  color: var(--rose);
}

.hero__subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: #333;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  animation: fadeUp 0.8s ease-out 0.3s both;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: calc(50% - 37.5px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  animation: fadeUp 0.8s ease-out 0.6s both;
}

.hero__scroll span {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--taupe-light);
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 45px;
  background: linear-gradient(180deg, var(--rose-soft), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

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

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%      { opacity: 0.3; transform: scaleY(0.5); }
}

@media (max-width: 1023px) {
  .hero::before {
    background-attachment: scroll;
  }
}

/* --- Showcase (Image + Content) --- */
.showcase {
  padding: var(--section-pad-y) var(--section-pad-x);
}

.showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .showcase__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.showcase__image {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.showcase__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.showcase__image:hover img {
  transform: scale(1.02);
}

.showcase__content h3 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.showcase__content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
  font-weight: 300;
}

.showcase__divider {
  margin: 4rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .showcase__divider {
    grid-template-columns: 1fr 1fr;
  }

  .showcase__image--right {
    order: 2;
  }
}

/* --- Final CTA --- */
.final-cta {
  text-align: center;
  padding: var(--section-pad-y) var(--section-pad-x) 4rem;
  position: relative;
  overflow: hidden;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.15;
}

.final-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 550px;
  margin: 0 auto;
}

.final-cta p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* --- Mid CTA Section --- */
.mid-cta-section {
  padding: var(--section-pad-y) var(--section-pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mid-cta__images-top,
.mid-cta__images-bottom {
  display: block;
  width: 100%;
  max-width: 300px;
}

.mid-cta__images-top {
  align-self: center;
}

.mid-cta__images-bottom {
  align-self: center;
}

@media (min-width: 768px) {
  .mid-cta__images-top {
    align-self: flex-start;
  }

  .mid-cta__images-bottom {
    align-self: flex-end;
  }
}

.mid-cta {
  width: 100%;
  max-width: 600px;
}

@media (min-width: 1024px) {
  .mid-cta__images-top {
    max-width: 350px;
  }

  .mid-cta {
    max-width: 600px;
  }

  .mid-cta__images-bottom {
    max-width: 350px;
  }
}

.mid-cta__images-top img,
.mid-cta__images-bottom img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: block;
}

/* --- Footer --- */
.footer {
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.footer__nav a {
  font-size: 0.75rem;
  color: var(--taupe);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.footer__nav a:hover { color: var(--rose); }

.footer__info {
  font-size: 0.72rem;
  color: var(--taupe-light);
  line-height: 1.8;
}

.footer__info a {
  color: var(--taupe);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Legal Page Layout --- */
.page-legal {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem var(--section-pad-x) 4rem;
}

.page-legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.page-legal .page-date {
  font-size: 0.8rem;
  color: var(--taupe-light);
  margin-bottom: 2.5rem;
}

.page-legal h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.page-legal p,
.page-legal li {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.page-legal ul,
.page-legal ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-legal li {
  margin-bottom: 0.5rem;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

.contact-card__label {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--taupe-light);
  margin-bottom: 0.5rem;
}

.contact-card__value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.contact-card__value a {
  color: var(--text-dark);
  text-decoration: none;
}

.contact-card__value a:hover {
  color: var(--rose);
}

/* --- Mobile --- */
@media (max-width: 600px) {
  .hero { min-height: 90vh; padding: 3rem 1.2rem; }
  .site-header { padding: 0.8rem 1.2rem; }
  .site-header__nav { gap: 1rem; }
  .site-header__nav a { font-size: 0.65rem; }
  .contact-grid { grid-template-columns: 1fr; }
}
