@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    background-color: #fdebcf;
    color: #333;
    line-height: 1.7;

}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* =========================
header
========================= */

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.8);
    --mask:
        radial-gradient(33.6px at 50% calc(100% - 47px),
            #000 99%, #0000 101%) calc(50% - 40px) 0/80px 100%,
        radial-gradient(33.6px at 50% calc(100% + 27px),
            #0000 99%, #000 101%) 50% calc(100% - 20px)/80px 100% repeat-x;
    -webkit-mask: var(--mask);
    mask: var(--mask);
    opacity: 0.5;
}



.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.7);
}

.nav-item a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    transition: 0.3s;
}

.nav-item a:hover {
    color: cadetblue;
}

/* =========================
hero
========================= */

.hero {
    padding: 0;
}

.key-title {
    background-image: url(../img/IMG_5340.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 56px;
    line-height: 1.5;
}

/* =========================
section
========================= */

section {
    padding: 100px 5%;
}

h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

/* =========================
about
========================= */

.container {
    display: flex;
    align-items: center;
    gap: 40px;

    max-width: 1100px;
    margin: 0 auto 60px;
}


.container img {
    width: 460px;
    height: 300px;
    object-fit: cover;
    display: block;
}

.coment {
    flex: 1;
    font-size: 17px;
    color: #555;
}

/* =========================
event
========================= */

.slider {
    overflow: hidden;
}

.slide-track {
    display: flex;
    width: calc(320px * 6);

    animation: scroll 20s linear infinite;
}

.slide {
    width: 300px;
    height: 220px;
    object-fit: cover;
    margin-right: 20px;
}

@keyframes scroll {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================
photo
========================= */

.Photo-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.photo-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.photo-item:hover {
    transform: scale(1.05);
}

/* =========================
access
========================= */

.access-row {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 40px;

    margin-bottom: 50px;
}

iframe {
    width: 500px;
    max-width: 100%;

    border-radius: 12px;
}

.access-address {
    line-height: 2;
}

.access-list {
    max-width: 900px;
    margin: 0 auto;
}

h3 {
    margin-top: 24px;
    margin-bottom: 10px;
}

h3::before {
    content: "🏖️ ";
}

/* =========================
footer
========================= */

footer {
    padding: 40px;
    text-align: center;

    background-color: rgba(255, 255, 255, 0.8);

    --mask:
        radial-gradient(33.6px at 50% 47px,
            #000 99%, #0000 101%) calc(50% - 40px) 0/80px 100%,
        radial-gradient(33.6px at 50% -27px,
            #0000 99%, #000 101%) 50% 20px/80px 100% repeat-x;

    -webkit-mask: var(--mask);
    mask: var(--mask);
}

footer p {
    font-size: 14px;
}

/* =========================
responsive
========================= */

@media screen and (max-width: 768px) {

    .nav-list {
        gap: 14px;
        font-size: 14px;
    }

    .key-title {
        font-size: 34px;
        padding: 0 20px;
    }

    h2 {
        font-size: 32px;
    }

    .container {
        flex-direction: column;
        gap: 24px;
    }

    .container img {
        width: 100%;
        height: 340px;
        object-fit: cover;
        display: block;
    }

    .Photo-list {
        grid-template-columns: 1fr;
    }

    .access-row {
        flex-direction: column;
    }

    iframe {
        width: 100%;
    }
}