/* ===================================
   锦澄 - B2B Machinery Homepage Styles
   Brand: Futuro Brillante (Logo Red + Black)
   Style: Industrial Modern (WEMA Inspired)
   =================================== */

:root {
    --primary-bg: #FFFFFF;
    --secondary-bg: #F5F5F5;
    --accent-red: #E30613; /* Logo Red */
    --accent-red-hover: #C2000A;
    --pure-black: #000000;
    --dark-module: #080808;
    --text-main: #111111;
    --text-desc: #4A4A4A;
    --text-light: #888888;
    --text-white: #FFFFFF;
    --font-heading: 'Montserrat', 'Noto Sans SC', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 12px 36px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-desc);
    background-color: var(--primary-bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul, ol {
    list-style: none;
}

.container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-red);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-black-skew {
    background: var(--pure-black);
    color: #fff;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 100%, 16px 100%);
    padding: 14px 40px;
}

.btn-black-skew:hover {
    background: var(--accent-red);
}

.btn-white {
    background: #fff;
    color: var(--text-main);
}

.btn-white:hover {
    background: var(--accent-red);
    color: #fff;
}

/* Header - White Background */
.header {
    background: var(--primary-bg); /* Changed to White */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px; /* Increased height */
}

.logo img {
    height: 50px; /* Slightly larger logo */
    display: block;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-main); /* Changed to Black/Dark */
    font-weight: 600;
    font-size: 16px;
    position: relative;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-red);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    color: var(--text-main); /* Changed to Dark */
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.search-btn {
    width: 48px;
    height: 48px;
    background: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

.search-btn:hover {
    background: var(--accent-red-hover);
}

.menu-toggle {
    display: none;
    color: var(--text-main); /* Changed to Dark */
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        padding: 80px 24px;
        transition: 0.3s;
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-link {
        color: var(--text-main);
    }
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    .header-actions .search-btn {
        display: none;
    }
}

/* Hero - Fullscreen Slider */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

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

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 1380px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 80px;
    z-index: 2;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-text {
    max-width: 700px;
    margin: 0;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-arrows {
    position: absolute;
    bottom: 40px;
    right: 80px;
    display: flex;
    gap: 12px;
    z-index: 3;
}

.arrow-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.arrow-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

#hero-next {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

@media (max-width: 768px) {
    .hero-text {
        max-width: 100%;
        padding-bottom: 100px;
    }
    .hero-arrows {
        right: 20px;
        bottom: 20px;
    }
}

/* ===================================
   About Module - Creative Redesigned
   =================================== */

/* Stats Bar */
.about-stats-bar {
    background: var(--pure-black);
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-red);
    align-self: flex-start;
    margin-top: -10px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .about-stats-bar { padding: 30px 20px; gap: 20px; }
    .stat-number { font-size: 36px; }
    .stat-divider { display: none; }
}

/* Main Content Area */
.about-main {
    padding: 100px 0;
    background: var(--primary-bg);
}

.about-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* Left Story */
.about-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(227, 6, 19, 0.1);
    color: var(--accent-red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.about-title {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-main);
}

.about-title span {
    color: var(--accent-red);
}

.about-text {
    font-size: 16px;
    color: var(--text-desc);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}

.tech-badge:hover {
    background: var(--accent-red);
    color: #fff;
    border-color: var(--accent-red);
}

.tech-badge i {
    font-size: 12px;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--pure-black);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
}

.about-cta:hover {
    background: var(--accent-red);
    gap: 14px;
}

/* Right Visual Grid */
.about-visual-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 520px;
}

.visual-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.visual-card:hover img {
    transform: scale(1.05);
}

.main-card {
    grid-row: 1 / span 2;
    height: 100%;
}

.sub-card-1, .sub-card-2 {
    height: 100%;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    padding: 20px;
    color: #fff;
}

.overlay-label {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent-red);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    margin-bottom: 8px;
}

.card-overlay h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

@media (max-width: 1024px) {
    .about-main-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-visual-grid { height: 400px; }
}

@media (max-width: 768px) {
    .about-visual-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 240px 160px 160px;
        height: auto;
    }
    .sub-card-1, .sub-card-2 { height: 160px; }
}

