@charset "UTF-8";

/* ===== COMMON STYLES (Header & Footer) ===== */

/* Header Styles */
.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100px;
    z-index: 1050;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.navbar-custom .navbar-container {
    min-width: 1120px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-custom .navbar-brand {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-custom .navbar-brand img {
    height: 50px;
}

.navbar-custom .navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-custom .navbar-nav .nav-item {
    position: relative;
}

.navbar-custom .navbar-nav .nav-link {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin: 0 20px;
    padding: 8px 16px;
    transition: color 0.3s ease;
    position: relative;
    text-decoration: none;
}


@media (max-width: 1120px) {
    .navbar-custom .navbar-container {
        min-width: auto;
        width: 100%;
    }

    .navbar-custom .navbar-nav .nav-link {
        margin: 0 10px;
        font-size: 1.2rem;
    }
}

@media (hover: hover) {
	.navbar-custom .navbar-nav .nav-link:hover {
	    color: var(--primary-color);
	}
}

.header-icon-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #333;
    margin-right: 12px;
    transition: color 0.3s ease;
}

.header-icon-btn.lang {
    width: 68px;
}

@media (hover: hover) {
	.header-icon-btn:hover {
	    color: var(--primary-color);
	}
}

.header-icon-btn svg {
    width: 22px;
    height: 22px;
}

/* PC Mega Menu Styles */
.mega-menu {
    /* position: absolute;
    top: 100%;
    left: 0;
    right: 0; */
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-radius: 0;
}

@media (hover: hover) {
	.navbar-nav .nav-item:hover .mega-menu {
	    opacity: 1;
	    visibility: visible;
	    transform: translateY(0);
	}
}

.mega-menu-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 2.5rem;
}

.mega-menu-section {
    margin-bottom: 1.5rem;
}

.mega-menu-section:last-child {
    margin-bottom: 0;
}

.mega-menu-title,
.mega-menu-title a {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 0.5rem;
}

.mega-menu-list a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
    display: block;
}

@media (hover: hover) {
	.mega-menu-list a:hover {
	    color: var(--primary-color);
	}
}

/* 외부 링크 아이콘 */
.external-link::after {
    content: '↗';
    font-size: 0.8rem;
    margin-left: 0.25rem;
    opacity: 0.7;
}

