/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif KR', serif;
    background: #faf9f7;
    color: #3a3a3a;
    font-size: 15px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    font-weight: 300;
}

strong {
    font-weight: 500;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
}

/* Header */
header {
    background: #f5f3f0;
    padding: 56px 24px 48px;
    text-align: center;
}

.greeting {
    font-size: 16px;
    font-weight: 300;
    color: #3a3a3a;
    line-height: 2;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.couple-name {
    font-size: 24px;
    font-weight: 400;
    color: #2c2c2c;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.wedding-date {
    font-size: 14px;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.greeting-sub {
    font-size: 14px;
    font-weight: 300;
    color: #666;
    line-height: 2;
}

.header-line {
    width: 40px;
    height: 1px;
    background: #ccc;
    margin: 20px auto;
}

/* Venue Section */
.venue-section {
    padding: 28px 24px;
    text-align: center;
    background: #fff;
}

.header-eng {
    font-size: 12px;
    letter-spacing: 3px;
    color: #999;
    font-weight: 300;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.venue-address {
    font-size: 14px;
    color: #555;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.venue-tel {
    font-size: 13px;
    color: #999;
}

.venue-tel,
.venue-date {
    font-size: 13px;
    color: #999;
}

/* Section */
.section {
    padding: 44px 24px;
    text-align: center;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 28px;
}

.section-label {
    font-size: 11px;
    letter-spacing: 3px;
    color: #bbb;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 300;
}

.section-title-wrap h2 {
    font-size: 20px;
    font-weight: 400;
    color: #2c2c2c;
    letter-spacing: 2px;
}

/* Divider */
.divider {
    width: 30px;
    height: 1px;
    background: #ddd;
    margin: 0 auto;
}

/* Video */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    font-family: 'Noto Serif KR', serif;
    transition: all 0.2s;
    border: 1px solid #e0e0e0;
    letter-spacing: 0;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.97);
}

.btn-kakao {
    background: #fee500;
    color: #3c1e1e;
    border-color: #fee500;
}

.btn-naver {
    background: #03c75a;
    color: #fff;
    border-color: #03c75a;
}

.btn-dark {
    background: #2c2c2c;
    color: #fff;
    border-color: #2c2c2c;
}

.btn-outline {
    background: transparent;
    color: #555;
    border-color: #ddd;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.btn-group .btn-kakao,
.btn-group .btn-naver {
    flex: 1;
    text-align: center;
    max-width: 160px;
}

/* Transport Buttons */
.transport-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 340px;
    margin: 0 auto;
}

.transport-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 12px;
    border: 1px solid #e8e4e0;
    border-radius: 12px;
    background: #faf9f7;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Noto Serif KR', serif;
}

.transport-btn:hover,
.transport-btn:active {
    border-color: #bbb;
    background: #f5f3f0;
}

.transport-btn.active {
    border-color: #2c2c2c;
    background: #f5f3f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.btn-icon {
    font-size: 30px;
}

.btn-text {
    font-size: 13px;
    font-weight: 400;
    color: #3a3a3a;
    text-align: center;
    line-height: 1.5;
}

/* Transport Sections */
.transport-section {
    display: none;
    padding: 0 24px 40px;
    animation: fadeIn 0.4s ease;
}

