/* Church Interior Page Styles */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #4a4a4a;
    --accent-color: #c4a777;
    --background-color: #ffffff;
    --text-color: #333333;
    --spacing-unit: 2rem;
}

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

html, body { 
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

[data-aos] {
    max-width: 100%;
    overflow-x: hidden;
}

/* Navbar Styles */
/*-------------------------------------HEADER-----------------------------------*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #003554;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    height: 95px;
    z-index: 1000;
}

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

.logo img {
    max-height: 80px;
    max-width: 80px;
    margin-right: 10px;
}

.logo p {
    color: white;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #DDAF40;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: var(--transition);
}

.dropdown {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}

.dropdown-menu li {
    position: relative;
    transition: all 0.3s ease;
}

.dropdown-menu li a {
    text-decoration: none;
    color: white;
    display: block;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.dropdown-menu li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #7D5FFF, #5FB7FF);
    transition: all 0.3s ease;
    z-index: -1;
}

.dropdown-menu li:hover::before {
    width: 100%;
}

.dropdown-menu li:hover a {
    transform: translateX(8px);
    color: white;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

@media (min-width: 1025px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 1024px) {
    .dropdown-menu {
        position: static;
        width: 100%;
        background-color: rgba(0, 77, 116, 0.95);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        box-shadow: none;
        border-radius: 8px;
        margin: 10px 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .dropdown-menu li a {
        color: white;
        padding: 15px 20px;
        font-size: 0.9rem;
    }
    .dropdown-menu li:hover::before {
        width: 100%;
    }
    .dropdown-menu li:hover a {
        transform: translateX(5px);
    }
}


@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 95px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 95px);
        background-color: rgba(0, 53, 84, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: 0.5s ease-in-out;
        z-index: 999;
        overflow-y: auto; /* Add scrolling to the menu if needed */
    }
    
    /* Make sure the navbar stays fixed at the top */
    .navbar {
        position: fixed; /* Change from sticky to fixed */
        width: 100%; /* Ensure it spans the full width */
        top: 0;
        left: 0;
        z-index: 1000;
    }
    
    /* Add padding to the body to prevent content from hiding under the fixed navbar */
    body {
        padding-top: 95px; /* Same as navbar height */
    }
    
    /* Rest of your existing mobile styles */
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.5s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: calc(0.1s * var(--i));
    }
    
    .hamburger {
        display: block;
        cursor: pointer;
    }
    
    .hamburger .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background-color: white;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .variants-container {
        grid-template-columns: 1fr;
    }

    .logo p{
        display: none;
    }
  }

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../images/1churchinterior.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 0 var(--spacing-unit);
}

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

}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Project Sections */
.church-projects {
    padding: var(--spacing-unit);
    max-width: 1400px;
    margin: 0 auto;
}

.project {
    display: flex;
    gap: var(--spacing-unit);
    margin: calc(var(--spacing-unit) * 2) 0;
    align-items: center;
}

.project.reverse {
    flex-direction: row-reverse;
}

.project-image {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.project-image:hover img {
    transform: scale(1.05);
}

.project-content {
    flex: 1;
    padding: var(--spacing-unit);
}

.project-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.location {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.project-details p {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.features {
    list-style: none;
}

.features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.features li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Footer Styles */

.contact-form-section {
    padding: 80px 20px;
    background-color: #f5f5f5;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-form-section h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}

.contact-form-section p {
    color: #666;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 0 20px;
    }
    
    .contact-form-section h2 {
        font-size: 2em;
    }
}

footer {
    background-color: var(--primary-color);
    color: white;
    padding: calc(var(--spacing-unit) * 2) var(--spacing-unit);
    margin-top: calc(var(--spacing-unit) * 2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-unit);
}

.footer-section h3 {
    margin-bottom: 1rem;

}

.footer-section img {
    height: 60px;
    margin-top: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-icons {
    margin-top: 1rem;
}

.social-icons a {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-unit);
    padding-top: var(--spacing-unit);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

    .project.reverse {
        flex-direction: column;
    }

    .project-content {
        padding: var(--spacing-unit) 0;
    }

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

@media (max-width: 768px) {
    :root {
        --spacing-unit: 1rem;
    }

    .hero {
        height: 60vh;
    }

    .project-content h2 {
        font-size: 2rem;
    }

    .project-details p {
        font-size: 1rem;
    }
}
