/* Fullscreen Video Background */
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Ensures cropping */
    z-index: -1;
}

.video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* Aspect Ratio 16:9 (height = width * 9 / 16) */
    min-height: 100vh;
    /* Ensures full screen coverage */
    min-width: 177.78vh;
    /* (16 / 9) * 100vh to ensure no black bars */
    transform: translate(-50%, -50%);
    /* Center the video */
    object-fit: cover;
    /* Ensures the video crops properly */
    pointer-events: none;
    /* Prevents interaction */
}

/* Hero Section */
.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Photo Gallery */
.gallery img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

/* General Section Padding */
section {
    padding: 60px 0;
}

#schedule {
    background-color: orange;
    color: white;
    background-image: url('https://www.transparenttextures.com/patterns/diagmonds-light.png');
}

#contingents1 {
    background-color: #3E86E7;
    color: white;
    background-image: url('https://www.transparenttextures.com/patterns/brick-wall.png');
}

.bg-blue {
    background-color: #3E86E7;
    color: white;
}

.link-no-style {
    color: inherit;
    text-decoration: none;
}

.disabled {
    pointer-events: none;
    cursor: default;
    /* opacity: 0.5; */
}
/* ---------- Tickets (2027) ---------- */
#tickets { padding: 40px 0; }
.tix-card {
    position: relative;
    height: 100%;
    padding-top: 34%;              /* room for the logo that overlaps the top edge */
    container-type: inline-size;   /* lets text scale with the card width */
}
.tix-logo {
    position: absolute;
    top: 0; left: 50%;
    width: 68%;
    transform: translateX(-50%);
    z-index: 2;
    /* white outline keeps the red wordmark readable on the colored cards */
    filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 4px 6px rgba(0,0,0,.25));
}
.tix-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    padding: 40% 9% 9%;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 10px 0 -4px rgba(0,0,0,.12), 0 8px 20px rgba(0,0,0,.18);
}
.tix-dakbayan .tix-body { background: linear-gradient(180deg, #4fc3ff 0%, #1565d8 55%, #0b3fa8 100%); }
.tix-queen    .tix-body { background: linear-gradient(180deg, #ff8ad8 0%, #c2189b 55%, #7a0f86 100%); }
.tix-parade   .tix-body { background: linear-gradient(180deg, #ffb300 0%, #ff4d12 55%, #e60000 100%); }
.tix-awarding .tix-body { background: linear-gradient(180deg, #e8f000 0%, #3cc614 50%, #12921a 100%); }
.tix-title {
    margin: 0 0 auto;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
    font-size: clamp(1.1rem, 3vw, 1.9rem);
    font-size: 12.5cqw;
    white-space: nowrap;
    text-shadow: 0 2px 0 rgba(0,0,0,.25), 0 3px 8px rgba(0,0,0,.45);
}
.tix-title span { display: block; }
/* second line: solid white (outline-only text was hard to read) */
.tix-outline {
    margin-top: .1em;
}
/* ticket stub: dashed tear line with punched notches on both edges */
.tix-stub {
    position: relative;
    margin: 1.2em -11% 1.2em;       /* reach the card edges so the notches sit on them */
    padding: 1em 11% 0;
    border-top: 2px dashed rgba(255,255,255,.75);
}
.tix-stub::before,
.tix-stub::after {
    content: "";
    position: absolute;
    top: -11px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #fff;               /* matches the page background */
}
.tix-stub::before { left: -10px; }
.tix-stub::after  { right: -10px; }
.tix-date,
.tix-price {
    font-weight: 700;
    font-size: clamp(.8rem, 1.6vw, 1.1rem);
    font-size: 7cqw;
    margin: 0 0 .25em;
}
.tix-price { font-weight: 600; opacity: .95; }
.tix-btn {
    display: block;
    text-align: center;
    background: #fff;
    border-radius: 999px;
    padding: .7em .5em;
    font-weight: 900;
    font-size: clamp(.75rem, 1.6vw, 1.15rem);
    font-size: 7cqw;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 5px 0 rgba(0,0,0,.18);
    transition: transform .15s;
}
a.tix-btn:hover { transform: translateY(-2px); }
.tix-soon { cursor: default; letter-spacing: .02em; }
.tix-dakbayan .tix-btn { color: #0b3fa8; }
.tix-queen    .tix-btn { color: #9c1490; }
.tix-parade   .tix-btn { color: #e60000; }
.tix-awarding .tix-btn { color: #12921a; }
@media (max-width: 575px) {
    .tix-body { border-radius: 14px; }
}
