/* Homepage-specific styles */
:root {
    --gold: #000000;
    --gold-light: #333333;
    --cream: #f9f6f0;
    --dark: #333333;
    --dark-lighter: #666666;
    --section-padding: 80px 20px;
    --transition-smooth: all 0.3s ease;
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
}

/* Video showcase section */
.video-showcase {
  padding: 100px 0;
  text-align: center;
  background: #f7f2e9;
  position: relative;
  overflow: hidden;
}

.video-showcase:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
  z-index: 1;
  opacity: 0.7;
}

.video-showcase h2 {
  font: bold 48px 'Playfair Display';
  color: var(--dark);
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
  letter-spacing: -0.5px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.video-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-item:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
  z-index: 10;
}

.video-grid video {
  width: 100%;
  height: 500px;
  border-radius: 18px;
  border: none !important;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.05);
}

.video-label {
  position: absolute;
  bottom: 25px;
  left: 25px;
  color: #FFF;
  background: rgba(0, 0, 0, 0.75);
  padding: 12px 18px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  font: 20px 'Playfair Display';
  text-align: left;
  backdrop-filter: blur(5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
}

.video-label span {
  font-family: 'Open Sans';
  font-size: 16px;
  opacity: 0.9;
  display: block;
  margin-top: 5px;
}

.video-item:hover .video-label {
  opacity: 1;
  transform: translateY(0);
}

.video-showcase p {
  font: 22px 'Playfair Display';
  color: var(--dark-lighter);
  margin-top: 50px;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 95%;
  }
  .video-grid video {
    width: 100%;
    height: 450px;
    max-width: none;
  }
  .video-showcase h2 {
    font-size: 36px;
  }
  .video-showcase p {
    font-size: 18px;
    padding: 0 20px;
  }
}



/* Legend explorer section */
.legend-explorer {
    padding: 60px 0;
    text-align: center;
    background: #FFFFFF;
}

/* Legend grid and cards */
#legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
     border-radius: 18px;
}

.legend {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.legend:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.legend-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid var(--gold);
}

.legend-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.legend h3 {
    font-family: 'Playfair Display', serif;
    margin: 10px 0;
    color: var(--dark);
    font-size: 20px;
}

.legend p {
    color: var(--dark-lighter);
    margin-bottom: 20px;
    font-size: 14px;
}

.chat-btn {
    background: black;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.chat-btn:hover {
    background: var(--gold-light);
    transform: scale(1.05);
}

/* Tags filter */
.tags-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.tag.active, .tag:hover {
    background: black;
    color: white;
}

/* Map section - temporarily disabled */
/* .map-section {
    padding: var(--section-padding);
    background-color: var(--cream);
    position: relative;
    overflow: hidden;
} */

/* Final CTA section */
.final-cta {
    padding: 80px 0;
    text-align: center;
    background: #FFFFFF;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero {
        padding: 40px 20px;
    }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
    transform: translateY(-10px) scale(0.95);
    background: rgba(255, 255, 255, 0.98);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-logo {
    width: 60px;
    height: 60px;
    cursor: pointer;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.header-logo:hover, .header-logo:focus {
    transform: scale(1.05);
}

.header-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--dark);
    margin: 0;
    padding: 0;
    line-height: 1;
}

.header-title span {
    color: var(--gold);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333333;
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        padding: 20px;
        backdrop-filter: blur(10px);
    }

    .header-nav.active {
        display: flex;
    }

    .nav-item {
        margin: 10px 0;
        text-align: center;
    }

    .mobile-menu-button {
        display: block;
    }
}