/* ============================================================
   The Rameys — Inner Page Styles
   Extends style.css for sub-pages
   ============================================================ */

/* Inner pages always show solid nav */
body.inner-page .nav {
  background: var(--linen) !important;
  box-shadow: 0 2px 24px rgba(28, 58, 74, 0.07) !important;
}

/* ===== Page Hero ===== */
.page-hero {
  height: 50vh;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--pad-x) clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
  margin-top: var(--nav-height);
}

/* Grain texture */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

/* Subtle vignette from bottom */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.18));
  pointer-events: none;
  z-index: 1;
}

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

.page-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.9rem;
  display: block;
}

.page-hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  color: white;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

/* Per-page hero gradients */
.hero--travel    { background: linear-gradient(145deg, #3A7F9A 0%, #4A8FA8 50%, #5A9FBA 100%); }
.hero--sailing   { background: linear-gradient(145deg, #6A9F8A 0%, #8AAF9A 50%, #7EA898 100%); }
.hero--dashboard { background: linear-gradient(145deg, #B49070 0%, #C4A882 50%, #CCAF88 100%); }
.hero--stocks    { background: linear-gradient(145deg, #1A6A7A 0%, #2A7A8A 50%, #2A8090 100%); }
.hero--favorites { background: linear-gradient(145deg, #B46848 0%, #C47A5A 50%, #CC826A 100%); }
.hero--consulting{ background: linear-gradient(145deg, #0E2A38 0%, #1C3A4A 50%, #224050 100%); }

/* ===== Coming Soon Section ===== */
.coming-soon-section {
  background: var(--linen);
  padding: clamp(4rem, 8vw, 7rem) var(--pad-x);
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.coming-soon-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
}

.coming-soon-card {
  background: var(--sandy-blush);
  border-radius: 20px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 4.5rem);
  text-align: center;
  max-width: 560px;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 8px 48px rgba(28, 58, 74, 0.08);
}

.coming-soon-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 55%, rgba(196, 122, 90, 0.07));
  pointer-events: none;
}

.coming-soon-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

.coming-soon-icon {
  font-size: 2.8rem;
  margin-bottom: 1.4rem;
  display: block;
  position: relative;
  z-index: 1;
}

.coming-soon-card h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.coming-soon-card p {
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--navy);
  opacity: 0.68;
  line-height: 1.85;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

/* Progress bar */
.progress-bar {
  width: 80%;
  height: 3px;
  background: rgba(28, 58, 74, 0.1);
  border-radius: 2px;
  margin: 0 auto 2rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--terracotta), var(--driftwood));
  border-radius: 2px;
  animation: progressPulse 3.5s ease-in-out infinite;
}

@keyframes progressPulse {
  0%   { width: 25%; opacity: 0.7; }
  50%  { width: 42%; opacity: 1; }
  100% { width: 25%; opacity: 0.7; }
}

.coming-soon-card .btn {
  position: relative;
  z-index: 1;
}

/* ===== Inner page body spacing ===== */
.page-body {
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x);
  background: var(--linen);
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .page-hero {
    min-height: 300px;
    height: 42vh;
  }
  .coming-soon-card {
    border-radius: 14px;
  }
}
