/* General Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}


:root {
    --base: #031515;
    --yellow: #D79600;
    --white: #fff;
    --blue: #1a3685;
    --font-primary: 'Outfit', sans-serif;
    --transition: 0.3s ease;
    --border-radius: 10px;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
}

/* Global Styles */
body {
    font-family: var(--font-primary);
    background-color: #f5f5f5;
    color: var(--base);
    line-height: 1.6;
}

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

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--base);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo_container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    width: 78px;
    margin-right: 0.5rem;
}

.logo_text {
    color: var(--yellow);
    font-weight: bold;
    font-size: 1.25rem;
}

.nav_bar {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.menu a:hover {
    color: var(--yellow);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.3rem;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--yellow);
    transition: transform 0.3s ease-in-out;
}

/* Responsive Styles */
@media (max-width: 768px) {

    .logo_text {
        display: none;
    }

    .logo {
        display: flex;
        width: 100px;
    }

    .menu {
        display: none;
        
    }

    .menu[data-visible="true"] {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 1rem;
        background-color: var(--base);
        border: 1px solid var(--yellow);
        border-radius: 10px;
        width: 250px; /* Adjust as needed */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
        align-items: stretch; /* Ensures buttons are the same width */
        z-index: 1000;
        padding: 0.5rem;
    }

    .menu[data-visible="true"] a {
        padding: 0.5rem 1rem;
        text-align: center;
        border-radius: 0;
        width: 100%;
        display: block;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .menu[data-visible="true"] a:hover {
        background-color: var(--yellow);
        color: var(--base);
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 1024px) {
    .menu {
        display: none;
    }

    .menu[data-visible="true"] {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 1rem;
        background-color: var(--base);
        border: 1px solid var(--yellow);
        border-radius: 10px;
        width: 250px; /* Adjust as needed */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        padding: 0.5rem 0;
    }

    .menu[data-visible="true"] a {
        padding: 0.75rem 1rem;
        text-align: center;
        border-radius: 0; /* No border radius for full-width effect */
        width: 100%;
        display: block; /* Ensures the link takes the full width */
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .menu[data-visible="true"] a:hover {
        background-color: var(--yellow);
        color: var(--base);
    }

    .hamburger {
        display: flex;
    }
}

.contact-us {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-md);
    background: var(--base);
    color: var(--yellow);
    width: 100%;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-art {
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-md);
    background-color: var(--yellow);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info {
    padding: var(--spacing-md);
    color: var(--base);
    text-align: center;
}

.contact-art img {
    max-width: 100%;
    height: auto;
    width: 250px;
    filter: brightness(0.9);
    object-fit: contain;
    transition: transform var(--transition), filter var(--transition);
}

.contact-art img:hover {
    transform: scale(1.05);
    filter: brightness(1);
}

.contact-form {
    width: 100%;
    padding: 0 var(--spacing-md);
}

.contact-form h2 {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    color: var(--yellow);
    margin-bottom: var(--spacing-sm);
}

.contact-form p {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.contact-form label {
    display: block;
    font-size: 0.875rem;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: calc(var(--border-radius) / 2);
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transition: border-color var(--transition), background var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--yellow);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .button {
    background-color: var(--yellow);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: calc(var(--border-radius) / 2);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform var(--transition), background-color var(--transition);
    width: 100%;
}

.contact-form .button:hover {
    transform: translateY(-2px);
    background-color: #e6a300;
}

@media (min-width: 768px) {
    .contact-us {
        padding: var(--spacing-lg);
    }

    .contact-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-art {
        width: 45%;
    }

    .contact-form {
        width: 55%;
        padding: 0 var(--spacing-lg);
    }

    .contact-form h2 {
        font-size: 2rem;
    }

    .contact-form p {
        font-size: 1rem;
    }

    .contact-form .button {
        width: auto;
    }
}

/* Desktop Breakpoint */
@media (min-width: 1024px) {
    .contact-container {
        gap: var(--spacing-lg);
    }

    .contact-art img {
        width: 300px;
    }

    .contact-form {
        padding: 0 var(--spacing-lg);
    }
}

/* Large Desktop Breakpoint */
@media (min-width: 1440px) {
    .contact-us {
        padding: calc(var(--spacing-lg) * 2);
    }

    .contact-container {
        gap: calc(var(--spacing-lg) * 2);
    }
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background overlay */
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.modal-content {
    background-color: var(--base); /* Matches theme's base color */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    color: var(--white); /* Text color matching theme */
    text-align: center;
    width: 90%; /* Responsive width */
    max-width: 400px; /* Limit modal size */
    position: relative; /* For positioning the close button */
}

/* Modal Heading */
.modal-content h2 {
    font-size: 1.5rem;
    color: var(--yellow); /* Highlight heading */
    margin-bottom: 1rem;
}

/* Modal Paragraph */
.modal-content p {
    font-size: 1rem;
    color: var(--white); /* Standard text color */
    margin-bottom: 1.5rem;
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: var(--yellow); /* Matches theme's yellow color */
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-modal:hover {
    color: var(--white); /* Change to blue on hover */
    transform: scale(1.2); /* Slight zoom effect */
}

@media screen and (max-width: 768px) {
    .modal-content {
        padding: 15px;
        font-size: 14px; /* Slightly smaller text for mobile */
    }

    .close-modal {
        font-size: 20px; /* Adjust size for smaller screens */
        top: 8px;
        right: 10px;
    }
}

@media screen and (max-width: 480px) {
    .modal-content {
        padding: 10px;
        font-size: 12px; /* Further size adjustment for very small screens */
    }

    .close-modal {
        font-size: 18px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-art {
        display: flex;
    }
    .contact-form {
        order: 1;
        padding: 1rem;
    }
}
/* Footer Section */
.footer {
    background: linear-gradient(180deg, #031515, #222020);
    color: var(--yellow);
    padding: 2rem 1rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--yellow);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icons a {
    color: #ffcc00;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
    transform: scale(1.2);
}

.footer-copy {
    font-size: 0.9rem;
    color: #bbb;
    margin-top: 1rem;
}

.footer-copy strong {
    color: #ffcc00;
}

/* Page Transition Styles */
#page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black; /* Matches the theme */
    z-index: 9999;
    opacity: 0; /* Initially hidden */
    pointer-events: none; /* Prevent interference */
    transition: opacity 0.5s ease-in-out;
}

#page-transition.active {
    opacity: 1; /* Make it visible */
    pointer-events: all;
}
