/* General Styling */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Baloo 2', sans-serif;
    background-color: #fef9e7;
    color: #333;
}

/* Container for Stream and Chat */
.container {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    height: 500px;
}

.video-container, .chat {
    flex: 1;
    height: 100%;
    max-width: 50%;
    position: relative;
}

.video-container iframe, .chat iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* Overlay for Chat Sign-In Button */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.chat:hover .overlay {
    display: flex;
    pointer-events: auto;
}

.sign-in-btn {
    padding: 15px 30px;
    background-color: #ff6f61;
    border: none;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
}

.sign-in-btn:hover {
    background-color: #ff9478;
}

/* Logo Styling */
.logo {
    text-align: center;
    padding: 1.5rem;
}

.logo-img {
    max-width: 100%;
    height: auto;
}

/* Navigation Menu */
.navbar {
    text-align: center;
    background-color: #ff6f61;
    padding: 1rem;
    position: relative;
}

/* Default nav-links styling for desktop */
.nav-links {
    list-style: none;
    display: inline-flex;
    gap: 2rem;
}

/* Nav links styling */
.nav-links a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffded2;
}

/* Hamburger icon styling */
.hamburger {
    display: none; /* Hidden by default on desktop */
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: absolute;
    right: 1rem;
    top: 1rem;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Hamburger animation when toggled */
.hamburger.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.toggle span:nth-child(2) {
    opacity: 0;
}

.hamburger.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.image-link {
    display: inline-block; /* Constrain clickable area to the image size */
    width: 75%; /* Match the width of the image */
    max-width: 600px;
    margin: 0 auto;
}

.hero-image {
    width: 100%; /* Image fills the link area */
    border-radius: 10px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.3), 0px 16px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.hero-image:hover {
    transform: scale(1.05);
    box-shadow: 0px 16px 48px rgba(0, 0, 0, 0.35), 0px 24px 64px rgba(0, 0, 0, 0.25);
}



/* Responsive styling for mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide links by default on mobile */
        flex-direction: column;
        gap: 1rem;
        background-color: #ff6f61;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        padding: 1rem;
        transition: all 0.3s ease;
        text-align: center;
    }

    /* Show nav links when menu is active */
    .nav-links.nav-active {
        display: flex;
    }

    /* Show hamburger icon on mobile */
    .hamburger {
        display: flex;
    }

    .nav-links li {
        padding: 10px 0;
    }
}


/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(to right, #ffd1a9, #ff6f61);
    color: #fff;
    min-height: 500px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    min-height: 4.2rem;
}

.hero p {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    min-height: 2.1rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-btn {
    text-decoration: none;
    background-color: #fff;
    color: #ff6f61;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    display: inline-block;
    min-width: 200px;
    min-height: 50px;
    line-height: 1.2;
    text-align: center;
}

.hero-btn:hover {
    background-color: #ffe3d6;
}

/* About Section */
.about-section {
    padding: 2rem;
    background-color: #fef9e7;
    margin: 2rem 0;
}

.about-card {
    background-color: #fff;
    margin: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: box-shadow 0.3s ease;
}

.about-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.highlight-card {
    background: linear-gradient(to right, #ff6f61, #ff9478);
    color: #fff;
}

/* Notice in Hero Section */
.notice {
    margin-top: 10px;
    font-size: 1rem;
    color: #ffded2;
    line-height: 1.4;
    font-style: italic;
}

/* Go to Top Button */
.go-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 3rem;
    color: #B197FC;
    text-align: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.show-go-to-top {
    opacity: 1;
    visibility: visible;
}

/* Watch Now Button */
.watch-now-btn {
    text-decoration: none;
    background-color: #fff;
    color: #ff6f61;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 1rem;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.watch-now-btn:hover {
    background-color: #ffe3d6;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #ff6f61;
    color: #fff;
    margin-top: 2rem;
    width: 100%;
    box-sizing: border-box;
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        width: 100vw; /* Full viewport width */
    }

    /* Full width and height for video and chat on mobile */
    .video-container, .chat {
        width: 100vw; /* Full viewport width */
        height: 50vh; /* Each takes 50% of viewport height */
        margin: 0; /* Remove margin to ensure they align perfectly */
        position: relative;
    }

    .video-container iframe, .chat iframe {
        width: 100%;
        height: 100%;
    }

    /* Additional space below the chat section */
    .chat {
        margin-bottom: 2rem;
    }
	
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-btn {
        width: 80%;
        text-align: center;
        border: 2px solid #ff6f61;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        padding: 1rem;
    }

    .hero-btn:hover {
        background-color: #ffe3d6;
        box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.25);
    }

    /* Hide sign-in button on mobile */
    .sign-in-btn {
        display: none;
    }
}
