html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    background: linear-gradient(to bottom, #000000, #1a1a1a);
    color: white;
    text-align: center;
}

/* NAVBAR */
nav {
    position: fixed;
    width: 100%;
    background: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    box-sizing: border-box;
    z-index: 1000;
}

.logo {
    font-size: 20px;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ff3c3c;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* MOBILE */
@media(max-width:768px){
    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: black;
        flex-direction: column;
        width: 200px;
        display: none;
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

section {
    padding: 120px 20px 60px;
}

h1 { font-size: 60px; margin: 0; }
h2 { color: #ff3c3c; }

/* COUNTDOWN */
.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.time-box {
    background: #111;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px red;
}

/* POSTER */
.poster-section img {
    max-width: 90%;
    max-height: 600px;
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: 0 0 30px red;
}

/* QR */
.qr-section img {
    width: 200px;
    margin-top: 20px;
}

/* GALLERY */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
    padding: 40px;
}

.gallery img {
    width: 70%;              /* smaller size */
    max-width: 300px;        /* limit max size */
    margin: 0 auto;          /* center image */
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px red;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* CONTENT */
.content-box {
    max-width: 900px;
    margin: auto;
    line-height: 1.7;
    font-size: 18px;
}

footer {
    padding: 20px;
    opacity: 0.85;
    text-align: center;
    background: #0d0d0d;
    color: white;
}

footer .visitor-counter,
footer .follow-us {
    margin: 5px 0;
    font-size: 16px;
}

footer .follow-us a {
    color: #3b5998;  /* Facebook blue */
    text-decoration: none;
    font-weight: bold;
    margin-left: 5px;
}

footer .follow-us a:hover {
    color: #ff3c3c;
}

/* Mobile adjustments */
@media(max-width:768px){
    section {
        padding: 60px 15px 40px;  /* smaller padding for mobile */
    }

    h1 { font-size: 36px; }
    h2 { font-size: 24px; }

    .countdown {
        gap: 15px;
    }

    .time-box {
        max-width: 90px;
        padding: 15px;
        font-size: 14px;
    }

    .poster-section img,
    .qr-section img {
        width: 80%;
        max-width: 250px;
        height: auto;
    }
}

.coming-soon {
    padding: 150px 20px;
    text-align: center;
}

.coming-soon h1 {
    font-size: 48px;
    color: #ff3c3c;
    margin-bottom: 20px;
}

.coming-soon p {
    font-size: 20px;
    opacity: 0.8;
}

/* Gallery item container */
.gallery-item {
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Poster images */
.gallery-item img {
    width: 70%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px red;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

/* Zoom effect on hover */
.gallery-item img:hover {
    transform: scale(1.1);
}

/* Caption below each poster */
.gallery-item .caption {
    margin-top: 8px;
    font-size: 16px;
    color: #fff;
    opacity: 0.8;
}

/* BUY TICKET BUTTON */
.ticket-button {
    margin: 40px 0 20px;
}

.buy-btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 20px;
    letter-spacing: 2px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(45deg, #ff0000, #990000);
    border-radius: 8px;
    box-shadow: 0 0 15px red;
    transition: all 0.3s ease;
}

.buy-btn:hover {
    background: linear-gradient(45deg, #ffffff, #ff3c3c);
    color: #000;
    box-shadow: 0 0 25px #ff3c3c;
    transform: scale(1.08);
}

.announcement-bar {
    position: fixed;
    top: 60px;              /* navbar height */
    left: 0;
    width: 100%;
    background-color: yellow;
    color: black;
    overflow: hidden;       /* hide overflowing text */
    z-index: 999;           /* just below navbar */
    font-family: 'Oswald', sans-serif;
    height: 40px;           /* fixed height */
    display: flex;
    align-items: center;    /* vertically center text */
    padding: 0 10px;
}

.announcement-text {
    display: inline-block;
    white-space: nowrap;
    font-weight: bold;
    animation: scrollText 15s linear infinite;
}

/* Keyframes for scrolling */
@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Adjust section padding so content is not hidden */
section {
    padding-top: 180px; /* navbar + announcement bar */
}