
:root {
    --ink: #1C2620;
    --paper: #F1F4EE;
    --paper-raised: #FFFFFF;
    --deep: #e4d4c3;
    --deep-2: #16332A;
    --gold: #E4C878;
    --gold-light: #E4C878;
    --plum: #e4d4c3;
    --sage: #7C8A7A;
    --line: #D9D2C0;
    --error: #A3352B;

    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}
@font-face {
    font-family: 'Amelia Script';
    src: url('fonts/Amelia') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.logo{
    font-family:'Great Vibes', cursive;
    font-size:2rem;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Amelia Script', cursive;
}
* { box-sizing: border-box; }
font-family 
{"Amelia", sans-serif}

h1 {
    font-family: "Ryson", cursive;
}

.story {
    font-family: Amelia, cursive;
}
html, body {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
}

.image-height{
    height: 100%;
    width: 100%;
}

a { color: inherit; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.4em;
}
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}
.slideshow{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
}
.rotated-image {
    width: 400px;
    transform: rotate(-5deg);
}
.slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity 1.5s ease-in-out;
}

.slide.active{
    opacity:1;
    z-index:1;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    animation:zoom 8s linear infinite;
}

@keyframes zoom{
    from{
        transform:scale(1);
    }
    to{
        transform:scale(1.12);
    }
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
}

.content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    text-align:center;
    color:#fff;
    width:90%;
    z-index:2;
}

.content h1{
    font-size:clamp(2.5rem,6vw,5rem);
    margin-bottom:15px;
    text-shadow:0 3px 10px rgba(0,0,0,.5);
}

.content p{
    font-size:clamp(1rem,2vw,1.5rem);
    text-shadow:0 2px 8px rgba(0,0,0,.5);
}

.dots{
    position:absolute;
    bottom:30px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
    z-index:3;
}

.dot{
    width:14px;
    height:14px;
    border-radius:50%;
    background:rgba(255,255,255,.5);
    transition:.4s;
}

.dot.active{
    background:#fff;
    transform:scale(1.3);
}


.hero h1 {
    font-size: 5rem;
}

.eyebrow {
    color: var(--gold);
    font-family:'Great Vibes', cursive;
    font-size:2rem;
}
.triple-gallery {
    position: relative;
    width: 100%;
    height: 600px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #f7f7f7;
    overflow: hidden;
}

/* Base image styling */
.img {
    position: absolute;
    object-fit: cover;

    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);

    transition: all 0.4s ease;
}

/* Center image (dominant) */
.center {
    width: 420px;
    height: 520px;
    z-index: 3;
    transform: scale(1) rotate(0deg);
}

/* Left image */
.left {
    width: 320px;
    height: 420px;
    left: 15%;

    transform: rotate(-10deg) scale(0.95);
    z-index: 1;
    opacity: 0.95;
}

/* Right image */
.right {
    width: 320px;
    height: 420px;
    right: 15%;

    transform: rotate(10deg) scale(0.95);
    z-index: 1;
    opacity: 0.95;
}

/* Hover effect: bring focus */
.img:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 5;
}
/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
    background: #e4d4c3;
    color: #EDEAE0;
}

.header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    text-decoration: none;
    color: #FDFCF8;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 0.92rem;
}

.main-nav a {
    text-decoration: none;
    color: #e4d4c3;
    transition: color 0.15s ease;
}

