/* Story Flow Prototype - Narrative-driven scrolling experience */

:root {
  --color-white: #FFFFFF;
  --color-black: #0D0D0D;
  --color-gold: #D4AF37;
  --color-gold-light: #F5E6B8;
  --color-gold-dark: #A68B28;
  --color-gray: #666666;
  --color-gray-light: #F5F5F5;
  --color-cream: #FDFBF7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-black);
  line-height: 1.7;
  background: var(--color-white);
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
  transition: background 0.3s, padding 0.3s;
}

header.scrolled {
  background: var(--color-white);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-black);
  text-decoration: none;
}

.logo span {
  color: var(--color-gold);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: var(--color-gray);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--color-black);
}

.header-cta {
  background: var(--color-gold);
  color: var(--color-white) !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
}

.header-cta:hover {
  background: var(--color-gold-dark);
}

/* Section Navigation */
.section-nav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-nav a {
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  transition: all 0.3s;
}

.section-nav a:hover,
.section-nav a.active {
  background: var(--color-gold);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
  position: relative;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 24px;
  color: var(--color-black);
}

.hero h1 span {
  color: var(--color-gold);
  font-style: italic;
}

.hero p {
  font-size: 1.3rem;
  color: var(--color-gray);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-gold-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-black);
}

.btn-secondary:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-gray);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Story Sections */
.story-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
}

.story-section:nth-child(even) {
  background: var(--color-cream);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.story-content.reverse {
  direction: rtl;
}

.story-content.reverse > * {
  direction: ltr;
}

.story-text {
  max-width: 500px;
}

.story-label {
  display: inline-block;
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.story-text h2 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}

.story-text p {
  color: var(--color-gray);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.story-visual {
  height: 500px;
  background: var(--color-gold-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  font-style: italic;
}

/* Services Flow */
.services-flow {
  padding: 120px 0;
  background: var(--color-white);
}

.services-flow .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.services-flow .section-header h2 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.services-flow .section-header p {
  color: var(--color-gray);
  font-size: 1.1rem;
}

.services-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.services-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-gold-light);
  transform: translateX(-50%);
}

.service-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.service-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.service-item:nth-child(odd) .service-content {
  padding-right: 60px;
  padding-left: 0;
}

.service-item:nth-child(even) .service-content {
  padding-left: 60px;
}

.service-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--color-gold);
  border-radius: 50%;
  z-index: 1;
}

.service-content {
  width: 50%;
}

.service-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-content p {
  color: var(--color-gray);
  font-size: 0.95rem;
}

/* Final CTA */
.final-cta {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-black);
  color: var(--color-white);
  padding: 100px 24px;
}

.final-cta h2 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  color: var(--color-white);
}

.final-cta p {
  color: #999;
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Page Hero */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 24px 80px;
  background: var(--color-cream);
}

.page-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--color-gray);
  font-size: 1.2rem;
}

/* Founder Section */
.founder-section {
  padding: 120px 0;
}

.founder-section .container {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: start;
}

.founder-image {
  background: var(--color-gold-light);
  height: 500px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  font-style: italic;
  position: sticky;
  top: 120px;
}

.founder-content h2 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.founder-title {
  color: var(--color-gold);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.founder-content p {
  color: var(--color-gray);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.founder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--color-gold-light);
}

.founder-stat h4 {
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.founder-stat p {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin: 0;
}

/* Services Detail Page */
.services-detail {
  padding: 80px 0;
}

.service-detail-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--color-gold-light);
}

.service-detail-block:last-child {
  border-bottom: none;
}

.service-detail-block .container-narrow {
  text-align: center;
}

.service-detail-block h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.service-detail-block > .container-narrow > p {
  color: var(--color-gray);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.service-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
  margin-bottom: 40px;
}

.feature-item {
  padding: 24px;
  background: var(--color-cream);
  border-radius: 8px;
}

.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-item p {
  color: var(--color-gray);
  font-size: 0.9rem;
  margin: 0;
}

