/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Prompt', sans-serif;
    margin: 0;
    background: #f7f7f7;
    color: #222;
    line-height: 1.6;
}

/* Header */
header {
    background: #b71c1c;
    color: #fff;
    padding: 1.2rem 0;
    box-shadow: 0 4px 20px rgba(183,28,28,0.13);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.18);
    color: #fff;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.05);
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.main-menu li {
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    white-space: nowrap;
    text-align: center;
    min-width: fit-content;
    color: #fff;
}

.main-menu li:hover {
    color: #b71c1c;
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(183,28,28,0.08);
}

.main-menu li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-menu li:hover::after {
    width: 70%;
    background: #b71c1c;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.lang-switch button {
    background: #fff;
    border: 2px solid #b71c1c;
    color: #b71c1c;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 50px;
}

.lang-switch button:hover {
    background: #b71c1c;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(183,28,28,0.13);
}

/* Banner & Slider */
.banner-section {
    background: linear-gradient(90deg, #b71c1c 60%, #616161 100%);
    color: #fff;
    padding: 4rem 0 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.slider-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Arrow Navigation */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(183,28,28,0.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    opacity: 0.85;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-arrow.left { left: 10px; }
.slider-arrow.right { right: 10px; }
.slider-arrow:hover {
    background: #fff;
    color: #b71c1c;
    transform: translateY(-50%) scale(1.08);
    opacity: 1;
}

/* Slide background overlay/shape */
.slide-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    opacity: 0.18;
    pointer-events: none;
    border-radius: 18px;
}
.slide-bg1 {
    background: radial-gradient(circle at 70% 30%, #fff 0%, #b71c1c 60%, #616161 100%);
}
.slide-bg2 {
    background: radial-gradient(circle at 30% 70%, #fff 0%, #616161 60%, #b71c1c 100%);
}
.slide-bg3 {
    background: linear-gradient(120deg, #b71c1c 0%, #616161 100%);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}
.slide h1, .slide p {
    position: relative;
    z-index: 2;
}
.slide h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.18);
    color: #fff;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide p {
    font-size: 1.4rem;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #616161;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.slider-btn:hover {
    border-color: #b71c1c;
    background: #fff;
    transform: scale(1.2);
}

.slider-btn.active {
    border-color: #b71c1c;
    background: #b71c1c;
    transform: scale(1.1);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

.widget-box {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 5;
    margin: -100px auto 3rem auto;
    max-width: 1050px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

#searchform {
    width: 100%;
    height: 330px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.widget-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b71c1c, #616161);
}

.widget-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(97,97,97,0.13);
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    font-size: 1rem;
    margin-top: 4rem;
    padding: 3rem 0 2rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b71c1c, #616161);
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
    padding: 0 2rem;
}

.footer-left {
    min-width: 300px;
}

.footer-links {
    margin-top: 1rem;
    font-size: 1rem;
}

.footer-links a {
    color: #b71c1c;
    text-decoration: underline;
    margin: 0 0.5rem;
    font-weight: 600;
    transition: color 0.2s, background 0.2s;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.footer-links a:hover {
    color: #fff;
    background: #b71c1c;
    text-decoration: none;
    transform: translateY(-2px);
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 300px;
}

.footer-pay, .footer-social {
    margin-bottom: 1rem;
}

.footer-pay span, .footer-social span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #b71c1c;
}

.pay-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.pay-icons img {
    height: 35px;
    padding: 0.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(97,97,97,0.08);
    transition: all 0.3s ease;
}

.pay-icons img:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(183,28,28,0.13);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-block;
    padding: 0.8rem;
    background: #616161;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icons img {
    height: 24px;
    width: 24px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #b71c1c;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(183,28,28,0.13);
}

.social-icons a:hover img {
    filter: brightness(1) invert(0);
}

/* Cookie Consent Bar */
.cookie-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: #616161;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    font-size: 1rem;
    box-shadow: 0 -2px 16px rgba(44,62,80,0.12);
    animation: fadeInUp 0.7s;
}
.cookie-bar span {
    margin-right: 0.5rem;
}
.cookie-bar a {
    color: #b71c1c;
    text-decoration: underline;
    margin: 0 0.5rem;
    font-weight: 600;
    transition: color 0.2s;
}
.cookie-bar a:hover {
    color: #fff;
}
.cookie-bar button {
    background: #b71c1c;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: background 0.2s, color 0.2s;
}
.cookie-bar button:hover {
    background: #fff;
    color: #b71c1c;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
    .nav-flex {
        padding: 0 1.5rem;
    }
    .main-menu {
        gap: 1rem;
    }
    .main-menu li {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 1000px) {
    .nav-flex {
        flex-direction: column;
        gap: 1rem;
    }
    .main-menu {
        gap: 1rem;
    }
    .main-menu li {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    .logo {
        font-size: 1.8rem;
    }
    .slide p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    .slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }
}

@media (max-width: 900px) {
    .nav-flex {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    nav {
        order: 2;
    }
    .header-actions {
        order: 3;
        justify-content: center;
    }
    .logo {
        order: 1;
        text-align: center;
        font-size: 1.6rem;
    }
    .main-menu {
        justify-content: center;
        gap: 0.8rem;
    }
    .main-menu li {
        font-size: 0.85rem;
        padding: 0.4rem 0.7rem;
    }
    .slider-container {
        height: 180px;
    }
    .slide h1 {
        font-size: 2.5rem;
    }
    .slide p {
        font-size: 1.2rem;
    }
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .widget-box {
        margin: -80px auto 2rem auto;
        padding: 1rem;
    }
    #searchform {
        height: 420px;
    }
}

@media (max-width: 700px) {
    header {
        padding: 1rem 0;
    }
    .container {
        padding: 0 1rem;
    }
    .nav-flex {
        gap: 0.8rem;
    }
    .main-menu {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-menu li {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        border-radius: 20px;
    }
    .logo {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    .lang-switch button {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    .slider-container {
        height: 160px;
    }
    .slide h1 {
        font-size: 2rem;
    }
    .slide p {
        font-size: 1.1rem;
    }
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    .slider-controls {
        gap: 0.8rem;
    }
    .slider-btn {
        width: 10px;
        height: 10px;
    }
    .main-content {
        margin: 2rem auto;
    }
}

@media (max-width: 500px) {
    .nav-flex {
        gap: 0.6rem;
    }
    .main-menu {
        gap: 0.3rem;
    }
    .main-menu li {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        border-radius: 15px;
    }
    .logo {
        font-size: 1.3rem;
    }
    .lang-switch button {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
        min-width: 40px;
    }
    .header-actions {
        gap: 0.5rem;
    }
    .slider-container {
        height: 140px;
    }
    .slide h1 {
        font-size: 1.3rem;
    }
    .slide p {
        font-size: 0.95rem;
    }
    .slider-arrow {
        width: 24px;
        height: 24px;
        font-size: 1rem;
    }
    .slider-controls {
        gap: 0.6rem;
    }
    .slider-btn {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 400px) {
    .main-menu {
        gap: 0.2rem;
    }
    .main-menu li {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    .logo {
        font-size: 1.2rem;
    }
    .cookie-bar {
        font-size: 0.85rem;
        padding: 0.7rem 0.3rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, #b71c1c 60%, #616161 100%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 18px;
    padding: 0.7rem 2.2rem 0.5rem 2.2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 18px rgba(183,28,28,0.13);
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    z-index: 10;
    border: 2.5px solid #fff;
    animation: fadeIn 1.2s;
}
.hero-badge span {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
    color: #ffeaa7;
}

.cta-btn {
    display: inline-block;
    margin-top: 1.2rem;
    background: #b71c1c;
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 0.7rem 2.2rem;
    border-radius: 30px;
    border: none;
    box-shadow: 0 2px 12px rgba(183,28,28,0.13);
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    animation: fadeIn 1.2s 0.2s both;
}
.cta-btn:hover {
    background: #fff;
    color: #b71c1c;
    transform: scale(1.05);
    box-shadow: 0 4px 18px rgba(183,28,28,0.18);
}

.features-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
    margin: 2.5rem 0 1.5rem 0;
    flex-wrap: wrap;
    z-index: 2;
    position: relative;
}
.feature {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(97,97,97,0.10);
    padding: 1.2rem 1.5rem;
    min-width: 170px;
    text-align: center;
    flex: 1 1 170px;
    max-width: 220px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #f7f7f7;
}
.feature:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 8px 32px rgba(183,28,28,0.13);
    border-color: #b71c1c;
}
.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #b71c1c;
}
.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #b71c1c;
    margin-bottom: 0.2rem;
}
.feature-desc {
    font-size: 0.98rem;
    color: #616161;
}

.testimonial-section {
    margin: 2.5rem 0 1.5rem 0;
    text-align: center;
    z-index: 2;
    position: relative;
}
.testimonial-carousel {
    position: relative;
    min-height: 90px;
    max-width: 600px;
    margin: 0 auto 1.2rem auto;
}
.testimonial {
    display: none;
    opacity: 0;
    transition: opacity 0.5s;
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    padding: 1.2rem 1.5rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(97,97,97,0.10);
    border: 2px solid #f7f7f7;
    z-index: 1;
    animation: fadeIn 1s;
}
.testimonial.active {
    display: block;
    opacity: 1;
    z-index: 2;
}
.testimonial-quote {
    font-size: 1.1rem;
    color: #b71c1c;
    font-weight: 600;
    margin-bottom: 0.7rem;
    font-style: italic;
}
.testimonial-user {
    font-size: 0.98rem;
    color: #616161;
}
.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
}
.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #b71c1c;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s, border 0.2s, transform 0.2s;
    margin: 0 2px;
}
.testimonial-dot.active {
    background: #b71c1c;
    border-color: #b71c1c;
    transform: scale(1.15);
}

.footer-badges {
    margin-top: 1.2rem;
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}
.badge {
    background: #b71c1c;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 14px;
    padding: 0.3rem 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(183,28,28,0.10);
    display: inline-block;
    margin-bottom: 0.2rem;
}

@media (max-width: 900px) {
    .features-section {
        gap: 1.2rem;
    }
    .feature {
        min-width: 120px;
        max-width: 180px;
        padding: 0.8rem 0.7rem;
    }
    .testimonial-carousel {
        min-height: 110px;
    }
}
@media (max-width: 700px) {
    .features-section {
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
    }
    .feature {
        min-width: 90vw;
        max-width: 95vw;
    }
    .testimonial-section {
        margin: 1.2rem 0 1rem 0;
    }
    .testimonial-carousel {
        min-height: 120px;
    }
}

/* LINE@ Live Chat Widget */
.line-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1500;
    animation: bounceIn 1s ease-out;
}

.line-chat-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #00C300 0%, #00A800 100%);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(0, 195, 0, 0.5), 0 0 0 0 rgba(0, 195, 0, 0.7);
    transition: all 0.3s ease;
    border: 3px solid #fff;
    position: relative;
    animation: pulse 2s infinite;
}

.line-chat-badge::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00C300, #00A800);
    z-index: -1;
    opacity: 0;
    animation: ripple 2s infinite;
}

