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

:root {
  --purple-dark: #4a2c52;
  --purple-medium: #6b4974;
  --purple-light: #8b6a94;
  --cream: #f5f1ed;
  --text-light: #a99a9a;
  --text-dark: #333;
  --white: #ffffff;
}

body {
  font-family: "Lato", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cinzel", serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Navigation */
.navbar {
  background: linear-gradient(
    to bottom,
    rgba(74, 44, 82, 0.95),
    rgba(74, 44, 82, 0.85)
  );
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 30px;
  flex: 1;
}

.nav-right {
  justify-content: flex-end;
}

.nav-center {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.nav-link {
  color: var(--cream);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 400;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--white);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
}

.compass-icon {
  width: 24px;
  height: 24px;
  color: var(--cream);
}

.logo-text {
  font-family: "Cinzel", serif;
  font-size: 16px;
  letter-spacing: 3px;
  font-weight: 400;
}

/* Hero Section */
.hero {
  margin-top: 67px;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.hero-image {
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

/* Introduction */
.intro {
  padding: 80px 0;
  background-color: var(--cream);
}

.intro-text {
  text-align: center;
  font-size: 18px;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  letter-spacing: 0.5px;
}

/* Section Title */
.section-title {
  font-family: "Cinzel", serif;
  font-size: 32px;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 4px;
  color: var(--text-dark);
  font-weight: 600;
}

/* Featured Section */
.featured {
  padding: 80px 0;
  background-color: var(--white);
}

.featured-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.featured-text {
  padding: 0 40px;
}

.featured-text p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.featured-author {
  font-size: 14px;
  font-style: italic;
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Content Sections (Music, Film, Books) */
.music,
.film,
.books {
  padding: 80px 0;
}

.music {
  background-color: var(--cream);
}

.film {
  background-color: var(--white);
}

.books {
  background-color: var(--cream);
}

.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.content-row.reverse {
  direction: rtl;
}

.content-row.reverse > * {
  direction: ltr;
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

.content-text {
  padding: 0 40px;
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
}

.content-text strong {
  font-style: italic;
  font-weight: 400;
}

/* Carousel Styles */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 500px;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Carousel Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(74, 44, 82, 0.7);
  color: white;
  border: none;
  padding: 16px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  transition: background-color 0.3s ease;
  border-radius: 4px;
}

.carousel-btn:hover {
  background-color: rgba(74, 44, 82, 0.9);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Carousel Dots */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

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

.dot.active {
  background-color: rgba(255, 255, 255, 1);
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
  background-color: var(--white);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  border-radius: 4px;
  -webkit-tap-highlight-color: transparent;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gallery-item:hover img,
.gallery-item:active img {
  transform: scale(1.1);
}

/* Touch-friendly buttons */
.nav-link,
.btn-outline,
.social-link {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-outline {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Patreon CTA */
.patreon-cta {
  padding: 100px 0;
  background-color: var(--white);
  text-align: center;
}

.cta-text {
  font-size: 14px;
  letter-spacing: 1.5px;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.btn-outline {
  display: inline-block;
  padding: 15px 40px;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  font-weight: 400;
}

.btn-outline:hover {
  background-color: var(--text-dark);
  color: var(--white);
}

/* Featured Video */
.featured-video {
  padding: 80px 0;
  background-color: var(--cream);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-bottom: 20px;
  border-radius: 8px;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.video-caption {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
}

/* Footer */
.footer {
  background: linear-gradient(to bottom, var(--purple-dark), #3a1f42);
  padding: 60px 0 40px;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.social-link {
  color: var(--cream);
  transition: color 0.3s ease;
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.social-link:hover {
  color: var(--white);
}

.copyright {
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 1px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  animation: zoomIn 0.3s ease;
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10000;
  line-height: 1;
  padding: 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-container {
    flex-direction: column;
    gap: 20px;
  }

  .nav-left,
  .nav-right {
    justify-content: center;
  }

  .featured-content,
  .content-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-row.reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-container {
    padding: 0 20px;
  }

  .nav-left,
  .nav-right {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-link {
    font-size: 10px;
    letter-spacing: 1.2px;
  }

  .logo-text {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .compass-icon {
    width: 20px;
    height: 20px;
  }

  .hero {
    height: 350px;
    margin-top: 120px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 40px;
    letter-spacing: 3px;
  }

  .intro {
    padding: 60px 0;
  }

  .intro-text {
    font-size: 16px;
    padding: 0 10px;
  }

  .featured-text,
  .content-text {
    padding: 0 10px;
    font-size: 15px;
    text-align: center;
  }

  .music,
  .film,
  .books,
  .featured,
  .featured-video {
    padding: 50px 0;
  }

  .patreon-cta {
    padding: 50px 0;
  }

  .cta-text {
    font-size: 13px;
    padding: 0 10px;
  }

  .btn-outline {
    padding: 12px 30px;
    font-size: 10px;
  }

  .gallery {
    padding: 50px 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .carousel-container {
    height: 350px;
  }

  .carousel-btn {
    padding: 12px;
    font-size: 20px;
  }

  .footer {
    padding: 50px 0 30px;
  }

  .social-icons {
    gap: 25px;
  }

  .social-link svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 15px 0;
  }

  .nav-container {
    padding: 0 15px;
    gap: 15px;
  }

  .nav-left,
  .nav-right {
    gap: 8px;
    font-size: 9px;
  }

  .nav-link {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .logo {
    gap: 8px;
  }

  .logo-text {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .compass-icon {
    width: 18px;
    height: 18px;
  }

  .hero {
    height: 280px;
    margin-top: 110px;
  }

  .container {
    padding: 0 15px;
  }

  .section-title {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 30px;
  }

  .intro {
    padding: 50px 0;
  }

  .intro-text {
    font-size: 15px;
    padding: 0 5px;
  }

  .featured-content {
    gap: 30px;
  }

  .featured-text,
  .content-text {
    padding: 0 5px;
    font-size: 14px;
  }

  .content-row {
    gap: 30px;
  }

  .music,
  .film,
  .books,
  .featured,
  .featured-video {
    padding: 40px 0;
  }

  .patreon-cta {
    padding: 40px 0;
  }

  .cta-text {
    font-size: 12px;
    letter-spacing: 1.2px;
  }

  .btn-outline {
    padding: 10px 25px;
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .gallery {
    padding: 40px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-item {
    aspect-ratio: auto;
    min-height: 300px;
  }

  .carousel-container {
    height: 250px;
  }

  .carousel-btn {
    padding: 10px;
    font-size: 18px;
  }

  .carousel-btn.prev {
    left: 5px;
  }

  .carousel-btn.next {
    right: 5px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .video-wrapper {
    margin-bottom: 15px;
  }

  .video-caption {
    font-size: 11px;
  }

  .footer {
    padding: 40px 0 25px;
  }

  .social-icons {
    gap: 20px;
    margin-bottom: 20px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }

  .copyright {
    font-size: 10px;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 35px;
  }

  .lightbox-content {
    max-width: 95%;
    max-height: 85%;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .nav-link {
    font-size: 8px;
    letter-spacing: 0.8px;
  }

  .logo-text {
    font-size: 11px;
  }

  .hero {
    height: 240px;
  }

  .section-title {
    font-size: 18px;
  }

  .intro-text {
    font-size: 14px;
  }

  .featured-text,
  .content-text {
    font-size: 13px;
  }

  .gallery-grid {
    gap: 8px;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

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

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}
