/* RESET & BASICS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #111; /* Dark text for light background */
    background-color: #fff; /* White background */
    line-height: 1.6;
}

h1, h2 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95); /* White, slightly transparent */
    height: 60px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

.navbar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 1200px;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin: 0 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #111; /* Black links */
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ccc; /* Accent Color: Red */
}

/* MOBILE MENU TOGGLE */
.menu-toggle {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #111; /* Black hamburger bars */
}

/* MOBILE MENU → X TRANSFORMATION */
.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* PARALLAX UTILITY CLASS */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* SECTION STYLES */
.content-section {
    padding: 60px 20px;
    background-color: #fff; /* White Content background */
    text-align: center;
}

.container {
    max-width: 960px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    display: inline-block;
    padding-bottom: 10px;
}

/* HERO SECTION */
.hero-section {
    height: 100vh;
    /* Changed gradient to WHITE to contrast with the black logo */
    background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), url('images/heat_logo_back.jpg');
}

/* Logo Image Style */
.hero-logo {
    width: 25%; 
    height: auto;
    margin-bottom: 20px;
    /* 'Multiply' makes the white/grey background of a JPG transparent */
    mix-blend-mode: multiply; 
}

.hero-content .tagline {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #000;
}

/* VIDEO SECTION */
.video-section {
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1501612780327-450456b103f4?auto=format&fit=crop&w=1920&q=80');
    position: relative;
}

.video-section .overlay {
    padding-left: 0;
    padding-right: 0;
}

.overlay {
    background: rgba(255, 255, 255, 0.85); /* Light overlay */
    width: 100%;
    height: 100%;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 35%; /* 16:9 Aspect Ratio */
    height: 0;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2); /* Softer shadow */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* TOUR TABLE STYLES */
.table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
}

.tour-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: #fff;
    color: #111;
}

.tour-table th {
    background: #000;
    color: #fff;
    padding: 15px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tour-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #ddd; /* Light grey border */
    font-size: 1rem;
}

.tour-table tr:hover {
    background-color: #f9f9f9; /* Light hover effect */
}

.tour-table .date {
    font-weight: bold;
    color: #000;
}

/* TICKET BUTTON & SOLD OUT */
.ticket-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #111; /* Black button */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.ticket-btn:hover {
    background: #e63946; /* Red on hover */
    color: #fff;
}

.sold-out {
    color: #999;
    font-style: italic;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s, filter 0.3s;
    filter: grayscale(100%);
}

.gallery-item:hover {
    transform: scale(1.03);
    filter: grayscale(0%);
}

/* LIGHTBOX (MODAL) - Keep Dark for Contrast */
.lightbox {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(255,255,255,0.95); /* White Lightbox now */
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border: 5px solid #000; /* Black frame */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #000; /* Black Close Button */
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* CONTACT SECTION */

.contact-section {
    min-height: 500px;
    background-image: url('https://images.unsplash.com/photo-1533174072545-e8d4aa97edf9?auto=format&fit=crop&w=1920&q=80');
}

.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form input, .contact-form textarea {
    background: #fff; /* White input background */
    border: 2px solid #000; /* Black border */
    color: #000;
    padding: 15px;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #e63946;
}

.contact-form button {
    background: #e63946;
    color: #fff;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #c92a36;
}

/* FOOTER */
.footer {
    background: #f4f4f4; /* Light Grey */
    color: #111;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
}

.footer .social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer .social a {
  color: inherit; /* uses footer text color */
  font-size: 1.5rem;
  transition: opacity 0.2s ease;
}

.footer .social a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
    
     .parallax {
    background-attachment: scroll;
  }
    
    .video-wrapper {
      position: relative;
      width: 100%;
      height: 300px; /* Or whatever container height you want */
      overflow: hidden;
    }

    .video-wrapper iframe {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100vw;      /* full viewport width ensures no white edges */
      height: 100vh;     /* full viewport height */
      min-width: 100%;
      min-height: 100%;
      transform: translate(-50%, -50%); /* center the video */
    }




    .menu-toggle {
        display: block;
        position: fixed;
        top: 18px;
        right: 20px;
        z-index: 10001;
        cursor: pointer;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100vw;
        width: 100vw;
        height: calc(100vh - 60px);
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        transition: left 0.3s ease;
        z-index: 10000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-menu a {
        font-size: 1.2rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #111;
        text-decoration: none;
    }
}

/* --- YOUTUBE SLIDER GALLERY --- */

/* Outer wrapper — full viewport width, edge to edge */
.yt-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Inner container — aspect ratio + holds track, buttons, dots */
.yt-deck-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 */
}

/* The inner track that holds all slides side by side and shifts */
.yt-slider-track {
    position: absolute;
    top: 0;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Each slide — full size of the container */
.yt-deck-container .yt-slide {
    position: absolute;
    top: 0;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.yt-deck-container .yt-slide iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Transparent div that sits on top of the iframe to block clicks */
.yt-click-blocker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.01); /* Near-invisible but creates a real hit target */
    cursor: default;
}

/* Hide the blocker on the active slide so the iframe is playable */
.yt-slide.slide-active .yt-click-blocker {
    display: none;
}

/* --- NAVIGATION BUTTONS — minimal white arrows --- */
.yt-deck-container .yt-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;

    background: none;
    border: none;
    outline: none;

    color: white;
    font-size: 2rem;
    cursor: pointer;

    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;

    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
    transition: transform 0.2s ease, opacity 0.2s ease;
    padding: 0;
}

.yt-deck-container .yt-nav-btn:hover {
    transform: translateY(-50%) scale(1.25);
    opacity: 0.85;
}

.yt-deck-container .yt-prev { left: 14px; }
.yt-deck-container .yt-next { right: 14px; }

/* Slide indicator dots */
.yt-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    gap: 8px;
}

.yt-dots .yt-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.yt-dots .yt-dot.active {
    background: #e63946;
    border-color: #fff;
    transform: scale(1.2);
}

/* On mobile */
@media (max-width: 768px) {
    .yt-slider-wrapper {
        max-width: 100%;
    }
    .yt-deck-container .yt-nav-btn {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }
    .yt-deck-container .yt-prev { left: 8px; }
    .yt-deck-container .yt-next { right: 8px; }
}
