* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Updated color scheme to match character colors */
:root {
  --gray: #b5b5c1;
  --dark-gray: #64646a;
  --jet-blue: #141824;
  --white: #ffffff;
  --red-accent: #b80226;

  /* Dark mode primary colors */
  --bg-primary: #141824;
  --bg-secondary: #64646a;
  --text-primary: #ffffff;
  --text-secondary: #b5b5c1;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  /* Dark background with white text */
  color: var(--text-primary);
  background-color: var(--bg-primary);
  /* Added smooth scrolling with exponential easing */
  scroll-behavior: smooth;
}

/* Custom smooth scrolling with exponential easing */
html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--bg-primary);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  /* Added smooth transition */
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Added subtle border */
  border-bottom: 1px solid var(--dark-gray);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand h1 {
  /* White accent for brand name */
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
  /* Added smooth transition */
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  /* Light gray for nav links */
  color: var(--text-secondary);
  font-weight: 500;
  /* Updated transition with exponential easing */
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu a:hover {
  /* White on hover */
  color: var(--white);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  /* White toggle bars */
  background: var(--white);
  margin: 3px 0;
  transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Added striped divider element */
.stripe-divider {
  height: 12px;
  background: linear-gradient(
    to right,
    var(--white) 0%,
    var(--white) 33.33%,
    var(--jet-blue) 33.33%,
    var(--jet-blue) 66.66%,
    var(--white) 66.66%,
    var(--white) 100%
  );
  width: 100%;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 120px 2rem 2rem;
  max-width: 100%;
  margin: 0 auto;
  gap: 4rem;
  /* Dark gradient background */
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-content {
  flex: 1;
  /* Added entrance animation */
  animation: slideInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  /* White text for hero title */
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  /* Light gray for hero description */
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background: var(--red-accent);
  color: var(--white);
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  /* Updated transition with exponential easing */
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0);
}

.cta-button:hover {
  background: #9a021f;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(184, 2, 38, 0.3);
}

.hero-image {
  flex: 1;
  /* Added entrance animation */
  animation: slideInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  /* Added smooth transition */
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-image img:hover {
  transform: scale(1.02);
}

/* Gallery Section */
.gallery-section {
  padding: 4rem 0;
  /* Dark background */
  background: var(--bg-primary);
}

.gallery-section h2 {
  text-align: center;
  font-size: 2.5rem;
  /* White text */
  color: var(--white);
  margin-bottom: 3rem;
  /* Added smooth animation */
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  /* Updated transition with exponential easing */
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Dark background with subtle border */
  background: var(--bg-secondary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--dark-gray);
  transform: translateY(0);
  opacity: 0;
  /* Updated animation for gallery items with exponential easing */
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.gallery-item:nth-child(1) {
  animation-delay: 0.1s;
}
.gallery-item:nth-child(2) {
  animation-delay: 0.2s;
}
.gallery-item:nth-child(3) {
  animation-delay: 0.3s;
}
.gallery-item:nth-child(4) {
  animation-delay: 0.4s;
}
.gallery-item:nth-child(5) {
  animation-delay: 0.5s;
}
.gallery-item:nth-child(6) {
  animation-delay: 0.6s;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  /* Enhanced shadow for dark mode */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--white);
}

.gallery-item img {
  width: 100%;
  height: 500px;
  display: block;
  object-fit: cover;
  /* Added smooth transition */
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  /* Darker overlay gradient */
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: var(--white);
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  /* Updated transition */
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* About Section */
.about-section {
  padding: 4rem 0;
  /* Secondary dark background */
  background: var(--bg-secondary);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  /* White text */
  color: var(--white);
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.1rem;
  /* Light gray text */
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  /* Added smooth transition */
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-image img:hover {
  transform: scale(1.02);
}

/* Updated Contact Section to Socials */
.contact-section {
  padding: 4rem 0;
  /* Dark background */
  background: var(--bg-primary);
}

.contact-section h2 {
  text-align: center;
  font-size: 2.5rem;
  /* White text */
  color: var(--white);
  margin-bottom: 3rem;
}

.socials-content {
  max-width: 800px;
  margin: 0 auto;
}

.socials-info {
  margin-bottom: 3rem;
}

.socials-info h3 {
  font-size: 1.5rem;
  /* White text */
  color: var(--white);
  margin-bottom: 1rem;
}

.socials-info p {
  /* Light gray text */
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.socials-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  /* Dark background with border */
  background: var(--bg-secondary);
  border: 2px solid var(--dark-gray);
  border-radius: 12px;
  text-decoration: none;
  /* White text */
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0);
}

.social-link:hover {
  transform: translateY(-5px);
  /* White border on hover */
  border-color: var(--white);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.social-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Darker background for icons */
  background: var(--bg-primary);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-link:hover .social-icon {
  /* White background on hover */
  background: var(--white);
  color: var(--bg-primary);
  transform: scale(1.1);
}

.social-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  /* White text */
  color: var(--white);
}

.social-text p {
  /* Light gray text */
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* Darker overlay */
  background-color: rgba(0, 0, 0, 0.95);
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox-content {
  position: relative;
  margin: auto;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  top: 50%;
  transform: translateY(-50%);
  /* Added smooth animation */
  animation: lightboxZoom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 25px;
  color: var(--white);
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
  /* Added smooth transition */
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox-close:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.lightbox img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.lightbox-info {
  color: var(--white);
  text-align: center;
  margin-top: 1rem;
}

.lightbox-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.lightbox-nav button {
  background: rgba(184, 2, 38, 0.8);
  color: var(--white);
  border: none;
  padding: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  pointer-events: all;
  /* Updated transition */
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox-nav button:hover {
  background: var(--red-accent);
  transform: scale(1.1);
}

/* Footer */
.footer {
  /* Even darker footer */
  background: #0a0c14;
  color: var(--white);
  text-align: center;
  padding: 2rem 0;
  /* Added stripe pattern at top */
  border-top: 12px solid;
  border-image: linear-gradient(
      to right,
      var(--white) 0%,
      var(--white) 33.33%,
      var(--jet-blue) 33.33%,
      var(--jet-blue) 66.66%,
      var(--white) 66.66%,
      var(--white) 100%
    )
    1;
}

/* Added new animations with exponential easing */
@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 lightboxZoom {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    /* Dark background for mobile */
    background: var(--bg-primary);
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
    gap: 2rem;
  }

  .socials-links {
    grid-template-columns: 1fr;
  }

  .lightbox-content {
    width: 95%;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 1.8rem;
  }

  .gallery-section h2,
  .about-text h2,
  .contact-section h2 {
    font-size: 2rem;
  }

  .nav {
    padding: 1rem;
  }

  .hero {
    padding: 100px 1rem 2rem;
  }
}
