:root {
  --background: #121212;
  --surface: #1e1e1e;
  --surface-light: #2d2d2d;
  --primary: #bb86fc;
  --secondary: #03dac6;
  --accent: #cf6679;
  --text-primary: rgba(255, 255, 255, 0.87);
  --text-secondary: rgba(255, 255, 255, 0.6);
  --transition-slow: 0.5s ease;
  --transition-medium: 0.3s ease;
  --transition-fast: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
  mix-blend-mode: difference;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  position: relative;
}

.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  animation: revealText 1s forwards;
}

@keyframes revealText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tagline {
  font-size: 1.5rem;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.05em;
  animation-delay: 0.3s;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.section-title:hover::after {
  transform: scaleX(1);
}

/* Header */
header {
  padding: 5rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(187, 134, 252, 0.1) 0%, rgba(3, 218, 198, 0.05) 50%, transparent 70%);
  z-index: -1;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  max-height: 800px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(18, 18, 18, 0.3), rgba(18, 18, 18, 0.7));
  z-index: -1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-content {
  position: absolute;
  bottom: 10%;
  left: 10%;
  max-width: 600px;
  padding: 2rem;
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(10px);
  border-left: 4px solid var(--primary);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.5s;
}

.slide-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.slide-content p {
  font-size: 1.1rem;
  color: var(--text-primary);
}

.slider-controls {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

.prev-slide, .next-slide {
  background: rgba(18, 18, 18, 0.7);
  color: var(--text-primary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.prev-slide:hover, .next-slide:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.slide-indicators {
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.indicator.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* About Section */
.about {
  padding: 6rem 0;
  background-color: var(--surface);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--surface));
  z-index: 1;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.description p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Gallery Section */
.gallery {
  padding: 6rem 0;
  background-color: var(--background);
  position: relative;
}

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

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  height: 300px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(18, 18, 18, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
}

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

.overlay-content {
  padding: 1.5rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.overlay-content p {
  font-size: 1rem;
  color: var(--text-primary);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 80%;
  display: flex;
  align-items: center;
}

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

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

.prev-image, .next-image {
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 1rem;
}

.prev-image:hover, .next-image:hover {
  color: var(--primary);
  transform: scale(1.2);
}

.lightbox-image-container {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80%;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  color: white;
  text-align: center;
  max-width: 600px;
}

/* Perspective Section */
.perspective {
  padding: 6rem 0;
  background-color: var(--surface-light);
}

.perspective-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.perspective-item {
  padding: 2rem;
  background-color: var(--surface);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.perspective-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.perspective-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

/* Footer */
footer {
  padding: 3rem 0;
  background-color: var(--surface);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  .slide-content {
    left: 5%;
    max-width: 500px;
  }
  
  .slide-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero {
    height: 60vh;
  }
  
  .slide-content {
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    padding: 1.5rem;
  }
  
  .slide-content h2 {
    font-size: 1.8rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .gallery-item {
    height: 250px;
  }
  
  .perspective-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero {
    height: 50vh;
  }
  
  .slide-content h2 {
    font-size: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .prev-image, .next-image {
    font-size: 1.5rem;
  }
}

/* For devices that don't support custom cursors */
@media (pointer: coarse) {
  .cursor, .cursor-follower {
    display: none;
  }
  
  body {
    cursor: auto;
  }
}