.transport-section.visible {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.transport-section > .section-title-wrap {
    padding-top: 32px;
    margin-bottom: 24px;
}

/* Card */
.card {
    background: #fff;
    border: 1px solid #f0ece8;
    border-radius: 12px;
    padding: 28px 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.card h3 {
    font-size: 17px;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.card h4 {
    font-size: 14px;
    font-weight: 400;
    color: #888;
    margin: 20px 0 12px;
    letter-spacing: 0.5px;
}

.card-desc {
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}

.card-note {
    background: #faf9f7;
    border-color: #ede9e4;
}

.card-note p {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.card-note p:last-child,
.card-note p:only-child {
    margin-bottom: 0;
}

.card-note .btn {
    margin-top: 8px;
}

/* Info Highlight */
.info-highlight {
    background: #f8f7f5;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 16px;
    font-size: 14px;
}

.info-highlight p {
    margin-bottom: 4px;
}

.info-highlight p:last-child {
    margin-bottom: 0;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 13px;
}

thead {
    border-bottom: 2px solid #2c2c2c;
}

th {
    padding: 10px 6px;
    text-align: center;
    font-weight: 400;
    font-size: 12px;
    color: #888;
    letter-spacing: 0.5px;
}

td {
    padding: 12px 6px;
    text-align: center;
    border-bottom: 1px solid #f0ece8;
    font-size: 14px;
}

tr:last-child td {
    border-bottom: none;
}

.row-highlight {
    background: #faf9f7;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: #2c2c2c;
    color: #fff;
}

.badge-secondary {
    background: #e8e4e0;
    color: #666;
}

/* Timeline */
.timeline-box {
    background: #f8f7f5;
    border-radius: 8px;
    padding: 20px;
    margin-top: 8px;
}

.timeline-box h4 {
    margin: 0 0 16px;
    font-size: 14px;
    color: #555;
}

.timeline-group {
    margin-bottom: 16px;
}

.timeline-group:last-child {
    margin-bottom: 0;
}

.timeline-label {
    font-size: 16px;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding: 4px 0;
}

.t-time {
    min-width: 48px;
    font-weight: 500;
    color: #2c2c2c;
}

.t-good {
    color: #5a8a52;
}

.t-warn {
    color: #c48b5c;
}

/* Cafe Card */
.cafe-card {
    background: #f8f7f5;
    border-color: #ede9e4;
}

.cafe-name {
    font-size: 18px;
    font-weight: 400;
    color: #2c2c2c;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.cafe-sub {
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}

.cafe-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 16px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    background: #fff;
    border-radius: 6px;
    font-size: 13px;
}

.menu-item span:last-child {
    color: #888;
    font-weight: 400;
}

.cafe-hours {
    font-size: 12px;
    color: #bbb;
    margin-bottom: 12px;
}

/* Walk Badge */
.walk-badge {
    display: inline-block;
    background: #f5f3f0;
    border: 1px solid #e8e4e0;
    padding: 10px 28px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 400;
    color: #2c2c2c;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Steps */
.steps {
    margin-bottom: 16px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f5f3f0;
    text-align: left;
}

.step:last-child {
    border-bottom: none;
}

.step-num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: #2c2c2c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 400;
}

.step-text p {
    font-size: 15px;
}

.step-text .sub {
    font-size: 13px;
    color: #999;
}

/* Subway Lines */
.line-list {
    margin-bottom: 8px;
}

.line-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f3f0;
    font-size: 14px;
    text-align: left;
}

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

.line-badge {
    flex-shrink: 0;
    padding: 4px 12px;
    border-radius: 14px;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
}

/* Bus */
.bus-group {
    margin-bottom: 16px;
}

.bus-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.bus-nums {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bus-tag {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 400;
}

.bus-tag.green {
    background: #f0f5ed;
    color: #5a7a52;
}

.bus-tag.blue {
    background: #edf2f8;
    color: #3a6a9a;
}

/* Car / Navigation */
.navi-box {
    background: #f8f7f5;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 8px;
}

.navi-label {
    font-size: 11px;
    color: #bbb;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.navi-address {
    font-size: 18px;
    font-weight: 400;
    color: #2c2c2c;
    letter-spacing: 1px;
}

.navi-sub {
    font-size: 13px;
    color: #bbb;
}

.navi-or {
    font-size: 13px;
    color: #999;
    margin-top: 8px;
}

/* Routes */
.route-list {
    margin-bottom: 8px;
}

.route-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f5f3f0;
    text-align: left;
}

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

.route-badge {
    flex-shrink: 0;
    background: #2c2c2c;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap;
}

.route-item p {
    font-size: 14px;
}

.route-item .sub {
    font-size: 12px;
    color: #bbb;
    margin-top: 2px;
}

/* Parking */
.parking-box {
    text-align: center;
    background: #f8f7f5;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 8px;
}

.parking-main {
    font-size: 17px;
    font-weight: 400;
    color: #2c2c2c;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.parking-sub {
    font-size: 14px;
    color: #999;
}

/* Note Text */
.note-area {
    padding: 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.note-text {
    font-size: 13px;
    color: #999;
    text-align: center;
    line-height: 1.8;
}

/* Wide Button */
.btn-wide {
    padding: 12px 48px;
    font-size: 14px;
}

.btn-group.center {
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 8px;
}

/* Footer */
footer {
    background: #f5f3f0;
    text-align: center;
    padding: 32px 24px;
    font-size: 13px;
    color: #999;
    line-height: 2;
    letter-spacing: 0.5px;
}

footer p:first-child {
    color: #666;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 380px) {
    header h1 {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .transport-buttons {
        gap: 8px;
    }

    .transport-btn {
        padding: 16px 8px;
    }

    .cafe-menu {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 12px;
    }

    td {
        padding: 10px 4px;
        font-size: 12px;
    }
}
