/* General Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #713f3f;
    background: #f5f5f5;
}

/* Links */
a {
    text-decoration: none;
    color: #f39c12;
}

a:hover {
    text-decoration: underline;
}

/* Header Styles */
.site-header {
    background: #f39c12;
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 40px;
    width: auto;
}

.site-header h1 {
    font-size: 24px;
    margin: 0;
}

.site-nav {
    display: flex;
    gap: 20px;
}

.site-nav a {
    color: #fff;
    font-size: 16px;
}

.site-nav a:hover {
    text-decoration: underline;
}

/* Navbar Styles */
.site-navbar {
    background: #ffe709;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #713f3f;
    font-size: 16px;
    text-decoration: none;
}

.nav-links a:hover {
    color: #f39c12;
}

.dropdown {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    display: none;
    z-index: 10;
}

.nav-links li:hover .dropdown {
    display: block;
}

.dropdown li {
    margin: 5px 0;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.search-form button {
    padding: 8px 16px;
    background: #f39c12;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-form button:hover {
    background: #713f3f;
}

/* Footer Styles */
.site-footer {
    background: #713f3f;
    color: #fff;
    padding: 30px 0;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-section {
    flex: 1;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin: 10px 0;
}

.footer-links a {
    color: #ffe709;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
}

.social-links a {
    color: #ffe709;
    font-size: 14px;
}

.social-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #fff;
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 14px;
    margin: 0;
}

/* General Container */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Error and Success Messages */
.error {
    background: #ffe709;
    color: #713f3f;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    text-align: center;
}

.success {
    background: #d4edda;
    color: #28a745;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .site-nav {
        margin-top: 10px;
        flex-direction: column;
        gap: 10px;
    }

    .navbar-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .dropdown {
        position: static;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    main {
        padding: 0 10px;
    }
}