.main-nav a:hover { color: #e4d4c3; }

.nav-cta {
    border: 1px solid var(--gold);
    padding: 7px 14px;
    border-radius: 3px;
    color: var(--gold-light) !important;
}

.link-button {
    background: none;
    border: none;
    color: #D9D5C7;
    font: inherit;
    cursor: pointer;
    padding: 0;
}
.link-button:hover { color: var(--gold-light); }

.inline-form { margin: 0; display: inline; }

/* ============================================================
   Flash messages
   ============================================================ */
.flash {
    max-width: 1080px;
    margin: 16px auto 0;
    padding: 12px 18px;
    border-radius: 4px;
    font-size: 0.92rem;
}
.flash-success { background: #E4EEE0; color: #2A4A24; border: 1px solid #B9D4B0; }
.flash-error { background: #F5E1DE; color: var(--error); border: 1px solid #E0B3AC; }


.btn-primary{
    background-color: #567f8e;
}

.section {
    max-width: 900px;
    margin: 0 auto;
    padding: 56px 24px;
}

.section + .section {
    border-top: 1px solid var(--line);
}

.section-heading {
    font-size: 1.8rem;
    margin-bottom: 8px;
    
}

.section-sub {
    color: var(--sage);
    margin-bottom: 32px;
    max-width: 60ch;
}

/* Timetable (schedule) */
.timetable {
    border-top: 1px solid var(--line);
}

.timetable-row {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 20px;
    align-items: baseline;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.timetable-row .time {
    font-family: var(--font-mono);
    color: var(--gold);
    font-size: 0.95rem;
}

.timetable-row .event {
    font-family: var(--font-display);
    font-size: 1.15rem;
}

.timetable-row .detail {
    color: var(--sage);
    font-size: 0.88rem;
    text-align: right;
}

/* Cards grid (gallery / registry) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: var(--paper-raised);
    border: 1px solid var(--line);
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.gallery-item .caption {
    padding: 10px 12px;
    font-size: 0.85rem;
    color: var(--sage);
}

.registry-card {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.registry-card h3 { font-size: 1.15rem; }
.registry-card .price {
    font-family: var(--font-mono);
    color: var(--gold);
    font-size: 0.95rem;
}
.registry-card .desc { color: var(--sage); font-size: 0.9rem; flex: 1; }
.registry-card .reserved-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--plum);
}

/* ============================================================
   Forms & buttons
   ============================================================ */
.form-panel {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 32px;
    max-width: 640px;
    margin: 0 auto;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="file"],
.field select,
.field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: #FFFFFF;
    color: var(--ink);
}

.field textarea { resize: vertical; min-height: 90px; }

.radio-group { display: flex; gap: 18px; }
.radio-group label { display: flex; align-items: center; gap: 6px; font-weight: 400; }

.field-error {
    color: var(--error);
    font-size: 0.82rem;
    margin-top: 4px;
}

.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 11px 22px;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: var(--plum);
    color: #FBF8F0;
}
.btn-primary:hover { background: #567f8e; }

.btn-secondary {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}
.btn-secondary:hover { border-color: var(--sage); }

.btn-small { padding: 6px 14px; font-size: 0.82rem; }

/* ============================================================
   Admin table
   ============================================================ */
.admin-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.stat { font-family: var(--font-mono); }
.stat .num { font-size: 1.6rem; color: var(--deep); display: block; }
.stat .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage); }

table.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
table.admin-table th {
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sage);
    border-bottom: 1px solid var(--line);
    padding: 10px 8px;
}
table.admin-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--line);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    text-align: center;
    padding: 32px 24px 48px;
    color: var(--sage);
    font-size: 0.85rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 720px) {
    .boarding-pass { grid-template-columns: 1fr; }
    .bp-stub { border-left: none; border-top: 2px dashed rgba(239,235,221,0.25); flex-direction: row; gap: 16px; }
    .bp-grid { grid-template-columns: repeat(2, 1fr); }
    .boarding-pass .hole.top, .boarding-pass .hole.bottom { display: none; }
    .timetable-row { grid-template-columns: 80px 1fr; }
    .timetable-row .detail { grid-column: 2 / 3; text-align: left; }
}

/* Reduced motion / focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}


/* ============================================================
   Design tokens
   ============================================================ */
:root {
    --ink: #1C2620;
    --paper: #F1F4EE;
    --paper-raised: #FFFFFF;
    --deep: #567f8e;
    --deep-2: #e4d4c3;
    --gold: #c3dbe3;
    --gold-light: #E4C878;
    --plum: #5B2340;
    --sage: #7C8A7A;
    --line: #D9D2C0;
    --error: #A3352B;

    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
}

a { color: inherit; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.4em;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #E4C878;
}

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
    background: var(--deep);
    color: #EDEAE0;
}

.header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    text-decoration: none;
    color: #FDFCF8;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 0.92rem;
}

.main-nav a {
    text-decoration: none;
    color: #D9D5C7;
    transition: color 0.15s ease;
}

.main-nav a:hover { color: var(--gold-light); }

.nav-cta {
    border: 1px solid var(--gold);
    padding: 7px 14px;
    border-radius: 3px;
    color: var(--gold-light) !important;
}

.link-button {
    background: none;
    border: none;
    color: #D9D5C7;
    font: inherit;
    cursor: pointer;
    padding: 0;
}
.link-button:hover { color: var(--gold-light); }

.inline-form { margin: 0; display: inline; }

/* ============================================================
   Flash messages
   ============================================================ */
.flash {
    max-width: 1080px;
    margin: 16px auto 0;
    padding: 12px 18px;
    border-radius: 4px;
    font-size: 0.92rem;
}
.flash-success { background: #E4EEE0; color: #2A4A24; border: 1px solid #B9D4B0; }
.flash-error { background: #F5E1DE; color: var(--error); border: 1px solid #E0B3AC; }

/* ============================================================
   Boarding pass hero (signature element)
   ============================================================ */
.boarding-pass {
    max-width: 900px;
    margin: 48px auto;
    background: var(--deep);
    color: #EFEBDD;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 50px -20px rgba(16, 38, 30, 0.55);
}

.boarding-pass::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at top right, rgba(184,144,46,0.18), transparent 55%);
    pointer-events: none;
}

.bp-main {
    padding: 40px 36px;
}

