/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/public/images/banner/banner1.webp') center/cover;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--orange);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 6s infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text {
    max-width: 550px;

}

.hero-text h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 64px;
    color: var(--orange);
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-text p {
    font-size: 18px;
    max-width: 310px;
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-btns {
    display: flex;
    gap: 15px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.9s forwards;
}

.fa-banner-no {
    font-size: 14px;
    color: var(--white);
    font-weight: 600;
    justify-content: center;
    text-align: center;
    padding: 12px;
}

.btn-primary {
    padding: 14px 35px;
    background: var(--orange);
    color: white;
    border: none;

    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(232, 146, 58, 0.4);
}

.btn-outline {
    padding: 14px 35px;
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);

    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.hero-image {
    position: relative;
    width: 450px;
    height: 450px;
    opacity: 0;
    animation: fadeInRight 1.2s ease 0.5s forwards;
}

.hero-lamp {
    width: 100%;
    height: 100%;
    position: relative;
}

.lamp-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 150px;
    background: radial-gradient(circle, rgba(232, 146, 58, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.lamp-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f5c563, #e8923a, #c47a2e, #8b5a1e);
    box-shadow:
        0 0 60px rgba(232, 146, 58, 0.6),
        0 0 120px rgba(232, 146, 58, 0.3),
        inset 0 0 40px rgba(255, 200, 100, 0.3);
    overflow: hidden;
}

.lamp-sphere::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.lamp-sphere::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-conic-gradient(from 0deg, transparent 0deg 8deg, rgba(255, 200, 100, 0.1) 8deg 10deg);
    border-radius: 50%;
}

.lamp-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 40%);
}

