﻿body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}
.sticky-header {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    background-color: #6b8e23;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    z-index: 1000; /* Ensure the header stays on top of other content */
}

header h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    font-size: 1.5rem;
    line-height: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

header h1 .roro-bold {
    font-size: 1.8rem;
}

header h1 .designs {
    font-size: 1rem;
    letter-spacing: 0.1em;
}

header {
    background-color: #6b8e23;
    color: #fff;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    height: 60px;
}

.hidden {
    display: none;
}

.header-buttons {
    display: flex;
    align-items: center;
}

.header-buttons .dropbtn {
    background-color: #8fbc8f;
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none; /* Ensure the link has no underline */
    display: inline-block; /* Ensure proper button styling */
}

.header-buttons .dropbtn:hover {
    background-color: #7aab7a; /* Optional: Add a hover effect */
}

#splash {
    position: relative;
    background: url('/library/files/269/images/roro_background.jpg') no-repeat center center/cover;
    height: 50vh; /* Adjusted height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

#splash::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('roro_background.jpg') no-repeat center center/cover;
    opacity: 0.5; /* Adjust the opacity of the background image */
    filter: brightness(1.2); /* Optionally adjust the brightness */
    z-index: 1;
}

#splash::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity of the overlay */
    z-index: 2;
}

.splash-text {
    position: relative;
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    z-index: 3; /* Ensure text is above the overlay */
    line-height: 1.5; /* Increased line-spacing */
}

.splash-text .splash-header {
    font-size: calc(16px + 2vw);
    font-weight: normal;
    line-height: 1.5; /* Increased line-spacing */
    text-transform: none; /* Ensure text-transform is none */
}

.splash-text .splash-subtext {
    font-size: 1.2rem;
    margin-top: 5px; /* Reduced spacing */
    text-transform: lowercase; /* Ensure text-transform is lowercase */
}

.splash-subtext a {
    color: white;
    text-decoration: none;
}

.splash-subtext a:hover {
    text-decoration: none; /* Ensure no underline on hover */
}

main {
    padding: 0; /* Remove padding */
}

section {
    margin: 0; /* Remove margins */
    padding: 40px 0; /* Add padding for spacing */
    display: flex;
    flex-direction: column; /* Stack content vertically on mobile */
    align-items: center;
    height: 100vh; /* Ensure section takes full viewport height */
    box-sizing: border-box; /* Ensure padding is included within the height */
}

.section-gray {
    background-color: #f4f4f4;
}

.section-white {
    background-color: #ffffff;
}

.left-column, .right-column {
    width: 100%; /* Full width on mobile */
    padding: 20px;
    box-sizing: border-box;
    text-align: center; /* Center text on mobile */
}

.left-column h2 {
    font-size: 36px;
    font-weight: normal;
    color: #0066CC;
}

.left-column p {
    font-size: 1rem;
    color: #000000;
    line-height: 1.8;
}

.right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.right-column .gallery {
    width: 100%;
    max-width: 600px; /* Adjust max-width as needed */
    opacity: 0; /* Hide the gallery by default */
    transition: opacity 2s; /* Smoothly reveal the gallery */
}

.right-column .gallery img {
    width: 100%;
    height: auto;
    display: none; /* Hide all images by default */
}

.right-column .gallery img:first-child {
    display: block; /* Show the first image by default */
}

.dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.active {
    background-color: #717171;
}

.footer-top {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #6b8e23;
    color: #fff;
    padding: 20px 40px; /* Increased padding */
    box-sizing: border-box; /* Ensure padding is included within width */
}

.footer-left, .footer-right {
    flex: 1;
    padding: 10px;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: left; /* Align links to the left on mobile */
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.contact-info {
    margin-top: 10px;
}

.contact-info p strong {
    font-weight: bold;
}

.footer-bottom {
    width: 100%;
    background-color: #333;
    color: #fff;
    display: flex;
    flex-direction: column; /* Stack items vertically on mobile */
    justify-content: space-between;
    align-items: flex-start; /* Align items to the left on mobile */
    padding: 10px 40px; /* Increased padding */
    margin: 0;
    box-sizing: border-box; /* Ensure padding is included within width */
}

.footer-bottom .left, .footer-bottom .right {
    font-size: 14px;
    width: 100%; /* Ensure full width for each item on mobile */
}

@media (max-width: 599px) {


    section {
        flex-direction: column; /* Stack content vertically */
        padding: 20px 0; /* Adjust padding for mobile */
        clear: both; /* Ensure no overlap */
    }

    .left-column, .right-column {
        width: 100%; /* Full width on mobile */
        text-align: center; /* Center text on mobile */
        padding: 10px; /* Adjust padding */
    }

    .left-column {
        order: 1; /* Display text column first */
    }

    .right-column {
        order: 2; /* Display gallery column second */
    }

    .right-column .gallery img {
        width: 100%;
        height: auto;
        display: block;
    }

    .dots {
        text-align: center;
        margin-top: 10px;
    }
    
    /* Additional spacing to prevent overlap */
    section + section {
        margin-top: 20px;
    }

    /* Ensure the section height adapts to its content */
    section {
        min-height: auto; /* Reset any fixed heights */
        height: auto; /* Allow the section to expand based on content */
    }
    
    .footer-bottom .right {
        margin-top: 10px; /* Increased spacing on mobile */
    }
}

@media (min-width: 600px) {
    #splash {
        height: 100vh; /* Full height for larger screens */
    }

    section {
        flex-direction: row; /* Align columns horizontally on larger screens */
    }

    .left-column, .right-column {
        width: 50%; /* Adjust to 50% for larger screens */
        text-align: left; /* Left-align text on larger screens */
        padding: 20px;
    }

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-bottom {
        flex-direction: row; /* Align items horizontally on larger screens */
        align-items: center;
    }

    .footer-right {
        text-align: right; /* Align footer-right text to the right on larger screens */
    }

    .footer-bottom .left, .footer-bottom .right {
        width: auto; /* Reset width for larger screens */
        margin-top: 0; /* Reset margin for larger screens */
    }
}
.dialog {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 600px;
    height: 85%;
    max-height: 600px;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.dialog-content {
    background-color: #fff;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #888;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.dialog-text {
    display: none;
    line-height: 1.8;
}

.website-list {
    list-style-type: none;
    padding: 0;
}

.website-list li {
    margin: 10px 0;
}

.website-list a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.website-list img {
    width: 75px;
    margin-right: 10px;
    border-radius: 5px; /* Optional: add rounded corners to the logo */
}

.website-list span {
    font-size: 18px;
    font-weight: 500;
}

.website-list a:hover span {
    text-decoration: underline;
}