/* Mobile Menu Styles */
body.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: calc(100vh - 100px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-menu-scroll-container {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
    max-height: calc(100vh - 200px);
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

.mobile-menu-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.mobile-menu-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mobile-menu-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.mobile-menu-footer {
    flex-shrink: 0;
    background: white;
    border-top: 1px solid #e9ecef;
}

.mobile-menu-section {
    border-bottom: 1px solid #e9ecef;
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    margin: 0;
    background: none;
    border: none;
    color: #333;
    font-size: 1rem;
    font-weight: bold;
    text-align: left;
    transition: all 0.3s ease;
}

@media (hover: hover) {
	.mobile-menu-toggle:hover {
	    color: var(--primary-color);
	    background-color: #f8f9fa;
	}
}

.mobile-menu-toggle .menu-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    fill: currentColor;
}

.mobile-menu-toggle.active .menu-arrow {
    transform: rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    background-color: #f8f9fa;
    transition: max-height 0.4s ease;
}

.mobile-submenu.active {
    max-height: 1000px;
}

.mobile-submenu-item {
    border-bottom: 1px solid #e9ecef;
}

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

.mobile-submenu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

@media (hover: hover) {
	.mobile-submenu-link:hover {
	    color: var(--primary-color);
	    background-color: #ffffff;
	    padding-left: 45px;
	}
}

.mobile-submenu-link.has-children {
    cursor: pointer;
}

.mobile-submenu-link.has-children .submenu-arrow {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.mobile-submenu-link.has-children.active .submenu-arrow {
    transform: rotate(180deg);
}

/* Depth 3 Menu */
.mobile-submenu-depth3 {
    max-height: 0;
    overflow: hidden;
    background-color: #ffffff;
    transition: max-height 0.3s ease;
}

.mobile-submenu-depth3.active {
    max-height: 400px;
}

.mobile-submenu-depth3-link {
    display: block;
    padding: 10px 60px;
    color: #555;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.mobile-submenu-depth3-link:last-child {
    border-bottom: none;
}

@media (hover: hover) {
	.mobile-submenu-depth3-link:hover {
	    color: var(--primary-color);
	    background-color: #f8f9fa;
	    padding-left: 65px;
	}
}

.mobile-menu-btn {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    /* margin: 0 20px; */
    background: none;
    border: none;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

@media (hover: hover) {
	.mobile-menu-btn:hover {
	    color: var(--primary-color);
	}
}

.mobile-menu-btn svg {
    width: 22px;
    height: 22px;
    margin-right: 10px;
}

.mobile-menu-btn p {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
}

/* Footer Styles */
.footer-custom {
    background-color: #121212;
    color: white;
    padding: 2rem 0 3rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.footer-links a {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

@media (hover: hover) {
	.footer-links a:hover {
	    color: var(--primary-color);
	}
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.footer-info-row .separator {
    width: 2px;
    height: 16px;
    background-color: white;
    margin: 0 10px;
}

.footer-info span {
    font-size: 1rem;
    font-weight: 500;
}

.footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 1.25rem;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #575d63;
    color: #fcfcfc;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

@media (hover: hover) {
	.footer-social a:hover {
	    background-color: var(--primary-color);
	}
}

.footer-social svg {
    width: 100%;
    height: 100%;
}

.footer-social .scale-70 {
    transform: scale(0.7);
}

/* Responsive Design */
@media (max-width: 576px) {
    .footer-info-row .separator {
        display: none;
    }
    
    .footer-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .mobile-submenu {
        max-height: 0;
    }
    
    .mobile-submenu.active {
        max-height: 800px;
    }
    
    .mobile-submenu-depth3.active {
        max-height: 400px;
    }
    
    .mobile-menu-scroll-container {
        max-height: calc(100vh - 150px);
    }
}

@media (min-width: 576px) {
    .footer-info-row .separator {
        display: block;
    }
}

@media (max-width: 992px) {
    .navbar-custom {
        height: auto;
        min-height: 100px;
    }
    
    .mega-menu {
        position: static;
	    top: 100%;
	    left: 0;
	    right: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-top: 1px solid #e9ecef;
        background: #f8f9fa;
        width: auto;
        margin-left: 0;
    }
    
    .mega-menu-content {
        padding: 1.5rem 1rem;
    }
    
    .mega-menu-list {
        flex-direction: column;
        gap: 0.25rem;
    }
}


/* ===== COMMON STYLES (Board) ===== */

.contents {
    width: 1120px;
    min-height: 980px;
    margin: 0 auto;
    padding: 60px 0;
}

/* Reservation Styles */
section:has(.formmail-container) {
	background: linear-gradient(180deg, #DEBC80 0%, #8C7351 100%);
}

.formmail-container {
    min-height: 100vh;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.formmail-container::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('/site1/res/pub/front/images/reservation/logoBack.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.formmail-container .page-title-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.formmail-container .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.formmail-container .page-subtitle-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.formmail-container .page-subtitle {
    font-size: 1.3rem;
    color: #5a4a3a;
    margin-bottom: 0;
    font-weight: 500;
}

.formmail-container .reservation-form {
    background: transparent;
    border-radius: 20px;
    padding: 40px;
    box-shadow: none;
    max-width: 600px;
    margin: 0 auto;
    border: none;
}

.form-fields {
    margin-bottom: 40px;
}

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

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px 18px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    border-color: #DEBC80;
    box-shadow: 0 0 0 0.2rem rgba(222, 188, 128, 0.25);
    background: white;
}

.form-control::placeholder {
    color: #adb5bd;
    font-size: 14px;
}

.zipcode-group {
    display: flex;
    gap: 12px;
}

.zipcode-btn {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 24px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-size: 14px;
}

.zipcode-btn:hover {
    background: linear-gradient(135deg, #357ABD, #2E6BA8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.consent-section {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(222, 188, 128, 0.3);
    backdrop-filter: blur(5px);
}

.consent-item {
    margin-bottom: 18px;
}

.consent-item:last-child {
    margin-bottom: 0;
}

.custom-checkbox {
    display: flex;
    align-items: center;
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: #2c3e50;
    font-weight: 500;
}

.checkbox-icon {
    width: 22px;
    height: 22px;
    /* border: 2px solid #DEBC80; */
    border-radius: 6px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-label .checkbox-icon {
    /* border-color: var(--bs-blue); */
    background-color: var(--bs-blue);
    /* background: linear-gradient(135deg, #DEBC80, #D4A574);
    border-color: #DEBC80; */
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-label .checkbox-icon::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.submit-section {
    position: relative;
    width: 100%;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 18px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #357ABD, #2E6BA8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.mascot-inline {
    position: absolute;
    right: -140px;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(80px, 12vw, 120px);
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.mascot {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 120px;
    height: auto;
    z-index: 1000;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .reservation-form {
        padding: 25px;
        margin: 0 15px;
        border-radius: 15px;
    }

    .zipcode-group {
        flex-direction: column;
    }

    .zipcode-btn {
        width: 100%;
    }

    .mascot {
        display: none;
    }

    .mascot-inline {
        display: none;
    }

    .form-control {
        padding: 12px 15px;
        font-size: 15px;
    }

    .submit-btn {
        padding: 15px;
        font-size: 16px;
    }

    body::before {
        width: 400px;
        height: 400px;
        top: -150px;
        right: -150px;
    }

    body::after {
        width: 500px;
        height: 500px;
        bottom: -200px;
        left: -200px;
    }

    .counsel-container::before {
        width: 300px;
        height: 300px;
        opacity: 0.04;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }

    .reservation-form {
        padding: 20px;
    }

    .consent-section {
        padding: 20px;
    }

    .mascot {
        display: none;
    }

    .mascot-inline {
        display: none;
    }

    .submit-section {
        text-align: center;
    }

    .counsel-container::before {
        width: 250px;
        height: 250px;
        opacity: 0.03;
    }
}

/* 애니메이션 효과 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reservation-form {
    animation: fadeInUp 0.8s ease-out;
}

.page-title {
    animation: fadeInUp 0.6s ease-out;
}

.page-subtitle {
    animation: fadeInUp 0.7s ease-out;
}

/* 로딩 상태 */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* 포커스 상태 개선 */
.form-control:focus,
.zipcode-btn:focus,
.submit-btn:focus {
    outline: none;
}

/* 선택 드롭다운 스타일 */
select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 40px;
    appearance: none;
}

/* 텍스트 영역 스타일 */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

textarea.form-control:focus {
    min-height: 140px;
    transition: min-height 0.3s ease;
}


/* Q&A Styles */

.inquiry-header {
    width: 100%;
    height: 250px;
    background: url('/site1/res/pub/front/images/inquiry/banner.png');
}

.inquiry-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.inquiry-desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.search-box {
    max-width: 280px;
    margin-left: auto;
    margin-bottom: 20px;
}

.search-box input {
    border-radius: 0;
}

.search-box button {
    background-color: #d6c5a5;
    border: none;
    border-radius: 0;
    color: #fff;
}

table {
    border-collapse: collapse;
}

thead {
    background-color: #f5f2e8;
}

th, td {
    text-align: center;
    vertical-align: middle;
}

.btn-inquiry {
    background-color: #b1976b;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
}

.pagination .page-link {
    color: #b1976b;
    border: none;
    background-color: transparent;
}

.pagination .active .page-link {
    font-weight: bold;
    text-decoration: underline;
}

.pagination {
    margin-top: 30px;
    margin-bottom: 30px;
}

.text-end {
    text-align: right;
}