/* Global Styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #212529;
    padding-top: 78px;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
}

/* Header Styles from header.html */
header {
    background: #1B3022;
    padding: 1rem 0;
    border-bottom: 1px solid #1B3022;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

header .logo img {
    height: 45px;
    vertical-align: middle;
}

header .desktop-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header .desktop-nav ul li {
    display: inline;
    margin-left: 45px;
}

header .desktop-nav ul li:first-child {
    margin-left: 0;
}

header .desktop-nav ul li a {
    color: #f8f9fa;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

header .desktop-nav ul li a:hover {
    color: #D4AF37;
}

/* Hamburger Menu & Mobile Styles */
.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: #D4AF37;
    transition: 0.3s;
}

.close-menu {
    display: none;
}

@media (max-width: 768px) {
    header .container {
        display: flex;
        justify-content: center; /* Logo in the middle */
        position: relative;
    }

    .hamburger-menu {
        display: flex;
        position: absolute;
        right: 0; /* Hamburger on the right */
        top: 50%;
        transform: translateY(-50%);
    }

    header .desktop-nav {
        position: fixed;
        top: 0;
        left: -100%; /* Start off-screen */
        width: 250px;
        height: 100vh;
        background-color: #1B3022;
        transition: left 0.3s ease-in-out; /* Slide in gradually */
        padding-top: 80px;
        box-shadow: 2px 0 5px rgba(0,0,0,0.5);
    }

    header .desktop-nav.active {
        left: 0; /* Slide in */
    }

    header .desktop-nav ul li {
        display: block;
        margin: 20px 0 20px 25px;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 25px;
        font-size: 3rem;
        color: #D4AF37;
        cursor: pointer;
        line-height: 0.5;
    }
}

/* Footer Styles from footer.html */
footer {
    background: #343a40;
    color: #f8f9fa;
    margin-top: 3rem;
    padding-top: 3rem;
}

.footer-main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #495057;
}

.footer-location {
    flex: 1;
    max-width: 350px;
}

.footer-location img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.footer-info {
    flex: 1.5;
    text-align: left;
}

.footer-info h4 {
    font-size: 1.5rem;
    color: #D4AF37; /* Theme secondary color */
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-info p {
    margin-bottom: 1rem;
    color: #dee2e6;
}

.footer-info a {
    color: #f8f9fa;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
    color: #D4AF37;
}

.footer-contact-form {
    margin-top: 2rem;
}

.footer-contact-form .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact-form input,
.footer-contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #6c757d;
    background-color: #495057;
    color: #f8f9fa;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.9rem;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.footer-contact-form input::placeholder,
.footer-contact-form textarea::placeholder {
    color: #adb5bd;
}

.footer-contact-form .form-row input {
    flex: 1;
}

.footer-contact-form textarea {
    margin-bottom: 1rem;
    height: 100px;
    resize: vertical;
}

.footer-contact-form .submit-button {
    width: 100%;
    padding: 12px;
    background-color: #D4AF37;
    color: #1B3022;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-contact-form .submit-button:hover {
    background-color: #fff;
    color: #1B3022;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    color: #adb5bd;
}

@media (max-width: 768px) {
    .footer-main-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .footer-info {
        text-align: center;
    }

    .footer-contact-form .form-row {
        flex-direction: column;
    }
}