:root {
    --primary-color: #14213d;
    --secondary-color: #ff5722;
    --text-color: #333;
    --light-bg: #f5f6fa;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-nav {
    background: var(--primary-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--secondary-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-sub {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Nav contact info */
.nav-right .contact-info {
    display: flex;
    gap: 1.5rem;
    background: none;
    padding: 0;
    box-shadow: none;
}

.nav-right .contact-info a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.nav-right .contact-info a:hover {
    color: var(--secondary-color);
}

/* Contact section info */
.contact-container .contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-details i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 20px;
}

.hours {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.hours h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.hours ul {
    list-style: none;
}

.hours ul li {
    margin-bottom: 0.5rem;
}

.hero {
    margin-top: 64px; /* Adjusted to remove gap: nav height */
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('/images/hero.jpg') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    margin-bottom: 2.5rem;  /* Increased from default spacing */
}

.cta-button {
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;  /* Remove underline */
    transition: transform 0.3s, background 0.3s;
}

.cta-button:hover {
    background: #e64a19;
    transform: translateY(-2px);
}

section {
    padding: 5rem 2rem;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1200px) {
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.about {
    background: var(--light-bg);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    justify-items: center;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--secondary-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 1; /* Ensure proper stacking with Leaflet controls */
}

/* Add Leaflet specific styles */
.leaflet-popup-content-wrapper {
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
}

.leaflet-popup-tip {
    background: var(--primary-color);
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .map-container {
        order: -1;
    }

    .nav-right .contact-info {
        display: none;
    }
}

/* Gallery styles */
.gallery {
    background: var(--light-bg);
    padding: 5rem 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    padding: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    right: 35px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem;
}
.nav-toggle {
    display: none; /* Hide by default */
}

@media (max-width: 768px) {
    .nav-right {
        gap: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        padding: 1rem 0;
        flex-direction: column;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
        color: white;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        margin-top: 64px; /* Adjusted for mobile */
    }

    .nav-content {
        position: relative;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: -2rem; /* Compensate for container padding */
        width: calc(100% + 4rem); /* Account for container padding */
    }
}


/* logo */
.logo-img {
    height: 50px; 
    /* rounded corners */
    border-radius: 40%;
}