/* Home Page Styles */

.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    margin-bottom: 0;
}

.hero-content {
    padding: 80px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
    display: flex;
    align-items: center;
}

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--color-gray-500);
    font-size: 1.1rem;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.category-card-image {
    width: 100%;
    height: 100%;
}

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

.category-card:hover .category-card-image img {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.5rem;
}

.category-card-overlay h3 {
    color: white;
    margin: 0;
    font-size: 1.25rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 10;
    pointer-events: auto;
}

.product-card-actions button {
    z-index: 11;
    position: relative;
    pointer-events: auto !important;
    cursor: pointer;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.product-card-body {
    padding: 1.25rem;
}

.product-card-title {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.product-card-title a {
    color: var(--color-gray-900);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-card-title a:hover {
    color: var(--color-primary);
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.price-original {
    font-size: 1rem;
    color: var(--color-gray-400);
    text-decoration: line-through;
}

.promo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.promo-card a {
    text-decoration: none;
    color: inherit;
}

.promo-card-image {
    aspect-ratio: 2;
    overflow: hidden;
}

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

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

.promo-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: white;
}

.promo-card-content h3 {
    margin: 0;
    font-size: 1.5rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.value-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.value-card p {
    color: var(--color-gray-500);
    font-size: 0.95rem;
}

.cta-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .grid-4,
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .hero-carousel {
        height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-header {
        margin-bottom: 2rem;
        padding-top: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .grid-4,
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .category-card {
        aspect-ratio: 1;
    }
    
    .category-card-overlay h3 {
        font-size: 1rem;
    }
    
    .product-card {
        border-radius: var(--radius-md);
    }
    
    .product-card-image {
        aspect-ratio: 1;
    }
    
    .product-card-actions {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .product-card-actions .btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .product-card-body {
        padding: 0.875rem;
    }
    
    .product-card-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .product-card-price {
        gap: 0.375rem;
    }
    
    .price-current {
        font-size: 1.1rem;
    }
    
    .price-original {
        font-size: 0.875rem;
    }
    
    .product-badge {
        padding: 0.1875rem 0.5rem;
        font-size: 0.6875rem;
    }
    
    .promo-card {
        border-radius: var(--radius-md);
    }
    
    .promo-card-image {
        aspect-ratio: 16/9;
    }
    
    .promo-card-content {
        padding: 1.5rem;
    }
    
    .promo-card-content h3 {
        font-size: 1.25rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .value-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .value-card p {
        font-size: 0.875rem;
    }
    
    .cta-card {
        padding: 2.5rem 1.5rem;
        border-radius: var(--radius-md);
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-content .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 50vh;
    }
    
    .hero-carousel {
        height: 50vh;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .grid-4 .product-card,
    .grid-5 .product-card {
        max-width: 100%;
    }
    
    .product-card-actions {
        padding: 0.625rem;
    }
    
    .product-card-actions .btn {
        font-size: 0.7rem;
        padding: 0.4375rem 0.625rem;
        flex: 1;
    }
    
    .category-card-overlay {
        padding: 1rem;
    }
    
    .category-card-overlay h3 {
        font-size: 0.9rem;
    }
    
    .promo-card-content {
        padding: 1rem;
    }
    
    .promo-card-content h3 {
        font-size: 1rem;
    }
}