.bp-route {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.bp-route .city {
    font-family: var(--font-display);
    font-size: 1.9rem;
}

.bp-route .plane {
    color: var(--gold);
    font-size: 1.1rem;
    flex: 1;
    text-align: center;
    position: relative;
}

.bp-route .plane::before,
.bp-route .plane::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    border-top: 1px dashed rgba(239,235,221,0.35);
}
.bp-route .plane::before { left: 0; }
.bp-route .plane::after { right: 0; }

.bp-names {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.bp-tagline {
    color: #C9C4B2;
    margin-bottom: 26px;
}

.bp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    font-family: var(--font-mono);
}

.bp-grid .label {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 4px;
}

.bp-grid .value {
    font-size: 0.95rem;
    color: #F4F1E7;
}

.bp-stub {
    background: var(--deep-2);
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-left: 2px dashed rgba(239,235,221,0.25);
    min-width: 190px;
}

.bp-stub .stub-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.bp-stub .stub-value {
    font-family: var(--font-display);
    font-size: 1.15rem;
    text-align: center;
}

.bp-barcode {
    width: 100%;
    height: 46px;
    margin-top: 20px;
    background: repeating-linear-gradient(
        90deg,
        #EFEBDD 0px, #EFEBDD 2px,
        transparent 2px, transparent 5px,
        #EFEBDD 5px, #EFEBDD 6px,
        transparent 6px, transparent 10px
    );
    opacity: 0.85;
}

/* punch holes */
.boarding-pass .hole {
    position: absolute;
    width: 22px;
    height: 22px;
    background: var(--paper);
    border-radius: 50%;
}
.boarding-pass .hole.top { top: -11px; right: 178px; }
.boarding-pass .hole.bottom { bottom: -11px; right: 178px; }

/* ============================================================
   Generic section / content containers
   ============================================================ */
.section {
    max-width: 900px;
    margin: 0 auto;
    padding: 56px 24px;
}

.section + .section {
    border-top: 1px solid var(--line);
}

.section-heading {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.section-sub {
    color: var(--sage);
    margin-bottom: 32px;
    max-width: 60ch;
}

/* Timetable (schedule) */
.timetable {
    border-top: 1px solid var(--line);
}

.timetable-row {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 20px;
    align-items: baseline;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.timetable-row .time {
    font-family: var(--font-mono);
    color: #E4C878;
    font-size: 0.95rem;
}

.timetable-row .event {
    font-family: var(--font-display);
    font-size: 1.15rem;
}

.timetable-row .detail {
    color: var(--sage);
    font-size: 0.88rem;
    text-align: right;
}

/* Cards grid (gallery / registry) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: var(--paper-raised);
    border: 1px solid var(--line);
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.gallery-item .caption {
    padding: 10px 12px;
    font-size: 0.85rem;
    color: var(--sage);
}

.registry-card {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.registry-card h3 { font-size: 1.15rem; }
.registry-card .price {
    font-family: var(--font-mono);
    color: var(--gold);
    font-size: 0.95rem;
}
.registry-card .desc { color: var(--sage); font-size: 0.9rem; flex: 1; }
.registry-card .reserved-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--plum);
}

/* ============================================================
   Forms & buttons
   ============================================================ */
.form-panel {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 32px;
    max-width: 640px;
    margin: 0 auto;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="file"],
.field select,
.field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: #FFFFFF;
    color: var(--ink);
}

.field textarea { resize: vertical; min-height: 90px; }

.radio-group { display: flex; gap: 18px; }
.radio-group label { display: flex; align-items: center; gap: 6px; font-weight: 400; }

.field-error {
    color: var(--error);
    font-size: 0.82rem;
    margin-top: 4px;
}

.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 11px 22px;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: #567f8e;
    color: #FBF8F0;
}
.btn-primary:hover { background: #567f8e; }

.btn-secondary {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}
.btn-secondary:hover { border-color: var(--sage); }

.btn-small { padding: 6px 14px; font-size: 0.82rem; }

/* ============================================================
   Admin table
   ============================================================ */
.admin-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.stat { font-family: var(--font-mono); }
.stat .num { font-size: 1.6rem; color: var(--deep); display: block; }
.stat .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage); }

table.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
table.admin-table th {
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sage);
    border-bottom: 1px solid var(--line);
    padding: 10px 8px;
}
table.admin-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--line);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    text-align: center;
    padding: 32px 24px 48px;
    color: var(--sage);
    font-size: 0.85rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 720px) {
    .boarding-pass { grid-template-columns: 1fr; }
    .bp-stub { border-left: none; border-top: 2px dashed rgba(239,235,221,0.25); flex-direction: row; gap: 16px; }
    .bp-grid { grid-template-columns: repeat(2, 1fr); }
    .boarding-pass .hole.top, .boarding-pass .hole.bottom { display: none; }
    .timetable-row { grid-template-columns: 80px 1fr; }
    .timetable-row .detail { grid-column: 2 / 3; text-align: left; }
}

/* Reduced motion / focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