.line-chat-badge:hover {
    background: linear-gradient(135deg, #00E600 0%, #00C300 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 35px rgba(0, 195, 0, 0.6), 0 0 0 0 rgba(0, 195, 0, 0.8);
    animation: none;
}

.line-chat-badge:active {
    transform: translateY(-2px) scale(1.05);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(100px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }
    70% {
        transform: scale(0.95) translateY(5px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 6px 25px rgba(0, 195, 0, 0.5), 0 0 0 0 rgba(0, 195, 0, 0.7);
    }
    50% {
        box-shadow: 0 6px 25px rgba(0, 195, 0, 0.6), 0 0 0 10px rgba(0, 195, 0, 0);
    }
    100% {
        box-shadow: 0 6px 25px rgba(0, 195, 0, 0.5), 0 0 0 0 rgba(0, 195, 0, 0.7);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.line-chat-badge svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@media (max-width: 768px) {
    .line-chat-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .line-chat-badge {
        width: 56px;
        height: 56px;
    }
    
    .line-chat-badge svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 500px) {
    .line-chat-widget {
        bottom: 10px;
        right: 10px;
    }
    
    .line-chat-badge {
        width: 52px;
        height: 52px;
    }
    
    .line-chat-badge svg {
        width: 26px;
        height: 26px;
    }
} 