.home-page {
    margin: 0;
    padding: 0;
    font-family: 'DM Serif Display', serif;
    background-image: url('../assets/IMG_4631.JPG');
    background-size: cover; /* Ensures it covers the whole screen */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
    /* text-align: center; */
    min-height: 100vh; /* Ensures full height */
    display: flex;
    flex-direction: column;
}
.about-page {
    background: black; /* Or another color */
    font-family: 'DM Serif Display', serif;
}

.about-page h1 {
    color: white;
    text-align: center;
    margin-top: 50px;
    font-family: 'DM Serif Display', serif;
}
.introduction {
    font-family: 'DM Serif Display', serif;
}
.about-page h2{
    color: white;
    text-align: center;
    font-size: xx-large;
}
.about-page p {
    color: white;
}
.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    gap: 20px;
    flex-direction: row;
}

/* Text Section */
.about-text {
    flex: 1;
    max-width: 60%;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
}

/* Image Section */
.about-image {
    flex: 1;
    max-width: 40%;
    text-align: left;
}

.about-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid whitesmoke;
}
.back-home {
    text-align: center; /* Centers the link */
    margin-top: 30px; /* Adds space above the link */
    margin-bottom: 50px;
}

/* Style the Link */
.back-home a {
    font-size: 1.2rem;
    color: white; /* Makes text white */
    text-decoration: none; /* Removes underline */
    background-color: #333; /* Adds a subtle background */
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s ease;
}

/* Hover Effect */
.back-home a:hover {
    background-color: #555; /* Slightly lighter on hover */
}

/* Header Styles */
header {
    padding: 20px 0;
}

.logo {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 30px;
    color: black;
    text-align: center;
}

/* Navigation Styles */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 40px; /* Spaces out links */
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    font-size: 1.2rem;
    color: black;
    font-weight: normal;
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
    color: gray;
}
.gallery-page {
    background-color: black;
}
.gallery-page h2 {
    color: white;
    text-align: center;
    margin-top: 50px;
}

.container {
    width: 90%;
    margin: auto;
}
/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px;
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

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

.contact-page {
    background: black;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Contact Section */
.contact-container {
    text-align: center;
    max-width: 600px;
    width: 90%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #ddd;
    margin: 0 auto;
    box-sizing: border-box;
    
}

/* Heading & Paragraph */
.contact-container h2 {
    font-size: 2rem;
    font-family: 'DM Serif Display', serif;
    margin-bottom: 10px;
}

.contact-container p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #ddd;
    
    
}

/* Form Styling */
.contact-form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    box-sizing: border-box;
    
    
}

.input-group {
    width: 100%; 
    text-align: left; 
    display: flex;
    flex-direction: column; 
    align-items: stretch;
    margin: 0 auto; 
}

.input-group label {
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

.input-group input, 
.input-group textarea {
    width: calc(100% - 20px);
    padding: 12px;
    /* max-width: 580px; */
    border: 1px solid #666;
    border-radius: 5px;
    font-size: 1rem;
    background: #222;
    color: white;
    margin: auto;
    display: block;
}

/* Submit Button */
.submit-btn {
    background: #444;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #666;
}

/* Responsive for smaller screens */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 15px; /* Less spacing in mobile layout */
    }

    .about-text, .about-image {
        max-width: 90%;
    }

    .about-image {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-text h2 {
        font-size: 1.8rem;
    }
    .about-image {
        max-width: 60%;
    }
    .about-text p {
        font-size: 1rem;
    }
    .contact-container {
        max-width: 90%;
        width: 90%;
        margin: 0 auto;
    }
    .contact-form {
        max-width: 100%;
    }


    .input-group input, 
    .input-group textarea {
        width: 90%;
    }
    .about-page h2 {
        font-size: 1.5rem;
    }
    
}

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