.lamp-handle {
    position: absolute;
    top: 5%;
    right: -15%;
    width: 120px;
    height: 8px;
    background: linear-gradient(90deg, #8b5a1e, #c47a2e);
    transform: rotate(-30deg);
    border-radius: 4px;
}

.lamp-flame {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 60px;
    background: linear-gradient(to top, #e8923a, #f5c563, #fff8e7);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flicker 0.5s ease-in-out infinite alternate;
    filter: blur(2px);
}

@keyframes flicker {
    0% {
        transform: translateX(-50%) scaleY(1) scaleX(1);
    }

    100% {
        transform: translateX(-50%) scaleY(1.1) scaleX(0.9);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.hero-nav {
    position: absolute;
    bottom: 0;
    left: calc((100vw - 1400px) / 2 + 30px);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    background-color: var(--orange);
    margin-left: 30px;
}

.hero-nav button {
    width: 40px;
    height: 40px;
    background: var(--orange);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-nav button:hover {
    background: var(--orange-dark);
}


.hero-nav .hero-nav-prev img {
    transform: rotate(180deg);
}

.hero-nav .hero-nav-next img {
    transform: rotate(0deg);
}

.hero-nav-num {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
   
    color: #fff;
    min-width: 30px;
    text-align: center;
}

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

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* ===== HERO SLIDER ===== */
.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ===== SECTION COMMON ===== */
.section {
    padding: 100px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-dark {
    background: var(--darker-bg);
    padding: 100px 0;
}

.section-dark .section {
    padding: 0 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 0px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--text-light);
    margin-bottom: 0px;
}

.section-title .subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: var(--orange);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-title .divider {
    width: 60px;
    height: 2px;
    background: var(--orange);
    margin: 15px auto;
}

/* ===== REDEFINE SECTION ===== */
.redefine-section {
    background: #313131;
    padding: 25px 0;
}

.redefine-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.redefine-image {
    position: relative;
    overflow: hidden;
}

.redefine-image-inner {
    width: 100%;
    height: 100%;
    background: url('/public/images/intro/video_page.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staircase-visual {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.staircase-visual .stair {
    position: absolute;
    background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
    border-radius: 2px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.redefine-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.redefine-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.redefine-content .tag {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    min-width: 40px;
}

.redefine-content .tag i {
    color: white;
    font-size: 16px;
}

.redefine-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--text-light);
    line-height: 1.3;
}

.redefine-content .divider {
    width: 40px;
    height: 2px;
    background: var(--orange);
    margin-bottom: 20px;
}

.redefine-content p {
    color: var(--text-white);
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.redefine-thumbs {
    display: flex;

}

.redefine-thumb {
    margin-right: 20px;
    width: 160px;
    background: linear-gradient(135deg, #2a2a2a, #333);

    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.redefine-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.redefine-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.redefine-thumb .thumb-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 8px;
    background: rgba(0, 0, 0, 0.7);
    font-size: 11px;
    color: var(--text-gray);
    text-align: center;
}

/* ===== LIGHTING DISPLAY ===== */
.lighting-section {
    background: #2c2c2c;
    padding: 25px 0;
}

.lighting-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.lighting-category {
    margin-bottom: 0px;
}

.lighting-category:last-child {
    margin-bottom: 0;
}

.category-header {
    text-align: center;
    margin-bottom: 0px;
}

.category-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.category-header .divider {
    width: 40px;
    height: 2px;
    background: var(--orange);
    margin: 10px auto;
}

.category-header p {
    color: #fff;
    font-size: 14px;
    max-width: 80ch;
    margin: 0 auto;
    line-height: 1.8;
}

.lighting-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

}

.lighting-grid.special {
    display: flex;
    flex-direction: column;

    align-items: center;
}

.lighting-grid.special .lighting-row {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.lighting-grid.special .lighting-item {
    width: 300px;
    height: 350px;
    overflow: hidden;
    border-radius: 0;
    flex-shrink: 0;
    position: relative;
    padding: 0;
    margin-left: 8px;
}

.lighting-grid.special .lighting-item.wide {
    width: 610px;
}

.lighting-grid.special .lighting-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lighting-grid.special .lighting-item:hover img {
    transform: scale(1.05);
}

.lighting-grid.special .lighting-item .overlay {
    opacity: 1;

}

.lighting-grid.special .lighting-item .overlay-text {
    font-size: 13px;
    font-weight: 500;
}

/* Special overlay for crystal_2 - orange background */
.lighting-grid.special .lighting-item.special-overlay {
    position: relative;
}

.lighting-grid.special .lighting-item.special-overlay .orange-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 130, 33, 0.82);
    display: flex;
    align-items: flex-start;
    padding: 20px;
    box-sizing: border-box;
}

.lighting-grid.special .lighting-item.special-overlay .orange-overlay .overlay-content {
    flex: 1;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    padding-right: 15px;
}

.lighting-grid.special .lighting-item.special-overlay .orange-overlay .route-to {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    align-self: flex-start;
}

.lighting-grid.special .lighting-item.special-overlay .orange-overlay .route-to img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lighting-grid.special .lighting-item.garden-overlay .route-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 15px;
    box-sizing: border-box;
}

.lighting-grid.special .lighting-item.garden-overlay .route-overlay img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.lighting-grid.special .lighting-item.route-top-right .route-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 15px;
    box-sizing: border-box;
}

.lighting-grid.special .lighting-item.route-top-right .route-overlay img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.lighting-item {
    position: relative;

    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;

    transition: all 0.3s ease;
    padding: 5px;
}

.lighting-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lighting-item.featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.lighting-item-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lighting-item-bg .lamp-icon {
    font-size: 40px;
    color: var(--orange);
    opacity: 0.3;
}

.lighting-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.lighting-item:hover .overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    font-size: 14px;
}

.lighting-item .arrow-btn {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
}

.lighting-item:hover .arrow-btn {
    opacity: 1;
}

/* Featured item with text */
.featured-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--orange);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.featured-content p {
    color: white;
    font-size: 14px;
    line-height: 1.8;
}

.featured-content .arrow-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    color: white;
    font-size: 14px;
}

/* ===== MERCHANTS JOIN ===== */
.merchants-section {
    background: var(--dark-bg);
    padding: 25px 0;
    position: relative;
    overflow: hidden;
}

.merchants-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/public/images/merchants_join/bg.webp') center center / cover no-repeat;
}

.merchants-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 2;
}

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

.merchants-header .divider {
    width: 40px;
    height: 2px;
    background-color: transparent;
    margin: 10px auto;
}

.merchants-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--text-light);
    margin-bottom: 10px;
    padding-top: 32px;
}

.merchants-header p {
    color: #fff;
    font-size: 13px;
    max-width: 50ch;
    margin: 0 auto;
}

.merchants-grid {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    max-width: 1400px;
    margin: 0 auto;
}

