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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

a {
    color: inherit;
    text-decoration: none;
}

input, select, option {
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ddd;
    display: block;
    border-radius: 4px;
    font-size: 16px;
}
input::placeholder {
    opacity: 0.5;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('/assets/images/global/arrow-down.svg');
    background-repeat: no-repeat;
    background-position: 10px center;
    padding-left: 40px;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul, ol, nav {
    list-style: none;
}

img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Noto Serif KR", serif;
    font-size: 16px;
    line-height: 20px;
}

p, li {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #555;
}
p b, li b {
    color: #000;
}

fieldset {
    margin: 0; padding: 0; border: 0;
    min-width: 0; background: none;
    font: inherit; color: inherit;
}
legend {
    padding: 0; margin: 0; border: 0;
    font: inherit; color: inherit; width: auto;
}

/* ===== Layout Utilities ===== */
.layout-center {
    max-width: 1180px;
    width: 90%;
    margin: 0 auto;
}

/* ===== Global Header / Navigation ===== */
.global-header {
    width: 100%;
    position: absolute;
    z-index: 100;
}

.global-header .mobile-nav {
    display: none;
}

.global-header header {
    max-width: 1180px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #999;
}

.global-header ul.gnb {
    display: flex;
}

.global-header ul.gnb li {
    line-height: 40px;
    padding: 0 4px;
    margin: 0 6px;
    color: #9f9f9f;
}

.global-header ul.gnb li span {
    font-family: "Noto Serif KR", serif;
}

.global-header ul.gnb li.active {
    font-weight: 700;
    color: #fff;
    border-top: 2px solid #fff;
}

.global-header ul.info {
    display: flex;
}

.global-header ul.info li {
    margin-left: 10px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #9f9f9f;
}

.global-header ul.info li span {
    border: 1px solid #9f9f9f;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 10px;
}

.global-header ul.info li.active span {
    border-color: #fff;
    color: #fff;
    font-weight: 700;
}

/* ===== Global Main (Hero) ===== */
.global-main {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: color;
    background-size: cover;
    background-position: center;
}

.global-main main {
    width: 480px;
}

.global-main main p {
    color: #fff;
    line-height: 40px;
    padding-left: 20px;
}

/* ===== Content Sections ===== */
.content {
    padding: 80px 0;
}

.content > header {
    max-width: 1180px;
    width: 90%;
    margin: 0 auto;
    padding-left: 20px;
    border-left: 4px solid #000;
}

.content > header h3 {
    font-size: 48px;
    font-weight: 900;
    line-height: 60px;
    text-transform: capitalize;
}

.content > header p {
    line-height: 24px;
}

.content > section {
    max-width: 1180px;
    width: 90%;
    margin: 40px auto 0;
}

.content > section article {
    position: relative;
}

.content > section article .image-box {
    background-size: cover;
    background-position: center;
}

.content > section article h4 {
    font-size: 18px;
    line-height: 40px;
}

.content > nav {
    max-width: 1180px;
    width: 90%;
    margin: 0 auto;
}

.content > nav ul {
    display: flex;
    justify-content: flex-start;
}

.content > nav ul li {
    text-transform: capitalize;
    font-family: "Noto Serif KR", serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 30px;
    padding-left: 10px;
    border-left: 4px solid #ccc;
    margin-right: 20px;
    color: #999;
}

.content > nav ul li.active {
    font-weight: 900;
    border-left-color: #000;
    color: #000;
}

.content > nav ul li a {
    color: inherit;
}

.content > aside {
    max-width: 1180px;
    width: 90%;
    margin: 40px auto 0;
}

.content > aside p {
    font-size: 18px;
    line-height: 40px;
    font-weight: 700;
}

/* ===== Home: Banner ===== */
.banner {
    padding: 80px 0;
}

.banner section {
    max-width: 1180px;
    width: 90%;
    margin: 0 auto;
}

