﻿@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');

/* Remove overflow hidden to allow scrolling to footer */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* prevent horizontal scroll only */
}

/* Stack and animate slides */
.stacked-carousel {
    position: relative;
    height: 100vh; /* or change to 90vh if you want some footer peek */
    width: 100%;
    overflow: hidden;
}

.stacked-slide {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
    opacity: 0;
    z-index: 0;
}

.stacked-slide.active {
    opacity: 1;
    z-index: 1;
    transform: scale(1.03);
}

.stacked-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Handwritten-style promo text */
.promo-text {
    position: absolute;
    top: 25%;
    left: 10%;
    color: #000; /* black text */
    font-family: 'Caveat', cursive;
    font-size: 3rem;
    padding: 0.5em 0;
    z-index: 2;
    pointer-events: none;

    transform: rotate(-25deg);
    white-space: normal;
    text-align: center;
    line-height: 1.3;
}


