/* EPYEACE Business Website Design System
   Standard business design with Ethiopian cultural elements
   All colors MUST be HSL.
*/

/* CSS Variables */
:root {
  /* Standard Business Color Palette */
  --background: 0 0% 100%;      /* Clean White */
  --foreground: 0 0% 9%;        /* Dark Text */
  
  --card: 0 0% 100%;            /* White Cards */
  --card-foreground: 0 0% 9%;

  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 9%;

  /* Ethiopian Gold - Primary Brand Color */
  --primary: 45 100% 40%;       /* Professional Ethiopian Gold */
  --primary-foreground: 0 0% 100%;
  
  /* Ethiopian Flag Colors */
  --ethiopian-green: 120 60% 35%;
  --ethiopian-yellow: 54 100% 62%;
  --ethiopian-red: 0 85% 55%;
  
  /* Standard Business Colors */
  --secondary: 0 0% 96%;        /* Light Gray */
  --secondary-foreground: 0 0% 9%;

  --muted: 0 0% 96%;            /* Muted Gray */
  --muted-foreground: 0 0% 45%; /* Medium Gray */

  --accent: 45 100% 40%;        /* Accent Gold */
  --accent-foreground: 0 0% 100%;

  --destructive: 0 85% 60%;
  --destructive-foreground: 0 0% 98%;

  --border: 0 0% 90%;           /* Light borders */
  --input: 0 0% 100%;           /* White inputs */
  --ring: 45 100% 40%;          /* Gold focus rings */

  --radius: 0.5rem;
  
  /* Ethiopian Flag Gradient */
  --gradient-ethiopian: linear-gradient(90deg, 
    hsl(120 60% 35%) 0%, 
    hsl(54 100% 62%) 50%, 
    hsl(0 85% 55%) 100%);
  
  /* Standard Business Transitions */
  --transition-smooth: all 0.2s ease-in-out;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Account for fixed header */
}

/* Enhanced smooth scrolling for all elements */
* {
  scroll-behavior: smooth;
}

/* Smooth scrolling for specific elements */
body {
  scroll-behavior: smooth;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  overflow-x: hidden;
}

/* Enhanced scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--muted));
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--primary));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--primary) / 0.8);
}

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

/* Typography */
.font-playfair {
  font-family: 'Playfair Display', serif;
}

.font-poppins {
  font-family: 'Poppins', sans-serif;
}

.text-primary {
  color: hsl(var(--primary));
}

