@charset "UTF-8";

/* Global/Root */
html {
    scroll-behavior: smooth;
    scroll-speed: 1.5s; /* Adjust the scroll speed as needed */
    scroll-padding-top: 60px; /* Matches your 60px header height to prevent overlapping */
}

/* Body */
body {
    font-family: source-sans-pro, sans-serif;
    background-color: #000000;
    margin: 0;
    font-style: normal;
    font-weight: 200;
}

/* Container */
.container {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    min-height: 100vh;
    background-color: #000000;
    position: relative;
}

/* Navigation */
header {
    width: 100%;
    height: 60px;
    background-color: #000000;
    border-bottom: 1px solid #000000;
    position: relative;
    z-index: 100;
}

.logo {
    color: #fff;
    font-weight: bold;
    width: 10%;
    float: left;
    margin-top: 15px;
    margin-left: 25px;
    letter-spacing: 4px;
}

nav {
    float: right;
    width: 50%;
    text-align: right;
    margin-right: 25px;
}

header nav ul {
    list-style: none;
    float: right;
    margin: 0;
    padding: 0;
    line-height: 60px;
}

nav ul li {
    float: left;
    color: #ffffff;
    font-size: 14px;
    text-align: left;
    margin-right: 25px;
    letter-spacing: 2px;
    font-weight: bold;
    transition: all 0.3s linear;
}

ul li a {
    color: #ffffff;
    text-decoration: none;
}

ul li:hover a {
    color: #9f0000;
}

/* ==========================================================================
   Hero Section with Scroll-Driven Logo Exit
   ========================================================================== */

/* 1. The Scroll Runway: 180vh creates the scroll space for the exit */
.hero-track {
    height: 180vh;
    position: relative;
    view-timeline-name: --heroTrack;
    view-timeline-axis: block;
}

/* 2. Pinned Frame: Locks to the top edge while scrolling through the runway */
.hero-sticky-scene {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3. The Background Image (stays pinned) */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("https://sodomizedcadaver.com/graphics/Hero.jpg");
    background-color: #B3B3B3;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 1;
}

/* 4. The Logo: Glides up and fades out via CSS Scroll Timeline */
.hero-logo {
    position: relative;
    z-index: 2;
    max-width: 80%;
    width: 600px;
    height: auto;
    pointer-events: none;
    animation: logo-scroll-exit linear both;
    animation-timeline: --heroTrack;
    animation-range: entry 100% exit 80%;
}

@keyframes logo-scroll-exit {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-130vh) scale(0.9);
        opacity: 0;
    }
}

/* Fallback Header & Tagline */
.hero_header {
    color: #FFFFFF;
    margin: 0;
    letter-spacing: 4px;
}

.light {
    font-weight: bold;
    color: #717070;
}

.tagline {
    text-align: center;
    color: #FFFFFF;
    margin-top: 4px;
    font-weight: lighter;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about {
    padding: 35px 25px;
    display: block;
    clear: both;
    background-color: #FFFFFF;
    position: relative;
    z-index: 10;
}

.about::after {
    content: "";
    display: table;
    clear: both;
}

.text_column {
    width: 29%;
    text-align: Center;
    font-weight: lighter;
    line-height: 25px;
    float: left;
    padding-left: 20px;
    padding-right: 20px;
    color: #A3A3A3;
}

/* Stats Gallery */
.gallery {
    align-content: center;
    clear: both;
    display: block;
    width: 100%;
    background-color: #FFFFFF;
    padding-bottom: 35px;
    padding-top: 0px;
    position: relative;
    z-index: 10;
}

.gallery::after {
    content: "";
    display: table;
    clear: both;
}

.stats {
    color: #717070;
    margin-bottom: 5px;
}

.thumbnail {
    width: 25%;
    text-align: center;
    float: left;
    margin-top: 35px;
}

.gallery .thumbnail h4 {
    margin: 5px;
    color: #b71f1f;
}

.gallery .thumbnail p {
    margin: 0;
    color: #A3A3A3;
}

/* Parallax Section */
.banner {
    background-color: #2D9AB7;
    background-image: url("https://sodomizedcadaver.com/graphics/Morbidart.jpeg");
    height: 400px;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 10;
}

.parallax {
    color: #FFFFFF;
    text-align: right;
    padding-right: 100px;
    padding-top: 110px;
    letter-spacing: 2px;
    margin: 0;
}

.parallax_description {
    color: #FFFFFF;
    text-align: right;
    padding-right: 100px;
    width: 30%;
    float: right;
    font-weight: lighter;
    line-height: 23px;
    margin: 0;
}

/* Tour Dates Section */
.section {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #717070;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: lighter;
    letter-spacing: 2px;
    position: relative;
    z-index: 10;
}

#Dates ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.tour-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.tour-info p {
    margin: 0;
    font-weight: bold;
}

