/* Simple Page Layout - Shared styles for landing and guest info pages */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: url('/assets/images/tuscan_bg2.jpg') center/cover no-repeat fixed, var(--color-cream-light);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 36px);
  position: relative;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
  backdrop-filter: blur(3px);
  z-index: 0;
  pointer-events: none;
}

.shell {
  position: relative;
  z-index: 1;
  width: 100vw;
  max-width: 100vw;
  margin: 0 auto;
  min-height: calc(100vh - 2 * clamp(20px, 3vw, 36px));
  display: flex;
  flex-direction: column;
}

/* Shell modifier for narrow layouts (login page) */
.shell--narrow {
  max-width: 480px;
}

/* Content box styling */
.content-box {
  background: var(--bg-card-cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2.5vw, 24px);
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-xl);
  overflow: visible;
  max-width: 100%;
}

/* Emblem - now using component, keep for overrides */
.emblem {
  display: inline-block;
  margin-bottom: var(--space-md);
}

/* Script text (Margaux & Kevin) - now using component */
.script {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 5vw, 3rem);
  color: var(--brand-rose);
  display: block;
  margin-bottom: var(--space-lg);
}

/* Page title */
.page-title {
  font-family: var(--font-display);
  color: var(--brand-olive-dark);
  margin: 0 0 0.5rem;
  line-height: 1.2;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.2px;
}

/* Main content copy */
.content-copy {
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 0 0;
  font-size: clamp(16px, .6vw + 14px, 18px);
  line-height: 1.7;
  color: var(--color-ink-80);
}

.content-copy p {
  margin: 0 0 1.25rem;
}

.content-copy p:last-child {
  margin-bottom: 0;
}

.content-copy strong {
  color: var(--brand-olive-dark);
  font-weight: var(--font-weight-medium);
}

.content-copy em {
  font-style: italic;
  color: var(--color-ink-80);
}

/* Links */
.text-link {
  color: var(--color-tan-dark);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.text-link:hover {
  border-bottom-color: var(--color-tan-dark);
}

/* Dividers */
.divider {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-tan);
}

/* Footer */
.page-footer {
  text-align: center;
  color: var(--color-ink-60);
  font-size: var(--font-size-sm);
  margin-top: auto;
  padding-top: var(--space-lg);
  position: relative;
  z-index: 1;
}

/* Utility - secondary text */
.secondary-text {
  font-size: clamp(15px, .6vw + 13px, 17px);
  color: var(--color-ink-60);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .content-copy {
    padding: 8px 10px;
  }
  
  .content-box {
    padding: clamp(20px, 4vw, 24px) clamp(16px, 3vw, 20px);
  }
}
