/* ---------- Body & Background ---------- */
body {
    font-family: 'Playfair Display', serif;
    background-color: #f4ecd8; /* yellowish paper */
    background-image: url('graph.png');
    background-size: 350px;
    background-repeat: repeat;
    margin: 0;
    padding: 0;
    color: #000;
    text-align: center;
}

/* ---------- White content box ---------- */
main, .gallery, .film, footer, .intro-section {
    background: white;
    margin: 20px auto;
    padding: 20px;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ---------- Header ---------- */
.site-title-box {
    background: white;
    padding: 30px 0 10px;
    border-bottom: 1px solid #000;
    margin-bottom: 20px;
}

.site-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.symbol-line {
    font-size: 1.5rem;
    margin: 5px 0 10px;
}

.subtitle .cursive-name {
    font-family: 'Homemade Apple', cursive;
    font-size: 1rem;
    display: block;
    margin-bottom: 10px;
}

/* ---------- Fish Symbol ---------- */
.fish {
    font-size: 3.5rem;
    margin: 15px 0;
}

/* ---------- Navigation ---------- */
.nav-box {
    background: white;
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    margin-bottom: 20px;
}

.nav-box a {
    text-decoration: none;
    color: #000;
    margin: 0 15px;
    font-weight: bold;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.nav-box a:hover {
    opacity: 0.5;
}

/* ---------- Home Page Image ---------- */
.home-image {
    max-width: 50%;
    height: 80;
    border-radius: 10px;
    margin-top: 20px;
}

/* ---------- Film Box ---------- */
.film {
    max-width: 900px;          /* bigger than before */
    margin: 35px auto;
    background: white;
    padding: 25px;
    border: 2px solid black;   /* black box around film + title + description */
    border-radius: 12px;
}

.film h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.film p {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

/* ---------- Film Iframe ---------- */
.film-iframe {
    width: 100%;
    aspect-ratio: 16 / 9;   /* ensures all videos same shape */
    border: none;           /* no border around video */
    border-radius: 10px;
    margin: 0 auto;
    display: block;
}

/* ---------- Gallery Images ---------- */
.gallery img {
    width: 300px;
    margin: 10px;
    border-radius: 10px;
}

/* ---------- Moments Page GIF ---------- */
.intro-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.intro-container p {
    font-size: 1.2rem;
    max-width: 400px;
}

.moment-gif {
    max-width: 120px;
    height: auto;
    border-radius: 10px;
}

/* ---------- Photobook Images ---------- */
.photobook img {
    width: 100%;
    max-width: 300px;
    margin: 10px;
    border-radius: 10px;
}

/* ---------- Artbook Container ---------- */
.artbook-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.artbook-container iframe {
    width: 100%;
    height: 500px;
    border: 1px solid lightgray;
    border-radius: 10px;
}

@media (max-width: 600px) {
    .artbook-container iframe {
        height: 350px;
    }
}

/* ---------- Art Book iFrame ---------- */
.artbook-iframe {
    width: 100%;
    max-width: 600px;
    height: 350px;
    border: 1px solid lightgray;
    border-radius: 10px;
    margin: 10px auto;
    display: block;
}

@media screen and (max-width: 480px) {
    .artbook-iframe {
        max-width: 100%;
        height: 250px;
    }
}

/* ---------- Film iframe responsive for mobile ---------- */
@media screen and (max-width: 480px) {
    .film-iframe {
        height: 250px;
    }
}

/* ---------- Responsive Site Title for Mobile ---------- */
@media screen and (max-width: 480px) {
    .site-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .symbol-line {
        font-size: 1rem;
    }

    .subtitle .cursive-name {
        font-size: 1rem;
    }
}

/* ---------- Title and Symbol Spacing ---------- */
.site-title {
    margin-bottom: 1px;
}

.symbol-line {
    margin-top: 0;
    margin-bottom: 8px;
}
