/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.logo-balloons {
    position: absolute;
    top: -10px;
    left: -5px;
    pointer-events: none;
}

.balloon {
    position: absolute;
    width: 8px;
    height: 12px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: float-balloon 3s ease-in-out infinite;
}



@keyframes float-balloon {
    0% { transform: translate(0px, 0px) rotate(0deg); }
    25% { transform: translate(-3px, -5px) rotate(-5deg); }
    50% { transform: translate(2px, -8px) rotate(3deg); }
    75% { transform: translate(-1px, -3px) rotate(-2deg); }
    100% { transform: translate(0px, 0px) rotate(0deg); }
}

.balloon:nth-child(1) {
    background: #ff6b6b;
    left: 0px;
    animation: float-balloon 4s ease-in-out infinite;
    animation-delay: 0s;
}

.balloon:nth-child(2) {
    background: #4ecdc4;
    left: 12px;
    animation: float-balloon 3.5s ease-in-out infinite reverse;
    animation-delay: 0.8s;
}

.balloon:nth-child(3) {
    background: #45b7d1;
    left: 24px;
    animation: float-balloon 4.2s ease-in-out infinite;
    animation-delay: 1.2s;
}

.balloon:nth-child(4) {
    background: #f9ca24;
    left: 36px;
    animation: float-balloon 3.8s ease-in-out infinite reverse;
    animation-delay: 2s;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #e5e7eb;
    font-weight: 500;
    transition: color 0.5s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    animation: randomColorPulse 4s infinite;
}

@keyframes randomColorPulse {
    0%, 70%, 100% {
        color: #9ca3af;
    }
    15%, 55% {
        color: #dc2626;
    }
}

.nav-link:nth-child(1) {
    animation-delay: 0s;
}

.nav-link:nth-child(2) {
    animation-delay: 1.2s;
}

.nav-link:nth-child(3) {
    animation-delay: 2.4s;
}

.nav-link:nth-child(4) {
    animation-delay: 3.6s;
}

.nav-link:nth-child(5) {
    animation-delay: 0.8s;
}

.nav-link:nth-child(6) {
    animation-delay: 2s;
}

.nav-link:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #dc2626;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1f2937;
    min-width: 520px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #374151;
    display: flex;
    gap: 1rem;
    padding: 0.5rem;
}

.dropdown-column {
    flex: 1;
    min-width: 250px;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-category {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #374151;
}

.dropdown-category:last-child {
    border-bottom: none;
}

.category-title {
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
}

.category-title a {
    color: #dc2626;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-title a:hover {
    color: #b91c1c;
}

.category-items {
    list-style: none;
}

.category-items li {
    margin-bottom: 0.1rem;
}

.category-items a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.category-items a:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #e5e7eb;
    margin: 3px 0;
    transition: 0.3s;
    animation: mobileMenuPulse 4s infinite;
}

@keyframes mobileMenuPulse {
    0%, 70%, 100% {
        background: #9ca3af;
    }
    15%, 55% {
        background: #dc2626;
    }
}

.bar:nth-child(1) {
    animation-delay: 0.5s;
}

.bar:nth-child(2) {
    animation-delay: 1s;
}

.bar:nth-child(3) {
    animation-delay: 1.5s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #dc2626;
    color: white;
}

.btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #dc2626;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #111111;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #1f2937;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #374151;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 12px;
    color: white;
    transition: all 0.3s ease;
}

.service-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.service-card p {
    color: #9ca3af;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: #000000;
}

.product-groups {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-group {
    background: #1f2937;
    border-radius: 12px;
    border: 1px solid #374151;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-group:hover {
    border-color: #dc2626;
}

.group-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.group-header:hover {
    background: rgba(220, 38, 38, 0.1);
}

.group-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.group-info p {
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

.featured-product {
    color: #e5e7eb;
    font-size: 0.9rem;
}

.group-expand-icon {
    font-size: 1.5rem;
    color: #9ca3af;
    transition: transform 0.3s ease;
}

.product-group.expanded .group-expand-icon {
    transform: rotate(180deg);
}

.group-products {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    border-top: 1px solid #374151;
}

.product-group.expanded .group-products {
    max-height: 2000px;
}

.group-products .product-item {
    border-bottom: 1px solid #374151;
    background: #111111;
}

.group-products .product-item:last-child {
    border-bottom: none;
}

.product-item {
    background: #1f2937;
    border-radius: 12px;
    border: 1px solid #374151;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-item:hover {
    border-color: #dc2626;
}

.product-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.product-summary:hover {
    background: rgba(220, 38, 38, 0.1);
}

.product-basic-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.group-products .product-basic-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.product-basic-info p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.125rem;
    font-weight: 600;
    color: #dc2626;
}

.expand-icon {
    font-size: 1.2rem;
    color: #9ca3af;
    transition: transform 0.3s ease;
}

.product-item.expanded .expand-icon {
    transform: rotate(180deg);
}

.product-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    border-top: 1px solid #374151;
}

