/* =========================
   GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #faf7f2;
    color: #333;
    line-height: 1.6;
}


/* =========================
   HEADER
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    background: white;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 8%;

    z-index: 1000;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 25px;
    font-weight: bold;
    color: #0c7c86;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav a {
    text-decoration: none;
    color: #333;

    margin-left: 25px;

    font-weight: bold;

    transition: 0.3s;
}

nav a:hover {
    color: #0c7c86;
}


/* =========================
   PAGE HERO
========================= */

.page-hero {
    height: 55vh;
    min-height: 400px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.45)
        ),
        url("images/keke27.jpeg") center / cover;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    color: white;

    margin-top: 75px;
}

.hero-content h1 {
    font-size: 60px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 22px;
}


/* =========================
   GENERAL SECTIONS
========================= */

.activities-section,
.gallery-section {
    padding: 90px 8%;
}

h2 {
    text-align: center;

    color: #0c7c86;

    font-size: 35px;

    margin-bottom: 50px;
}


/* =========================
   ACTIVITY CARDS
========================= */

.activity-card {
    max-width: 1100px;

    margin: 0 auto 50px;

    background: white;

    border-radius: 24px;

    overflow: hidden;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);

    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 450px;
}


/* =========================
   ACTIVITY IMAGES
========================= */

.activity-images {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 5px;

    background: #eee;

    min-height: 450px;
}

.activity-images img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/*
   If there are 3 wedding images,
   make the first image slightly larger.
*/

.activity-card.reverse .activity-images {
    grid-template-columns: 1fr 1fr;
}

.activity-card.reverse .activity-images img:first-child {
    grid-row: span 2;
}


/* =========================
   ACTIVITY CONTENT
========================= */

.activity-content {
    padding: 50px;

    display: flex;
    flex-direction: column;

    justify-content: center;
}

.activity-content h3 {
    color: #0c7c86;

    font-size: 32px;

    margin: 10px 0;
}

.activity-subtitle {
    font-size: 19px;

    font-weight: bold;

    color: #555;

    margin-bottom: 20px;
}

.activity-content p {
    margin-bottom: 15px;

    color: #555;
}

.activity-date,
.activity-label {
    display: inline-block;

    align-self: flex-start;

    background: #e6f2f3;

    color: #0c7c86;

    padding: 8px 16px;

    border-radius: 20px;

    font-weight: bold;

    font-size: 14px;
}


/* =========================
   BUTTON
========================= */

.activity-button {
    display: inline-block;

    align-self: flex-start;

    margin-top: 15px;

    padding: 12px 24px;

    border-radius: 25px;

    background: #0c7c86;

    color: white;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;
}

.activity-button:hover {
    transform: translateY(-3px);

    box-shadow: 0 5px 15px rgba(12, 124, 134, 0.25);
}


/* =========================
   CUSTOM ART
========================= */

.custom-art {
    display: grid;

    grid-template-columns: 1.3fr 1fr;
}

.custom-art-image {
    min-height: 400px;

    overflow: hidden;
}

.custom-art-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================
   GALLERY
========================= */

.full-gallery {
    max-width: 1200px;

    margin: auto;

    columns: 3 250px;

    column-gap: 20px;
}

.gallery-photo {
    width: 100%;

    margin-bottom: 20px;

    break-inside: avoid;

    overflow: hidden;

    border-radius: 15px;

    background: white;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.gallery-photo img {
    width: 100%;

    height: auto;

    display: block;
}

.gallery-photo:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}


/* =========================
   FOOTER
========================= */

footer {
    background: #0c7c86;

    color: white;

    text-align: center;

    padding: 30px;

    margin-top: 30px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    header {
        position: relative;

        flex-direction: column;

        padding: 18px 5%;
    }

    .logo {
        margin-bottom: 12px;
    }

    nav {
        justify-content: center;

        gap: 8px;
    }

    nav a {
        margin-left: 8px;
        margin-right: 8px;

        font-size: 14px;
    }


    .page-hero {
        margin-top: 0;

        height: 45vh;

        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }


    .activities-section,
    .gallery-section {
        padding: 60px 5%;
    }

    h2 {
        font-size: 30px;
    }


    .activity-card,
    .custom-art {
        grid-template-columns: 1fr;
    }

    .activity-images {
        min-height: 350px;
    }

    .custom-art-image {
        min-height: 300px;
    }

    .activity-content {
        padding: 30px;
    }

    .activity-content h3 {
        font-size: 27px;
    }


    .full-gallery {
        columns: 2 150px;

        column-gap: 12px;
    }

    .gallery-photo {
        margin-bottom: 12px;
    }
}


@media (max-width: 450px) {

    nav a {
        font-size: 13px;

        margin-left: 5px;
        margin-right: 5px;
    }

    .activity-images {
        grid-template-columns: 1fr;
    }

    .activity-card.reverse .activity-images {
        grid-template-columns: 1fr;
    }

    .activity-card.reverse .activity-images img:first-child {
        grid-row: auto;
    }

    .full-gallery {
        columns: 1;
    }
}

/* =========================
   SCROLL POP-IN ANIMATION
========================= */

.activity-card,
.gallery-photo {
    opacity: 0;
    transform: translateY(50px) scale(0.97);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.activity-card.show,
.gallery-photo.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}