/* BASIC RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: Arial, sans-serif;
    color: #222;
    line-height: 1.6;
    background: url('../assets/background-main.png') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.7); /* Control opacity of background */
    pointer-events: none;
    z-index: -1;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; /* This pushes the footer down */
}


/* TOP CONTACT BAR */
.top-contact {
    background: #276a9e;
    color: #fff;
    font-size: 0.8rem;
    padding: 6px 12px;
    text-align: right;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 5%;
    background: #d4c5b0;
    border-bottom: 1px solid #bca890;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
}
.logo {
    font-size: .75rem;
    font-weight: 600;
    color: #1e5786;
}

/* LOGO IMAGE */
.logo-wide {
    width: 260px; 
    border: 1px solid #1e5786; 
    box-shadow: 2px 2px 2px #276a9e;
}


/* NAVIGATION */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}
nav a {
    text-decoration: none;
    color: #003f42;
    font-weight: 600;
}
nav a:hover { color: #00939a; }

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.hamburger span {
    height: 3px; width: 25px;
    background: #003f42;
    margin-bottom: 5px;
    border-radius: 5px;
}

/* MOBILE MENU */
@media(max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        right: 5%;
        top: 70px;
        background: white;
        width: 200px;
        padding: 20px;
        flex-direction: column;
    }
    nav ul.active { display: flex; }
    .hamburger { display: flex; }

}

/* MAIN PAGE SECTIONS */
.hero {
    padding: 120px 5%;
    text-align: center;
}
.content-section {
    padding: 60px 5%;
    max-width: 900px;
    margin: auto;
}

.text-left {
    text-align: left;
}

/* Container for bars */
.bar-container {
    display: flex;
    justify-content: center;   /* center the bars horizontally */
    align-items: flex-start;   /* align tops */
    gap: 40px;                 /* space between bars */
    margin: 40px 0;            /* space above and below the row */
}

/* Individual bar styling */
.bar {
    background: #e9e2d9;       /* Sand Accent */
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #bca890;
    max-width: 300px;          /* control width */
    text-align: center;        /* center text inside */
}


.widebar {
    background:  #e9e2d9; /* Sand Accent */
    padding: 35px;
    margin: 30px auto 30px auto;
    border-radius: 8px;
    width: 65%;
    border: 1px solid #bca890;
}

.page-top-image {
    width:425px; 
    height: auto; 
    border-radius: 30px; 
    box-shadow: 2px 2px 2px #1e5786
}

/* FOOTER */
footer {
    background: #1e5786; /* Deep Sea Blue */
    color: #ffffff;
    text-align: center;
    padding: 40px 10px;
    margin-top: 100px;
}

/* MOBILE MENU */
@media(max-width: 768px) {
       .widebar {
        width: 90%;
    }
    .page-top-image {
        width: 325px;
    }
}
