/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #ffcc70;
  --secondary-color: #222;
  --text-color: #fff;
  --background-color: #000;
}

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: var(--background-color);
  color: var(--text-color);
}

/* Navigation Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.logo img {
  height: 80px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 0.75rem;
  font-weight: 400;
  transition: color 0.3s;
}

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

.nav-item {
  position: relative;
  display: inline-block;
  margin: 0 0.75rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #111;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  border-radius: 4px;
  overflow: hidden;
}

.nav-item:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}

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

.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.dropdown-content a:hover {
  background-color: #222;
  color: var(--primary-color);
}

.dropdown-indicator {
  margin-left: 5px;
  font-size: 10px;
  transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-indicator {
  transform: rotate(180deg);
}

.menu-icon {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #fff;
}

/* Main Content Styles */
.main-content {
  min-height: 100vh;
}

.page-header {
  text-align: center;
  padding: 4rem 1rem;
  background-color: #111;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  position: relative;
}

.page-header h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  margin: 20px auto 0;
}

.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.description {
  margin: 2rem auto;
  max-width: 800px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
  text-align: center;
}

/* Image Gallery Styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

/* Force the last row to have two columns */
.gallery::after {
  content: '';
  grid-column: 1 / -1;
  height: 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(17, 17, 17, 0.98);
  border: 2px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.3),
    var(--primary-color),
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.15)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.25);
}

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

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.75rem;
  background: #0a0a0a;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

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

/* Force last two items to be side by side */
.gallery-item:nth-last-child(2),
.gallery-item:last-child {
  grid-column: span 1;
}

/* Mobile Navigation Styles */
@media screen and (max-width: 768px) {
  .navbar {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 60px);
    background: #111;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: right 0.3s ease;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    margin: 1rem 0;
    display: block;
    width: 100%;
    text-align: center;
  }
  
  .menu-icon {
    display: block;
  }
  
  /* Mobile dropdown styles */
  .nav-item {
    display: block;
    width: 100%;
    margin: 0;
    text-align: center;
  }
  
  .nav-item > a {
    justify-content: center;
    padding: 1rem 0;
    width: 100%;
    letter-spacing: 0.5px;
    color: #fff;
    position: relative;
    z-index: 2;
  }
  
  .nav-item.active > a {
    color: var(--primary-color);
  }
  
  .dropdown-content {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    background-color: rgba(34, 34, 34, 0.9);
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    transform: translateY(-10px);
  }
  
  .nav-item.active .dropdown-content {
    display: block;
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    border-left: 2px solid var(--primary-color);
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .dropdown-content a {
    padding: 12px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: block;
    transform: translateY(0);
    transition: all 0.3s ease;
  }
  
  .dropdown-content a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }
  
  .dropdown-content a:active::after {
    width: 30%;
  }
  
  .nav-item.active .dropdown-content a {
    animation: fadeInUp 0.4s ease-out forwards;
    animation-delay: calc(0.1s * var(--index));
  }
  
  .dropdown-indicator {
    transition: transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    display: inline-block;
    margin-left: 5px;
    font-size: 8px;
  }
  
  .nav-item.active .dropdown-indicator {
    transform: rotate(180deg);
    color: var(--primary-color);
  }

  /* Mobile Grid Styles */
  .gallery {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .gallery-item {
    margin-bottom: 1.5rem;
    border-radius: 20px;
    border-width: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    aspect-ratio: 1;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
  }
  
  .gallery-item::before {
    border-radius: 18px;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0.75rem;
    border-radius: 16px;
  }
  
  .page-header {
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
  }
  
  .page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 204, 112, 0.2),
      transparent
    );
    animation: shimmerEffect 3s infinite;
  }
  
  @keyframes shimmerEffect {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
  }
  
  .page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
  }
  
  .page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent,
      var(--primary-color),
      transparent
    );
  }
  
  .description {
    padding: 0 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
    margin: 2rem auto;
    color: #e0e0e0;
    text-align: center;
    max-width: 600px;
  }
}

@media screen and (max-width: 576px) {
  .logo img {
    height: 45px;
  }
  
  .gallery {
    padding: 1rem;
    gap: 1rem;
  }
  
  .gallery-item {
    margin-bottom: 1rem;
    border-radius: 16px;
  }
  
  .gallery-item::before {
    border-radius: 14px;
  }
  
  .gallery-item img {
    padding: 0.5rem;
    border-radius: 12px;
  }
  
  .page-header h1 {
    font-size: 1.8rem;
  }
  
  .description {
    padding: 0 1rem;
    font-size: 0.95rem;
    margin: 1.5rem auto;
  }
  
  .content-section {
    padding: 1rem;
  }
}

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

@keyframes shimmer {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
} 