/* Old About Module - Keep for backward compatibility if needed */
.about-section {
    padding: 100px 0;
    background: var(--primary-bg);
    position: relative;
    overflow: hidden;
    display: none;
}

/* Advantages Module - Accordion Style */
.advantages-section {
    background: var(--secondary-bg);
    padding: 80px 0;
}

.advantages-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Left Side */
.advantages-left {
    flex: 0 0 35%;
    max-width: 35%;
    padding-top: 20px;
}

.advantages-label {
    display: inline-block;
    color: var(--accent-red);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.advantages-main-title {
    font-size: 42px;
    color: var(--pure-black);
    line-height: 1.1;
    margin-bottom: 20px;
}

.advantages-subtitle {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 36px;
}


/* Right Side - Accordion */
.advantages-right {
    flex: 1;
}

.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: rgba(211, 47, 47, 0.3);
}

.accordion-item.active {
    border-color: var(--accent-red);
    box-shadow: 0 4px 20px rgba(211, 47, 47, 0.1);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.accordion-header:hover {
    background: rgba(211, 47, 47, 0.02);
}

.accordion-icon-wrap {
    width: 44px;
    height: 44px;
    background: var(--pure-black);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: var(--transition);
}

.accordion-item.active .accordion-icon-wrap {
    background: var(--accent-red);
}

.accordion-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    min-width: 24px;
}

.accordion-title {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    color: var(--pure-black);
    transition: var(--transition);
}

.accordion-item.active .accordion-title {
    color: var(--accent-red);
}

.accordion-arrow {
    width: 28px;
    height: 28px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
    transition: var(--transition);
}

