@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap');

@font-face {
    font-family: 'Autography';
    src: url('Autography.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Lora', serif;
    margin: 0;
    padding: 0;
    background: #fff url('squarepaper.jpg');
    background-repeat: repeat;
    background-size: auto;
    color: #3B3B39;
    line-height: 1.7;
    font-size: 1.18em;
}

header {
    background: linear-gradient(135deg, #f5f5f5 0%, #424242 100%);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    /* Override body background for header only */
    background-blend-mode: normal;
}

h1 {
    margin: 0;
    font-size: 2.3em;
    text-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 1.25em;
    font-family: 'Lora', serif;
    font-weight: 600;
    line-height: 1.42;
    margin-top: 0;
    margin-bottom: 10px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.08);
    color: #fff;
    letter-spacing: 0.06em;
}

.site-name {
    font-family: 'Autography', 'Dancing Script', cursive;
    font-size: 3.7em;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 2px 6px rgba(0,0,0,0.12);
    margin-top: 0;
    margin-bottom: 22px; /* Increased space below site name */
}

@media (min-width: 700px) {
  .site-name {
    font-size: 4.2em;
  }
}

.subtitle {
    font-size: 1.3em;
    font-weight: 600;
    margin-top: 20px;
    color: #fff;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.subtitle {
    margin-top: 8px; /* Less space above subtitle */
}

h2 {
    margin-top: 40px;
    text-align: center;
    font-size: 2em;
    text-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

section {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.thumb {
    flex: 0 1 150px;
    aspect-ratio: 2 / 3;
    width: 150px;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s, border-radius 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
    border-radius: 8px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #fff url('squarepaper.jpg');
    background-repeat: repeat;
    background-size: auto;
    color: #3B3B39;
    margin-top: 40px;
    box-shadow: none;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1.3em;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    z-index: 1100;
    transition: background 0.2s;
    box-sizing: content-box;
}

.arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: transparent;
    pointer-events: auto;
}

.arrow:hover {
    background: rgba(0,0,0,0.6);
}

.arrow-left {
    left: 14px;
}

.arrow-right {
    right: 14px;
}

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    z-index: 1050;
}

.gallery img[src="7.jpg"],
.gallery img[src="13.jpg"] {
    object-position: left center;
}

.gallery img[src="23.jpg"] {
    object-position: 80% center;
}
.gallery img[src="21.jpg"] {
    object-position: 20% center;
}

.site-logo {
    display: block;
    margin: 0 auto 32px auto; /* Increased bottom margin for more space below logo */
    width: 88px;
    height: 88px;
}

.film-strip-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 64px auto 24px auto;
}

.section-separator {
    display: block;
    width: 11%;
    min-width: 120px;
    max-width: 900px;
    height: auto;
    margin: 0;
    opacity: 0.85;
}

@media (max-width: 600px) {
    .film-strip-row .section-separator:nth-child(2) {
        display: none;
    }
    .section-separator {
        width: 28%;
        min-width: 100px;
    }
}

.fancy-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 0 0;
}
.fancy-bullets li {
    margin-bottom: 10px;
    font-size: 1.08em;
    display: flex;
    align-items: center;
}
.bullet-icon {
    color: inherit;
    font-size: 1.1em;
    margin-right: 12px;
    display: inline-block;
}

/* Removed .paper-bg background styles */

#lightbox-img[src="12.jpg"],
#lightbox-img[src="4.jpg"] {
    max-width: 600px !important;
    width: 100%;
    height: auto;
}