.product-item.expanded .product-details {
    max-height: none;
}

@media (max-width: 768px) {
    .product-item.expanded .product-details {
        max-height: 6000px !important;
    }
}

.product-details > div {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.product-gallery {
    position: relative;
}

.gallery-container {
    display: flex;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
    transition: transform 0.5s ease;
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.gallery-item {
    min-width: 100%;
    height: 300px;
    background: #1f2937;
    transition: all 0.5s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.gallery-grid .gallery-item {
    min-width: auto;
    height: 200px;
    cursor: pointer;
}

.gallery-grid .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.gallery-item.active {
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem 0.5rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.3s ease;
    border-radius: 8px;
    background: #ffffff;
    padding: 10px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .gallery-grid .gallery-item {
        height: 250px;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    .gallery-item img {
        padding: 8px;
        object-fit: contain;
        width: calc(100% - 16px);
        height: calc(100% - 16px);
        margin: 0;
        box-sizing: border-box;
    }
    
    .product-gallery {
        width: 100%;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }
    
    .product-details > div {
        padding: 1rem 0.5rem;
        overflow-x: hidden;
    }
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.gallery-item img[src*="chinh"] {
    object-fit: cover;
    padding: 0;
}

.gallery-item img[src*="chi-tiet"] {
    object-fit: contain;
    padding: 15px;
    background: #f8f9fa;
}

.gallery-item img[src*="ung-dung"] {
    object-fit: cover;
    padding: 5px;
}

.gallery-item:empty::before {
    content: 'Hình ảnh sản phẩm';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: white;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.gallery-btn {
    background: #374151;
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.gallery-btn:hover {
    background: #dc2626;
}

.gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.thumbnail {
    width: 60px;
    height: 40px;
    background: #374151;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail.active {
    border-color: #dc2626;
    background: #dc2626;
}

.thumbnail:hover {
    background: #4b5563;
}

.product-info-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-description p {
    color: #9ca3af;
    line-height: 1.7;
}

.product-specs {
    background: #111111;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #374151;
}

.product-specs h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.specs-list {
    list-style: none;
}

.specs-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #374151;
    color: #e5e7eb;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-table {
    margin-top: 20px;
    overflow-x: auto;
    max-width: 100%;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.specs-table th,
.specs-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.specs-table th {
    background: #dc2626;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.specs-table td {
    color: #ccc;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    word-break: break-word;
}

.specs-table tr:hover {
    background: #2a2a2a;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .specs-table {
        font-size: 0.8em;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 6px 8px;
        white-space: normal;
        word-wrap: break-word;
        min-width: 80px;
    }
    
    .specs-table table {
        min-width: 100%;
        width: auto;
    }
    
    .product-item.expanded .product-details {
        max-height: 5000px;
    }
    
    .product-info-detail {
        overflow-x: hidden;
        word-wrap: break-word;
    }
    
    .product-description p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .specs-list li {
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background: #111111;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.banner-slider {
    width: 100%;
    height: 400px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #000000;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    transition: all 0.3s ease;
}

.contact-icon.clickable {
    cursor: pointer;
}

.contact-icon.clickable:hover {
    background: #dc2626;
    color: white;
    transform: scale(1.1);
}

.phone-contact {
    position: relative;
}

.contact-info-wrapper {
    flex: 1;
}

.phone-menu {
    position: absolute;
    top: 100%;
    left: 60px;
    background: #1f2937;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid #374151;
    margin-top: 10px;
}

.phone-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.phone-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #374151;
}

.phone-item:last-child {
    border-bottom: none;
}

.phone-name {
    color: #e5e7eb;
    font-weight: 500;
}

.phone-number {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.phone-number:hover {
    background: #dc2626;
    color: white;
}

.contact-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #9ca3af;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid #374151;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #1f2937;
    color: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #dc2626;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #dc2626;
    font-size: 1.1rem;
    line-height: 1.4;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-info {
    margin-top: 1rem;
}

.footer-info p {
    margin-bottom: 0.25rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-info p strong {
    color: #ffffff;
}

.social-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #374151;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.social-icon:hover {
    background: #dc2626;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    display: inline-block;
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.current-lang:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.current-lang img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.lang-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #374151;
    font-size: 14px;
}

.lang-option:hover {
    background-color: #f3f4f6;
}

.lang-option:first-child {
    border-radius: 8px 8px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 8px 8px;
}

.lang-option img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

/* Mobile Language Switcher */
@media (max-width: 768px) {
    .language-switcher {
        order: -1;
        margin-bottom: 20px;
        width: 100%;
        border-top: 1px solid #374151;
        padding-top: 20px;
    }
    
    .current-lang {
        justify-content: space-between;
        width: 100%;
        padding: 12px 16px;
        background: #1f2937;
        border: 1px solid #374151;
        border-radius: 8px;
        font-size: 16px;
    }
    
    .current-lang:hover {
        background: #374151;
    }
    
    .lang-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        margin-top: 8px;
        box-shadow: none;
        border: 1px solid #374151;
        background: #1f2937;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .lang-menu.show {
        max-height: 280px;
    }
    
    .lang-option {
        padding: 16px;
        font-size: 16px;
        border-bottom: 1px solid #374151;
        color: #e5e7eb;
    }
    
    .lang-option:hover {
        background-color: #374151;
    }
    
    .lang-option:last-child {
        border-bottom: none;
    }
    
    .lang-option img {
        width: 24px;
        height: 18px;
    }
    
    .current-lang-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .lang-arrow {
        margin-left: auto;
        transition: transform 0.3s ease;
    }
    
    .language-switcher.active .lang-arrow {
        transform: rotate(180deg);
    }
}

/* Floating Zalo Button */
.floating-zalo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.zalo-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0068ff, #0052cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 104, 255, 0.4);
    transition: all 0.3s ease;
    animation: pulse-zalo 2s infinite;
}

.zalo-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 104, 255, 0.6);
}

@keyframes pulse-zalo {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 104, 255, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(0, 104, 255, 0.8), 0 0 0 10px rgba(0, 104, 255, 0.1); }
}

.zalo-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.zalo-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.zalo-item {
    padding: 0;
    border-bottom: 1px solid #f3f4f6;
}

.zalo-item:last-child {
    border-bottom: none;
}

.zalo-item a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #374151;
    transition: background 0.3s ease;
    border-radius: 12px;
}

.zalo-item a:hover {
    background: #f9fafb;
}

.zalo-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0068ff, #0052cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin-right: 12px;
}

