/* ===== TESTIMONIALS PAGE-SPECIFIC CSS ===== */
/* Overrides and unique rules not in base.css, nav.css, or components.css */

/* --- Shared selector overrides (different values from shared CSS) --- */

.grain {
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.header {
  padding: 20px 48px;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45,27,61,0.08);
}

.nav {
  gap: 36px;
}

.nav a::after {
  background: var(--hot-pink);
  transition: transform 0.3s;
}

.header-cta {
  padding: 14px 32px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.4s;
}

.header-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(168,85,247,0.4);
}

.logo-text {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--plum);
  line-height: 1.2;
}

.logo-text em {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hot-pink);
}

.btn-primary {
  background: white;
  color: var(--plum);
  padding: 20px 44px;
  font-weight: 600;
  transition: all 0.4s;
  display: inline-block;
  box-shadow: 0 4px 25px rgba(45,27,61,0.2);
  position: static;
  overflow: visible;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(45,27,61,0.3);
}

.footer {
  padding: 60px 48px 30px;
}

.footer-bottom {
  padding-top: 0;
  border-top: none;
}

.footer-copyright {
  font-size: 14px;
}

.footer-powered {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}

/* --- Page-unique rules --- */

/* Page Hero */
.page-hero {
  padding: 180px 48px 120px;
  background: var(--gradient-cta);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(168,85,247,0.15) 0%, transparent 40%);
}

.page-hero-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 500;
  color: white;
  margin-bottom: 24px;
  line-height: 1.1;
}

.page-hero p {
  font-size: 20px;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
}

/* Testimonials */
.testimonials {
  padding: 120px 48px;
  background: var(--lavender-mist);
}

.testimonials-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.testimonial-card {
  background: var(--cream);
  padding: 48px;
  border-radius: 32px;
  transition: all 0.4s;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(45,27,61,0.1);
}

.testimonial-card.featured {
  grid-column: span 2;
  background: linear-gradient(145deg, var(--plum-dark), var(--plum-darker), var(--plum-dark));
  color: white;
}

.testimonial-card.featured .testimonial-quote p {
  color: white;
}

.testimonial-card.featured .testimonial-info h4 {
  color: white;
}

.testimonial-card.featured .testimonial-info p {
  color: var(--cyan-deep);
}

.testimonial-quote {
  position: relative;
  margin-bottom: 32px;
}

.testimonial-quote::before {
  content: '\201C';
  font-family: 'Fraunces', serif;
  font-size: 80px;
  color: var(--purple-warm);
  line-height: 1;
  opacity: 0.4;
  position: absolute;
  top: -20px;
  left: -10px;
}

.testimonial-quote p {
  font-size: 18px;
  color: var(--plum);
  line-height: 1.8;
  padding-left: 40px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 40px;
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--purple-warm);
}

.testimonial-info h4 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 4px;
}

.testimonial-info p {
  color: var(--hot-pink);
  font-size: 14px;
  font-weight: 500;
}

/* Photo Gallery */
.photo-gallery {
  padding: 80px 48px;
  background: var(--peach-glow);
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* CTA */
.cta {
  padding: 120px 48px;
  background: var(--gradient-cta);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-weight: 500;
  color: white;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
}

/* Page Nav Demo */
.page-nav-demo {
  padding: 24px 32px;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 20px;
  margin-bottom: 40px;
}

.page-nav-demo h4 {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  color: var(--cyan);
  margin-bottom: 16px;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-links a {
  padding: 10px 22px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.3s;
}

.page-links a:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}

.page-links a.current {
  background: var(--gradient-cta);
  color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card.featured {
    grid-column: span 1;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero, .testimonials, .photo-gallery, .cta { padding: 80px 24px; }
}
