body {
    font-family: 'Poppins', sans-serif;
margin: 0;
    padding: 0;
    background-image: url(bg.jpg); /* Forest-themed background image */
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    background-attachment: fixed;
background-size: cover;
    background-color: #244e27bb; /* Light neutral background */
        color: #2e2e2e; /* Dark text for readability */
    line-height: 1.6;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styling */
header {
    background: linear-gradient(135deg, #3b5323, #2e8b57); /* Forest green gradient */
                color: #ffffff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 3em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
                }

header p {
    font-size: 1.5em;
    margin-top: 10px;
}

.navbar {
    text-align: center;
    margin-top: 10px;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.navbar ul li {
    display: inline;
        }

.navbar ul li a {
    text-decoration: none;
    font-size: 1.2em;
    color: #ffffff; /* White text for links */
    background-color: #3a684eb1; /* Forest green background */
    padding: 20px 25px 25px;
    margin: 3px 5px 0px;
    border-radius: 20px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.navbar ul li a:hover {
    background-color: #2e8b57; /* Dark green on hover */
    transform: scale(1.05);
}

/* Active Link Styling */
.navbar ul li a.active {
    background-color:#105a30; /* Dark green for active link */
}

h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #3b5323; /* Forest green for headings */
    text-align: center;
}

.section p {
    font-size: 1.2em;
    margin-bottom: 20px;
    text-align: center;
    color: #4e4e4e; /* Neutral text color */
}


/* Two-column layout for the gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Two columns */
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Two-column layout for contact and follow sections */
.contact-details{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 40px;
    padding: 10px 50px;

}
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 40px;
    padding: 30px 50px;
    margin: 1.5in auto;
}

.contact-details ul,
.social-links ul {
    list-style: none;
    padding: 0;
}

.contact-details li,
.social-links li {
    margin: 10px 0;
    font-size: 1.2em;
}

.contact-details a,
.social-links a {
    color: #2e8b57; /* Forest green for links */
    text-decoration: none;
    font-weight: bold;
}

.contact-details a:hover,
.social-links a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    padding: 40px 0;
    background: #3b5323; /* Dark forest green footer */
    color: #ffffff;
    font-size: 1em;
}

a {
    color: #2e8b57; /* Forest green for links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Two-column layout for About and Gallery sections */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 20px;
    align-items: start;
}

.content-container,
.about-column,
.gallery-column {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-column h2,
.gallery-column h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #3b5323; /* Forest green for headings */
    text-align: center;
}

.about-column p {
    font-size: 1.2em;
    line-height: 1.6;
    text-align: justify;
    color: #4e4e4e; /* Neutral text color */
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns for photos */
    gap: 10px;
}

.gallery-item {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* House Tour Section */
.house-tour-section {
    text-align: center; /* Center-align the entire section */
    margin: 20px auto;
}

.house-tour-title {
    color: aliceblue;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center; /* Ensure the title is centered */
    position: static; /* Ensure the title does not stick out when scrolling */
}

.house-tour-gallery {
    display: flex;
    justify-content: center; /* Horizontally center the video */
    align-items: center; /* Vertically center the video if needed */
    flex-direction: column;
}

.house-tour-video {
    width: 70%; /* Set the video width to 80% of its container */
    max-width: 500px; /* Set a maximum width for the video */
    height: auto; /* Maintain the aspect ratio */
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Add a shadow */
    margin: 0 auto; /* Center the video horizontally */
    display: block; /* Ensure the video behaves like a block element */
}

/* Text Container with White Background */
.text-container {
    background-color: #ffffff; /* White background */
    padding: 20px; /* Add padding for spacing */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    color: #2e2e2e; /* Dark text for readability */
    margin: 20px auto; /* Center the container and add spacing */
    max-width: 800px; /* Limit the width for better readability */
    text-align: justify; /* Justify the text for a clean look */
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }

    .section {
        padding: 20px;
    }

    .gallery {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }

    .contact-details,
    .social-links {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }

    .two-column-layout {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }

    .gallery {
        grid-template-columns: 1fr; /* Single column for photos */
    }
}