/* ===== CSS Custom Properties - Enhanced Elegant Version ===== */
:root {

  --primary-green: #1d3810;
  --primary-green-medium: #2d5016;
  --primary-green-light: #3f6620;
  --accent-gold: #c9a961;
  --accent-gold-bright: #e4c898;
  --accent-gold-dark: #a08647;
  --warm-brown: #6e4d33;
  --earth-tan: #b89968;
  --sage-green: #8ba888;


  --gradient-hero: linear-gradient(135deg, #0f1f08 0%, #1d3810 40%, #2d5016 100%);
  --gradient-card: linear-gradient(135deg, rgba(201, 169, 97, 0.06) 0%, rgba(139, 168, 136, 0.04) 100%);
  --gradient-gold: linear-gradient(135deg, #c9a961 0%, #e4c898 50%, #d4b875 100%);
  --gradient-overlay: linear-gradient(to bottom, rgba(29, 56, 16, 0.92), rgba(29, 56, 16, 0.7));


  --white: #ffffff;
  --off-white: #fafaf8;
  --cream: #f5f3ed;
  --light-gray: #e6e4df;
  --medium-gray: #6a6962;
  --dark-gray: #2c2a25;
  --black: #171614;


  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.75rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 3.5rem;
  --spacing-xxl: 5rem;


  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;


  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.12), 0 6px 6px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.16), 0 10px 10px rgba(0, 0, 0, 0.1);
  --shadow-subtle: 0 2px 8px rgba(29, 56, 16, 0.08);


  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);


  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* ===== CSS Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 100px;

}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--dark-gray);
  background-color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-fast);
}

/* ===== Elegant Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-green);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
  color: var(--medium-gray);
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.97);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
  box-shadow: none;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(250, 250, 248, 0.98);
  box-shadow: var(--shadow-subtle);
  border-bottom-color: rgba(201, 169, 97, 0.2);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-sm) var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

.nav-link {
  font-weight: 500;
  color: var(--dark-gray);
  position: relative;
  padding: var(--spacing-xs) 0;
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--spacing-xs);
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-green);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: var(--spacing-xxl) var(--spacing-lg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

.hero-name {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--accent-gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--spacing-sm);
  text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.4);
  font-family: var(--font-heading);
}

.hero-system {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--spacing-lg);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
  border-bottom: 2px solid var(--accent-gold-bright);
  display: inline-block;
  padding-bottom: var(--spacing-xs);
}


.hero h1 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1.3rem, 2.8vw, 2.2rem);
  color: var(--accent-gold-bright);
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-lg);
  text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.02em;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--spacing-xl);
  line-height: 1.9;
  font-weight: 300;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== Elegant Buttons ===== */
.btn {
  padding: 1.1rem 2.2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.05rem;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  cursor: pointer;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--primary-green);
  box-shadow: var(--shadow-md), 0 0 0 0 rgba(201, 169, 97, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(201, 169, 97, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===== Section Container ===== */
.section {
  padding: var(--spacing-xxl) var(--spacing-lg);
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--medium-gray);
  max-width: 700px;
  margin: var(--spacing-lg) auto 0;
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent-gold), var(--primary-green));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-xl);
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  margin-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
  margin-left: calc(50% + 40px);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: var(--gradient-gold);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition: all var(--transition-normal);
}

.timeline-content {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-normal);
  border: 1px solid rgba(201, 169, 97, 0.1);
}

.timeline-content:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(201, 169, 97, 0.25);
}

