css/* Base resets and centering */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
}

/* Master container for perfect side borders */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px 20px; /* Removed top padding to let sticky navbar sit flush */
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Updated Sticky Navbar Structure */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
    margin-bottom: 30px;
    
    /* Sticky functionality elements */
    position: sticky;
    top: 0;
    z-index: 100; /* Keeps navbar above content and images */
    
    /* Design tweaks for sticky mode */
    border-radius: 0 0 5px 5px; /* Keeps rounded edges only at the bottom */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.menu-links {
    display: flex;
    gap: 10px;
}

.menu-links a {
    color: white;
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 4px;
    transition: background 0.3s;
}

.menu-links a:hover {
    background-color: #555;
}

.menu-links a.active {
    background-color: #007bff;
}

/* Hamburger button hidden by default (Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101; /* Must sit higher than the sticky menu wrapper */
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Body Content and Images */
.content {
    text-align: center;
}

.content h1 {
    margin-bottom: 15px;
    color: #333;
}

.content p {
    margin-bottom: 25px;
    color: #666;
}

/* Added extra placeholder spacing so you can scroll and test the sticky feature */
.content::after {
    content: "";
    display: block;
    height: 500px; 
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* Mobile Devices Optimization (Screen sizes under 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 10px 10px 10px;
        box-shadow: none;
    }

    .hamburger {
        display: flex; /* Shows hamburger icon on mobile */
    }

    /* Transform hamburger lines into an 'X' when open */
    .hamburger.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Hide links menu by default on mobile, position it absolute */
    .menu-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #333;
        padding: 15px;
        border-radius: 0 0 5px 5px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 99;
    }

    /* JavaScript toggles this class to show the menu links */
    .menu-links.show {
        display: flex;
    }

    .menu-links a {
        width: 100%;
        padding: 12px;
    }
}
.contact-image-wrapper {
    text-align: center;
    margin-top: 30px;
}

.clickable-contact-img {
    max-width: 100%;
    height: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer; /* Changes mouse pointer to a hand icon */
}

/* Changes opacity on hover so the user knows it's a link */
.clickable-contact-img:hover {
    opacity: 0.8;
    transform: translateY(-2px); /* Moves up slightly */
}

.social-image-wrapper {
    text-align: center;
    margin-top: 30px;
}

.clickable-contact-img {
    max-width: 100%;
    height: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer; /* Changes mouse pointer to a hand icon */
}

/* Changes opacity on hover so the user knows it's a link */
.clickable-contact-img:hover {
    opacity: 0.8;
    transform: translateY(-2px); /* Moves up slightly */
}


/* 1. Modify your existing .container rule to support a bottom-aligned footer */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    
    /* New additions to push footer down */
    display: flex;
    flex-direction: column;
}

/* 2. Ensure the content fills available space so footer stays at the bottom */
.content {
    text-align: center;
    flex: 1; /* Pushes the footer down if content is short */
}

/* 3. New Footer Styling */
.site-footer {
    margin-top: 40px;
    padding: 20px;
    background-color: #333; /* Dark background to match the navbar */
    border-radius: 5px;     /* Smooth rounded corners matching the design */
    text-align: center;
}

.site-footer p {
    color: #ffffff;         /* Changed text color to white for contrast */
    font-size: 14px;
}

/* 4. Mobile tweaks for the footer */
@media (max-width: 768px) {
    .site-footer {
        margin-top: 25px;
        padding: 15px 0;
    }
    
    .site-footer p {
        font-size: 12px;
    }
}