.text-foreground {
  color: hsl(var(--foreground));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

/* Utility Classes */
.ethiopian-gradient {
  background: var(--gradient-ethiopian);
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
}

.zoom-in {
  animation: zoomIn 0.6s ease-out forwards;
}

.bounce-in {
  animation: bounceIn 0.8s ease-out forwards;
}

.pulse {
  animation: pulse 2s infinite;
}

.float {
  animation: float 3s ease-in-out infinite;
}

.glow {
  animation: glow 2s ease-in-out infinite;
}

.wiggle {
  animation: wiggle 1s ease-in-out;
}

/* Advanced Hover Effects */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hover-glow:hover {
  box-shadow: 0 0 20px hsl(var(--primary) / 0.5);
}

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

.hover-rotate:hover {
  transform: rotate(5deg);
}

.hover-skew:hover {
  transform: skew(-2deg, -1deg);
}

/* Staggered Animation Classes */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
.stagger-7 { animation-delay: 0.7s; }
.stagger-8 { animation-delay: 0.8s; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: none;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
  z-index: 50;
  transition: all 0.3s ease;
}

.header .container {
  position: relative;
}

.header-content {
  position: relative;
}

.header.scrolled {
  background: none;
  backdrop-filter: none;
  box-shadow: none;
  border: none;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  background: transparent;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.logo-subtitle {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.1);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-icon {
  width: 1.5rem;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  display: block !important;
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.mobile-nav-link {
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  color: black;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  padding: 1rem;
  display: block;
  width: 100%;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:hover {
  color: #FFD700;
  background-color: rgba(255, 215, 0, 0.2);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary) / 0.8));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 4px 15px hsl(var(--primary) / 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px hsl(var(--primary) / 0.4);
}

.btn-outline {
  background-color: transparent;
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
  position: relative;
}

.btn-outline::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: hsl(var(--primary));
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-outline:hover::after {
  width: 100%;
}

.btn-outline:hover {
  color: white;
  border-color: hsl(var(--primary));
}

.btn-outline-white {
  background-color: transparent;
  color: white;
  border-color: white;
  position: relative;
}

.btn-outline-white::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: white;
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-outline-white:hover::after {
  width: 100%;
}

.btn-outline-white:hover {
  color: black;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  font-size: 1.25rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/hero-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s ease-out;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  animation: fadeInUp 1s ease-out;
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px hsl(var(--primary) / 0.5);
  }
  50% {
    box-shadow: 0 0 20px hsl(var(--primary) / 0.8), 0 0 30px hsl(var(--primary) / 0.6);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes wiggle {
  0%, 7% {
    transform: rotateZ(0);
  }
  15% {
    transform: rotateZ(-15deg);
  }
  20% {
    transform: rotateZ(10deg);
  }
  25% {
    transform: rotateZ(-10deg);
  }
  30% {
    transform: rotateZ(6deg);
  }
  35% {
    transform: rotateZ(-4deg);
  }
  40%, 100% {
    transform: rotateZ(0);
  }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  transition: transform 0.3s ease-out;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  color: #e5e7eb;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease-out;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
}

.ethiopian-flag-accent {
  width: 8rem;
  height: 0.5rem;
  background: var(--gradient-ethiopian);
  margin: 0 auto;
  border-radius: 9999px;
}

.floating-element {
  position: absolute;
  width: 1rem;
  height: 1rem;
  background-color: hsl(var(--primary) / 0.3);
  border-radius: 50%;
  filter: blur(4px);
  transition: all 0.6s ease-out;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.section-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

.ethiopian-flag-line {
  width: 6rem;
  height: 0.25rem;
  background: var(--gradient-ethiopian);
  margin: 0 auto;
  border-radius: 9999px;
}

/* Gallery Section */
.gallery {
  padding: 5rem 0;
  background-color: hsl(var(--secondary));
}

.gallery-grid {
  columns: 1;
  column-gap: 1.5rem;
  margin-bottom: 3rem;
}

.gallery-item {
  break-inside: avoid;
  cursor: pointer;
  margin-bottom: 1.5rem;
  animation: fadeIn 0.6s ease-out forwards;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

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

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1) contrast(1);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

.gallery-item:active {
  transform: translateY(-5px) scale(0.98);
  transition: all 0.1s ease;
}

.gallery-actions {
  text-align: center;
}

/* About Section */
.about {
  padding: 4rem 0;
  background-color: hsl(var(--background));
}

.about-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
  padding: 0 1rem;
}

.about-paragraph {
  font-family: 'Poppins', sans-serif;
  color: hsl(var(--foreground));
  animation: slideUp 0.6s ease-out forwards;
}

.about-paragraph.highlight {
  color: hsl(var(--primary));
  font-size: 1.25rem;
  font-weight: 600;
}

/* Partners Section */
.partners {
  padding: 4rem 0;
  background-color: hsl(var(--muted));
}

.partners-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.partner-logo {
  cursor: pointer;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.partner-img {
  height: 4rem;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.partner-logo:hover .partner-img {
  opacity: 1;
}

.partners-cta {
  background-color: hsl(var(--card));
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.cta-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

/* Follow Us Section */
.follow-us {
  padding: 4rem 0;
  background-color: hsl(var(--secondary));
}

.follow-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border: 2px solid hsl(var(--primary));
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link:hover {
  background-color: hsl(var(--primary));
  transform: scale(1.1);
}

.social-link.disabled {
  opacity: 0.5;
  border-color: hsl(var(--muted-foreground));
  cursor: not-allowed;
}

.social-link.disabled:hover {
  background-color: transparent;
  transform: none;
}

.social-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
  transition: all 0.3s ease;
}

.social-link:hover .social-icon {
  color: white;
}

.social-note {
  font-family: 'Poppins', sans-serif;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

/* Footer */
.footer {
  background-color: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 0;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo-img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
}

.footer-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-family: 'Poppins', sans-serif;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  max-width: 28rem;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-link {
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: hsl(var(--primary));
}

.copyright {
  font-family: 'Poppins', sans-serif;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

/* Modal Styles */
/* Z-index hierarchy: Header (50) < Contact Modal (200) < Camera Gallery (250) < Lightbox (300) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background-color: hsl(var(--background));
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  max-width: 28rem;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--primary));
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: hsl(var(--foreground));
}

.modal-content {
  padding: 1.5rem;
}

.visitor-question {
  text-align: center;
  margin-bottom: 1.5rem;
}

.question-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.question-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.contact-info {
  text-align: center;
  margin-bottom: 1rem;
}

.contact-type {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

.contact-icon {
  font-size: 1.25rem;
  font-weight: 600;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: 50%;
}

.contact-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

.contact-description {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.contact-note {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.contact-note p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 80vw;
  max-height: 80vh;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: hsl(var(--primary));
}

.lightbox-image {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-caption {
  background-color: hsl(var(--background) / 0.9);
  padding: 1.5rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-align: center;
}

.lightbox-caption p {
  font-family: 'Poppins', sans-serif;
  color: hsl(var(--foreground));
}

/* Camera Gallery Styles */
.camera-gallery-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  z-index: 250;
}

.camera-gallery-overlay.active {
  display: block;
}

.camera-gallery-content {
  width: 100%;
  height: 100%;
  padding: 2rem;
  overflow-y: auto;
}

.camera-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.camera-gallery-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

.camera-gallery-close {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.camera-gallery-close:hover {
  color: hsl(var(--primary));
}

.camera-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.camera-gallery-item {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.camera-gallery-item:hover {
  transform: scale(1.05);
}

.camera-gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Enhanced Loading States */
.loading {
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

/* Enhanced Focus States */
.btn:focus,
.nav-link:focus,
.mobile-nav-link:focus,
.footer-link:focus {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* Enhanced Selection */
::selection {
  background-color: hsl(var(--primary) / 0.2);
  color: hsl(var(--foreground));
}

/* Enhanced Scrollbar for Webkit */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--muted));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, hsl(var(--primary)), hsl(var(--primary) / 0.8));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, hsl(var(--primary) / 0.9), hsl(var(--primary) / 0.7));
}

/* Enhanced Image Loading */
img {
  transition: opacity 0.3s ease;
  background-color: hsl(var(--muted));
}

img[loading="lazy"] {
  opacity: 0;
  background: linear-gradient(90deg, hsl(var(--muted)) 25%, hsl(var(--muted) / 0.5) 50%, hsl(var(--muted)) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

img[loading="lazy"].loaded {
  opacity: 1;
  animation: none;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Gallery image loading states */
.gallery-item img {
  min-height: 200px;
  background-color: hsl(var(--muted));
}

.camera-gallery-item img {
  min-height: 200px;
  background-color: hsl(var(--muted));
}

/* Enhanced Button Hover Effects */
.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* Enhanced Gallery Item Captions */
.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1rem;
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

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

/* Advanced Responsive Design */

/* Extra Small Devices (phones, 320px and up) */
@media (min-width: 320px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .gallery-grid {
    columns: 1;
    column-gap: 1rem;
  }
  
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .social-link {
    width: 3rem;
    height: 3rem;
  }
  
  .social-icon {
    font-size: 0.875rem;
  }
}

/* Small Devices (landscape phones, 480px and up) */
@media (min-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .gallery-grid {
    columns: 1;
    column-gap: 1.25rem;
  }
  
  .hero-buttons {
    flex-direction: row;
    gap: 0.75rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
  }
  
  .social-link {
    width: 3.5rem;
    height: 3.5rem;
  }
}

/* Mobile Devices (up to 639px) */
@media (max-width: 639px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
}

/* Medium Devices (tablets, 640px and up) */
@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .desktop-nav {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-buttons {
    flex-direction: row;
    gap: 1rem;
  }
  
  .gallery-grid {
    columns: 2;
    column-gap: 1.5rem;
  }
  
  .section-title {
    font-size: 2.75rem;
  }
  
  .about-text {
    font-size: 1.125rem;
  }
  
  .partners-logos {
    gap: 3rem;
  }
  
  .partner-img {
    height: 4rem;
  }
  
  .social-links {
    gap: 1.5rem;
  }
  
  .social-link {
    width: 4rem;
    height: 4rem;
  }
  
  .social-icon {
    font-size: 1rem;
  }
  
  .footer-nav {
    gap: 1.5rem;
  }
  
  .modal {
    max-width: 32rem;
  }
}

/* Large Devices (laptops, 768px and up) */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.375rem;
  }
  
  .gallery-grid {
    columns: 2;
    column-gap: 2rem;
  }
  
  .section-title {
    font-size: 3.25rem;
  }
  
  .about-text {
    font-size: 1.25rem;
  }
  
  .partners-logos {
    gap: 4rem;
  }
  
  .partner-img {
    height: 5rem;
  }
  
  .social-links {
    gap: 2rem;
  }
  
  .social-link {
    width: 4.5rem;
    height: 4.5rem;
  }
  
  .footer-nav {
    gap: 2rem;
  }
  
  .modal {
    max-width: 36rem;
  }
}

/* Extra Large Devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
  .container {
    padding: 0 2.5rem;
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .gallery-grid {
    columns: 3;
    column-gap: 2rem;
  }
  
  .section-title {
    font-size: 3.75rem;
  }
  
  .about-text {
    font-size: 1.375rem;
  }
  
  .partners-logos {
    gap: 5rem;
  }
  
  .partner-img {
    height: 6rem;
  }
  
  .social-links {
    gap: 2.5rem;
  }
  
  .social-link {
    width: 5rem;
    height: 5rem;
  }
  
  .footer-nav {
    gap: 2.5rem;
  }
  
  .modal {
    max-width: 40rem;
  }
  
  .camera-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

/* 2XL Devices (large desktops, 1280px and up) */
@media (min-width: 1280px) {
  .container {
    padding: 0 3rem;
  }
  
  .hero-title {
    font-size: 5rem;
  }
  
  .hero-subtitle {
    font-size: 1.625rem;
  }
  
  .gallery-grid {
    columns: 4;
    column-gap: 2.5rem;
  }
  
  .section-title {
    font-size: 4.5rem;
  }
  
  .about-text {
    font-size: 1.5rem;
  }
  
  .partners-logos {
    gap: 6rem;
  }
  
  .partner-img {
    height: 7rem;
  }
  
  .social-links {
    gap: 3rem;
  }
  
  .social-link {
    width: 5.5rem;
    height: 5.5rem;
  }
  
  .footer-nav {
    gap: 3rem;
  }
  
  .modal {
    max-width: 44rem;
  }
  
  .camera-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
  }
}

/* 3XL Devices (extra large desktops, 1536px and up) */
@media (min-width: 1536px) {
  .container {
    max-width: 1400px;
    padding: 0 4rem;
  }
  
  .hero-title {
    font-size: 6rem;
  }
  
  .hero-subtitle {
    font-size: 1.875rem;
  }
  
  .gallery-grid {
    columns: 5;
    column-gap: 3rem;
  }
  
  .section-title {
    font-size: 5.5rem;
  }
  
  .about-text {
    font-size: 1.625rem;
  }
  
  .partners-logos {
    gap: 8rem;
  }
  
  .partner-img {
    height: 8rem;
  }
  
  .social-links {
    gap: 4rem;
  }
  
  .social-link {
    width: 6rem;
    height: 6rem;
  }
  
  .footer-nav {
    gap: 4rem;
  }
  
  .modal {
    max-width: 48rem;
  }
  
  .camera-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
  }
}

/* Ultra-wide screens (1920px and up) */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }
  
  .hero-title {
    font-size: 7rem;
  }
  
  .hero-subtitle {
    font-size: 2.25rem;
  }
  
  .gallery-grid {
    columns: 6;
  }
  
  .section-title {
    font-size: 6rem;
  }
  
  .about-text {
    font-size: 1.75rem;
  }
  
  .camera-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-buttons {
    margin-bottom: 2rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-background {
    background-image: url('assets/hero-background.jpg');
    background-size: cover;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-background {
    transition: none;
  }
  
  .floating-element {
    display: none;
  }
}

/* Dark mode preferences - keeping original Ethiopian colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* Keep the original Ethiopian color scheme even in dark mode */
    --background: 0 0% 100%;      /* Clean White */
    --foreground: 0 0% 9%;        /* Dark Text */
    
    --card: 0 0% 100%;            /* White Cards */
    --card-foreground: 0 0% 9%;

    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 9%;

    /* Ethiopian Gold - Primary Brand Color */
    --primary: 45 100% 40%;       /* Professional Ethiopian Gold */
    --primary-foreground: 0 0% 100%;
    
    /* Ethiopian Flag Colors */
    --ethiopian-green: 120 60% 35%;
    --ethiopian-yellow: 54 100% 62%;
    --ethiopian-red: 0 85% 55%;
    
    /* Standard Business Colors */
    --secondary: 0 0% 96%;        /* Light Gray */
    --secondary-foreground: 0 0% 9%;

    --muted: 0 0% 96%;            /* Muted Gray */
    --muted-foreground: 0 0% 45%; /* Medium Gray */

    --accent: 45 100% 40%;        /* Accent Gold */
    --accent-foreground: 0 0% 100%;

    --destructive: 0 85% 60%;
    --destructive-foreground: 0 0% 98%;

    --border: 0 0% 90%;           /* Light borders */
    --input: 0 0% 100%;           /* White inputs */
    --ring: 45 100% 40%;          /* Gold focus rings */
  }
}
