/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif; /* Applying the Lora font */
    line-height: 1.6;
    background-color: #ffffff; /* Background color */
    color: #a4313e; /* Text color */
    padding-top: 100px; /* Offset for fixed header */
    margin: 0;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Top Bar Styling */
.top-bar {
    background-color: #000; /* Black background for contrast */
    color: #fff; /* White text color */
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000; /* Ensure it stays above other elements */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute items across the width */
    font-family: 'Lora', serif;
    transition: transform 0.3s ease; /* Smooth transition */
}

/* Container for top bar content */
.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute items across the width */
    width: 100%;
}

/* Welcome text styling */
.welcome-text {
    font-size: 1rem; /* Adjust as needed */
    margin-right: 20px; /* Space between welcome text and other items */
}

/* Contact information styling */
.contact-info-top {
    display: flex;
    align-items: center;
    gap: 40px; /* Space between address and phone numbers */
    margin-right: -400px;
}

/* Address styling */
.address {
    font-size: 0.9rem;
}

/* Phone number styling */
.phone-numbers {
    font-size: 0.9rem;
}

/* Map Icon Styling */
.map-icon {
    display: none; /* Hide by default */
}

.map-icon a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.map-icon a i {
    margin-right: 15px; /* Space between icon and text */
    font-size: 1.2rem; /* Adjust icon size */
}

/* Social Links Styling */
.social-links-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links-top a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.social-links-top a i {
    margin-right: 5px; /* Space between icon and text */
    font-size: 1.2rem; /* Adjust icon size */
}

/* Mobile Styles */
@media (max-width: 1270px) {
    .contact-info-top {
        display: none; /* Hide contact info on mobile */
    }

    .map-icon {
        display: flex; /* Show map icon on mobile */
        margin-left: auto; /* Push map icon to the rightmost position */
        font-size: 0.8rem; /* Adjust font size */
        margin-right: 20; /* Reset margin-right */
    }

    .top-bar {
        font-size: 0.8rem; /* Smaller font size */
        padding: 8px 15px; /* Adjust padding if needed */
        justify-content: space-between; /* Ensure space is distributed */
    }

    .social-links-top {
        gap: 10px; /* Reduced gap between icons */
    }

    .social-links-top a {
        font-size: 0.9rem; /* Smaller icon and text size */
    }

    .social-links-top a i {
        font-size: 1rem; /* Adjust icon size */
    }
}

/* Add transitions for smooth hiding/showing */
.top-bar, header {
    transition: transform 0.7s ease-in-out; /* Adjust timing and easing as needed */
}

/* Adjusting the header position to account for the top bar */
header {
    position: fixed;
    width: 100%;
    top: 45px; /* Adjust this value based on the height of the top bar */
    z-index: 1000; /* Below the top bar */
    background-color: #f4f4f4; /* Matching the background color */
    padding: 15px 0;
    transition: transform 0.8s ease; /* Smooth transition */
}


/* Header */
header {
    position: fixed;
    left: 0;
    width: 100%;
    height: 100px; /* Set header height */
    background-color: #ffffff; /* Background color */
    color: #000000; /* Text color */
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */
}

