/* General Body Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
}

/* Global Link & Button Styles */
a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    color: #FFD700;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.btn-register {
    background-color: #FFD700;
    color: #000080;
    border: 2px solid #FFD700;
}

.btn-register:hover {
    background-color: #e0c000;
    color: #000080;
}

.btn-login {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 10px;
}

.btn-login:hover {
    background-color: #FFD700;
    color: #000080;
}

/* Header Styles */
.site-header {
    background-color: #000080; /* Secondary color */
    color: #fff;
    padding: 15px 0;
    border-bottom: 3px solid #FFD700; /* Primary color */
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFD700; /* Primary color for logo */
    text-decoration: none;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

.logo:hover {
    color: #fff;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
}

.main-nav a:hover, .main-nav a.active {
    color: #FFD700;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

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

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: #FFD700;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

/* Footer Styles */
.site-footer {
    background-color: #000080; /* Secondary color */
    color: #fff;
    padding: 40px 0 20px;
    border-top: 3px solid #FFD700; /* Primary color */
    font-size: 0.95em;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: #FFD700; /* Primary color */
    font-size: 1.4em;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 5px;
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-column a {
    color: #fff;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #FFD700;
}

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

.footer-column li {
    margin-bottom: 8px;
}

.footer-column.newsletter input[type="email"] {
    width: calc(100% - 100px);
    padding: 10px;
    border: 1px solid #FFD700;
    border-radius: 5px;
    background-color: #1a1a51; /* Darker shade of secondary */
    color: #fff;
    margin-right: 10px;
    margin-bottom: 10px; /* For mobile stacking */
}

.footer-column.newsletter input[type="email"]::placeholder {
    color: #bbb;
}

.footer-column.newsletter .btn {
    width: 90px;
    padding: 10px 15px;
    background-color: #FFD700;
    color: #000080;
    border: none;
    border-radius: 5px;
    font-weight: bold;
}

.footer-column.newsletter .btn:hover {
    background-color: #e0c000;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 0.85em;
    color: #aaa;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .main-nav ul {
        margin-left: 15px;
    }
    .main-nav li {
        margin-left: 20px;
    }
    .auth-buttons {
        margin-left: 15px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo {
        flex-basis: auto;
        margin-right: auto;
    }

    .hamburger-menu {
        display: flex;
    }

    .main-nav {
        width: 100%;
        display: none;
        flex-direction: column;
        background-color: #000080; /* Secondary color */
        position: absolute;
        top: 75px; /* Adjust based on header height */
        left: 0;
        right: 0;
        padding: 10px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
        z-index: 999;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .main-nav li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    }

    .main-nav a {
        display: block;
        padding: 15px 20px;
        color: #fff;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:hover, .main-nav a.active {
        background-color: rgba(255, 215, 0, 0.2);
        color: #FFD700;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 215, 0, 0.2);
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column.newsletter input[type="email"] {
        width: calc(100% - 20px);
        margin-right: 0;
    }

    .footer-column.newsletter .btn {
        width: calc(100% - 20px);
    }
}

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