/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('/images/hero-pattern.svg') center;
        opacity: 0.1;
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-title {
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.hero-btn {
    display: inline-block;
    padding: 15px 50px;
    background: #fff;
    color: #667eea;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px;
    transition: all 0.3s;
}

    .hero-btn:hover {
        background: #000;
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

    .scroll-indicator i {
        font-size: 24px;
        opacity: 0.7;
    }

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-description {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   PRODUCT CARD - COMPACT VERSION
   ============================================ */
.product-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

.product-card-img-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 120%;
}

    .product-card-img-wrapper img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.product-card:hover .product-card-img-wrapper img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: #fff;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
}

    .product-badge.sale {
        background: #27ae60;
    }

.product-card-info {
    padding: 18px 15px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    margin-bottom: 12px;
    display: block;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

    .product-name:hover {
        color: #667eea;
    }

.product-price-wrapper {
    margin-bottom: 15px;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

.product-price-old {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.product-add-cart {
    display: block;
    width: 100%;
    padding: 10px;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-top: auto;
    text-decoration: none;
    text-align: center;
}

    .product-add-cart:hover {
        background: #fff;
        color: #000;
    }

/* ============================================
   HOT PRODUCTS SECTION
   ============================================ */
.hot-products {
    background: #fafafa;
}

/* ============================================
   ADV BANNERS (Position 2 & 3)
   ============================================ */
.adv-banner {
    padding: 50px 0;
    background-color: #fafafa;
}

.adv-banner-secondary {
    background-color: #fff;
}

.adv-banner-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .adv-banner-wrapper:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

.adv-banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

.adv-banner-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.adv-banner-wrapper:hover .adv-banner-img {
    transform: scale(1.05);
}

/* ============================================
   BANNER SECTION (Position 4)
   ============================================ */
.banner {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('/images/pattern.svg') center;
        opacity: 0.05;
    }

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.banner-subtitle {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.9;
}

.banner-title {
    font-size: 52px;
    font-weight: 300;
    letter-spacing: 5px;
    margin-bottom: 25px;
}

.banner-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.banner-btn {
    display: inline-block;
    padding: 15px 50px;
    background: #fff;
    color: #2c3e50;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px;
    transition: all 0.3s;
}

    .banner-btn:hover {
        background: #000;
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

/* ============================================
   NEWS SECTION
   ============================================ */
.hot-news {
    background: #fff;
}

.news-card {
    background: #fff;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

.news-card-img {
    position: relative;
    overflow: hidden;
    padding-top: 66.67%;
}

    .news-card-img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.news-card:hover .news-card-img img {
    transform: scale(1.1);
}

.news-card-info {
    padding: 30px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}

    .news-title a {
        color: #000;
        text-decoration: none;
        transition: color 0.3s;
    }

        .news-title a:hover {
            color: #667eea;
        }

.news-description {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

    .news-read-more:hover {
        gap: 12px;
        color: #667eea;
    }

    .news-read-more i {
        font-size: 12px;
    }

.view-all-btn {
    display: inline-block;
    padding: 15px 50px;
    background: #000;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #000;
    transition: all 0.3s;
}

    .view-all-btn:hover {
        background: #fff;
        color: #000;
    }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Desktop Large (?1200px) */
@media (min-width: 1200px) {
    .adv-banner-img {
        height: 400px;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .adv-banner-img {
        height: 350px;
    }

    .adv-banner {
        padding: 40px 0;
    }
}

/* Tablet & Mobile */
@media (max-width: 991px) {
    .hero {
        height: 70vh;
    }

    .hero-title {
        font-size: 48px;
        letter-spacing: 5px;
    }

    .hero-description {
        font-size: 16px;
    }

    section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 36px;
    }

    .banner-title {
        font-size: 42px;
        letter-spacing: 3px;
    }

    .adv-banner-img {
        height: 300px;
    }

    .adv-banner {
        padding: 35px 0;
    }
}

@media (max-width: 767px) {
    .hero {
        height: 60vh;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: 3px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-btn {
        padding: 12px 40px;
        font-size: 13px;
    }

    section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 14px;
    }

    .banner {
        padding: 80px 0;
    }

    .banner-title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .banner-text {
        font-size: 14px;
    }

    .product-card-info {
        padding: 15px 12px;
    }

    .product-name {
        font-size: 13px;
    }

    .product-price {
        font-size: 14px;
    }

    .news-card-info {
        padding: 20px 15px;
    }

    .news-title {
        font-size: 18px;
    }
}

/* Mobile Large (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .adv-banner-img {
        height: 250px;
    }

    .adv-banner {
        padding: 30px 0;
    }

    .adv-banner-wrapper {
        border-radius: 10px;
    }
}

/* Mobile Small (<576px) */
@media (max-width: 575px) {
    .hero-title {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 24px;
    }

    .banner-title {
        font-size: 26px;
    }

    .view-all-btn,
    .banner-btn,
    .hero-btn {
        padding: 12px 35px;
        font-size: 12px;
        letter-spacing: 1px;
    }

    .adv-banner-img {
        height: 200px;
    }

    .adv-banner {
        padding: 25px 0;
    }

    .adv-banner-wrapper {
        border-radius: 8px;
    }

    .product-card-info {
        padding: 12px 10px;
    }

    .product-name {
        font-size: 12px;
    }

    .product-price {
        font-size: 13px;
    }

    .product-add-cart {
        padding: 8px;
        font-size: 10px;
    }
}