.merchant-card {
    text-align: center;
    padding: 30px;
    flex: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.merchant-card:hover {
    transform: translateY(-5px);
}

.merchant-card:not(:last-child)::after {
    content: '';
    display: block;
    width: 1px;
    height: 150px;
    background: rgba(255, 255, 255, 0.3);
    position: absolute;
    bottom: 0;
    right: 0;
}

.merchant-card .icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 5px;
    border-radius: 0;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.merchant-card:nth-child(2) .icon {
    border-radius: 50%;
    background-color: #f58221;
}

.merchant-card .icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}



.merchant-card:nth-child(2) p {
    max-width: 25ch;
    word-break: break-word;
}

.merchant-card h4 {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 8px;
    max-width: 12ch;
    margin-top: -20px;
}

.merchant-card:nth-child(3) h4 {
    max-width: 15ch;
}

.merchant-card:nth-child(2) h4 {
    margin-top: 10px;
    margin-bottom: 30px;

}


.merchant-card p {
    font-size: 14px;
    color: var(--text-white);
    line-height: 1.6;
}

/* ===== FRANCHISE PARTNERS ===== */
.partners-section {
    background: url('/public/images/franchise_partners/bg.webp') center center / cover no-repeat;
    padding-bottom: 60px;
    position: relative;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    background: url('/public/images/franchise_partners/logo_grid.png') center center / contain no-repeat;
    max-width: 1400px;
    width: 100%;
    height: 400px;
    opacity: 0.3;
    pointer-events: none;
}

.partners-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    text-align: center;
    justify-items: center;
    position: relative;
    z-index: 1;
    padding-top: 25px;
}

.partners-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--text-light);
    margin-bottom: 10px;
    padding-top: 32px;
}

.partners-container .divider {
    width: 40px;
    height: 2px;
    background: var(--orange);
    margin: 15px auto;
}

.partners-container>p {
    color: var(--text-white);
    font-size: 13px;
    margin-bottom: 50px;
    max-width: 55ch;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 100px;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: -30px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-item img {
    width: 100%;
    height: 40px;
    object-fit: contain;
}

.partner-item:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

.partner-item span {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-gray);
    letter-spacing: 1px;
}

/* ===== WHY CHOOSE US #252525 2b2b2b===== */

.why-section {
    background: linear-gradient(180deg, #252525 0%, #2b2b2b 100%);
    padding: 25px 0;
}

.why-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    text-align: center;
}

.why-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--text-light);
    margin-bottom: 10px;
    padding-top: 32px;
}

.why-container .divider {
    width: 40px;
    height: 2px;
    background: var(--orange);
    margin: 15px auto;
}


.why-container>p {
    color: var(--text-white);
    font-size: 13px;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.8;
    max-width: 75ch;
}

.why-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.why-tab {
    padding: 10px 25px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-gray);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-tab.active,
.why-tab:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}

.why-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 0px;
}

.why-image {
    height: 250px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.why-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.why-image:hover img {
    transform: scale(1.05);
}

.why-image .img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.why-image:hover .img-overlay,
.why-image.active .img-overlay {
    opacity: 1;
}

.why-image .arr-right-btn {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.why-image .arr-right-btn img {
    width: 20px;
    height: 20px;
}

.why-image:hover .arr-right-btn {
    opacity: 1;
}

.why-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.why-tab {
    background: transparent;

    color: var(--text-gray);
    padding: 10px 25px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.why-tab:hover,
.why-tab.active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--text-light);
}

.why-text {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    align-items: start;
    text-align: left;
}

.why-text-item {
    display: none;
}

.why-text-item.active {
    display: flex;
    min-width: 1400px;
}

.why-text-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--text-light);
    line-height: 1.4;
    margin-top: -20px;
    max-width: 25ch;
    min-height: 120px;
}

.why-text-item p {
    color: var(--text-white);
    font-size: 13px;
    line-height: 1.8;
    max-width: 75ch;
}

.why-text-item .tag {
    width: 40px;
    height: 40px;
    background-color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
    margin-left: 20px;
}



/* ===== NEWS SECTION ===== */
.news-section {
    background: #2b2b2b;
    padding: 25px 0;
    margin-top: -30px;
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    text-align: center;
}

.news-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--text-light);
    margin-bottom: 10px;
    padding-top: 32px;
}

.news-container .divider {
    width: 40px;
    height: 2px;
    background: var(--orange);
    margin: 15px auto;
}

.news-container>p {
    color: var(--text-white);
    font-size: 13px;

}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 25px;
    margin-top: -25px;
}

.news-tab {
    padding: 10px 50px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-gray);
    font-size: 12px;
    cursor: pointer;

    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    max-height: 50px;
}

