/* ===================================
   HERO SECTION - SELLZY STYLE
   Modern E-commerce Hero Design
   =================================== */

:root {
    /* Sellzy-inspired colors */
    --hero-primary: #1a6b6b;
    --hero-primary-light: #2a9f9f;
    --hero-accent: #ffc107;
    --hero-accent-hover: #ffb300;
    --hero-text-dark: #1f2937;
    --hero-text-light: #ffffff;
    --hero-bg-light: #f8f9fa;
}

/* Hero Section Container */
.hero-section {
    background: var(--hero-primary);
    color: var(--hero-text-light);
    padding: 60px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
    animation: slideInLeft 0.8s ease-out;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--hero-text-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text h1 span {
    color: var(--hero-accent);
    display: inline-block;
    position: relative;
}

.hero-text h1 span::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--hero-accent);
    opacity: 0.3;
    border-radius: 2px;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.hero-badge {
    display: inline-block;
    background: var(--hero-accent);
    color: var(--hero-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 15px;
    animation: fadeInDown 0.6s ease-out;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--hero-accent);
    color: var(--hero-primary);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.hero-cta:hover {
    background: var(--hero-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
    color: var(--hero-primary);
}

.hero-cta i {
    font-size: 1.1rem;
}

.hero-image {
    flex: 1;
    animation: slideInRight 0.8s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   CATEGORY HEADER WITH ICONS
   =================================== */

.category-showcase {
    margin-bottom: 50px;
    background: var(--hero-bg-light);
    padding: 0;
}

.category-showcase-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hero-text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    padding: 30px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 15px;
    border-radius: 12px;
    background: white;
    text-decoration: none;
    color: var(--hero-text-dark);
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    cursor: pointer;
}

.category-item:hover {
    border-color: var(--hero-accent);
    box-shadow: 0 8px 20px rgba(26, 107, 107, 0.15);
    transform: translateY(-5px);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d1fae5 0%, #fef3c7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    color: var(--hero-primary);
}

.category-item:hover .category-icon {
    background: linear-gradient(135deg, var(--hero-accent) 0%, var(--hero-primary-light) 100%);
    color: white;
    transform: scale(1.1);
}

.category-name {
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.3;
}

/* ===================================
   HERO SLIDER STYLE
   =================================== */

.hero-slider-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(26, 107, 107, 0.15);
    margin-bottom: 30px;
}

.hero-slider-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.hero-slider .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-slider .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-slider .owl-dot.active {
    background: var(--hero-accent);
    width: 32px;
    border-radius: 6px;
}

.hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.hero-slider .owl-nav button {
    pointer-events: all;
    width: 50px;
    height: 50px;
    background: rgba(26, 107, 107, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.hero-slider .owl-nav button:hover {
    background: var(--hero-accent);
    color: var(--hero-primary);
    transform: scale(1.1);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
}

/* Desktop: prevent extra gap on smaller-height screens (e.g., 1366x768) */
@media (min-width: 769px) and (max-height: 820px) {
    .hero-section {
        padding: 45px 0;
        margin-bottom: 20px;
    }

    .hero-content {
        flex-direction: column;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 20px;
    }

    .hero-image img {
        max-width: 80%;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
        padding: 20px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .category-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 30px 0;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text h1 span::before {
        height: 3px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 12px;
        padding: 15px;
    }

    .category-item {
        padding: 15px 10px;
    }

    .category-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .category-name {
        font-size: 0.75rem;
    }

    .hero-slider .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