.timeline-date {
  font-size: 0.9rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.timeline-title {
  font-size: 1.3rem;
  color: var(--primary-green);
  margin-bottom: var(--spacing-xs);
}

.timeline-description {
  color: var(--medium-gray);
}

/* ===== Projects Grid ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  perspective: 1000px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  border: 1px solid rgba(201, 169, 97, 0.08);
  transform-style: preserve-3d;
  will-change: transform;
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover {
  box-shadow: var(--shadow-xl), 0 0 30px rgba(201, 169, 97, 0.15);
  border-color: rgba(201, 169, 97, 0.3);
}

.project-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.project-info {
  padding: var(--spacing-lg);
}

.project-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--gradient-gold);
  color: var(--primary-green);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.project-description {
  color: var(--medium-gray);
  margin-bottom: var(--spacing-sm);
}

.project-meta {
  display: flex;
  gap: var(--spacing-md);
  font-size: 0.9rem;
  color: var(--medium-gray);
}

/* ===== Gallery Grid ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 1;
  opacity: 0;
  transform: scale(0.9);
  transition: all var(--transition-normal);
}

.gallery-item.visible {
  opacity: 1;
  transform: scale(1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 80, 22, 0.9), transparent);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-md);
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: var(--white);
  font-weight: 600;
}

/* ===== Lightbox Modal ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  padding: var(--spacing-lg);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  animation: zoomIn 0.3s ease-out;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* ===== Story Section ===== */
.story-section {
  background: var(--white);
  padding: var(--spacing-xxl) var(--spacing-lg);
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
}

.story-highlight {
  background: var(--gradient-card);
  padding: var(--spacing-lg) var(--spacing-xl);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  margin: var(--spacing-xl) 0;
  font-style: italic;
  color: var(--primary-green);
  font-size: 1.15rem;
  line-height: 1.9;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

/* ===== Live Countdown Section ===== */
.countdown-section {
  background: linear-gradient(135deg, #1e3a5f 0%, #0d1f35 50%, #162d4a 100%);
  padding: var(--spacing-xxl) var(--spacing-lg);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
  margin: var(--spacing-xl) 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.countdown-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg) var(--spacing-xl);
  min-width: 140px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: all var(--transition-normal);
}

.countdown-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.3);
  border-color: var(--accent-gold-bright);
}

.countdown-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--accent-gold-bright);
  font-family: var(--font-heading);
  line-height: 1;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5), 2px 2px 10px rgba(0, 0, 0, 0.5);
  animation: numberPulse 2s ease-in-out infinite;
}

.countdown-label {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-top: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.countdown-separator {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-gold-bright);
  opacity: 0.6;
  animation: blink 2s ease-in-out infinite;
}

.countdown-message {
  text-align: center;
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  margin-top: var(--spacing-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  line-height: 1.8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

@keyframes numberPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes blink {

  0%,
  49%,
  100% {
    opacity: 0.6;
  }

  50%,
  99% {
    opacity: 0.2;
  }
}

/* ===== Airplane Gallery Styles ===== */
.airplane-section {
  background: linear-gradient(135deg, #00C9FF 0%, #0080FF 50%, #0052CC 100%);
  padding: var(--spacing-xxl) var(--spacing-lg);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 100px rgba(255, 215, 0, 0.2);
}

.airplane-section::before {
  content: '☁️';
  position: absolute;
  font-size: 4rem;
  opacity: 0.2;
  animation: floatClouds 30s linear infinite;
}

@keyframes floatClouds {
  0% {
    left: -10%;
    top: 10%;
  }

  100% {
    left: 110%;
    top: 20%;
  }
}

.airplane-container {
  max-width: 700px;
  margin: var(--spacing-xl) auto;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 30%, #e0e0e0 70%, #d0d0d0 100%);
  border-radius: 60px 60px 25px 25px;
  padding: var(--spacing-xl) var(--spacing-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 3px 10px rgba(255, 255, 255, 0.7), 0 0 40px rgba(255, 215, 0, 0.3);
  border: 3px solid rgba(255, 215, 0, 0.6);
}

.airplane-container::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 20px;
  background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.2), transparent);
  border-radius: 10px;
}

.airplane-cockpit {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.cockpit-window {
  width: 100px;
  height: 70px;
  background: linear-gradient(135deg, #00D4FF 0%, #0080FF 100%);
  border-radius: 50px 50px 0 0;
  margin: 0 auto;
  border: 5px solid #FFD700;
  box-shadow: inset 0 4px 20px rgba(255, 255, 255, 0.6), 0 6px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.5);
  position: relative;
}

.cockpit-window::after {
  content: '✈️';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}

.airplane-body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.seat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-sm);
}

.airplane-seat {
  flex: 1;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid #FFD700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 215, 0, 0.4);
  transition: all var(--transition-normal);
}

.airplane-seat:hover {
  transform: scale(1.15) translateY(-8px);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.7), 0 0 30px rgba(255, 215, 0, 0.6);
  border-color: #FFA500;
  z-index: 10;
}

