/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;700&display=swap');

/* Custom CSS for your wedding website */
body {
    font-family: 'Lato', sans-serif;
    background-color: #fff;
    color: #111827;
    /* gray-900 */
}

h1,
h2,
h3 {
    font-family: 'savethedate', 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth; /* Smooth scroll for internal links */
    scroll-snap-type: y mandatory;
}

section {
    height: 100dvh; /* Use dynamic viewport height for mobile compatibility */
    scroll-snap-align: start;
}
nav {
    display: none;
}

/* Custom scrollbar for a cleaner look */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8f8f8;
}

::-webkit-scrollbar-thumb {
    background: #6b7280;
    /* gray-500 */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
    /* gray-600 */
}

/* Hero video container styles */
.hero-video-container {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: grayscale(100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    text-align: center;
}

.flip-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    /* less gap */
    flex-wrap: wrap;
}

.flip-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flip-label {
    color: #374151;
    font-size: 1rem;
    /* smaller label */
    font-weight: 700; /* Increased font weight for readability */
    text-align: center;
}

.flip-colon {
    color: #f3f4f6;
    /* smaller colon */
    font-weight: 700;
    margin: 0 0rem;
    align-self: center;
    margin-top: -0.4rem;
}

#save-the-date {
    background: #fff;
    background-image: url('media/casa_santoja4.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 2rem;
}


@media (max-width: 600px) {
    .flip-countdown {
        gap: 0.7rem;
    }

    .flip-value {
        font-size: 2rem;
        min-width: 2.2rem;
        padding: 0.3rem 0.7rem;
    }

    .flip-label {
        font-size: 1rem;
    }
}
.hero-overlay button {
  min-width: 44px; /* Ensure buttons are easily tappable */
  min-height: 44px;
}

/* Keyframes for the bounce animation */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Styles for the bouncing chevron */
#scroll-prompt {
    animation: bounce 1.5s infinite;
}

@font-face {
  font-family: 'savethedate';
  src: url('fonts/Halimun.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}