:root {
  --royal-navy: #0b1f3f;
  --nav-blue: #0b1f3fde;
  --deep-navy: #071527;
  --gold: #c9a961;
  --gold-light: #e5d4a6;
  --sage: #7fa37c;
  --sage-light: #a8c9a5;
  --cream: #fdfbf7;
  --white: #ffffff;
}

* {
  font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
.display {
  font-family: "Playfair Display", serif;
}

/* Mobile Menu Animations */
#mobileMenu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobileMenu.active {
  transform: translateX(0);
}

#mobileMenuBackdrop {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#mobileMenuBackdrop.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-item {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

#mobileMenu.active .mobile-menu-item {
  opacity: 1;
  transform: translateX(0);
}

#mobileMenu.active .mobile-menu-item:nth-child(1) {
  transition-delay: 0.1s;
}

#mobileMenu.active .mobile-menu-item:nth-child(2) {
  transition-delay: 0.15s;
}

#mobileMenu.active .mobile-menu-item:nth-child(3) {
  transition-delay: 0.2s;
}

#mobileMenu.active .mobile-menu-item:nth-child(4) {
  transition-delay: 0.25s;
}

#mobileMenu.active .mobile-menu-item:nth-child(5) {
  transition-delay: 0.3s;
}

.text-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-gradient {
  background: linear-gradient(
    165deg,
    var(--deep-navy) 0%,
    var(--royal-navy) 50%,
    #0d2847 100%
  );
  position: relative;
}

.hero-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(201, 169, 97, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(127, 163, 124, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(201, 169, 97, 0.04) 0%,
      transparent 70%
    );
  pointer-events: none;
}

.geometric-pattern {
  position: absolute;
  width: 600px;
  height: 600px;
  opacity: 0.12; /* Increased from 0.03 for more visibility */
}

.geometric-pattern::before,
.geometric-pattern::after {
  content: "";
  position: absolute;
  border: 2px solid var(--gold);
}

.geometric-pattern::before {
  width: 400px;
  height: 400px;
  top: 0;
  left: 0;
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}

.geometric-pattern::after {
  width: 300px;
  height: 300px;
  bottom: 0;
  right: 0;
  transform: rotate(45deg);
  animation: rotate-reverse 25s linear infinite;
}

.geometric-pattern::after {
  width: 300px;
  height: 300px;
  bottom: 0;
  right: 0;
  transform: rotate(45deg);
  animation: rotate-reverse 25s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate-reverse {
  from {
    transform: rotate(45deg);
  }

  to {
    transform: rotate(405deg);
  }
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      rgba(201, 169, 97, 0.02) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(201, 169, 97, 0.02) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.3;
}

.floating-element {
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-20px) translateX(10px) rotate(2deg);
  }

  50% {
    transform: translateY(-10px) translateX(-10px) rotate(-2deg);
  }

  75% {
    transform: translateY(-25px) translateX(5px) rotate(1deg);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.value-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(212, 175, 55, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s;
}

.value-card:hover::before {
  left: 100%;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 31, 68, 0.2);
}

.decorative-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1rem 0;
}

.glass-morphism {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 169, 97, 0.1);
}

.hover-lift {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(11, 31, 63, 0.15);
}

.accent-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(
    135deg,
    rgba(201, 169, 97, 0.1),
    rgba(201, 169, 97, 0.05)
  );
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.quote-mark {
  font-size: 4rem;
  line-height: 0;
  color: var(--gold);
  opacity: 0.3;
}

.section-number {
  font-size: 8rem;
  font-weight: 900;
  color: rgba(212, 175, 55, 0.08);
  position: absolute;
  top: -2rem;
  left: 0;
  z-index: 0;
}

.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.mesh-gradient {
  background: radial-gradient(
      at 27% 37%,
      rgba(212, 175, 55, 0.1) 0px,
      transparent 50%
    ),
    radial-gradient(at 97% 21%, rgba(45, 27, 78, 0.15) 0px, transparent 50%),
    radial-gradient(at 52% 99%, rgba(139, 168, 136, 0.1) 0px, transparent 50%),
    radial-gradient(at 10% 29%, rgba(212, 175, 55, 0.1) 0px, transparent 50%);
}

.cta-button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-button::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, height 0.6s;
}

.cta-button:hover::before {
  width: 400px;
  height: 400px;
}

.nav-link {
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.anthem-card {
  background: linear-gradient(
    135deg,
    rgba(11, 31, 63, 0.95),
    rgba(7, 21, 39, 0.98)
  );
  backdrop-filter: blur(10px);
}

.page-section {
  min-height: 100vh;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 31, 63, 0.4),
    rgba(201, 169, 97, 0.2)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.image-card:hover .image-overlay {
  opacity: 1;
}

.masonry-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .masonry-grid {
    column-count: 1;
  }
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.decorative-border {
  position: relative;
  padding: 2rem;
}

.decorative-border::before,
.decorative-border::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--gold);
}

.decorative-border::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.decorative-border::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}
/* Gallery page */
/* Tab button base styles */
.tab-btn {
  background: #f3f4f6;
  color: #1f2937;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effects */
.tab-btn:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover i {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Active state */
.tab-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--deep-navy);
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  font-weight: 700;
}

/* Active state shimmer effect */
.tab-btn.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

/* Active state icon pulse */
.tab-btn.active i {
  animation: iconPulse 0.7s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

/* Focus states for accessibility */
.tab-btn:focus {
  outline: none;
  border: 2px;
  border-color: var(--gold);
  border-offset: 2px;
}

/* Click animation */
.tab-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Responsive padding */
@media (min-width: 768px) {
  .tab-btn {
    padding: 0.75rem 2rem;
  }
}

/* Gallery container */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .masonry-grid {
    gap: 2rem;
  }
}
