/* Basic Reset & Base Styles for demonstration context */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header Styles */
.site-header {
    background-color: #007bff; /* Primary color */
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.logo {
    font-family: 'Georgia', serif; /* Creative font choice */
    font-size: 28px;
    font-weight: bold;
    color: #ffc107; /* Secondary color for branding */
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #fff;
}

.main-nav ul {
    display: flex;
    gap: 25px; /* Spacing between links */
}

.main-nav a {
    color: #fff;
    font-weight: 600;
    padding: 10px 0;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #ffc107; /* Secondary color for hover effect */
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: #ffc107; /* Active link color */
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001; /* Ensure it's above other content */
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.hamburger-menu span:last-child {
    margin-bottom: 0;
}

/* Footer Styles */
.site-footer {
    background-color: #333;
    color: #f8f9fa; /* Light text on dark background */
    padding: 40px 0 20px;
    font-size: 14px;
}

.site-footer h3 {
    color: #ffc107; /* Secondary color for headings */
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns */
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col p {
    margin-bottom: 10px;
}

.footer-col a {
    color: #f8f9fa;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #007bff; /* Primary color on hover */
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: nowrap; /* Prevent logo and hamburger from wrapping */
    }

    .hamburger-menu {
        display: block; /* Show hamburger on mobile */
    }

    .main-nav {
        flex-basis: 100%; /* Take full width */
        height: 0;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        order: 3; /* Place below logo and hamburger */
    }

    .main-nav.active {
        height: auto; /* Expand menu */
        padding-top: 10px;
        background-color: #007bff; /* Keep background consistent */
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .main-nav li a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav li:last-child a {
        border-bottom: none;
    }

    /* Hamburger animation */
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .footer-columns {
        grid-template-columns: 1fr; /* Single column on mobile */
        text-align: center;
    }

    .footer-col {
        margin-bottom: 30px;
    }

    .footer-col:last-child {
        margin-bottom: 0;
    }
    
    .footer-nav ul {
        align-items: center; /* Center footer links */
    }
}