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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
}

h1, h2, h3 {
    font-family: 'Fraunces', serif;
    font-weight: 300;
}

/* Main content area */
main {
    padding-top: 60px;
}

section {
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

section h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

section p {
    max-width: 800px;
    line-height: 1.6;
    text-align: center;
}



/* About section */
#about {
    background: white;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-row {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

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

.about-text {
    flex: 2;
    text-align: left;
    min-width: 0;
    order: 1;
}


.about-text-right {
    order: 2;
}


.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.about-text p {
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: none;
}

.about-image {
    flex: 1 0 0;
    min-width: 0;
    order: 2;
}

.about-image-left {
    order: 1;

}

.about-image-left img {
    aspect-ratio: 1;
    border-radius: 50%;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
/* Alternate Section backgrounds */

/* Gallery section */
#gallery {
    background: white;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.gallery-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #666;
    max-width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0px;
    cursor: pointer;
    position: relative;
}

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

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



/* Scroll-triggered fade/slide animations */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile styles */
@media (max-width: 768px) {

    main {
        padding-top: 0;
    }

    section {
        padding: 5rem 1.5rem 2rem 1.5rem;
        min-height: auto;
    }

    section h1 {
        font-size: 2rem;
    }

    /* About section: stack image above text on mobile */
    .about-row {
        flex-direction: column;
    }

    .about-text,
    .about-text-right {
        order: 2;
    }

    .about-image,
    .about-image-left {
        order: 1;
        max-width: 220px;
        margin: 0 auto;
    }

    /* Gallery section mobile adjustments */
    .gallery-container h1 {
        font-size: 2rem;
    }

    .gallery-intro {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
}