.seat-photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.seat-label {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.95), rgba(30, 60, 15, 0.95));
  color: #FFD700;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.airplane-aisle {
  width: 35px;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 150, 255, 0.3) 0%, rgba(0, 180, 255, 0.6) 50%, rgba(0, 150, 255, 0.3) 100%);
  border-radius: 6px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

.airplane-wings {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: -1;
}

.wing {
  position: absolute;
  height: 90px;
  background: linear-gradient(135deg, #e0e0e0, #a8a8a8);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.2);
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.wing-left {
  left: -60px;
  width: 120px;
  transform: rotate(-10deg);
}

.wing-right {
  right: -60px;
  width: 120px;
  transform: rotate(10deg);
}

.airplane-tail {
  width: 60px;
  height: 80px;
  background: linear-gradient(135deg, #d0d0d0, #a0a0a0);
  margin: var(--spacing-md) auto 0;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.airplane-caption {
  text-align: center;
  color: var(--white);
  font-size: 1rem;
  margin-top: var(--spacing-lg);
  font-style: italic;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .airplane-container {
    max-width: 90%;
    padding: var(--spacing-lg) var(--spacing-md);
    margin: var(--spacing-lg) auto;
  }

  .wing {
    height: 60px;
  }

  .wing-left {
    left: -40px;
    width: 80px;
  }

  .wing-right {
    right: -40px;
    width: 80px;
  }
}

@media (max-width: 480px) {
  .airplane-container {
    border-radius: 40px 40px 20px 20px;
    padding: var(--spacing-md);
  }

  .cockpit-window {
    width: 80px;
    height: 55px;
  }

  .wing {
    display: none;

  }

  .airplane-tail {
    width: 40px;
    height: 60px;
  }

  .airplane-seat {
    border-width: 2px;
  }
}

/* ===== 3D Rotating Photo Carousel ===== */
.carousel-3d-section {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1d3e 50%, #0f1628 100%);
  padding: calc(var(--spacing-xxl) * 1.5) var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

.carousel-3d-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.carousel-3d-section .section-title {
  color: var(--white);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.8);
  font-size: clamp(2rem, 5vw, 3rem);
}

.carousel-3d-section .section-description {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
}

.carousel-3d-container {
  max-width: 1400px;
  margin: calc(var(--spacing-xxl) * 1.5) auto 0;
  position: relative;
  height: 700px;
}

.carousel-3d-stage {
  width: 100%;
  height: 100%;
  perspective: 1800px;
  perspective-origin: 50% 50%;
}

.carousel-3d-wheel {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-3d-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 350px;
  margin-left: -250px;
  margin-top: -175px;
  transform-style: preserve-3d;
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-3d-photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(255, 215, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  border: 4px solid rgba(255, 215, 0, 0.8);
  background: #000;

  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

.carousel-3d-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.carousel-3d-photo:hover::before {
  opacity: 1;
}

.carousel-3d-photo:hover {
  transform: scale(1.08) translateZ(20px);
  box-shadow:
    0 40px 110px rgba(0, 0, 0, 0.9),
    0 0 80px rgba(255, 215, 0, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.carousel-3d-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  display: block;
  filter: brightness(1);

  transition: filter 0.3s ease;
}

.carousel-3d-photo:hover img {
  filter: brightness(1.05);
}

.carousel-3d-reflection {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Navigation Buttons */
.carousel-3d-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 165, 0, 0.95));
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 30px rgba(255, 215, 0, 0.5),
    0 0 40px rgba(255, 215, 0, 0.3);
  backdrop-filter: blur(10px);
}

.carousel-3d-nav:hover {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  transform: translateY(-50%) scale(1.15);
  box-shadow:
    0 12px 40px rgba(255, 215, 0, 0.7),
    0 0 60px rgba(255, 215, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.6);
}

.carousel-3d-nav:active {
  transform: translateY(-50%) scale(1.05);
}

.carousel-3d-prev {
  left: 30px;
}

.carousel-3d-next {
  right: 30px;
}

/* Auto-rotate toggle */
.carousel-3d-toggle {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 215, 0, 0.15);
  border: 3px solid rgba(255, 215, 0, 0.5);
  border-radius: 50%;
  color: #FFD700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.carousel-3d-toggle:hover {
  background: rgba(255, 215, 0, 0.25);
  border-color: #FFD700;
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5);
}

.carousel-3d-toggle.rotating {
  background: rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.carousel-3d-toggle.rotating .play-icon {
  display: none;
}

.carousel-3d-toggle.rotating .pause-icon {
  display: block !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .carousel-3d-container {
    height: 500px;
  }

  .carousel-3d-item {
    width: 350px;
    height: 250px;
    margin-left: -175px;
    margin-top: -125px;
  }

  .carousel-3d-nav {
    width: 60px;
    height: 60px;
  }

  .carousel-3d-prev {
    left: 15px;
  }

  .carousel-3d-next {
    right: 15px;
  }

  .carousel-3d-stage {
    perspective: 1200px;
  }
}

@media (max-width: 480px) {
  .carousel-3d-section {
    padding: var(--spacing-xxl) var(--spacing-xs);

    overflow: hidden;

  }

  .carousel-3d-container {
    height: 320px;

    max-width: 100vw;
    overflow: visible;

  }

  .carousel-3d-item {
    width: 50vw;

    max-width: 260px;
    height: 40vw;
    max-height: 190px;
    margin-left: -25vw;

    margin-top: -20vw;
  }


  @media (min-width: 400px) {
    .carousel-3d-item {
      margin-left: -130px;
      margin-top: -95px;
    }
  }

  .carousel-3d-stage {
    perspective: 500px;

  }

  .carousel-3d-nav {
    display: none;

  }
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-green);
  color: var(--white);
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--accent-gold);
  transform: translateY(-3px);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(201, 169, 97, 0.4),
      0 0 20px rgba(201, 169, 97, 0.2),
      0 0 30px rgba(201, 169, 97, 0.1);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 15px rgba(201, 169, 97, 0.6),
      0 0 30px rgba(201, 169, 97, 0.4),
      0 0 45px rgba(201, 169, 97, 0.2);
    transform: scale(1.1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {

  /* Hero mobile optimization */
  .hero {
    min-height: 70vh;

    padding: var(--spacing-lg) var(--spacing-md);
  }

  .hero-name {
    font-size: clamp(1.4rem, 6vw, 2rem);

    margin-bottom: 0.3rem;
    letter-spacing: 0.04em;
    line-height: 1.2;
  }

  .hero-system {
    font-size: clamp(0.75rem, 3vw, 1rem);

    letter-spacing: 0.08em;
    padding-bottom: 0.25rem;
    margin-bottom: var(--spacing-sm);
  }

  .hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);

    margin-bottom: 0.5rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 3.5vw, 1.3rem);

    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
  }

  .hero-description {
    font-size: clamp(0.9rem, 3vw, 1rem);

    line-height: 1.6;
    margin-bottom: var(--spacing-md);
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;

    width: 100%;
  }

  /* More compact buttons */
  .btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem var(--spacing-lg);
    font-size: 0.95rem;
    min-height: 46px;
  }

  /* Countdown mobile optimization */
  .countdown-section {
    padding: var(--spacing-xl) var(--spacing-sm);
  }

  .countdown-container {
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
  }

  .countdown-item {
    min-width: calc(50% - var(--spacing-xs));
    padding: var(--spacing-md) var(--spacing-sm);
    flex: 1;
  }

  .countdown-separator {
    display: none;
  }

  .countdown-number {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .countdown-label {
    font-size: 0.85rem;
    margin-top: 0.3rem;
  }

  .countdown-message {
    font-size: 1rem;
    padding: 0 var(--spacing-sm);
    margin-top: var(--spacing-md);
  }

  /* Timeline adjustments */
  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
    margin-right: 0;
  }

  .timeline-marker {
    left: 20px;
  }

  /* Navigation mobile refined */
  .navbar {
    background: rgba(250, 250, 248, 0.85);

    backdrop-filter: blur(20px) saturate(180%);
    padding: 0.25rem 0;

  }

  .nav-container {
    padding: 0.5rem var(--spacing-md);
  }

  .nav-logo {
    font-size: 1.1rem;
    gap: 6px;
  }

  .nav-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.1);
    transition: all 0.3s ease;
  }

  .nav-toggle:active {
    background: rgba(201, 169, 97, 0.2);
    transform: scale(0.95);
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 10px;
    right: 10px;
    /* Floating menu look */
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px) saturate(180%);
    padding: var(--spacing-md);
    gap: var(--spacing-xs);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(201, 169, 97, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
  }

  .nav-menu.active {
    max-height: 400px;
    opacity: 1;
    transform: translateY(10px);
    /* Push down slightly */
    visibility: visible;
  }

  .nav-link {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1.05rem;
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
  }

  .nav-link:hover,
  .nav-link:active {
    background: rgba(201, 169, 97, 0.1);
    color: var(--primary-green);
    padding-left: var(--spacing-lg);
    /* Slight indentation on interactions */
  }

  /* Fix for hero content overlap */
  .hero {
    align-items: flex-start;
    /* Align to top instead of center to control spacing better */
    padding-top: 140px;
    /* Ensure space for navbar + extra breathing room */
    height: auto;
    min-height: 100vh;
  }

  .hero-content {
    margin-top: var(--spacing-md);
  }

  /* Projects grid */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .project-card {
    margin-bottom: var(--spacing-sm);
  }

  .project-title {
    font-size: 1.3rem;
  }

  .project-description {
    font-size: 0.95rem;
  }

  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--spacing-sm);
  }

  /* Story section */
  .story-section {
    padding: var(--spacing-xl) var(--spacing-md);
  }

  .story-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
  }

  /* Buttons */
  .btn {
    width: 100%;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
    min-height: 48px;
    /* Better touch target */
  }

  /* Spacing adjustments */
  .section {
    padding: var(--spacing-xl) var(--spacing-md);
  }

  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .section-description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {

  /* Extra small mobile devices - ultra compact */
  html {
    font-size: 15px;
  }

  .hero {
    min-height: 65vh;
    /* Even smaller */
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .hero-name {
    font-size: clamp(1.2rem, 7vw, 1.6rem);
    /* Very compact */
    letter-spacing: 0.02em;
    margin-bottom: 0.2rem;
  }

  .hero-system {
    font-size: clamp(0.65rem, 3.5vw, 0.85rem);
    /* Very compact */
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
  }

  .hero h1 {
    font-size: clamp(1.4rem, 7vw, 1.9rem);
    /* Compact */
    margin-bottom: 0.4rem;
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    /* Compact */
    margin-bottom: 0.5rem;
  }

  .hero-description {
    font-size: 0.85rem;
    /* Smaller text */
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
  }

  .hero-cta {
    gap: 0.5rem;
    /* Minimal gap */
  }

  .btn {
    padding: 0.75rem var(--spacing-md);
    font-size: 0.9rem;
    min-height: 44px;
  }

  /* Countdown extra small */
  .countdown-container {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .countdown-item {
    min-width: calc(50% - 0.25rem);
    padding: var(--spacing-sm);
  }

  .countdown-number {
    font-size: clamp(1.6rem, 9vw, 2rem);
  }

  .countdown-label {
    font-size: 0.7rem;
  }

  .countdown-message {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* Navigation extra small */
  .nav-logo {
    font-size: 1rem;
  }

  /* Projects */
  .project-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  .project-title {
    font-size: 1.1rem;
  }

  .project-description {
    font-size: 0.85rem;
  }

  /* Story */
  .story-section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .story-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* Sections */
  .section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
  }

  .section-description {
    font-size: 0.9rem;
  }

  /* Footer */
  .footer {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .footer p {
    font-size: 0.8rem;
  }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding: var(--spacing-md);
  }

  .hero-name {
    font-size: 1.8rem;
  }

  .hero-system {
    font-size: 1rem;
  }

  .countdown-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .countdown-item {
    min-width: 120px;
    flex-shrink: 0;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

  /* Better touch targets */
  .nav-link {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .project-card {
    cursor: default;
  }

  /* Disable hover effects on touch devices */
  .project-card:hover {
    transform: none;
  }

  .countdown-item:hover {
    transform: none;
  }

  /* Tap highlight color */
  * {
    -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
  }

  /* Scroll to top button mobile */
  .scroll-to-top {
    width: 48px;
    height: 48px;
    bottom: 20px;
    right: 20px;
  }
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold-bright), var(--accent-gold));
  z-index: 10001;
  transform-origin: left;
  transition: width 0.1s linear;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.6);
}

/* ===== Scroll to Top Button ===== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent-gold-bright), var(--accent-gold));
  border: none;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4), 0 8px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-bright));
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6), 0 12px 50px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:active {
  transform: translateY(-2px) scale(0.98);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}