/* Font Setup */
@font-face {
    font-family: 'NotoSansHans';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/NotoSansHans-Regular.otf') format('opentype');
    font-weight: normal;
}
@font-face {
    font-family: 'NotoSansHans';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/NotoSansHans-Bold.otf') format('opentype');
    font-weight: bold;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'NotoSansHans', sans-serif;
    background-color: #ffffff;
    width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
    padding-bottom: 60px; /* Space for fixed navbar */
}

img {
    display: block;
    width: 100%;
    height: auto;
}

/* Utility Classes */
.desktop-only { display: block; }
.mobile-only { display: none; }

/* Responsive Switch */
@media (max-width: 929px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
}

/* Section Styles */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Hero & Footer Layers (Section 0 & 6) */
.layered-section {
    position: relative;
    width: 100%;
}

/* Aspect Ratios */
.ratio-desktop-16-9 {
    aspect-ratio: 16/9;
}
.ratio-mobile-portrait {
    aspect-ratio: 1233/2048;
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure full visibility */
}

/* Swiper Customization */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-button-next, .swiper-button-prev {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.6;
}
.swiper-pagination-bullet-active {
    background: #1a5490;
    opacity: 1;
}

/* Section 7: Reservation Form */
.reservation-section {
    background: #eef7ff;
    color: #333;
    padding: 80px 20px;
    text-align: center;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-title {
    font-size: 2.5rem;
    letter-spacing: 0.5rem;
    margin-bottom: 40px;
    color: var(--primary-blue);
    font-family: 'Noto Serif TC', serif;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 16px;
    font-family: 'NotoSansHans', sans-serif;
    background-color: rgba(255,255,255,0.75);
    border: solid 1px transparent;
    border-bottom: solid 1px #1a5490;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: #1a5490;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 84, 144, 0.1);
}

.form-submit {
    width: 100%;
    padding: 16px;
    background-color: #1a5490;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-submit:hover {
    background-color: #144275;
}

/* Fixed Bottom Navbar */
.fixed-navbar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: #1a5490;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.nav-btn {
    flex: 1;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 1px solid rgba(255,255,255,0.2);
    transition: background 0.3s;
}

.nav-btn:last-child {
    border-right: none;
}

.nav-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

.nav-btn i {
    font-size: 24px;
    margin-bottom: 2px;
}

.city {
    border-bottom: 1px solid rgba(2556, 255, 255, 0.3);
}

.town {
    margin-bottom: 25px;
}

.zipcode {
    display: none;
}

.form-link{ color: #fff; text-decoration: underline;}

.form-link:hover{ text-decoration: none;}

.hide-box {
    position: relative;
    display: block;
    width:100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: justify;
    padding:0 15px 15px 15px;
    line-height: 1.5rem;
    padding-top: 20px; 
    padding-bottom: 20px;
    font-size: 13px;
    color: #222;
}

/* Mobile specific adjustments for form */
@media (max-width: 929px) {
    .form-container {
        padding: 25px;
    }
    .form-title {
        font-size: 2rem;
    }
    .nav-btn span {
        font-size: 11px;
    }
    .hide-box {
        font-size: 11px;
    }
}