/* GENERAL */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* HEADER */
header {
    background: darkgreen;
    padding: 20px;
    display: flex;
    align-items: center;
}

.province_of_bulacan {
    width: 100px;
}

header h1 {
    color: white;
    margin-left: 15px;
    font-size: 36px;
    font-weight: bold;
}

/* NAVBAR */
.navbar {
    background-color:green;
    text-align: center;
    padding: 12px;
}

/* NORMAL LINKS */
.navbar a {
    color: white;
    text-decoration: none;
    margin: 0 18px;
    font-weight: bold;
    font-size: 16px;
}

.navbar a:hover {
    color: lightblue;
}

/* DROPDOWN */
.dropdown {
    display: inline-block;
    position: relative;
}

.dropbtn {
    background-color: white;
    color: black;
    border: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

.dropbtn:hover {
    color: #FFD700;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f5f5f5;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #004d7a;
    padding: 12px;
    display: block;
    text-decoration: none;
    font-weight: bold;
}

.dropdown-content a:hover {
    background-color: #FFD700;
    color: black;
}

/* SHOW DROPDOWN */
.dropdown:hover .dropdown-content {
    display: block;
}

/* MAIN CONTENT */
.main-content {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    gap: 40px;
    flex-wrap: wrap;
}

/* SIDEBAR */
.sidebar {
    flex: 1;
    min-width: 200px;
    height: fit-content;
}

.sidebar h3 {
    margin-top: 0;
     color: black;
    text-align: center;
}

.sidebar-box {
    background-color: #f5f5f5;
    border: 2px solid black;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sidebar-box ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.sidebar-box ul li {
    margin-bottom: 10px;
}

.sidebar-box ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.sidebar-box ul li a:hover {
    color: #FFD700;
}

/* CONTENT AREA */
.photo-text {
    flex: 3;
    min-width: 300px;
}

.photo-text .main-photo {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* IMAGE GRID */
.side-by-side {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.side-by-side .small-photo {
    width: 30%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* TEXT */
.text-section h2 {
    color: #8B4513;
    margin-top: 0;
}

.text-section p {
    line-height: 1.6;
}

/* FOOTER */
footer {
    background-color: darkgreen;
    padding: 20px;
    text-align: center;
    color: white;
}

/* HERO SECTION */
.hero {
    height: 110vh;
    background-image: url('../images/first_page_photo2.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
    text-align: center;
}

/* DARK OVERLAY */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.hero-text {
    position: relative;
}

.hero-text h1 {
    font-size: 50px;
    margin: 0;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.hero-text p {
    font-size: 22px;
    margin-top: 10px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .side-by-side .small-photo {
        width: 100%;
    }

    header {
        flex-direction: column;
        text-align: center;
    }

    .navbar a,
    .dropbtn {
        display: inline-block;
        margin: 8px;
    }
}