body {
    margin: 0;
    background: #fff9f7;
    font-family: "Georgia", serif;
    color: #333;
}

/* HEADER */
.hero {
    position: relative; /* for overlay positioning */
    background: url('../images/floral-header.png') center/cover no-repeat;
    padding: 3px 1px;
    text-align: center;
    color: #fff; /* make text white for contrast */
    margin-bottom: 0px !important;
}




.hero.small-hero {
    padding: 20px 15px; /* smaller for video page */
}


.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
}

.hero h1, .hero p {
    color: #ffffff; /* white text */
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.7), /* main black shadow for readability */
        0 0 6px rgba(255, 255, 255, 0.5); /* optional soft white glow */
}

/* Optional gentle pulsing glow */
@keyframes gentleGlow {
    0%, 100% { text-shadow: 2px 2px 4px rgba(0,0,0,0.7), 0 0 6px rgba(255,255,255,0.5); }
    50% { text-shadow: 2px 2px 4px rgba(0,0,0,0.7), 0 0 12px rgba(255,255,255,0.6); }
}

.hero h1, .hero p {
    animation: gentleGlow 3s infinite alternate;
}


/* SLIDER */
.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 8px auto;
    border-radius: 12px;
    overflow: hidden;
    border: 10px solid transparent;
}
.slider {
    position: relative;
    width: 100%;
    height: 450px;
}

@media (max-width: 600px) {
    .slider {
        height: 280px;
    }
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* TEXT OVERLAY */
.slide-text {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 1.3rem;
    border-radius: 6px;
}

/* ARROWS */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #ffffff;
    padding: 10px 15px;
    cursor: pointer;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    user-select: none;
}

.slider-arrow:hover {
    background: rgba(0,0,0,0.6);
}

.slider-arrow.left { left: 15px; }
.slider-arrow.right { right: 15px; }

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* VIDEO BUTTON */
.video-button-container {
    text-align: center;
    margin: 30px 0;
}

.video-button {
    background: #eac7d3;
    padding: 15px 30px;
    border-radius: 8px;
    color: #4a3d3d;
    font-size: 1.3rem;
    text-decoration: none;
    transition: 0.3s;
}

.video-button:hover {
    background: #dbaaba;
}

/* VIDEO FRAME */
.video-frame {
   

    padding: 0px;

    border-radius: 12px;
    max-width: 900px;
    margin: auto;
}

/* BACK BUTTON */
.back-btn-container {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 40px;
}

.back-btn {
    color: #4a3d3d;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    background: #f1dce3;
}

.back-btn:hover {
    background: #eac7d3;
}

/* --- SLIDE ANIMATIONS --- */

/* soft fade */
@keyframes fade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* gentle zoom-in */
@keyframes zoom {
    0% { transform: scale(1.05); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* slide from bottom */
@keyframes slideUp {
    0% { transform: translateY(40px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* slide from left */
@keyframes slideLeft {
    0% { transform: translateX(40px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* slide from right */
@keyframes slideRight {
    0% { transform: translateX(-40px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* glowing border effect */
@keyframes glow {
    0% { box-shadow: 0 0 0px rgba(255,255,255,0.0); }
    50% { box-shadow: 0 0 30px rgba(255,255,255,0.7); }
    100% { box-shadow: 0 0 0px rgba(255,255,255,0.0); }
}

/* Apply animation when slide becomes active */
.slide.active img {
    animation: fade 1.3s ease, zoom 2.5s ease;
}

/* Random animations (JS will swap these classes) */
.slide.fadeIn img  { animation: fade 1.2s ease; }
.slide.zoomIn img  { animation: zoom 2s ease; }
.slide.slideUp img { animation: slideUp 1.2s ease; }
.slide.leftIn img  { animation: slideLeft 1.2s ease; }
.slide.rightIn img { animation: slideRight 1.2s ease; }

/* Optional glowing frame */
.slider-container.glow {
    animation: glow 6s infinite ease-in-out;
}


#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(50%) blur(1.5px); /* softens video for readability */
}

/* Overlay so text is readable */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  z-index: -1;
}
