/* ============================================
   Artemio Rimando - Professional Portfolio
   Color Palette: Deep blues with clean whites
   ============================================ */

:root {
  --primary: #1a365d;
  --primary-light: #2b6cb0;
  --primary-lighter: #3182ce;
  --accent: #63b3ed;
  --dark: #0d1b2a;
  --dark-soft: #1b2838;
  --text: #2d3748;
  --text-light: #718096;
  --text-on-dark: #e2e8f0;
  --white: #ffffff;
  --off-white: #f7fafc;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.7;
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-lighter);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  color: var(--primary-light);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  flex-shrink: 0;
  transition: var(--transition);
}

.nav-logo:hover .nav-logo-icon {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width 0.3s ease;
}

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

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

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  height: 100vh;
  height: 100dvh;
  display: flex;
  color: var(--white);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #122a4a 40%, #1a3a5c 70%, #0d1b2a 100%);
}

.hero-inner {
  display: flex;
  width: 100%;
  height: 100%;
}

.hero-content {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem clamp(2rem, 4vw, 5rem);
  background: rgba(13, 27, 42, 0.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

/* Soft inner glow */
.hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(99, 179, 237, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(56, 132, 210, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-photo {
  flex: 0 0 45%;
  position: relative;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-photo::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--primary));
  z-index: 1;
  pointer-events: none;
}

.hero-photo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to right, var(--primary), transparent);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column-reverse;
    min-height: auto;
  }

  .hero-content {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 4rem 2rem;
    text-align: center;
  }

  .hero-photo {
    flex: 0 0 auto;
    min-width: 100%;
    height: 50vh;
  }

  .hero-photo::after {
    display: none;
  }

  .hero-cta {
    justify-content: center;
  }
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.subtitle-sep {
  display: inline-block;
  width: 1px;
  height: 1em;
  margin: 0 0.8em;
  vertical-align: middle;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-on-dark);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero bottom fade — blends unified dark base into off-white section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--off-white);
  z-index: 2;
  pointer-events: none;
}

/* Scroll Narrative Transitions */
[data-narrative] {
  position: relative;
}

.narrative-text {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  background: linear-gradient(135deg, #2a7ab5 0%, #3d8ec4 40%, #4da8da 70%, #2a7ab5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(13, 27, 42, 0.2));
  letter-spacing: -0.03em;
  text-transform: lowercase;
  margin-bottom: -0.7rem;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

@media (max-width: 900px) {
  .narrative-text {
    font-size: 0.75rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.25);
}

/* ============================================
   Photo Strip (parallax divider)
   ============================================ */

.photo-strip {
  height: 300px;
  position: relative;
  overflow: hidden;
}

.photo-strip-img {
  position: absolute;
  top: -120%;
  left: 0;
  width: 100%;
  height: 300%;
  object-fit: cover;
  object-position: center bottom;
}

.photo-strip-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    var(--off-white) 0%,
    transparent 15%,
    transparent 85%,
    var(--white) 100%
  );
  pointer-events: none;
}

@media (max-width: 900px) {
  .photo-strip {
    height: 200px;
  }
}

/* ============================================
   Sections
   ============================================ */

.section {
  padding: 6rem 2rem;
  background: var(--white);
}

.section-alt {
  background: var(--off-white);
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(99, 179, 237, 0.04) 0%, transparent 70%),
              radial-gradient(ellipse at 80% 80%, rgba(43, 108, 176, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* Social icon links */
.social-icons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.social-linkedin {
  background: rgba(10, 102, 194, 0.85);
}
.social-linkedin:hover {
  background: rgba(10, 102, 194, 1);
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.4);
}

.social-github {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.social-github:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

.social-youtube {
  background: rgba(255, 59, 48, 0.85);
}
.social-youtube:hover {
  background: rgba(255, 59, 48, 1);
  box-shadow: 0 6px 20px rgba(255, 59, 48, 0.4);
}

/* Light background variant */
.social-icons--light .social-linkedin {
  background: rgba(10, 102, 194, 0.1);
  color: #0a66c2;
}
.social-icons--light .social-linkedin:hover {
  background: rgba(10, 102, 194, 0.2);
  color: #0a66c2;
}
.social-icons--light .social-github {
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text);
}
.social-icons--light .social-github:hover {
  background: rgba(0, 0, 0, 0.12);
  color: var(--text);
}
.social-icons--light .social-youtube {
  background: rgba(255, 59, 48, 0.1);
  color: #ff3b30;
}
.social-icons--light .social-youtube:hover {
  background: rgba(255, 59, 48, 0.2);
  color: #ff3b30;
}

.section-dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 50%, var(--primary) 100%);
  color: var(--text-on-dark);
  position: relative;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(99, 179, 237, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-header::before {
  display: none;
}

.category-nav {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.category-pill {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.category-pill:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Creative Hero — merged page header + YouTube */
.creative-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  color: var(--white);
  overflow: hidden;
  padding-top: 72px;
}

.creative-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 27, 42, 0.7) 0%,
    rgba(13, 27, 42, 0.5) 40%,
    rgba(13, 27, 42, 0.75) 100%
  );
}

.creative-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 4rem 2rem;
}

.creative-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.creative-hero-summary {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0;
}

.creative-hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.creative-hero-yt {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 59, 48, 0.9);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.creative-hero-yt:hover {
  background: rgba(255, 59, 48, 1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 59, 48, 0.35);
  color: var(--white);
}

.creative-hero-yt-logo {
  width: 22px;
  height: auto;
}

.creative-hero-nav {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.creative-hero-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: var(--white);
}