/* Contact Section */
.contact-section {
  padding: 120px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.contact-info > p {
  color: var(--color-gray);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-method h3 {
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.contact-method a {
  font-size: 1.3rem;
  color: var(--color-black);
  text-decoration: none;
  font-weight: 600;
}

.contact-method a:hover {
  color: var(--color-gold);
}

.contact-method p {
  color: var(--color-gray);
  font-size: 0.9rem;
  margin-top: 4px;
}

.contact-form-area {
  background: var(--color-cream);
  padding: 60px;
  border-radius: 8px;
  text-align: center;
}

.contact-form-area h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-form-area > p {
  color: var(--color-gray);
  margin-bottom: 32px;
}

/* Team Section */
.team-section {
  padding: 120px 0;
  background: var(--color-cream);
  text-align: center;
}

.team-section h2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.team-member {
  text-align: center;
}

.team-photo {
  width: 180px;
  height: 180px;
  background: var(--color-gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  margin: 0 auto 24px;
}

.team-member h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.team-credentials {
  color: var(--color-gold);
  font-size: 0.9rem;
  font-weight: 600;
}

.team-role {
  color: var(--color-gray);
  font-size: 0.95rem;
}

/* Footer */
footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: #888;
  font-size: 0.95rem;
  margin-top: 16px;
}

.footer-links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: var(--color-gold);
}

.footer-links a {
  display: block;
  color: #888;
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

.footer-bottom .footer-credit {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #666;
  font-size: 0.8rem;
}

.footer-bottom .footer-credit a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom .footer-credit a:hover {
  color: var(--color-gold);
}

.footer-bottom .footer-credit img {
  height: 18px;
  width: auto;
  filter: grayscale(100%) brightness(1.5);
  transition: filter 0.2s;
}

.footer-bottom .footer-credit a:hover img {
  filter: grayscale(0%) brightness(1);
}

/* Image styles */
.story-visual img,
.founder-image img,
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-visual,
.founder-image {
  overflow: hidden;
}

.team-photo {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .story-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-content.reverse {
    direction: ltr;
  }

  .story-visual {
    height: 350px;
  }

  .founder-section .container {
    grid-template-columns: 1fr;
  }

  .founder-image {
    position: static;
    height: 350px;
  }

  .services-timeline::before {
    left: 20px;
  }

  .service-item,
  .service-item:nth-child(odd) {
    flex-direction: column;
    text-align: left;
  }

  .service-dot {
    left: 20px;
  }

  .service-content,
  .service-item:nth-child(odd) .service-content {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-features-grid {
    grid-template-columns: 1fr;
  }

  .section-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .founder-stats {
    grid-template-columns: 1fr;
  }

  .team-grid {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

/* Service Page Content */
.service-page-content {
  padding: 80px 0;
}

.service-intro {
  text-align: center;
  margin-bottom: 60px;
}

.service-intro h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--color-black);
}

.service-intro p {
  color: var(--color-gray);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

/* Service CTA */
.service-cta {
  padding: 80px 0;
  background: var(--color-black);
  text-align: center;
}

.service-cta h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.25rem;
  color: var(--color-white);
  margin-bottom: 16px;
}

.service-cta p {
  color: var(--color-gray);
  margin-bottom: 32px;
}

/* Other Services Section */
.other-services {
  padding: 80px 0;
  background: var(--color-cream);
}

.other-services h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-black);
}

.other-services-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.other-service-link {
  padding: 16px 32px;
  background: var(--color-white);
  text-decoration: none;
  color: var(--color-black);
  font-weight: 600;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.other-service-link:hover {
  border-bottom-color: var(--color-gold);
}

/* Service Detail Block Links */
.service-detail-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 80px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: background 0.2s;
}

.service-detail-link:last-child {
  border-bottom: none;
}

.service-detail-link:hover {
  background: var(--color-cream);
}

.service-detail-link h2,
.service-detail-link p,
.service-detail-link h4 {
  color: inherit;
}

.service-detail-link:hover h2 {
  color: var(--color-gold-dark);
}

.service-cta-link {
  display: inline-block;
  color: var(--color-gold-dark);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 24px;
  transition: color 0.2s;
}

.service-detail-link:hover .service-cta-link {
  color: var(--color-gold);
}

/* Service item links for home page */
.service-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-item-link .service-content {
  transition: padding-left 0.2s;
}

.service-item-link:hover .service-content {
  padding-left: 12px;
}

.service-item-link:hover h3 {
  color: var(--color-gold-dark);
}

.service-link {
  display: inline-block;
  color: var(--color-gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 12px;
  transition: color 0.2s;
}

.service-item-link:hover .service-link {
  color: var(--color-gold);
}

/* More services section */
.more-services {
  margin-top: 60px;
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.more-services > p {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--color-gray);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.more-services-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.more-services-links a {
  color: var(--color-black);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.more-services-links a:hover {
  color: var(--color-gold);
}

.more-services-links span {
  color: var(--color-gold);
}

.view-all-services {
  display: inline-block;
  color: var(--color-gold-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.view-all-services:hover {
  color: var(--color-gold);
}

@media (max-width: 768px) {
  .other-services-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-cta h2 {
    font-size: 1.75rem;
  }
}
