/* * PakejJepun.com - Premium Japanese Aesthetic Stylesheet
 * Custom Colors: Premium Vermilion (#E63946), Dark Indigo (#1D3557), Cream Linen (#FAFAFA)
 */

:root {
    --vermilion: #D9383A;
    --vermilion-hover: #B82E30;
    --dark-slate: #1A2530;
    --text-dark: #2B2B2B;
    --text-light: #707070;
    --bg-cream: #FDFBF7;
    --bg-white: #FFFFFF;
    --border-subtle: #EBE7E0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(26, 37, 48, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header & Nav Styling */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(253, 251, 247, 0.95);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vertical-kanji {
    font-family: var(--font-heading);
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--vermilion);
    font-weight: 700;
    border-right: 1px solid var(--vermilion);
    padding-right: 6px;
    line-height: 1;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-slate);
    letter-spacing: -0.5px;
}

.brand-name .accent-color {
    color: var(--vermilion);
}

.brand-tagline {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-top: -2px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-slate);
}

.nav-link:hover {
    color: var(--vermilion);
}

.nav-cta-btn {
    background-color: var(--dark-slate);
    color: var(--bg-cream);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-cta-btn:hover {
    background-color: var(--vermilion);
    color: #fff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switch-btn {
    background: none;
    border: 1px solid var(--dark-slate);
    padding: 6px 12px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: var(--dark-slate);
    transition: var(--transition);
}

.lang-switch-btn:hover {
    background-color: var(--dark-slate);
    color: var(--bg-cream);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--dark-slate);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background-color: var(--bg-cream);
    z-index: 2000;
    box-shadow: -10px 0 4px rgba(0,0,0,0.05);
    transition: right 0.4s ease;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
}

.mobile-nav-overlay.open {
    right: 0;
}

.mobile-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 40px;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-link {
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 10px;
}

.mobile-cta {
    background-color: var(--vermilion);
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 20px;
}

/* Hero Section Style */
.hero-section {
    position: relative;
    padding: 180px 20px 100px;
    background: #111a24; /* Fallback for aesthetic contrast */
    background-image: url('https://images.unsplash.com/photo-1493976040374-85c8e12f0c0e?q=80&w=1920&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26,37,48,0.85), rgba(26,37,48,0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.badge-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.badge-malaysian, .badge-halal {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.badge-malaysian {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255,255,255,0.3);
}

.badge-halal {
    background-color: rgba(217, 56, 58, 0.2);
    border: 1px solid var(--vermilion);
}

.hero-title .title-sub {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--vermilion);
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-title .title-main {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-title .accent-text {
    color: var(--vermilion);
    font-style: italic;
}

.hero-desc {
    font-size: 16px;
    max-width: 700px;
    margin: 20px auto 35px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    background-color: var(--vermilion);
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(217, 56, 58, 0.3);
}

.btn-primary:hover {
    background-color: var(--vermilion-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.6);
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #ffffff;
}

.vertical-watermark {
    position: absolute;
    right: 40px;
    bottom: 40px;
    font-family: var(--font-heading);
    writing-mode: vertical-rl;
    font-size: 70px;
    font-weight: 700;
    color: rgba(255,255,255,0.03);
    pointer-events: none;
    z-index: 1;
}

/* Reusable Sections Header Elements */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--vermilion);
    font-weight: 600;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--dark-slate);
    font-weight: 700;
}

.title-line {
    width: 50px;
    height: 3px;
    background-color: var(--vermilion);
    margin: 15px auto 0;
}

/* Core Services Custom Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 15fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-subtle);
    padding: 40px 30px;
    border-radius: 6px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--vermilion);
}

.service-card.highlighted {
    background-color: var(--dark-slate);
    color: #ffffff;
    border: none;
}

.service-card.highlighted .section-title, 
.service-card.highlighted h3 {
    color: #fff;
}

.service-icon {
    font-size: 36px;
    color: var(--vermilion);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-slate);
}

.service-card.highlighted h3 {
    color: #ffffff;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.service-card.highlighted p {
    color: rgba(255,255,255,0.7);
}

.service-features {
    list-style: none;
}

.service-features li {
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: var(--vermilion);
}

/* Why Choose Us Style Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.why-item {
    background-color: var(--bg-white);
    padding: 30px 20px;
    border-radius: 4px;
    border-left: 3px solid var(--vermilion);
    box-shadow: var(--shadow);
}

.why-icon-box {
    font-size: 24px;
    color: var(--vermilion);
    margin-bottom: 15px;
}

.why-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-slate);
}

.why-item p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Package Catalog & Filter Tags Styling */
.filter-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    background: var(--bg-white);
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    overflow-x: auto;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-slate);
    white-space: nowrap;
}

.filter-tags-container {
    display: flex;
    gap: 10px;
}