.logo-container {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.logo {
    width: 170px; /* Logo size */
    height: auto;
}

.menu-toggle {
    display: none; /* Hide menu toggle on larger screens */
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 27px;
    background: none;
    border: none;
    color: #000000;
    cursor: pointer;
}

nav {
    margin-left: 120px;
    flex: 1;
}

nav ul.nav-list {
    list-style: none;
    display: flex;
    justify-content: flex-end; /* Align items to the right */
    padding: 0;
    font-size: 0.85rem; /* Reduce font size */
    gap: 15px; /* Space between items */
}

nav ul.nav-list li {
    margin: 0 10px; /* Reduced margin */
}

nav ul.nav-list li a {
    color: #020202;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 10px; /* Adjusted padding */
    font-family: 'Lora', serif;
}

nav ul.nav-list li a:hover, nav ul.nav-list li a.active {
    border-radius: 4px;
    color: #fefefe;
    background-color: #000000; /* Add background on hover */
}

/* Mobile Styles */
@media (max-width: 1250px) {
    .menu-toggle {
        display: block; /* Show menu toggle on smaller screens */
    }

    nav {
        margin-left: 0;
    }

    nav ul.nav-list {
        display: none; /* Hide nav list on smaller screens */
        position: absolute;
        top: 100px;
        right: 0;
        width: 30%;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        padding: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    nav ul.nav-list.show {
        display: flex; /* Show nav list when 'show' class is added */
    }

    nav ul.nav-list li {
        margin: 0;
        width: 100%;
    }

    nav ul.nav-list li a {
        display: block;
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid #a4313e;
    }

    nav ul.nav-list li a:last-child {
        border-bottom: none;
    }
}

/* Contact Us Section */
#contact-us {
    padding: 30px 15px; /* Reduced padding */
    max-width: 800px; /* Reduced max-width */
    margin: 20px auto; /* Reduced margin */
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Adjusted shadow */
    border-radius: 10px; /* Reduced border-radius */
    color: #000;
    text-align: left;
    margin-top: 45px;

}

#contact-us h1 {
    font-size: 2em; /* Reduced font size */
    margin-bottom: 20px; /* Reduced margin */
    color: #000;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #000; /* Thinner border */
    padding-bottom: 10px;
}

#contact-us p {
    font-size: 1em; /* Reduced font size */
    color: #333;
    line-height: 1.5;
}

/* Contact Information */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Adjusted to 2 columns */
    gap: 20px; /* Reduced gap */
    margin-bottom: 30px; /* Reduced margin */
    text-align: center;
}

.info-block {
    background: #f8f8f8;
    padding: 15px; /* Reduced padding */
    border-radius: 8px; /* Reduced border-radius */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08); /* Adjusted shadow */
}

.contact-info h2 {
    font-size: 1.2em; /* Reduced font size */
    margin-bottom: 10px; /* Reduced margin */
    color: #000;
    text-transform: uppercase;
    border-left: 4px solid #000;
    padding-left: 10px;
}

.contact-info p {
    font-size: 1em; /* Reduced font size */
    color: #666;
}

.contact-info a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-info a:hover {
    color: #000;
    border-bottom: 1px solid #000;
}

/* Google Maps */
.google-maps {
    margin: 30px 0; /* Reduced margin */
    text-align: center;
}

.google-maps h2 {
    font-size: 1.2em; /* Reduced font size */
    margin-bottom: 15px; /* Reduced margin */
    color: #000;
    text-transform: uppercase;
    border-left: 4px solid #000;
    padding-left: 10px;
}

.google-maps iframe {
    width: 100%;
    height: 350px; /* Reduced height */
    border: 2px solid #000;
    border-radius: 8px; /* Reduced border-radius */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Adjusted shadow */
}

/* Social Media */
.social-media {
    margin-top: 30px; /* Reduced margin */
    text-align: center;
}

.social-media h2 {
    font-size: 1.2em; /* Reduced font size */
    margin-bottom: 20px; /* Reduced margin */
    color: #000;
    text-transform: uppercase;
    border-left: 4px solid #000;
    padding-left: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px; /* Reduced gap */
}

.social-links a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em; /* Reduced font size */
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.social-links a i {
    margin-right: 8px; /* Reduced margin */
    font-size: 1.6em; /* Reduced icon size */
}

.social-links a:hover {
    color: #333;
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr; /* Stack in a single column on smaller screens */
    }

    .social-links {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    #contact-us h1 {
        font-size: 1.8em; /* Further reduced font size */
    }

    .contact-info h2,
    .social-media h2 {
        font-size: 1.2em; /* Further reduced font size */
    }

    .contact-info p,
    .social-links a {
        font-size: 0.9em; /* Further reduced font size */
    }
}

/* Footer */
footer {
    background-color: #333;
    color: #ffffff;
    text-align: center;
    padding: 15px 0; /* Adjusted padding */
    font-family: 'Lora', serif;
    margin-top: auto;
}

footer p {
    margin: 10px 0;
}

footer a {
    color: #a4313e;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
