/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", "sans-serif";  
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Header */
header {
    font-family: "Open Sans", "sans-serif";
    text-align: center;
    background: #fff;
    padding: 20px 10px;
}

header h1 {
    color: red;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 10px;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav ul li a.active,
nav ul li a:hover {
    color: red;
    border-bottom: 2px solid red;
}

/* Main Section Styling */
main {
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

main h2 {
    font-size: 2rem;
    color: red;
    margin-bottom: 20px;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.contact-form, .visit-info {
    flex: 1;
    max-width: 500px;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-form h3,
.visit-info h3 {
    color: red;
    margin-bottom: 15px;
}

.contact-form p,
.visit-info p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #555;
}

.contact-form form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #555;
}

.contact-form form input,
.contact-form form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
}

.contact-form form button {
    display: block;
    width: 100%;
    background-color: red;
    color: #fff;
    padding: 10px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form form button:hover {
    background-color: #e14a2b;
}

input,
textarea {
    font-family: inherit;
    font-size: 1rem;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.cta h3{
    /* background: #ffebcd; */
    color: red;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: red;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.btn:hover {
    background: #ff6500;
}

/* Default Navigation (Desktop) */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    display: inline-block;
    padding: 10px 15px;
}

nav ul li a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    text-align: center;
    background-color: red;
    color: white;
    padding: 10px;
    cursor: pointer;
}

/* Mobile Dropdown */
.mobile-dropdown {
    display: none;
    flex-direction: column;
    background-color: #333;
}

.mobile-dropdown a {
    color: white;
    padding: 10px;
    text-decoration: none;
    display: block;
}

.mobile-dropdown a:hover {
    background-color: #555;
}

/* Responsive Design: Hide Desktop Menu on Mobile */
@media screen and (max-width: 768px) {
    nav ul {
        display: none; /* Hide desktop nav on mobile */
    }

    .mobile-nav {
        display: block; /* Show mobile menu button */
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    color: #777;
    font-size: 0.9rem;
    border-top: 1px solid #ddd;
}

/* =============== MODAL POPUP STYLES =============== */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999; /* On top of everything */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dim the background */
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex; /* Show the modal when active */
}

.modal {
    background-color: #fff;
    padding: 2em;
    border-radius: 8px;
    max-width: 400px;
    width: 80%;
    text-align: center;
    position: relative;
}

.modal h2 {
    margin-top: 0;
    color: red; /* Adjust color if you want */
    font-size: 1.5rem;
}

.modal p {
    margin: 1em 0;
    color: #333;
}

.modal-close {
    position: absolute;
    top: 0.5em;
    right: 1em;
    cursor: pointer;
    font-size: 1.2em;
    color: #888;
}

.modal-close:hover {
    color: #333;
}

.modal-button {
    background-color: red;
    color: #fff;
    padding: 0.5em 1.2em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1em;
    font-weight: bold;
}

.modal-button:hover {
    background-color: #ff6500;
}

.social-media a {
    text-decoration: none;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.2);
}
