/* GioTrip Common Styles - Shared across all pages */

/* CSS Variables */
:root {
  --ink: #09090f;
  --deep: #0f0f1a;
  --panel: #141420;
  --card: #1a1a28;
  --gold: #e8a836;
  --gold-p: #f5d280;
  --coral: #f06448;
  --jade: #2ecfa0;
  --sky: #5ba8f5;
  --rose: #e066a8;
  --text: #ede9e0;
  --muted: #7a7a94;
  --dim: #4a4a62;
  --bdr: rgba(232, 168, 54, .18);
  --bdrw: rgba(255, 255, 255, .07);
  --gh: linear-gradient(135deg, #e8a836 0%, #f06448 40%, #9b5ff5 100%);
  --gj: linear-gradient(135deg, #2ecfa0 0%, #5ba8f5 100%);
  --gw: linear-gradient(135deg, #e8a836 0%, #f06448 100%);
  --grose: linear-gradient(135deg, #e066a8 0%, #9b5ff5 100%);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.zh {
  font-family: 'Noto Serif SC', serif;
}

body.ko {
  font-family: 'Noto Serif KR', serif;
}

body.it {
  font-family: 'EB Garamond', serif;
}

/* Noise texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .025;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Announcement Banner */
.ann {
  background: #1a1a28;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 9px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
}

.ann-brand {
  flex: 1;
  display: flex;
  align-items: center;
}

.ann-brand-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.ann-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ann-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #ede9e0;
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}

.ann-item:hover {
  color: #e8a836;
}

.ann-lbl {
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 2px 7px;
  border: 1px solid;
}

.ann-links .ann-item:nth-child(1) .ann-lbl {
  color: var(--gold);
  border-color: rgba(232, 168, 54, .3);
}

.ann-links .ann-item:nth-child(3) .ann-lbl {
  color: var(--coral);
  border-color: rgba(240, 100, 72, .3);
}

/* Responsive announcement banner */
@media (max-width: 768px) {
  .ann {
    padding: 8px 20px;
    justify-content: center;
  }

  .ann-brand {
    display: none;
  }

  .ann-links {
    gap: 16px;
  }

  .ann-brand-text {
    font-size: 11px;
  }
}

.ann-sep {
  color: var(--dim);
  font-size: 14px;
}

/* Navigation */
nav {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 200;
  height: 62px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26, 26, 40, .95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
}

.logo-g {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  font-style: italic;
  background: linear-gradient(135deg, #e8a836 0%, #f06448 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-t {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 3px;
  color: #ede9e0;
  text-transform: uppercase;
  margin-left: 3px;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: 48px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #ede9e0;
  text-decoration: none;
  transition: color .2s;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #e8a836 0%, #f06448 100%);
  transition: width .3s ease;
}

.nav-links a:hover {
  color: #e8a836;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-r {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-sw {
  display: flex;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.lang-sw a {
  padding: 6px 11px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #64748b;
  text-decoration: none;
  transition: all .2s;
  font-family: 'DM Mono', monospace;
}

.lang-sw a:hover {
  background: rgba(232, 168, 54, 0.1);
  color: #e8a836;
}

.lang-sw a.cur {
  background: linear-gradient(135deg, #e8a836 0%, #f06448 100%);
  color: #ffffff;
}

.nav-cta {
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(135deg, #e8a836 0%, #f06448 100%);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  display: inline-block;
}

.nav-cta:hover {
  opacity: .85;
  transform: translateY(-1px);
}

/* Buttons */
.btn-g {
  padding: 13px 30px;
  font-size: 13px;
  font-weight: 600;
  background: var(--gh);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity .2s, transform .2s;
}

.btn-g:hover {
  opacity: .88;
  transform: translateY(-2px);
}

.btn-o {
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 400;
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all .25s;
}

.btn-o:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Section Utilities */
section {
  padding: 96px 56px;
  position: relative;
}

.se {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  font-family: 'DM Mono', monospace;
  margin-bottom: 12px;
}

.se::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--gw);
}

.st {
  font-family: inherit;
  font-size: clamp(28px, 3.8vw, 50px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 12px;
}

.st em {
  font-style: normal;
  background: var(--gh);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.sd {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 540px;
  margin-bottom: 48px;
}

/* Footer */
footer {
  background: var(--ink);
  border-top: 1px solid var(--bdrw);
  padding: 46px 56px 22px;
}

.ft {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.fb p {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.8;
  margin-top: 8px;
  max-width: 230px;
}

.fc h4 {
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 13px;
  font-family: 'DM Mono', monospace;
}

.fc a {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 7px;
  transition: color .2s;
}

.fc a:hover {
  color: var(--gold);
}

.fbot {
  border-top: 1px solid var(--bdrw);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--dim);
  flex-wrap: wrap;
  gap: 12px;
}

.fgio {
  background: var(--gh);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* Animations */
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.rv.in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1100px) {
  nav, section, .ann {
    padding-left: 28px;
    padding-right: 28px;
  }

  .ft {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .ann {
    padding: 8px 16px;
  }

  .ann-sep {
    display: none;
  }

  nav {
    top: 34px;
  }

  .nav-links {
    display: none;
  }

  .ft {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 30px 18px 16px;
  }
}