@media (max-width: 768px) {
  .creative-hero {
    min-height: 60vh;
    background-attachment: scroll;
  }

  .creative-hero-content {
    padding: 3rem 1.5rem;
  }

  .creative-hero-content h1 {
    font-size: 2.25rem;
  }
}

.subsection-header {
  margin-bottom: 2.5rem;
}

.subsection-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-dark .section-header::before {
  background: var(--accent);
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.section-dark .section-header p {
  color: var(--text-on-dark);
}

/* ============================================
   Cards Grid (Portfolio, Videos, Blog)
   ============================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(26, 54, 93, 0.15);
}

.card:hover::after {
  transform: scaleX(1);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  transition: transform 0.4s ease;
}

.card:hover .card-image {
  transform: scale(1.03);
}

/* Contain the image zoom within the card */
.card > a, .card {
  overflow: hidden;
}

.card-body {
  padding: 1.75rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  background: rgba(43, 108, 176, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.card-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ============================================
   Video Embed
   ============================================ */

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  margin: 2rem 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   About / Content Pages
   ============================================ */

.page-header {
  padding: 10rem 2rem 4rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--text-on-dark);
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-content h2 {
  font-size: 1.75rem;
  color: var(--primary);
  margin: 2.5rem 0 1rem;
  font-weight: 700;
}

.page-content h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin: 2rem 0 0.75rem;
  font-weight: 600;
}

.page-content p {
  margin-bottom: 1.25rem;
  color: var(--text);
}

.page-content ul, .page-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.page-content blockquote {
  border-left: 4px solid var(--primary-light);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--off-white);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-light);
}

.page-content code {
  background: var(--off-white);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.page-content pre {
  background: var(--dark);
  color: var(--text-on-dark);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.page-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.page-content img {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Contact Section
   ============================================ */

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

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-links {
  list-style: none;
}

.contact-links li {
  margin-bottom: 1rem;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}

.contact-links a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--dark);
  color: var(--text-on-dark);
  padding: 3rem 2rem;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text {
  font-size: 0.9rem;
  color: var(--text-light);
}

.footer-vibe {
  font-size: 0.75rem;
  color: var(--text-light);
  opacity: 0.8;
  font-style: italic;
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-on-dark);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

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

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

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

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

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .page-header {
    padding: 8rem 1.5rem 3rem;
  }

  .page-header h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }
}

/* ============================================
   Travel Parallax Hero
   ============================================ */

.travel-parallax {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 72px;
  overflow: hidden;
}

.travel-parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 27, 42, 0.2) 0%,
    rgba(13, 27, 42, 0.1) 40%,
    rgba(13, 27, 42, 0.6) 75%,
    rgba(13, 27, 42, 0.85) 100%
  );
}

.travel-parallax-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 4rem 2rem 3.5rem;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.travel-parallax-content h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.travel-parallax-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1.25rem;
}

.travel-parallax-summary {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.travel-parallax-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.travel-parallax-strip {
  position: relative;
  height: 380px;
  margin: 3rem calc(-50vw + 50%) 3rem;
  width: 100vw;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.travel-parallax-strip-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    var(--off-white) 0%,
    transparent 20%,
    transparent 80%,
    var(--white) 100%
  );
  pointer-events: none;
}

@media (max-width: 768px) {
  .travel-parallax {
    min-height: 60vh;
    background-attachment: scroll;
  }

  .travel-parallax-content {
    padding: 3rem 1.5rem 2.5rem;
  }

  .travel-parallax-strip {
    height: 240px;
    background-attachment: scroll;
  }
}

/* ============================================
   Photo Collage — candy crush inspired glowing tiles
   ============================================ */

.photo-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 1.5rem 0 2.5rem;
  border-radius: 12px;
}

.photo-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  filter: saturate(0.85) brightness(0.95) contrast(1.05);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}

.photo-collage img:hover {
  filter: saturate(1.2) brightness(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transform: scale(1.02) translateY(-2px);
  z-index: 2;
  position: relative;
}

/* Feature tile patterns — every 7th image starting at 1 spans 2 cols */
.photo-collage img:nth-child(7n + 1) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1 / 1;
}

/* 2-image collages: side by side */
.photo-collage:has(img:nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
}
.photo-collage:has(img:nth-child(2):last-child) img:nth-child(1) {
  grid-column: span 1;
  grid-row: span 1;
  aspect-ratio: 4 / 3;
}

/* 3-image collages: 1 large + 2 small */
.photo-collage:has(img:nth-child(3):last-child) {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.photo-collage:has(img:nth-child(3):last-child) img:nth-child(1) {
  grid-row: span 2;
  aspect-ratio: auto;
}
.photo-collage:has(img:nth-child(3):last-child) img:nth-child(n+2) {
  grid-column: 2;
  aspect-ratio: 4 / 3;
}

/* Lightbox overlay */
.photo-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 15, 30, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: lightbox-fade-in 0.2s ease;
}

.photo-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  border: 2px solid rgba(99, 179, 237, 0.4);
  box-shadow:
    0 0 30px rgba(99, 179, 237, 0.3),
    0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .photo-collage {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    padding: 3px;
  }

  .photo-collage img:nth-child(7n + 1) {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 9;
  }

  .photo-collage:has(img:nth-child(3):last-child) {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .photo-collage:has(img:nth-child(3):last-child) img:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .photo-collage:has(img:nth-child(3):last-child) img:nth-child(n+2) {
    grid-column: auto;
  }
}

/* Private Section */
.private-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  background: var(--dark);
  color: var(--text-on-dark);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}