.banner .text-box p {
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
}

/* ===== Home: Scenario ===== */
.scenario section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.scenario article .image-box {
    background-color: #ccc;
    height: 240px;
}

/* ===== Home: Course ===== */
.content.course.home-course section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.content.course.home-course article .image-box {
    background-color: #ccc;
    width: 100%;
    height: 360px;
}

.content.course.home-course article .text-box {
    position: absolute;
    padding: 10px;
    top: 0;
    left: 10px;
    width: 100%;
}

.content.course.home-course article .button-box {
    position: absolute;
    padding: 10px;
    bottom: 0;
    right: 10px;
}

.content.course.home-course article .button-box a button {
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
}

/* ===== Home: Movie ===== */
.movie section article {
    display: flex;
    justify-content: space-between;
}

.movie section article .image-box {
    width: calc(100% - 400px);
    height: 440px;
    background-color: #ccc;
}

.movie section article .text-box {
    width: 380px;
}

.movie section article .text-box p {
    font-weight: 700;
}

/* ===== Home: Location ===== */
.location .myMap {
    background-size: cover;
    background-position: center;
    border: 1px solid #ccc;
    border-right: 0;
    border-left: 0;
}

/* ===== Course Page ===== */
.content.course.steak section,
.content.course.cake section {
    max-width: 1180px;
    width: 90%;
    margin: 40px auto 0;
}

.content.course section article {
    display: flex;
    gap: 40px;
}

.content.course section article .image-box {
    width: 400px;
    min-height: 300px;
    background-color: #ccc;
    flex-shrink: 0;
}

.content.course section article .text-box ul {
    padding-left: 20px;
    list-style-type: disc;
}

.content.course section article .text-box ul li {
    line-height: 36px;
    font-size: 16px;
}

.content.course section article .text-box p {
    margin-top: 10px;
    font-size: 14px;
    color: #999;
}

.content.options .subtitle {
    max-width: 1180px;
    width: 90%;
    margin: 40px auto 0;
}

.content.options .subtitle h4 {
    font-size: 24px;
    font-weight: 700;
    padding-left: 10px;
    border-left: 4px solid #000;
}

.content.options section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.content.options article .image-box {
    background-color: #ccc;
    height: 200px;
}

.content.options article .text-box p {
    font-size: 14px;
    line-height: 24px;
}

.content.options article .text-box ul {
    padding-left: 20px;
    list-style-type: disc;
}

.content.options article .text-box ul li {
    font-size: 14px;
    line-height: 24px;
}

.content.options aside h5 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* ===== Gallery ===== */
.gallery section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery .image-box {
    height: 260px;
    background-color: #ccc;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.gallery .image-box p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 14px;
}

/* ===== FAQ ===== */
.faq section .faqItem {
    padding: 20px 0;
    border-top: 1px dashed #ddd;
}

.faq section .faqItem:first-of-type {
    border: 0;
}

.faq section .faqItem li {
    line-height: 50px;
    display: flex;
}

.faq section .faqItem li.q {
    color: #f00;
}

.faq section .faqItem li b {
    font-size: 24px;
    width: 40px;
    color: inherit;
    text-align: center;
    font-weight: 300;
    margin-right: 10px;
    flex-shrink: 0;
}

/* ===== Info ===== */
.info-page .content header {
    max-width: 1180px;
    width: 90%;
    margin: 0 auto;
    padding-left: 20px;
    border-left: 4px solid #000;
}

.info-page .content section {
    max-width: 1180px;
    width: 90%;
    margin: 40px auto 0;
}

.info-page .content section ul {
    padding-left: 20px;
}

.info-page .content section ul li {
    line-height: 36px;
    font-size: 16px;
}

.info-page .content section ol {
    padding-left: 40px;
}

.info-page .content section ol li {
    line-height: 36px;
    font-size: 16px;
    color: #777;
}