.filter-tag {
    background: none;
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.filter-tag:hover, .filter-tag.active {
    background-color: var(--vermilion);
    color: #fff;
    border-color: var(--vermilion);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.package-card {
    background: var(--bg-white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
}

.package-img-holder {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.package-price-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: rgba(26, 37, 48, 0.9);
    color: #fff;
    padding: 6px 12px;
    font-weight: 600;
    font-size: 13px;
    border-radius: 4px;
    border-left: 3px solid var(--vermilion);
}

.package-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-card-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--dark-slate);
    margin-bottom: 10px;
    font-weight: 700;
}

.package-summary {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.package-highlights-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.highlight-tag {
    font-size: 11px;
    background-color: var(--bg-cream);
    color: var(--dark-slate);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
}

.package-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.btn-details {
    border: 1px solid var(--dark-slate);
    color: var(--dark-slate);
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
}

.btn-details:hover {
    background-color: var(--dark-slate);
    color: #fff;
}

.btn-wa-enquiry {
    background-color: #25D366;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-wa-enquiry:hover {
    background-color: #1ebd54;
}

/* Form Container Layout Style Only Requiring Requested Fields */
.lead-form-section {
    padding: 90px 20px;
    background-color: #1A2530;
    color: #fff;
}

.form-outer-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 8px;
}

.form-branding h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 15px;
    color: #fff;
}

.form-branding p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
}

.form-badge-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-badge-row span {
    font-size: 13px;
    color: var(--vermilion);
    font-weight: 600;
}

.form-badge-row span i {
    margin-right: 8px;
    color: #fff;
}

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

.premium-form label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.premium-form input, .premium-form textarea {
    width: 100%;
    background-color: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 14px;
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
}

.premium-form input:focus, .premium-form textarea:focus {
    outline: none;
    border-color: var(--vermilion);
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-form-submit {
    width: 100%;
    background-color: var(--vermilion);
    border: none;
    color: #fff;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--font-body);
    margin-top: 10px;
}

/* Testimonials View Design */
.testimonials-section {
    background-color: var(--bg-cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testi-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 6px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-subtle);
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 14px;
}

.testi-text {
    font-size: 14px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.testi-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-slate);
}

.testi-tag {
    display: inline-block;
    font-size: 11px;
    color: var(--vermilion);
    font-weight: 500;
    margin-top: 4px;
}

/* Premium Footer Layout Structure */
.site-footer {
    background-color: #0E161F;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    border-top: 4px solid var(--vermilion);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    color: #fff;
    font-weight: 700;
}

.footer-brand .accent-color {
    color: var(--vermilion);
}

.footer-tagline {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--vermilion);
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-declaration {
    line-height: 1.6;
}

.footer-container h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
}

.social-icons a:hover {
    color: var(--vermilion);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 12px;
}

/* Modal Overlay Layout */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    background-color: var(--bg-white);
    max-width: 650px;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    padding: 35px;
    border-top: 5px solid var(--vermilion);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Modal Styling Helpers */
.modal-body-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--dark-slate);
    margin-bottom: 10px;
}

.modal-itinerary-list {
    list-style: none;
    margin: 20px 0;
}

.modal-itinerary-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.modal-itinerary-list li::before {
    content: "•";
    color: var(--vermilion);
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -4px;
}

/* AI Floating Chat Widget Box Elements */
.ai-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2500;
}

.ai-chat-trigger {
    background-color: var(--vermilion);
    color: #fff;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(217, 56, 58, 0.4);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trigger-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--dark-slate);
    color: #fff;
    font-family: var(--font-body);
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.ai-chat-trigger:hover .trigger-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.ai-chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 360px;
    height: 480px;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border: 1px solid var(--border-subtle);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.ai-chat-window.open {
    display: flex;
}

.chat-header {
    background-color: var(--dark-slate);
    color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar-profile {
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: relative;
}

.ai-status-indicator {
    width: 8px;
    height: 8px;
    background-color: #25D366;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 1px solid var(--dark-slate);
}

.chat-header-text h4 {
    font-size: 13px;
    font-weight: 600;
}

.chat-header-text p {
    font-size: 11px;
    opacity: 0.7;
}

.chat-minimize {
    margin-left: auto;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}

.chat-messages-area {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: var(--bg-cream);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.chat-msg.bot {
    background-color: var(--bg-white);
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.chat-msg.user {
    background-color: var(--vermilion);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    padding: 12px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 8px;
}

.chat-input-area input {
    flex-grow: 1;
    border: 1px solid var(--border-subtle);
    padding: 8px 12px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 13px;
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--vermilion);
}

.chat-input-area button {
    background-color: var(--dark-slate);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input-area button:hover {
    background-color: var(--vermilion);
}

/* Sticky Bottom WhatsApp Button */
.sticky-whatsapp-cta {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 2500;
}

.whatsapp-sticky-btn {
    background-color: #25D366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Responsive Breakpoints Rules */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .form-outer-container {
        grid-template-columns: 1fr;
    }
    .hero-title .title-main {
        font-size: 30px;
    }
    .ai-chat-window {
        width: 300px;
        right: -10px;
    }
}
