/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slider {
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
  z-index: 5;
}

.hero-content h1 {
  font-size: 6rem;
  margin-bottom: 2rem;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content p {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Hero Button Styles - Apply to all buttons in hero */
.hero-content .btn {
  display: inline-block;
  padding: 1.5rem 3rem;
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-content .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  transition: left 0.3s ease;
  z-index: -1;
}

.hero-content .btn:hover {
  color: #111111;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.hero-content .btn:hover::before {
  left: 0;
}

.hero-content .btn:active {
  transform: translateY(0);
}

.hero-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;
}

/* Improved arrow buttons for better visibility */
.arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid #ffffff;
  color: #111111;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.arrow:hover {
  background-color: #82a853;
  border-color: #82a853;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.arrow:active {
  transform: scale(1.05);
}

.hero-dots {
  position: absolute;
  bottom: 3rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

/* Improved dots for better visibility */
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  margin: 0 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  border-color: #ffffff;
  transform: scale(1.2);
}

.dot.active {
  background-color: #82a853;
  border-color: #82a853;
  transform: scale(1.3);
  box-shadow: 0 3px 12px rgba(130, 168, 83, 0.5);
}

/* About Preview */
.about-preview {
  background-color: var(--card-bg);
  padding: 8rem 0;
  position: relative;
  border-top: 3px solid var(--accent-color);
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content {
  padding: 2rem 0;
}

.about-content h2 {
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  color: var(--primary-color);
}

.about-content h2::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 50px;
  height: 1px;
  background-color: var(--accent-color);
}

.about-content p {
  color: var(--secondary-color);
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

/* Featured Albums */
.featured-albums {
  background-color: var(--bg-color);
  padding: 8rem 0;
  position: relative;
  border-top: 3px solid var(--border-color);
}

.featured-albums .section-header h2,
.featured-albums .section-header p {
  color: var(--primary-color);
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 5rem;
}

.album-item {
  position: relative;
  overflow: hidden;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .album-item {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.album-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .album-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.album-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

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

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

.album-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  transition: var(--transition);
}

.album-info h3 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.album-count {
  font-size: 1.4rem;
  color: #fff;
}

/* Latest Articles Section */
.latest-articles {
  background-color: var(--card-bg);
  padding: 8rem 0;
  position: relative;
  border-top: 3px solid var(--accent-color);
}

.latest-articles .section-header h2,
.latest-articles .section-header p {
  color: var(--primary-color);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 5rem;
}

.article-item {
  background-color: var(--bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

[data-theme="light"] .article-item {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.article-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .article-item:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.article-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

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

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

.article-info {
  padding: 2.5rem;
}

.article-date {
  font-size: 1.1rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.article-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  line-height: 1.4;
  font-weight: 600;
}

.article-excerpt {
  font-size: 1.4rem;
  color: var(--secondary-color);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 400;
}

.read-more {
  font-size: 1.2rem;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more::after {
  content: "→";
  transition: transform 0.3s ease;
}

.article-item:hover .read-more {
  color: var(--primary-color);
}

.article-item:hover .read-more::after {
  transform: translateX(3px);
}

/* Instagram Feed */
.instagram-feed {
  background-color: var(--bg-color);
  padding: 8rem 0;
  position: relative;
  border-top: 3px solid var(--border-color);
}

.instagram-feed .section-header h2,
.instagram-feed .section-header p {
  color: var(--primary-color);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.instagram-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}

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

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.instagram-overlay i {
  font-size: 3rem;
  color: var(--primary-color);
}

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

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

/* Contact Preview */
.contact-preview {
  background-image: url("../images/contact-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  border-top: 3px solid var(--accent-color);
}

/* Enhanced border for light theme */
[data-theme="light"] .contact-preview {
  border-top: 5px solid var(--accent-color);
  box-shadow: 0 -10px 30px rgba(130, 168, 83, 0.1);
}

/* Add decorative separator for light theme */
[data-theme="light"] .contact-preview::after {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  border-radius: 2px;
}

/* Enhanced border and effects for dark theme */
[data-theme="dark"] .contact-preview,
:root .contact-preview {
  border-top: 5px solid var(--accent-color);
  box-shadow: 0 -10px 30px rgba(130, 168, 83, 0.2);
}

/* Add decorative separator for dark theme */
[data-theme="dark"] .contact-preview::after,
:root .contact-preview::after {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(130, 168, 83, 0.3);
}

.contact-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-bg);
}

/* Enhanced overlay for light theme - IMPROVED READABILITY */
[data-theme="light"] .contact-preview::before {
  background: linear-gradient(135deg, rgba(48, 48, 48, 0.85) 0%, rgba(26, 26, 26, 0.9) 50%, rgba(48, 48, 48, 0.85) 100%);
  backdrop-filter: blur(8px);
}

/* Enhanced overlay for dark theme */
[data-theme="dark"] .contact-preview::before,
:root .contact-preview::before {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(26, 26, 26, 0.8) 50%, rgba(0, 0, 0, 0.7) 100%);
  backdrop-filter: blur(5px);
}

.contact-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-content h2 {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

/* Improved text colors for light theme contact section */
[data-theme="light"] .contact-content h2 {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.contact-content p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: var(--secondary-color);
}

/* Improved text colors for light theme contact section */
[data-theme="light"] .contact-content p {
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Improved button styles for light theme contact section */
[data-theme="light"] .contact-content .btn {
  border-color: #ffffff;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .contact-content .btn::before {
  background-color: #ffffff;
}

[data-theme="light"] .contact-content .btn:hover {
  color: #111111;
  border-color: #ffffff;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-title {
  font-size: 4rem;
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--primary-color);
}

.section-subtitle {
  font-size: 1.8rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 4.8rem;
  }

  .albums-grid,
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-title {
    font-size: 3.2rem;
  }

  .arrow {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }

  /* Adjust decorative separator for mobile */
  [data-theme="light"] .contact-preview::after {
    width: 60px;
    top: -10px;
  }

  /* Adjust decorative separator for mobile - dark theme */
  [data-theme="dark"] .contact-preview::after,
  :root .contact-preview::after {
    width: 60px;
    top: -10px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3.6rem;
  }

  .hero-content p {
    font-size: 1.8rem;
  }

  .albums-grid,
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-info {
    padding: 2rem;
  }

  .article-info h3 {
    font-size: 1.6rem;
  }

  .article-excerpt {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .section-subtitle {
    font-size: 1.6rem;
  }

  .hero-content .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
  }

  .arrow {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
  }

  .dot {
    width: 12px;
    height: 12px;
    margin: 0 0.6rem;
  }

  /* Smaller decorative separator for mobile */
  [data-theme="light"] .contact-preview::after {
    width: 40px;
    height: 2px;
    top: -8px;
  }

  /* Smaller decorative separator for mobile - dark theme */
  [data-theme="dark"] .contact-preview::after,
  :root .contact-preview::after {
    width: 40px;
    height: 2px;
    top: -8px;
  }
}

@media (max-width: 576px) {
  .hero-arrows {
    display: none;
  }

  .instagram-grid {
    grid-template-columns: 1fr;
  }

  .article-info {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .hero-content .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }

  .dot {
    width: 10px;
    height: 10px;
    margin: 0 0.5rem;
  }
}

/* Animation classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.fade-in-delay-1 {
  animation-delay: 0.3s;
}

.fade-in-delay-2 {
  animation-delay: 0.6s;
}

.fade-in-delay-3 {
  animation-delay: 0.9s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