.news-tab.active,
.news-tab:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}

.news-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    text-align: left;
    align-items: stretch;
}

.news-left {
    display: flex;
    flex-direction: column;
}

.news-image {
    height: 350px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image .hot-badge {
    position: absolute;
    top: 25px;
    left: -3px;
    background: var(--orange);
    color: white;
    padding: 5px 15px;
    font-size: 26px;
    font-weight: 400;
}

.news-image img {
    height: 350px;
    width: 620px;
}

.news-title-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.hot-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.hot-title:hover {
    color: var(--orange);
}

.hot-title .video-icon {
    width: 30px;
    height: 30px;
    margin-right: 30px;
}

.news-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.news-item {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.news-item-line {
    border-bottom: 1px solid var(--border-color) !important;
}

.news-item h4 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 5px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.news-item h4:hover {
    color: var(--orange);
}

.news-item p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.news-item-desc {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.news-item .date {
    font-size: 12px;
    color: var(--text-muted);
}

.douhao {
    background: url("/public/images/title_douhao.png") no-repeat center;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    min-height: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    padding-top: 20px;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);

}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.fade-in-right h2 {
    max-width: 20ch;
}

.fade-in-right p {
    max-width: 80ch;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== FOOTER BACK TO TOP BTN ===== */
.footer-bottom-left .back-to-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--orange);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-bottom-left .back-to-top-btn img {

    transform: rotate(-90deg);
}

.footer-bottom-left .back-to-top-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--orange);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
}

.mobile-back-to-top {
    display: none;
}

#btt {
    display: flex;
    flex-direction: column;
}

/* ===== RESPONSIVE ===== */

