/* =============================================
   Japonal Homepage v2 — Premium Styles
   ============================================= */

/* ===== BASE ===== */
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Roboto", sans-serif;
    overflow-x: hidden;
    color: #1C1C1C;
}

/* ===== TYPOGRAPHY ===== */
.font-display,
h1, h2 {
    font-family: "DM Serif Display", Georgia, serif;
}

/* ===== HEADER ===== */
.header-transparent {
    background: transparent;
}
.header-solid {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header-solid .nav-link,
.header-solid .logo-text {
    color: #1C1C1C !important;
}
.header-solid .nav-link:hover {
    color: #FF5A5F !important;
}
.header-solid #mobile-menu-btn .material-icons {
    color: #1C1C1C !important;
}

/* ===== HERO ===== */
/* Hero image now inline <img> for LCP optimization */

/* ===== SCROLLBAR ===== */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===== SCROLL SNAP ===== */
.snap-x {
    scroll-snap-type: x mandatory;
}
.snap-start {
    scroll-snap-align: start;
}

/* ===== CARD EFFECTS ===== */
.card-hover {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.img-zoom {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.group:hover .img-zoom {
    transform: scale(1.06);
}

/* ===== STAR RATING ===== */
.star-rating {
    color: #E8A838;
}

/* ===== FEATURE ICONS ===== */
.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #C85A54;
    color: #FFFFFF;
    flex-shrink: 0;
    font-size: 24px;
}

/* ===== WHY JAPONAL ===== */
.why-card {
    text-align: center;
    padding: 2.5rem 2rem;
}
.why-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFF0F0, #FFE8E8);
    color: #FF5A5F;
    margin: 0 auto 1.25rem;
    font-size: 30px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    min-width: 340px;
    max-width: 420px;
    flex-shrink: 0;
}

/* ===== TABS ===== */
.tab-btn {
    padding-bottom: 1rem;
    white-space: nowrap;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    font-weight: 400;
}
.tab-btn.active {
    border-bottom-color: #1C1C1C;
    color: #1C1C1C;
    font-weight: 500;
}
.tab-btn:not(.active) {
    color: #616161;
}
.tab-btn:not(.active):hover {
    color: #1C1C1C;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: grid;
}

/* ===== LOGO BAR ===== */
.logo-bar img {
    max-height: 36px;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease;
}
.logo-bar img:hover {
    opacity: 1;
    filter: grayscale(0%);
}
.logo-placeholder {
    width: 120px;
    height: 44px;
    background: #F0EFED;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #AAA;
    font-size: 11px;
    letter-spacing: 0.08em;
    font-weight: 500;
    text-transform: uppercase;
}

/* ===== BLOG ===== */
.blog-date {
    color: #1C1C1C;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== SLIDER ===== */
.slider-container {
    position: relative;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}
.slider-arrow:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-50%);
    border-color: rgba(0,0,0,0.15);
}
.slider-arrow.left {
    left: -20px;
}
.slider-arrow.right {
    right: -20px;
}

/* ===== GRADIENT PLACEHOLDERS ===== */
.placeholder-sakura {
    background: linear-gradient(135deg, #FFE4EC 0%, #FFB8CA 100%);
}
.placeholder-bamboo {
    background: linear-gradient(135deg, #DCF0DD 0%, #81C784 100%);
}
.placeholder-temple {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFB74D 100%);
}
.placeholder-ocean {
    background: linear-gradient(135deg, #E1F0FA 0%, #64B5F6 100%);
}
.placeholder-mountain {
    background: linear-gradient(135deg, #ECEFF1 0%, #78909C 100%);
}
.placeholder-sunset {
    background: linear-gradient(135deg, #FFE0B2 0%, #FF7043 100%);
}
.placeholder-indigo {
    background: linear-gradient(135deg, #E8EAF6 0%, #7986CB 100%);
}
.placeholder-zen {
    background: linear-gradient(135deg, #EFEBE9 0%, #A1887F 100%);
}

/* ===== SECTION LABEL ===== */
.section-label {
    font-family: "Roboto", sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #FF5A5F;
    margin-bottom: 0.5rem;
}


/* ===== MOBILE MENU ===== */
.mobile-menu-open {
    transform: translateX(0) !important;
}

/* ===== CITY CARD ===== */
.city-card {
    transition: transform 0.3s ease;
}
.city-card:hover {
    transform: translateY(-2px);
}
.city-card:hover .city-img {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.city-img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .testimonial-card {
        min-width: 300px;
    }
    .slider-arrow {
        display: none;
    }
}
