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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    color: #333;
}

/* SLIDER */
.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #f0f0f0;
}

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

.slide.active {
    display: block;
    opacity: 1;
}

/* Xóa bỏ @keyframes fadeIn cũ và thay bằng animation mới */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.slide.active {
    display: block;
    animation: fadeInOut 1.2s ease-in-out;
}

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

/* Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.logo {
    text-align: center;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.logo-icon {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-icon i {
    font-size: 60px;
    color: #e91e63;
}

.shop-name {
    color: white;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.shop-tagline {
    color: white;
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Navigation Dots */
.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* SOCIAL MEDIA */
.social-section {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
}

.social-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 120px;
    height: 120px;
}

.social-link i {
    font-size: 36px;
    transition: all 0.3s ease;
    color: #666;
}

.social-link span {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

/* Facebook */
.facebook {
    background: #1877F2;
}
.facebook i, .facebook span {
    color: white;
}

/* Instagram */
.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.instagram i, .instagram span {
    color: white;
}

/* Threads */
.threads {
    background: #000;
}
.threads i, .threads span {
    color: white;
}

/* TikTok */
.tiktok {
    background: #000;
}
.tiktok i, .tiktok span {
    color: #ffffff;
}

/* Zalo */
.zalo {
    background: #0068FF;
}
.zalo i, .zalo span {
    color: white;
}

/* Zalo icon styling */
.zalo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

/* CONTACT */
.contact-section {
    padding: 40px 20px;
    background: white;
    text-align: center;
}

.contact-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    flex: 1;
    min-width: 250px;
}

.contact-item i {
    font-size: 24px;
    color: #e91e63;
    margin-bottom: 15px;
}

.contact-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.contact-text {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 5px auto;
}

.contact-text a {
    color: #e91e63;
    text-decoration: none;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 12px;
}

/* Hide/Show by device */
.desktop-slider {
    display: block;
}

.mobile-slider {
    display: none;
}

@media (max-width: 768px) {
    .desktop-slider {
        display: none;
    }

    .mobile-slider {
        display: block;
    }

    .mobile-slider .slider-container {
        height: 700px;
    }

    .logo-icon {
        width: 80px;
        height: 80px;
    }

    .logo-icon i {
        font-size: 40px;
    }

    .shop-name {
        font-size: 24px;
    }

    .shop-tagline {
        font-size: 14px;
    }

    .social-links {
        gap: 20px;
        justify-content: center;
        max-width: 100%;
        padding: 0 15px;
        display: flex;
        flex-wrap: wrap;
    }

    .social-link {
        width: 100px;
        height: 100px;
        padding: 15px;
        margin: 0;
    }

    .social-link i {
        font-size: 24px;
    }

    .social-link span {
        font-size: 12px;
    }

    .contact-info {
        gap: 20px;
    }

    .zalo img {
        width: 24px;
        height: 24px;
    }
}