/* Import Bebas Neue font */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* Reset and smooth scrolling */
html {
    scroll-behavior: smooth;
}

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Bebas Neue', sans-serif;
    height: 100%; /* Combined with next line */
    overflow: auto; /* Combined with previous line */
}

/* Section Styling */
.block {
    position: relative; /* Needed for absolute positioning of arrows */
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box; /* padding and border included in width/height */
}

.block1 {
    background-color: #621B8E;
    color: white;
}

.block2 {
    background-color: #36B9E3;
    color: white;
}

.block3 {
    background-color: #D6E502;
    color: black;
    padding-bottom: 100px;
}
.block:not(:last-child) {
    border-bottom: none; /* Often unnecessary with min-height: 100vh */
}

/* Header styling */
h1 {
    color: #36B9E3;
}

/* Logo styling */
.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 30px;
}

/* Split container for products */
.split-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

.split-part {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 500px;
}

.split-part img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 15px;
}

.badge-icon {
    max-width: 100px;
    height: auto;
    align-self: center;
	margin-top: -100px;
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
        align-items: center;
    }

    .split-part {
        max-width: 300px;
    }

    .split-part img {
        max-height: 300px;
    }

    .badge-icon {
        margin: 20px 0;
        max-width: 60px;
    }
}

/* Block content styling */
.block2 .frame {  /* Combined with .block2 p and h1 styles */
    background-color: #621B8E;
    padding: 20px 100px 40px; /* Adjusted padding */
    margin: 50px auto;
    max-width: 480px;
}

.block2 p {
    font-size: 24px;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.2;
}

.block3 h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.block3 p {
    font-size: 18px;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.5;
}
/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

.modal-content {
    background-color: white;
    margin: 10% auto; /* Center the modal */
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px; /* Limit modal width */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.close:hover {
    color: #000;
}

.modal h2 {
    margin-top: 0;
    color: #621B8E; /* Brand color */
}

.modal p {
    font-size: 16px;
    line-height: 1.6;
}
/* Hamburger Menu Styles */
.hamburger {
    display: none; /* Hidden by default */
    cursor: pointer;
    padding: 10px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #621B8E;
    border: none;
    border-radius: 5px;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    width: 100%;
    height: 3px;
    background-color: #FEF26F;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    width: 100%;
    height: 3px;
    background-color: #FEF26F;
    position: absolute;
    left: 0;
    transition: transform 0.2s ease;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    top: 8px;
}

.hamburger.is-active .hamburger-inner {
    transform: rotate(45deg);
}

.hamburger.is-active .hamburger-inner::before {
    transform: rotate(90deg);
    top: 0;
}

.hamburger.is-active .hamburger-inner::after {
    transform: rotate(90deg);
    top: 0;
}

/* Navigation Styles */
.secondary-nav {
    width: 100%;
    background-color: #621B8E;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

.secondary-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.secondary-nav ul li {
    display: inline;
}

.secondary-nav ul li a {
    text-decoration: none;
    color: #FEF26F;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.secondary-nav ul li a:hover {
    color: #36B9E3;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block; /* Show hamburger menu on mobile */
    }

    .secondary-nav {
        transform: translateY(100%);
        bottom: auto;
        top: 0;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .secondary-nav.active {
        transform: translateY(0);
    }

    .secondary-nav ul {
        flex-direction: column;
        gap: 30px;
    }

    .secondary-nav ul li a {
        font-size: 24px;
    }
}
/* Social media icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    font-size: 32px;
    color: #FEF26F;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #36B9E3;
}

.fa-tiktok, .fa-instagram {
    font-size: 32px;
}

/* Scroll down arrow styles */
.scroll-down-arrow, .scroll-down-arrow-2 { /* Combined similar styles */
    position: absolute; /* .block has position: relative */
    bottom: 60px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-down-arrow {
    color: #FEF26F;
}

.scroll-down-arrow-2 {
    color: #621B8E;
    bottom: 80px; /* Adjust as needed */
}

.scroll-down-arrow i, .scroll-down-arrow-2 i { /* Combined similar styles */
    display: block;
}
/* Bounce animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}