.accordion-item.active .accordion-arrow {
    border-color: var(--accent-red);
    background: var(--accent-red);
    color: #fff;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content-inner {
    padding: 0 24px 20px 84px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1100px) {
    .advantages-layout {
        flex-direction: column;
        gap: 40px;
    }
    .advantages-left {
        flex: none;
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .advantages-main-title {
        font-size: 32px;
    }
    .accordion-header {
        padding: 16px 18px;
    }
    .accordion-content-inner {
        padding: 0 18px 16px 18px;
    }
    .accordion-icon-wrap {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
}

/* Products Module (WEMA Style Vertical Cards) */
.products-section {
    background: var(--primary-bg);
    padding: 100px 0;
}

.products-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.products-scroll-area {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.products-scroll-area::-webkit-scrollbar {
    display: none;
}

.products-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    transition: transform 0.4s ease;
}

.products-section .product-card {
    width: 280px;
    flex-shrink: 0;
    background: var(--pure-black);
    border: none;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: #fff;
}

.products-section .product-card:hover {
    box-shadow: var(--shadow-hover);
}

.products-section .product-card-img {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #fff;
}
.products-section .product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}
.products-section .product-card:hover .product-card-img img {
    transform: scale(1.05);
}
.products-section .product-card-body {
    padding: 16px;
    background: var(--pure-black);
}
.products-section .product-card-category {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
}
.products-section .product-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}
.products-section .product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.scroll-controls {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.scroll-btn {
    width: 44px;
    height: 44px;
    background: var(--pure-black);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.scroll-btn:hover {
    background: var(--accent-red);
}

@media (max-width: 768px) {
    .products-header-top {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .products-section .product-card {
        width: 240px;
    }
}
@media (max-width: 480px) {
    .products-section .product-card {
        width: 200px;
    }
}

/* ===================================
   News Module - Editorial Cards Style
   =================================== */
.news-creative-section {
    padding: 100px 0;
    background: var(--primary-bg);
}

.news-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 20px;
}

.news-creative-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 0;
}

.news-grid-creative {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* 2 Columns: Left Large, Right Small */
    grid-template-rows: repeat(2, minmax(0, 1fr)); /* 2 Strictly Equal Rows */
    gap: 24px;
    min-height: 640px;
    width: 100%;
}

.news-card-visual.large {
    grid-column: 1;
    grid-row: span 2; /* Occupies 2 rows, stretching vertically */
    height: 100%;
}

.news-card-visual.small {
    grid-column: 2;
    height: 100%;
}

/* Ensure images stretch to fill the forced height */
.news-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.news-card-visual {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.news-card-visual.large {
    grid-row: span 2;
    height: 100%; /* Fill the full height */
}

.news-card-visual.small {
    height: 100%; /* Fill the row height */
}

.news-card-visual {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.news-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.news-card-visual.large {
    grid-row: span 2;
    height: 640px;
}

.news-card-visual.small {
    height: 308px; /* (640 - 24) / 2 */
}

.news-card-visual:hover img {
    transform: scale(1.05);
}

/* Overlay */
.news-ov {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 50%;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.news-card-visual:hover .news-ov {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
    border-bottom-color: var(--accent-red);
}

.news-date {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--accent-red);
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.news-ov h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.news-card-visual.small .news-ov h3 {
    font-size: 20px;
}

.news-excerpt {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 12px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card-visual:hover .read-more-link {
    max-height: 30px;
    opacity: 1;
}

.news-card-visual:hover .news-excerpt {
    max-height: 80px;
    opacity: 1;
}

.news-card-visual:hover .read-more-link i {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .news-grid-creative {
        grid-template-columns: 1fr 1fr;
    }
    .news-card-visual.large {
        grid-column: span 2;
        height: 400px;
    }
    .news-card-visual.small {
        height: 300px;
    }
    .news-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .news-grid-creative {
        grid-template-columns: 1fr;
    }
    .news-card-visual.large, .news-card-visual.small {
        grid-column: auto;
        height: 300px;
    }
}

/* Footer - Pure Black */
.footer {
    background: var(--pure-black);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 4px;
    background: var(--accent-red);
    transform: skewX(-45deg) translateX(-40px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 36px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-nav h4, .footer-nav-title {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-nav ul li, .footer-nav-link li {
    margin-bottom: 12px;
}

.footer-nav ul li a:hover, .footer-nav-link li a:hover {
    color: var(--accent-red);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: center;
}

.footer-contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.footer-contact-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-white);
}

.footer-contact-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-qr {
    align-self: flex-end;
    flex-shrink: 0;
}

.footer-qr img {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    background: #fff;
    padding: 3px;
    margin-bottom: 8px;
}

.footer-qr p {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

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

/* ===================================
   Global Inner Page Styles
   =================================== */

/* Page Banner */
.page-banner {
    height: 400px;
    background: var(--secondary-bg) center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

.page-banner-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 12px;
}

.breadcrumbs {
    display: inline-flex;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.breadcrumbs a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--accent-red);
}

/* Content Sections */
.content-section {
    padding: 100px 0;
}

/* Sidebar Layout */
.sidebar-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

.sidebar {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.sidebar-menu li {
    margin-bottom: 12px;
}

.sidebar-menu li a {
    display: block;
    padding: 12px 16px;
    background: var(--secondary-bg);
    color: var(--text-main);
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: var(--pure-black);
    color: #fff;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Inner Card Common */
.inner-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.inner-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-red);
}

.inner-card-img {
    height: 220px;
    overflow: hidden;
}

.inner-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.inner-card:hover .inner-card-img img {
    transform: scale(1.05);
}

.inner-card-body {
    padding: 24px;
}

.inner-card-date {
    font-size: 13px;
    color: var(--accent-red);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.inner-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--pure-black);
    margin-bottom: 8px;
    line-height: 1.4;
}

.inner-card-text {
    font-size: 14px;
    color: var(--text-desc);
    line-height: 1.6;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 60px;
}

.pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-bg);
    color: var(--text-main);
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
    background: var(--pure-black);
    color: #fff;
}

/* Form Styles */
.contact-form {
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--pure-black);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-red);
}

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

/* Product List (Category Pages) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 16px;
}
.product-card-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}
.product-card-item:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-red);
}
.product-card-img {
    height: 260px;
    overflow: hidden;
    background: #fafafa;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}
.product-card-item:hover .product-card-img img {
    transform: scale(1.05);
}
.product-card-info {
    padding: 20px;
}
.product-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--pure-black);
    margin-bottom: 8px;
}
.product-card-desc {
    font-size: 13px;
    color: var(--text-desc);
    line-height: 1.5;
    margin-bottom: 16px;
}
.product-card-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--pure-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}
.product-card-link i {
    transition: transform 0.3s;
}
.product-card-item:hover .product-card-link {
    color: var(--accent-red);
}
.product-card-item:hover .product-card-link i {
    transform: translateX(4px);
}

/* ===================================
   Homepage Product Cards
   =================================== */
.products-section .product-card-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: #fff;
}
.products-section .product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}
.products-section .product-card:hover .product-card-img img {
    transform: scale(1.05);
}
.products-section .product-card-body {
    padding: 16px;
    background: var(--pure-black);
}
.products-section .product-card-category {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
}
.products-section .product-card .product-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}
.products-section .product-card .product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}
.products-section .product-card-link i {
    transition: transform 0.3s;
}
.products-section .product-card:hover .product-card-link i {
    transform: translateX(4px);
}

