/* General Styling for Header */

/* General Styling for Header */

.fitur {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Make the section full-width */
    height: 100vh; /* Set height to 100% of the viewport */
    padding: 20px; /* Optional padding for spacing */
    box-sizing: border-box; /* Include padding in width and height */
    margin-top: 140px;
}

.fitur img {
    max-width: 150%; /* Ensure the image doesn't exceed the section width */
    max-height: 150%; /* Ensure the image fits within the section height */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the image is scaled correctly */
}



.navigation-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #FBFBFB;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Logo Styling */
.logo-container img {
    width: 331px;
    height: 38px;
    object-fit: contain;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap; /* Wrap links if needed */
}

.nav-link {
    font-family: 'Spartan', sans-serif;
    font-size: 30px;
    font-weight: 500; /* Medium weight */
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0368FF; /* Highlight color on hover */
}

/* Button Styling */
.masuk-button {
    font-family: 'Spartan', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    background: radial-gradient(circle, #C27FCF, #0368FF 27%);
    cursor: pointer;
    text-transform: capitalize;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.masuk-button:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    font-size: 18px;
    background: none;
    border: none;
    cursor: pointer;
}


.navigation-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Logo Styling */
.logo-container img {
    width: 331px;
    height: 38px;
    object-fit: contain;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 30px; /* Spacing between links */
}

.nav-link {
    font-family: 'Spartan', sans-serif;
    font-size: 18px;
    font-weight: 500; /* Medium weight */
    text-decoration: none;
    color: #454545; /* Neutral color */
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0368FF; /* Highlight color on hover */
}

/* Button Styling (Masuk) */
.masuk-button {
    font-family: 'Spartan', sans-serif;
    font-size: 24px; /* Same font size as "Mulai Taaruf" button */
    font-weight: 600;
    color: #FFFFFF;
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(45deg, #0368FF, #C27FCF);
    cursor: pointer;
    text-transform: capitalize;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.masuk-button:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Media Query: For devices with max-width: 768px */
/* Media Query: Devices 768px and smaller */
@media (max-width: 768px) {

    


    .navigation-bar {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center-align content */
    }

    .logo-container img {
        width: 331px; /* Resize logo for smaller devices */
        margin-bottom: 10px; /* Add spacing below the logo */
    }

    .menu-toggle {
        display: block; /* Show menu toggle button */
        font-size: 24px;
        margin-right: auto; /* Align to the left in the row */
    }

    .masuk-button {
        font-size: 20px; /* Adjust button font size */
        padding: 8px 20px; /* Adjust padding for smaller size */
        margin-left: auto; /* Align to the right in the row */
    }

    .menu-and-button {
        display: flex;
        justify-content: space-between; /* Space items evenly in one row */
        align-items: center;
        width: 100%; /* Take up the full width */
        padding: 0 20px; /* Add some horizontal padding */
    }

    .nav-links {
        display: none; /* Hide navigation links by default */
        flex-direction: column; /* Stack links vertically */
        gap: 15px;
        margin-top: 10px;
        background-color: #FBFBFB;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 10px;
        width: 100%;
    }

    .nav-links.show {
        display: flex; /* Show links when toggle is clicked */
    }

    .fitur {
        padding: -150px; /* Reduce padding for smaller screens */
        margin-top: -50px;

    }

    .fitur img {
        max-width: 110%; /* Limit the image width */
    }
}

/* Media Query: Devices 480px and smaller */
@media (max-width: 480px) {

    .fitur {
        padding: -100px; /* Further reduce padding for very small screens */
        margin-top: -50px;
    }

    .fitur img {
        max-width: 110%; /* Slightly larger image for mobile devices */
    }

    .logo-container img {
        width: 331px; /* Resize logo for smaller devices */
    }

    .menu-toggle {
        font-size: 20px; /* Adjust toggle size for smaller devices */
    }

    .masuk-button {
        font-size: 18px; /* Adjust button font size */
    }

    .menu-and-button {
        padding: 0 10px; /* Reduce padding for smaller screens */
    }
}