/* 修复移动端水平溢出 */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        min-width: 100vw;
        width: 100%;
        max-width: 100vw;
    }

    * {
        max-width: 100vw;
        box-sizing: border-box;
    }

    .footer-contact {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-contact-item {
        flex-shrink: 0;
    }

    /* 所有容器添加最大宽度限制 */
    .nav-container,
    .redefine-container,
    .about-container,
    .lighting-container,
    .merchants-container,
    .partners-container,
    .why-container,
    .news-container,
    .footer-row,
    .footer-contact,
    .footer-row-2 {
        min-width: unset;
        max-width: 100vw;
        overflow: hidden;
    }



    /* Footer修复 */
    .footer-contact {
        min-width: unset !important;
        flex-direction: column;
        gap: 15px;
    }

    .footer-row-2 {
        grid-template-columns: 1fr !important;
    }

    /* Partners grid修复 */
    .partners-section::before {
        display: none;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }

    /* About导航修复 */
    .about-nav-item {
        min-width: unset !important;
        flex: 1 1 calc(50% - 10px);
    }



    /* Why sections修复 */
    .why-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }

    .why-tabs .why-tab {
        flex: 1 1 calc(50% - 10px);
        font-size: 8px;
        padding: 5px;
    }


    .why-images {
        grid-template-columns: 1fr !important;

    }

    .why-image {
        display: none;
    }

    .why-image:first-child {
        display: block;
    }

    .why-text-item {
        max-height: 40px;
    }

    .why-text-item h3 {
        font-size: 14px;
        background: none;
        text-align: left;

        max-width: 20ch;
    }


    .why-text-item p {
        display: none;
    }


    .why-text {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Footer columns修复 */
    .footer-cols {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* 隐藏溢出的元素 */
    .partners-container>p,
    .about-container>p,
    .about-text {
        word-break: break-word;
    }

    /* 图片响应式 */
    img {
        max-width: 100%;
        height: auto;
    }

    .lighting-section .lighting-container {
        margin-top: -20px;
    }

    .category-header {
        margin-top: -20px;
    }

    /* 确保所有padding不会导致溢出 */
    .lighting-grid.special .lighting-item,
    .lighting-grid.special .lighting-item.wide {

        margin-left: 0 !important;
        height: 100% !important;
    }

    .lighting-grid.special .lighting-item img {
        object-fit: fill;
    }

    .redefine-thumb {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }

    /* News section修复 */
    .news-container {
        margin-top: -10px;
    }

    .news-image,
    .news-image img {
        height: auto !important;
    }

    .news-title-row {
        flex-wrap: wrap;
    }

    .hot-title {
        flex-wrap: wrap;
    }
}

@media (max-width: 1200px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-image {
        width: 300px;
        height: 300px;
        margin-top: 40px;
    }

    .redefine-container {
        grid-template-columns: 1fr;
        padding: 0 30px;
    }

    .redefine-image {
        height: 300px;
    }

    .redefine-content {
        justify-content: flex-start;
    }

    .redefine-thumbs {
        gap: 10px;
    }

    .redefine-thumb {
        width: 130px;
        height: 80px;
    }

    .lighting-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .merchants-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer contact min-width修复 */
    .footer-contact {
        min-width: unset !important;
    }


}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 22px;
    }
    .merchants-header h2 {
        font-size: 20px;
    }
    .why-container h2 {
        font-size: 20px;
    }
    .news-container h2{
        font-size: 20px;
    }
    .partners-container h2 {
        font-size: 20px;
    }
    .category-header h3 {
        font-size: 20px;
    }
    /* Common */
    .section {
        padding: 60px 20px;
    }

    .section-dark .section {
        padding: 0 20px;
    }

    /* Navbar */
    .nav-container {
        padding: 0 20px;
        justify-content: center;
        justify-items: center;
    }

    .nav-logo {
        margin-left: 0px;
        margin-right: 0px;
    }

    .nav-links {
        display: none;
    }

    .nav-contact {
        display: none;
    }

    .hamburger {
        display: flex !important;
        margin-left: auto;
        margin-right: 10px;
    }

    /* Hero */
    .hero {
        height: 200px;
        min-height: 200px;
    }

    .hero-content {
        position: relative;
        width: 100%;
        padding: 80px 20px 0;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hero-bg {
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        height: calc(100% - 65px);
    }

    .hero-text {
        text-align: left;
    }

    .hero-text h1 {
        font-size: 28px;
        margin-top: 10px;
    }

    .hero-text p {
        font-size: 12px;
        max-width: 80%;
    }

    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-image {
        width: 220px;
        height: 220px;
    }

    .lamp-sphere {
        width: 180px;
        height: 180px;
    }

    .lamp-glow {
        width: 200px;
        height: 100px;
    }

    .hero-nav {
        bottom: 20px;
        left: 20px;
        transform: none;
        display: none;
    }

    .hero-nav-num {
        font-size: 16px;
    }

    .hero-nav button {
        width: 36px;
        height: 36px;
    }

    /* REDEFINE */
    .redefine-section {
        padding: 0px 0;
        padding-top: 10px;
    }

    .redefine-container {
        padding: 0 20px;
        gap: 30px;
    }

    .redefine-image {
        height: 240px;
    }

    .redefine-image-inner {
        height: 100%;
    }

    .play-btn {
        width: 60px;
        height: 60px;
    }
    
    .hero-nav {
        display: none;
    }

    .redefine-header {
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .redefine-content h2 {
        max-width: none;
        font-size: 22px;
        margin-bottom: 0;
        margin-left: 15px;
    }

    .redefine-content p {
        max-width: none;
        font-size: 14px;
    }

    .redefine-thumbs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;

    }

    .redefine-thumb {
        height: 80px;
        margin-right: 0;
        width: 100%;
    }

    .redefine-thumb img {
        display: flex;
        justify-content: flex-end;
    }

    .redefine-thumb:nth-child(2) {
        grid-row: span 2;
        height: calc(80px * 2 + 12px);
    }

    .redefine-thumb:nth-child(2) img {
        justify-content: flex-start;
    }

    .redefine-thumb:nth-child(3) img {
        justify-content: flex-end;
    }

    /* ABOUT */

    .about-section {
        margin-top: -10px;
    }

    .about-container .divider {
        margin: 10px auto 10px;
    }

    .about-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-nav-item {
        flex: 1 1 calc(33.33% - 10px);
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding: 10px 0px;
    }

    .about-nav-item .nav-desc {
        text-align: center;
    }

    .about-nav-item:first-child {
        margin: 0 auto;
    }

    .about-text {
        font-size: 14px;
        text-align: center;
    }

    /* LIGHTING */
    .lighting-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .item-row-2 {
        grid-row: span 2;
    }

    .lighting-grid .lighting-item:nth-child(n+3) {
        display: none;
    }


    .lighting-grid.special .lighting-row {
        flex-wrap: wrap;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;

    }

    .lighting-grid.special .lighting-row:nth-child(2) {
        display: none;
    }

    .lighting-grid.special .lighting-row:first-child .lighting-item:nth-child(3) {
        display: block;
    }

    .lighting-grid.special .lighting-row:first-child .lighting-item:last-child {
        display: none;
    }

    .lighting-grid.special .lighting-item {
        width: 100%;
        margin-left: 0;
    }

    .lighting-grid.special .lighting-item.wide {
        width: 100%;
    }

    .lighting-grid.special .lighting-item.special-overlay .orange-overlay {
        left: 0px;
        display: none;
    }

    .lighting-item.featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .lighting-item .overlay {
        margin-left: 0px;
        display: none;
    }

    .lighting-grid.special .lighting-item.garden-overlay .route-overlay img {
        display: none;
    }

    .lighting-grid.special .lighting-item.route-top-right .route-overlay {
        display: none;
    }

    .lighting-container {
        padding: 0 20px;
    }

    /* MERCHANTS */
    .merchants-grid {
        flex-wrap: wrap;
        justify-items: center;
        justify-content: center;
        margin-top: -80px;
    }

    .merchant-card {
        flex: 1 1 calc(33.33% - 10px);
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0px 5px;
        padding-top: 10px;
    }

    .merchant-card .icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .merchant-card h4 {
        font-size: 14px;
        min-height: 50px;
    }

    .merchant-card:nth-child(2) h4 {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .merchant-card:nth-child(2) p {
        display: none;
    }

    .merchant-card:not(:last-child)::after {
        display: none;
    }

    .merchants-container {
        padding: 0 20px;
        margin-top: -25px;
    }

    .merchant-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }

    .merchant-card h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .merchant-card p {
        font-size: 11px;
    }

    /* PARTNERS */



    .partners-container {
        padding: 0 20px;
        padding-top: 15px;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px;
    }

    .partners-grid .partner-item img {
        width: 100px !important;
    }

    .partners-container>p {
        margin-top: -30px;
        margin-bottom: 0px;
    }

    .partner-item:last-child {
        display: none;
    }

    /* WHY */
    .why-tabs {
        display: flex;
        gap: 5px;
        flex-wrap: nowrap;
    }


    .why-images {
        grid-template-columns: 1fr;
    }

    .why-image {
        height: 180px;
    }

    .why-text {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .why-container {
        padding: 0 20px;
    }

    /* NEWS */
    .news-tabs {
        display: flex;
        justify-content: center;
        justify-items: center;
        text-align: center;
        gap: 5px
    }

    .news-tab {
        font-size: 10px;
        padding: 10px 5px;
        min-width: 100px;
        max-width: 120px;
    }

    .news-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .news-left {
        padding: 0;
    }

    .news-image {
        height: auto;
        width: 100%;
    }

    .news-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .news-item {
        display: flex;
    }

    .news-item-desc {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
    }

    .news-item h4 {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        max-width: calc(100% - 110px);
        vertical-align: middle;
        font-size: 14px;
    }

    .news-item .date {
        display: inline-block;
        vertical-align: middle;
        flex-shrink: 0;
    }

    .news-title-row {
        padding: 15px 0;
    }

    .news-list {
        padding: 0;
    }

    .news-item p {
        display: none;
    }

    .news-container {
        padding: 0 20px;
    }

    .news-title-row {
        display: none;
    }

    .news-left {
        margin-bottom: 10px;
    }

    /* FOOTER */
    .footer-contact {
        flex-direction: column;
        min-width: unset;

    }

    .footer-row-1 {
        padding: 30px 20px;
    }

    .footer-row-2 {
        display: block;
        padding: 0;
    }

    .footer-col-wrapper {
        display: none;
    }

    .footer-message {
        display: block !important;
        padding: 20px;
    }

    .footer-bottom-row {
        display: none;
    }

    .footer-bottom-left .back-to-top-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        padding: 5px;
    }

    .footer-bottom-left .back-to-top-btn img {
        transform: rotate(-90deg);

    }

    .footer-bottom-left .back-to-top-btn span {
        font-size: 10px;
        color: white;
        margin-top: 2px;
    }



    .mobile-back-to-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 60px;
        padding: 5px;
        margin-top: -10px;

    }

    .mobile-back-to-top .back-to-top-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        min-height: 40px;
        background: var(--orange);
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .mobile-back-to-top .back-to-top-btn img {
        transform: rotate(-90deg);

    }

    .mobile-back-to-top h5 {
        font-size: 10px;
        color: white;
        margin-top: 4px;
        font-weight: normal;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Loading animation for images */
.img-placeholder {
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}