/* ===== Reservation ===== */
.orderd section article .text-box ul {
    padding-left: 20px;
    list-style-type: square;
}

.orderd section article .text-box ul li {
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
}

.reservation .success-message {
    max-width: 1180px;
    width: 90%;
    margin: 20px auto;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

.reservation .error-message {
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

.reservation form {
    max-width: 1180px;
    width: 90%;
    margin: 40px auto 0;
}

.reservation form fieldset {
    display: flex;
    margin-top: 40px;
}

.reservation form fieldset:first-of-type {
    margin-top: 0;
}

.reservation form .form-name {
    width: 180px;
    line-height: 40px;
    flex-shrink: 0;
}

.reservation form .form-name b {
    color: #f00;
    font-weight: 900;
    margin-left: 5px;
}

.reservation form .form-item {
    width: calc(100% - 200px);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.reservation form .form-item input[type="text"],
.reservation form .form-item input[type="tel"] {
    width: 100%;
    padding: 0 10px;
    font-size: 18px;
}

.reservation form .form-item textarea {
    width: 100%;
    height: 80px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    resize: none;
}

/* Date fieldset */
.reservation form fieldset.date .form-item {
    display: flex;
    justify-content: space-between;
}

.reservation form fieldset.date .form-item input[type="date"] {
    width: calc(40% - 10px);
}

.reservation form fieldset.date .form-item select {
    width: calc(20% - 10px);
    font-size: 18px;
}

/* Radio & Checkbox labels */
.reservation form .form-item label {
    width: 20%;
    min-width: 200px;
    display: flex;
    align-items: center;
    color: #999;
    height: 40px;
    cursor: pointer;
}

.reservation form .form-item label .icon {
    font-size: 20px;
    margin-right: 4px;
    display: inline-flex;
    align-items: center;
}

.reservation form .form-item label .icon-checked {
    display: none;
}

.reservation form .form-item label .icon-unchecked {
    display: inline-flex;
}

.reservation form .form-item label input[type="radio"],
.reservation form .form-item label input[type="checkbox"] {
    display: none;
}

.reservation form .form-item label input:checked ~ .icon-unchecked {
    display: none;
}

.reservation form .form-item label input:checked ~ .icon-checked {
    display: inline-flex;
    color: #000;
}

.reservation form .form-item label input:checked ~ span {
    font-weight: 900;
    color: #000;
}

.reservation form .form-item label span {
    margin-left: 4px;
}

/* Buttons */
.reservation .btn-box {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
    border-top: 1px solid #ccc;
    margin-top: 40px;
    padding: 20px 0;
}

.reservation .btn-box button {
    height: 40px;
    background-color: #ccc;
    min-width: 120px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.reservation .btn-box button[type="submit"] {
    background-color: #333;
    color: #fff;
}

.reservation .btn-box button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Error state */
.error {
    border-color: #ff4d4f !important;
}

span.error-text {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 4px;
    display: block;
    width: 100%;
}

/* ===== Global Footer ===== */
.global-footer {
    padding: 80px 0;
    background-color: #000;
    color: #fff;
}

.global-footer header {
    max-width: 1180px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    border: none;
    padding: 0;
}

.global-footer header h1 {
    line-height: 40px;
    color: #fff;
}

.global-footer header .sns {
    display: flex;
    justify-content: flex-end;
}

.global-footer header .sns li {
    line-height: 40px;
    margin-left: 20px;
    color: #999;
}

.global-footer footer {
    max-width: 1180px;
    width: 90%;
    margin: 20px auto 0;
}

.global-footer footer .company-info {
    width: 80%;
}

.global-footer footer .company-info li {
    display: inline-block;
    margin-right: 20px;
    color: #999;
    font-size: 14px;
    line-height: 24px;
}

/* ===== Loading Spinner ===== */
.loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.loading .icon {
    animation: spin 1s linear infinite;
    font-size: 1rem;
    vertical-align: middle;
    margin-right: 4px;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}