/* Ticket Button & Shudder Animation */
.tickets-button {
    background-color: rgb(192, 0, 0);
    color: white;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 0;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    font-weight: bold;
}

.tickets-button:hover {
    animation: button-shudder 0.12s infinite ease-in-out;
}

@keyframes button-shudder {
    0%   { transform: translate(0, 0) rotate(0deg); }
    20%  { transform: translate(-2px, 1px) rotate(-1deg); }
    40%  { transform: translate(2px, -1px) rotate(1deg); }
    60%  { transform: translate(-1px, -2px) rotate(0deg); }
    80%  { transform: translate(2px, 2px) rotate(-0.5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* More Info / Footer */
footer {
    display: block;
    background-color: #FFFFFF;
    padding-bottom: 35px;
    position: relative;
    z-index: 10;
}

footer::after {
    content: "";
    display: table;
    clear: both;
}

.footer_column {
    width: 50%;
    text-align: center;
    padding-top: 30px;
    float: left;
}

footer .footer_column h3 {
    color: #B3B3B3;
    text-align: center;
}

footer .footer_column p {
    color: #717070;
    padding: 0 30px;
    text-align: justify;
    line-height: 25px;
    font-weight: lighter;
    margin: 0 20px;
}

.cards {
    width: 100%;
    height: auto;
    max-width: 400px;
    max-height: 200px;
    object-fit: cover;
}

.button {
    width: 200px;
    margin: 40px auto auto auto;
    padding: 20px 10px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    border: 3px solid #FFFFFF;
    color: #FFFFFF;
    transition: all 0.3s linear;
}

.button:hover {
    background-color: #FEFEFE;
    color: #C4C4C4;
    cursor: pointer;
}

.footer_banner {
    background-color: #B3B3B3;
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
    z-index: 10;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #717070;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: lighter;
    letter-spacing: 2px;
    position: relative;
    z-index: 10;
}

.hidden {
    display: none;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

/* Mobile */
@media (max-width: 480px) {
    .logo {
        width: 100%;
        text-align: center;
        margin: 13px 0 0 0;
    }
    .container header nav {
        display: none;
    }
    .text_column,
    .thumbnail,
    .footer_column {
        width: 100%;
        float: none;
        padding-left: 0;
        padding-right: 0;
    }
    .tour-details {
        flex-direction: column;
        gap: 10px;
    }
    .hero-logo {
        width: 80%;
    }
    .banner {
        background-attachment: scroll; /* Mobile fix for fixed parallax */
    }
    .parallax,
    .parallax_description {
        width: 100%;
        padding-right: 0;
        text-align: center;
        float: none;
    }
}

/* Tablets */
@media (min-width: 481px) and (max-width: 768px) {
    .thumbnail {
        width: 50%;
    }
    .text_column {
        width: 100%;
        float: none;
    }
    .footer_column {
        width: 100%;
        float: none;
    }
}

/* Small Desktops */
@media (min-width: 769px) and (max-width: 1096px) {
    .text_column {
        width: 30%;
    }
    .thumbnail {
        width: 50%;
    }
}

/* Header absolute positioning anchor */
header {
  position: relative; 
}

/* Top Left Social Bar Layout */
.top-social {
  position: absolute;
  top: 20px;
  left: 20px; 
  display: flex;
  gap: 15px; 
  z-index: 100; /* Ensures links sit above the hero elements */
}

/* Social Icon Styling */
.top-social a {
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Hover Effect */
.top-social a:hover {
  color: #7d0409; 
}