.zalo-info {
    flex: 1;
}

.zalo-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

.zalo-phone {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.image-modal-close:hover {
    color: #dc2626;
}

.image-modal-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #f1f1f1;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
}

.image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
    z-index: 2002;
}

.image-modal-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.image-modal-nav.prev {
    left: 20px;
}

.image-modal-nav.next {
    right: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #000000;
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 1.5rem;
        border-top: 1px solid #374151;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #111111;
        margin-top: 0.5rem;
        flex-direction: column;
        min-width: auto;
        padding: 0;
    }
    
    .dropdown-column {
        min-width: auto;
    }
    
    .dropdown-category {
        padding: 0.4rem 0.75rem;
    }
    
    .category-items a {
        padding: 0.15rem 0.5rem;
        font-size: 0.7rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-column {
        gap: 1.5rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .product-details > div {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        overflow-x: hidden;
    }
    
    .product-basic-info h4,
    .product-basic-info h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .product-basic-info p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .product-specs {
        overflow-x: hidden;
    }
    
    .product-specs h4 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section h3 {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .nav-logo h1 {
        font-size: 1.2rem;
    }
    
    .floating-zalo {
        bottom: 20px;
        right: 20px;
    }
    
    .zalo-button {
        width: 50px;
        height: 50px;
    }
    
    .zalo-menu {
        min-width: 220px;
        bottom: 60px;
    }
}