/* ===================================
   WhatsApp Floating Button
   =================================== */
.whatsapp-float {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    animation: whatsapp-pulse 2s infinite;
    border: none;
    outline: none;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float-tooltip {
    background: #fff;
    color: var(--pure-black);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-card);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
}

.whatsapp-float-btn:hover + .whatsapp-float-tooltip,
.whatsapp-float-tooltip:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.whatsapp-float-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 12px;
    }
    .whatsapp-float-btn {
        width: 52px;
        height: 52px;
        font-size: 28px;
    }
}

@media (max-width: 1100px) {
    .sidebar-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        margin-bottom: 40px;
    }
    .page-banner-title {
        font-size: 36px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Search Overlay
   =================================== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 140px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-modal {
    width: 100%;
    max-width: 680px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 220px);
    transform: translateY(-16px);
    transition: transform 0.3s;
}

.search-overlay.active .search-modal {
    transform: translateY(0);
}

.search-top {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--secondary-bg);
    gap: 14px;
}

.search-icon {
    font-size: 18px;
    color: var(--text-light);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    font-size: 17px;
    font-family: var(--font-body);
    color: var(--text-main);
    outline: none;
    background: none;
    min-width: 0;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-close-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--secondary-bg);
    color: var(--text-main);
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    font-family: var(--font-body);
    line-height: 1;
}

.search-close-btn:hover {
    background: var(--accent-red);
    color: #fff;
}

.search-results {
    overflow-y: auto;
    padding: 20px 24px 24px;
    max-height: 55vh;
}

.search-results::-webkit-scrollbar {
    width: 4px;
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--secondary-bg);
    border-radius: 2px;
}

.search-results::-webkit-scrollbar-track {
    background: transparent;
}

.search-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-light);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-red);
}

.search-section-title:not(:first-child) {
    margin-top: 28px;
}

.search-result-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    border-radius: 8px;
    transition: background 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    margin-bottom: 2px;
}

.search-result-item:last-child {
    margin-bottom: 0;
}

.search-result-item:hover {
    background: var(--secondary-bg);
}

.search-result-img {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--secondary-bg);
}

.search-result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--pure-black);
    margin-bottom: 4px;
    line-height: 1.3;
}

.search-result-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: var(--accent-red);
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.search-result-desc {
    font-size: 13px;
    color: var(--text-desc);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.search-no-results i {
    font-size: 44px;
    color: #ddd;
    margin-bottom: 14px;
    display: block;
}

.search-no-results p {
    font-size: 15px;
    margin: 0;
}

@media (max-width: 768px) {
    .search-overlay {
        padding-top: 80px;
    }
    .search-modal {
        max-width: calc(100% - 32px);
        max-height: calc(100vh - 120px);
        border-radius: 10px;
    }
    .search-top {
        padding: 16px 20px;
    }
    .search-input {
        font-size: 16px;
    }
    .search-results {
        padding: 16px 20px 20px;
    }
    .search-result-img {
        width: 56px;
        height: 56px;
    }
    .search-result-name {
        font-size: 14px;
    }
}
span { font-family: Georgia, 'Times New Roman', serif; }
h1.hero-title.animate { font-family: Georgia, 'Times New Roman', serif; }
