/* welcome_style.css */

@font-face {
    font-family: 'Franklin Gothic Demi';
    src: url('resources/Franklin\ Gothic\ Demi.woff2') format('woff2'),
         url('resources/Franklin\ Gothic\ Demi.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    background: #DAD7CD; /* Light background color */
    color: #344E41; /* Dark text color */
    display: flex;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Franklin Gothic Demi', sans-serif;
}

.sidebar {
    background: #3A5A40; /* Darker sidebar color */
    padding: 1rem 0;
    width: 287.5px; /* Increased sidebar width by 25% from original 250px */
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar .container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .container ul li {
    position: relative;
}

.sidebar .container ul li a {
    color: #DAD7CD; /* Light text color */
    font-size: 1.80895rem; /* Increased font size by 45% from original 1.3rem */
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar .container ul li a:hover {
    background-color: #588157; /* Hover color */
    color: #DAD7CD; /* Light hover text color */
}

.sidebar .container ul li .submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .container ul li:hover .submenu {
    display: block;
}

.submenu li a {
    padding-left: 2rem;
    font-weight: normal;
    color: #A3B18A; /* Submenu text color */
    background-color: #3A5A40; /* Submenu background */
    border-left: 4px solid #588157; /* Border color */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.submenu li a:hover {
    color: #DAD7CD; /* Light hover text color */
    background-color: #588157; /* Hover background color */
}

.main-content {
    margin-left: 287.5px; /* Increased sidebar width by 25% */
    padding: 2rem;
    width: calc(100% - 287.5px); /* Adjusted to match increased sidebar width */
    background: #DAD7CD; /* Light background */
    text-align: center;
    transition: margin-left 0.3s ease;
}

.background-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('resources/House_3.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.content-section {
    background: #FFFFFF; /* White background for content */
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.content-section.light-grey {
    background: #A3B18A; /* Light grey background */
    padding: 2rem;
}

.main-title {
    font-size: 5rem;
    letter-spacing: 0.1rem;
    color: #ffffff; /* Light title color */
    text-align: center;
    padding: 1rem 0;
}

footer {
    background: #3A5A40; /* Darker footer background */
    color: #DAD7CD; /* Light footer text */
    text-align: center;
    padding: 0.25rem;
    font-size: 0.75rem;
    width: 100%;
}

footer p {
    font-size: 1.5em;
}

.image-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1rem 0;
}

.image-container.light-grey {
    background: #A3B18A; /* Light grey background */
}

.responsive-img {
    max-width: 45%;
    height: auto;
    margin: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
}

.hamburger-menu {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: #344E41;
}

@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }
    .sidebar .container ul li a {
        padding: 0.5rem;
    }
    .submenu li a {
        padding-left: 1.5rem;
    }
    .main-content {
        margin-left: 200px;
        width: calc(100% - 200px);
    }
}

@media (max-width: 480px) {
    body, html {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .sidebar .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .sidebar .container ul {
        flex-direction: column;
        width: 100%;
    }
    .sidebar .container ul li {
        width: 100%;
    }
    .sidebar .container ul li a {
        padding: 1rem;
        text-align: center;
    }
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 1rem;
    }
    .background-section {
        min-height: 50vh;
    }
    .main-title {
        font-size: 2rem;
    }
    .content-section, .content-section.light-grey {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    .image-container {
        flex-direction: column;
        align-items: center;
    }
    .responsive-img {
        max-width: 90%;
        margin: 0.5rem 0;
    }
    .hamburger-menu {
        display: flex;
    }
}
