/* ============================================
   CHRIS & CELIA :: VASHON ISLAND :: 2026
   ============================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(to left, #93C5FF, #ffffff, #93C5FF);
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    color: #222;
    padding: 16px;
    min-height: 100vh;
}

/* ---- CONTAINER ---- */
#wrapper {
    width: 988px;
    margin: -40px auto 0;
}

/* ---- HEADER: photo bleeds left, title centered ---- */
#header {
    display: flex;
    align-items: center;
    width: 100%;
}

#header-photo {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    overflow: hidden;
}

#header-spacer {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

#header-photo img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    object-position: top left;
    display: block;
}

#header-photo .photo-placeholder {
    width: 300px;
    height: 300px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    color: #888;
}

#header-info {
    flex: 1;
    text-align: center;
    padding: 10px;
}

.site-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 60px;
    font-weight: bold;
    color: #222;
    line-height: 1;
    margin-bottom: 10px;
}

.wedding-info {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    color: #555;
    margin-bottom: 14px;
}

#countdown {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

.cd-unit {
    text-align: center;
}

.cd-tiles {
    display: flex;
    gap: 2px;
}

.cd-tile {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    font-family: 'Courier New', monospace;
    font-size: 22px;
    font-weight: bold;
    width: 26px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    border-right: 2px solid #666666;
    border-bottom: 2px solid #666666;
}

.cd-label {
    display: block;
    font-family: 'Times New Roman', Times, serif;
    font-size: 11px;
    color: #666;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- PLEASE NOTE BOX ---- */
#please-note {
    display: table;
    margin: 4px auto 8px;
    border: 2px solid #555;
    padding: 12px 16px;
    text-align: center;
}

.rsvp-note {
    text-align: center;
    font-style: italic;
    font-size: 13px;
    color: #555;
    margin-bottom: 24px;
}

.note-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 8px;
}

#please-note p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 6px;
}

#please-note p:last-child {
    margin-bottom: 0;
}

/* ---- NAVIGATION ---- */
#nav {
    margin: 0 16px 16px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    padding: 7px 0;
    text-align: center;
}

#nav a {
    color: #0000cc;
    text-decoration: underline;
    margin-right: 2px;
}

#nav a:hover {
    color: #cc0000;
}

#nav a.current {
    color: #222;
    text-decoration: none;
    font-weight: bold;
}

#nav .nav-sep {
    color: #999;
    margin: 0 4px;
}

/* ---- 2-COLUMN MAIN CONTENT ---- */
#main {
    padding: 0 16px 16px;
    overflow: hidden;
}

#main::after {
    content: '';
    display: table;
    clear: both;
}

#col-left {
    float: left;
    width: 455px;
    margin-right: 24px;
}

#col-right {
    float: left;
    width: 455px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    margin-bottom: 10px;
}

h1 { font-size: 31px; }
h2 { font-size: 26px; text-decoration: underline; }
h3 { font-size: 21px; }

p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 10px;
}

a {
    color: #0000cc;
}

a:hover {
    color: #cc0000;
}

hr {
    border: none;
    border-top: 1px solid #aaa;
    margin: 14px 0;
}

/* ---- PAGE HEADING (interior pages) ---- */
.page-heading {
    font-family: 'Times New Roman', Times, serif;
    font-size: 36px;
    font-weight: bold;
    color: #222;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #aaa;
}

.page-intro {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.65;
    font-style: italic;
}

/* ---- FULL-WIDTH CONTENT (interior pages) ---- */
#col-full {
    width: 100%;
}

/* ---- SCHEDULE ---- */
.schedule-day {
    margin-bottom: 24px;
}

.day-header {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 6px 10px;
    margin-bottom: 0;
    background: #e8e8e8;
    border: 1px solid #999;
    border-bottom: none;
}

.event-row {
    display: flex;
    border: 1px solid #ccc;
    border-top: none;
    padding: 8px 10px;
    align-items: flex-start;
}

.event-row:nth-child(even) { background: #f7f7f7; }
.event-row:nth-child(odd)  { background: #ffffff; }

.event-row.highlight {
    background: #f0f0e8 !important;
}

.event-time {
    font-family: 'Times New Roman', Times, serif;
    font-size: 17px;
    color: #666;
    width: 180px;
    flex-shrink: 0;
    padding-top: 1px;
}

.event-info { flex: 1; }

.event-name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 2px;
}

.event-note {
    font-family: 'Times New Roman', Times, serif;
    font-size: 17px;
    color: #777;
    font-style: italic;
}

/* ---- THINGS TO DO ---- */
.places-intro {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.65;
    font-style: italic;
}

.place-item {
    overflow: hidden;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #ccc;
}

.place-item:last-child {
    border-bottom: none;
}

.place-photo {
    float: left;
    margin: 0 16px 10px 0;
}

.place-item.reverse .place-photo {
    float: right;
    margin: 0 0 10px 16px;
}

.place-photo-box {
    width: 200px;
    height: 145px;
    border: 1px solid #aaa;
    overflow: hidden;
    display: block;
    cursor: pointer;
    transition: width 0.35s ease, height 0.35s ease;
}

.place-photo-box.expanded {
    width: 400px;
    height: 290px;
}

.place-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.place-photo-placeholder {
    width: 200px;
    height: 145px;
    border: 1px solid #aaa;
    background: #efefef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    color: #aaa;
    cursor: pointer;
    transition: width 0.35s ease, height 0.35s ease;
}

.place-photo-placeholder.expanded {
    width: 400px;
    height: 290px;
}

.place-name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 21px;
    font-weight: bold;
    color: #222;
    margin: 0 0 3px;
}

.place-address {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    color: #888;
    margin-bottom: 8px;
    font-style: italic;
}

.place-desc {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    line-height: 1.65;
    color: #333;
}

/* ---- FAQ ---- */
.faq-section {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ddd;
}

.faq-section:last-child {
    border-bottom: none;
}

.faq-q {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 6px;
}

.faq-a {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    padding-left: 16px;
    border-left: 2px solid #aaa;
    margin-left: 4px;
}

.faq-a p + p {
    margin-top: 8px;
}

/* ---- PHOTO GRID ---- */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin-bottom: 10px;
}

.photo-cell {
    background: #e0e0e0;
    height: 150px;
    overflow: hidden;
    border: 1px solid #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
}

.photo-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- BOUNCING CHROME HEART ---- */
#bouncing-heart {
    position: fixed;
    width: 300px;
    z-index: 999;
    cursor: pointer;
}

#bouncing-heart img {
    width: 300px;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

#bouncing-heart img.spinning {
    transition: transform 0.5s ease;
}

/* ---- FOOTER ---- */
#footer {
    border-top: 1px solid #999;
    padding: 10px 16px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    color: #888;
    text-align: center;
}

#footer p {
    margin: 3px 0;
    font-size: 16px;
    color: #888;
}
