/* ===================================================
   香港旅遊網站 — Hong Kong Tourism Website
   Style Sheet
   =================================================== */

/* ---- CSS Variables (Design Tokens) ---- */
:root {
  --red:       #C0392B;
  --red-dark:  #96281B;
  --red-light: #E74C3C;
  --gold:      #D4A017;
  --gold-light:#F0C040;
  --black:     #0A0A0A;
  --dark:      #1A1A1A;
  --dark-2:    #2C2C2C;
  --gray:      #6B6B6B;
  --gray-light:#B0B0B0;
  --cream:     #F9F5EF;
  --white:     #FFFFFF;

  --font-serif: 'Noto Serif TC', serif;
  --font-sans:  'Noto Sans TC', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  24px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:     0 8px 40px rgba(0,0,0,0.15);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.25);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  border: 1.5px solid var(--red);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.section-tag.light {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--dark);
  margin-bottom: 20px;
}

.section-title.light { color: var(--white); }

.section-desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
}

.section-desc.light { color: rgba(255,255,255,0.75); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-desc { margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,57,43,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  font-weight: 800;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,160,23,0.4);
}

.btn.full-width { width: 100%; }

/* ====================================================
   NAVBAR
   ==================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.logo-zh {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
}

.logo-divider {
  color: rgba(255,255,255,0.4);
  font-size: 1.2rem;
}

.logo-en {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.8);
}

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

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

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

.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ====================================================
   HERO
   ==================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  animation: fadeInUp 1s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-title-zh {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.hero-title-en {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 2vw, 1.3rem);
  font-weight: 300;
  letter-spacing: 0.5em;
  color: rgba(255,255,255,0.75);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

.hero-scroll {
  position: absolute;
  bottom: 140px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(10px);
  padding: 20px;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 8px 0;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ====================================================
   MARQUEE
   ==================================================== */
.marquee-wrapper {
  background: var(--red);
  padding: 14px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
}

.marquee-track .dot {
  color: var(--gold);
  font-size: 0.6rem;
  display: flex;
  align-items: center;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ====================================================
   ABOUT
   ==================================================== */
.about {
  padding: 100px 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag {
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.1);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
}

.tag:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.about-image-block {
  position: relative;
}

.about-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--red);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow);
}

.badge-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.badge-label {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 4px;
}

/* ====================================================
   ATTRACTIONS
   ==================================================== */
.attractions {
  padding: 100px 0;
  background: var(--white);
}

.attractions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

.attraction-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--dark);
  transition: var(--transition);
  cursor: pointer;
}

.attraction-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.attraction-card.large {
  grid-column: span 2;
}

.card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.attraction-card.large .card-image { height: 360px; }

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.attraction-card:hover .card-image img {
  transform: scale(1.07);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: var(--white);
}

.card-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
}

.card-content h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--white);
}

.card-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 12px;
}

.card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.card-link:hover { color: var(--white); }

/* ====================================================
   FOOD
   ==================================================== */
.food {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.food-bg {
  position: absolute;
  inset: 0;
}

.food-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.food-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.82);
}

.food .container { position: relative; z-index: 2; }

.food-header {
  text-align: center;
  margin-bottom: 60px;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.food-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.food-item:hover {
  background: rgba(192,57,43,0.15);
  border-color: rgba(192,57,43,0.4);
  transform: translateY(-4px);
}

.food-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.food-item h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 10px;
}

.food-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ====================================================
   CULTURE
   ==================================================== */
.culture {
  padding: 100px 0;
  background: var(--cream);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.culture-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1.5px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.culture-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 32px rgba(192,57,43,0.12);
  transform: translateY(-4px);
}

.culture-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(192,57,43,0.15);
  line-height: 1;
  margin-bottom: 12px;
}

.culture-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.culture-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
}

/* Tram Feature */
.tram-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tram-image {
  height: 420px;
  overflow: hidden;
}

.tram-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.tram-feature:hover .tram-image img {
  transform: scale(1.05);
}

.tram-text {
  padding: 48px 40px 48px 0;
}

.tram-text h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 16px;
}

.tram-text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 32px;
}

.tram-facts {
  display: flex;
  gap: 32px;
}

.tram-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tram-fact strong {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
}

.tram-fact span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
}

/* ====================================================
   TRANSPORT
   ==================================================== */
.transport {
  padding: 100px 0;
  background: var(--white);
}

.transport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.transport-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.transport-card:hover {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.transport-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.transport-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.transport-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.transport-detail {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.05em;
}

.octopus-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
}

.octopus-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.octopus-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.octopus-text { flex: 1; }

.octopus-text h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 6px;
}

.octopus-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* ====================================================
   GALLERY
   ==================================================== */
.gallery {
  padding: 100px 0 0;
  background: var(--cream);
  overflow: hidden;
}

.gallery-strip {
  display: flex;
  gap: 0;
  margin-top: 48px;
  height: 380px;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
}

.gallery-strip::-webkit-scrollbar { display: none; }

.gallery-item {
  position: relative;
  flex: 0 0 320px;
  overflow: hidden;
}

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--white);
  padding: 20px 16px 12px;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ====================================================
   CONTACT
   ==================================================== */
.contact {
  padding: 100px 0;
  background: var(--white);
}

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

.contact-info .section-title { margin-bottom: 16px; }

.contact-info > p {
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.8;
}

.info-list { display: flex; flex-direction: column; gap: 20px; }

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }

.info-item strong {
  display: block;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.info-item span {
  font-size: 0.88rem;
  color: var(--gray);
}

/* Form */
.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  border: 1.5px solid rgba(0,0,0,0.06);
}

.contact-form h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.contact-form > p {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--dark);
  transition: var(--transition);
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--gray);
}

/* ====================================================
   FOOTER
   ==================================================== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

.footer-links-group h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links-group ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links-group a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-links-group a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ====================================================
   BACK TO TOP
   ==================================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--red-dark);
  transform: translateY(-4px);
}

/* ====================================================
   ANIMATIONS / AOS-LIKE
   ==================================================== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos][data-aos-delay="400"] { transition-delay: 0.4s; }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-block { order: -1; }

  .about-img { height: 400px; }

  .tram-feature {
    grid-template-columns: 1fr;
  }

  .tram-image { height: 300px; }
  .tram-text { padding: 32px; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,10,10,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 1.4rem;
    font-family: var(--font-serif);
  }

  .hamburger { display: flex; z-index: 1000; }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }

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

  .attraction-card.large { grid-column: span 1; }

  .food-grid,
  .culture-grid,
  .transport-grid {
    grid-template-columns: 1fr 1fr;
  }

  .octopus-content { flex-direction: column; text-align: center; }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-scroll { display: none; }
}

@media (max-width: 480px) {
  .food-grid,
  .culture-grid,
  .transport-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta { flex-direction: column; align-items: center; }

  .tram-facts { flex-direction: column; gap: 16px; }

  .contact-form-wrap { padding: 32px 24px; }
}
