/* Homepage Specific Styles */

/* Hero Section with Animated Gradient Background */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 138px 56px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    #09090f 0%,
    #1a0f2e 25%,
    #0f1a2e 50%,
    #0f2e1a 75%,
    #09090f 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 70% at 20% 50%,
    rgba(232, 168, 54, .08) 0%,
    transparent 70%
  );
}

.hero-c {
  position: relative;
  z-index: 2;
  max-width: 660px;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--bdr);
  background: rgba(232, 168, 54, .06);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  font-family: 'DM Mono', monospace;
  margin-bottom: 26px;
  opacity: 0;
  animation: up .7s ease .15s forwards;
}

.edot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gw);
  flex-shrink: 0;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 8vw, 106px);
  font-weight: 300;
  line-height: .88;
  letter-spacing: -3px;
  margin-bottom: 6px;
  opacity: 0;
  animation: up .9s ease .3s forwards;
}

.h1-plain {
  color: var(--text);
}

.h1-grad {
  font-style: italic;
  background: var(--gh);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.gio-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 16px;
  opacity: 0;
  animation: up .8s ease .45s forwards;
}

.gio-ls {
  display: flex;
  gap: 2px;
}

.gl {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  padding: 3px 7px;
  border: 1px solid;
  line-height: 1;
}

.gl:nth-child(1) {
  color: var(--gold);
  border-color: rgba(232, 168, 54, .4);
}

.gl:nth-child(2) {
  color: var(--coral);
  border-color: rgba(240, 100, 72, .4);
}

.gl:nth-child(3) {
  color: #9b5ff5;
  border-color: rgba(155, 95, 245, .4);
}

.gio-label {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 2px;
  font-family: 'DM Mono', monospace;
}

.hero-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 500px;
  margin-bottom: 14px;
  opacity: 0;
  animation: up .9s ease .55s forwards;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

.hero-slogan {
  font-size: 14px;
  font-weight: 300;
  color: rgba(237, 233, 224, .42);
  line-height: 1.85;
  max-width: 470px;
  padding: 12px 0 12px 16px;
  border-left: 2px solid var(--coral);
  margin-bottom: 32px;
  opacity: 0;
  animation: up .9s ease .65s forwards;
}

.hero-acts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: up .9s ease .78s forwards;
}

/* Journey Selection Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 15, .95);
  backdrop-filter: blur(12px);
}

.modal-content {
  position: relative;
  z-index: 1001;
  background: var(--card);
  border: 1px solid var(--bdr);
  padding: 48px;
  max-width: 900px;
  width: 90%;
  animation: modalSlideUp 0.4s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 32px;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text);
}

.modal-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 12px;
  text-align: center;
}

.modal-content > p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 36px;
  font-size: 14px;
}

.modal-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.modal-option {
  background: var(--panel);
  border: 1px solid var(--bdrw);
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  display: block;
}

.modal-option:hover {
  transform: translateY(-4px);
  border-color: var(--bdr);
}

.modal-option:nth-child(1):hover {
  border-color: var(--gold);
}

.modal-option:nth-child(2):hover {
  border-color: var(--jade);
}

.modal-option:nth-child(3):hover {
  border-color: var(--rose);
}

.modal-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border: 1px solid var(--bdrw);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-option:nth-child(1) .modal-icon {
  border-color: rgba(232, 168, 54, .3);
}

.modal-option:nth-child(2) .modal-icon {
  border-color: rgba(46, 207, 160, .3);
}

.modal-option:nth-child(3) .modal-icon {
  border-color: rgba(224, 102, 168, .3);
}

.modal-option:nth-child(1) .modal-icon svg {
  stroke: var(--gold);
}

.modal-option:nth-child(2) .modal-icon svg {
  stroke: var(--jade);
}

.modal-option:nth-child(3) .modal-icon svg {
  stroke: var(--rose);
}

.modal-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke-width: 1.5;
}

.modal-option h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.modal-option p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* About Section */
.about {
  background: var(--deep);
}

/* Journey Preview Cards */
.tours-preview {
  background: var(--ink);
}

.th-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.th-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px 34px;
  transition: transform .3s;
}

.th-card:hover {
  transform: translateY(-4px);
}

.th-card:nth-child(1) {
  background: linear-gradient(170deg, rgba(232, 168, 54, .09) 0%, rgba(240, 100, 72, .05) 100%), var(--card);
}

.th-card:nth-child(2) {
  background: linear-gradient(170deg, rgba(46, 207, 160, .09) 0%, rgba(91, 168, 245, .05) 100%), var(--card);
}

.th-card:nth-child(3) {
  background: linear-gradient(170deg, rgba(224, 102, 168, .09) 0%, rgba(155, 95, 245, .05) 100%), var(--card);
}

.th-bdr {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.th-card:nth-child(1) .th-bdr {
  background: var(--gw);
}

.th-card:nth-child(2) .th-bdr {
  background: var(--gj);
}

.th-card:nth-child(3) .th-bdr {
  background: var(--grose);
}

.th-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 90px;
  font-weight: 700;
  color: rgba(255, 255, 255, .03);
  position: absolute;
  top: -6px;
  right: 10px;
  line-height: 1;
}

.th-icon {
  width: 50px;
  height: 50px;
  border: 1px solid var(--bdrw);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.th-card:nth-child(1) .th-icon {
  border-color: rgba(232, 168, 54, .3);
}

.th-card:nth-child(2) .th-icon {
  border-color: rgba(46, 207, 160, .3);
}

.th-card:nth-child(3) .th-icon {
  border-color: rgba(224, 102, 168, .3);
}

.th-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke-width: 1.5;
}

.th-card:nth-child(1) .th-icon svg {
  stroke: var(--gold);
}

.th-card:nth-child(2) .th-icon svg {
  stroke: var(--jade);
}

.th-card:nth-child(3) .th-icon svg {
  stroke: var(--rose);
}

.th-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.th-card:nth-child(1) .th-tag {
  color: var(--gold);
}

.th-card:nth-child(2) .th-tag {
  color: var(--jade);
}

.th-card:nth-child(3) .th-tag {
  color: var(--rose);
}

.th-title {
  font-family: inherit;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}

.th-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

.th-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  transition: gap .2s;
}

.th-card:nth-child(1) .th-cta {
  color: var(--gold);
}

.th-card:nth-child(2) .th-cta {
  color: var(--jade);
}

.th-card:nth-child(3) .th-cta {
  color: var(--rose);
}

.th-cta:hover {
  gap: 13px;
}

/* Contact CTA Section */
.contact-cta {
  background: var(--panel);
  text-align: center;
}

.contact-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  margin-bottom: 16px;
}

.contact-cta p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Responsive */
@media (max-width: 1100px) {
  .th-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 108px;
  }

  h1 {
    font-size: 48px;
    letter-spacing: -2px;
  }

  .th-card {
    min-height: 360px;
    padding: 26px 22px;
  }

  .modal-content {
    padding: 32px 24px;
  }

  .modal-options {
    grid-template-columns: 1fr;
  }

  .modal-content h2 {
    font-size: 28px;
  }
}
