@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: #ef4444;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #dc2626;
}

/* Navigation improvements */
.nav-container {
  transition: all 0.3s ease;
}

.nav-container.scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  .nav-menu {
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .nav-menu {
    gap: 2rem;
  }
}

.nav-button {
  padding: 0.375rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  transform: scale(1);
  white-space: nowrap;
  border: none;
  background: none;
  cursor: pointer;
}

@media (min-width: 640px) {
  .nav-button {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .nav-button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
}

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

.nav-button.active {
  background-color: #ef4444;
  color: white;
}

.nav-button:not(.active) {
  color: white;
}

.nav-button:not(.active):hover {
  color: #ef4444;
  background-color: rgba(239, 68, 68, 0.1);
}

/* Photo gallery modal */
.photo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.photo-modal.active {
  opacity: 1;
  visibility: visible;
}

.photo-modal-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-modal img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.photo-modal-close {
  position: absolute;
  top: 0px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-modal-close:hover {
  background-color: #ef4444;
  transform: scale(1.1);
}

.photo-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-modal-nav:hover {
  background-color: #ef4444;
  transform: translateY(-50%) scale(1.1);
}

.photo-modal-prev {
  left: 0px;
}

.photo-modal-next {
  right: 0px;
}

@media (max-width: 768px) {
  .photo-modal-close {
    top: -40px;
    right: 10px;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
  }
  
  .photo-modal-nav {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
  }
  
  .photo-modal-prev {
    left: -60px;
  }
  
  .photo-modal-next {
    right: -60px;
  }
}

/* Photo gallery hover effect */
.photo-item {
  cursor: pointer;
  transition: all 0.3s ease;
}

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

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

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom gradient text */
.gradient-text {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}

/* Loading animation for images */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

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

/* Hero background responsive */
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}