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

body {
    font-family: 'Malgun Gothic', sans-serif;
    background-color: #f0f4f8;
    min-height: 100vh;
    padding: 40px 16px;
    transition: background-color 0.3s, color 0.3s;
}

body.dark {
    background-color: #1a1a2e;
    color: #e0e0e0;
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: 2px solid #555;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 14px;
    cursor: pointer;
    color: #555;
    transition: background-color 0.2s, color 0.2s;
}

body.dark .theme-toggle {
    border-color: #aaa;
    color: #aaa;
}

.theme-toggle:hover {
    background-color: rgba(128, 128, 128, 0.15);
}

/* 서비스 소개 */
.hero {
    max-width: 700px;
    margin: 0 auto 32px;
    text-align: center;
}

.hero h1 {
    font-size: 28px;
    color: #2c7a4b;
    margin-bottom: 12px;
}

body.dark .hero h1 { color: #4ade80; }

.hero p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

body.dark .hero p { color: #aaa; }

/* 자전거 종류 카드 */
.bike-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.bike-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: background-color 0.3s;
}

body.dark .bike-card {
    background-color: #16213e;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.bike-icon { font-size: 32px; margin-bottom: 8px; }

.bike-card h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #2c7a4b;
}

body.dark .bike-card h3 { color: #4ade80; }

.bike-card p { font-size: 12px; color: #777; line-height: 1.6; }

body.dark .bike-card p { color: #aaa; }

/* 이용 방법 */
.how-to {
    max-width: 700px;
    margin: 0 auto 40px;
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: background-color 0.3s;
}

body.dark .how-to { background-color: #16213e; }

.how-to h2, .faq h2 {
    font-size: 18px;
    color: #2c7a4b;
    margin-bottom: 16px;
}

body.dark .how-to h2, body.dark .faq h2 { color: #4ade80; }

.how-to ol { padding-left: 20px; }

.how-to li {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.7;
}

body.dark .how-to li { color: #ccc; }

/* FAQ */
.faq {
    max-width: 700px;
    margin: 32px auto 0;
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: background-color 0.3s;
}

body.dark .faq { background-color: #16213e; }

.faq details {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

body.dark .faq details { border-bottom-color: #334; }

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

.faq summary {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    list-style: none;
    padding-right: 16px;
    position: relative;
}

.faq summary::after { content: '+'; position: absolute; right: 0; color: #2c7a4b; }
.faq details[open] summary::after { content: '−'; }

body.dark .faq summary { color: #ddd; }

.faq details p {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    line-height: 1.7;
}

body.dark .faq details p { color: #aaa; }

.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    transition: background-color 0.3s;
}

body.dark .card {
    background-color: #16213e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.card h1 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #2c7a4b;
}

body.dark .card h1 {
    color: #4ade80;
}

.card p.subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #444;
}

body.dark label {
    color: #ccc;
}

input, select, textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #fafafa;
    color: #333;
    transition: border-color 0.2s, background-color 0.3s, color 0.3s;
}

body.dark input,
body.dark select,
body.dark textarea {
    background-color: #0f3460;
    border-color: #334;
    color: #e0e0e0;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2c7a4b;
}

body.dark input:focus,
body.dark select:focus,
body.dark textarea:focus {
    border-color: #4ade80;
}

.row {
    display: flex;
    gap: 12px;
}

.row .form-group {
    flex: 1;
}

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

button[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: #2c7a4b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s, transform 0.1s;
}

button[type="submit"]:hover {
    background-color: #235f3a;
}

button[type="submit"]:active {
    transform: scale(0.98);
}

button[type="submit"]:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

.success-msg {
    display: none;
    text-align: center;
    padding: 30px 0;
}

.success-msg .icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.success-msg h2 {
    color: #2c7a4b;
    margin-bottom: 8px;
}

body.dark .success-msg h2 {
    color: #4ade80;
}

.success-msg p {
    color: #888;
    font-size: 14px;
}

.site-footer {
    max-width: 700px;
    margin: 32px auto 0;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 13px;
    color: #888;
}

body.dark .site-footer {
    border-top-color: #334;
    color: #666;
}

.site-footer nav {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.site-footer a {
    color: #2c7a4b;
    text-decoration: none;
}

body.dark .site-footer a {
    color: #4ade80;
}

.site-footer a:hover {
    text-decoration: underline;
}

.disqus-wrap {
    max-width: 700px;
    margin: 24px auto 40px;
}
