/**
 * Frontend Styles for ADC Custom Showcase
 */

:root {
    --adc-primary: #0066cc;
    --adc-secondary: #ff6600;
    --adc-accent: #00cc99;
    --adc-dark: #1e293b;
    --adc-gray: #64748b;
    --adc-light: #f8f9fa;
    --adc-border: #e2e8f0;
    --adc-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --adc-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.adc-showcase-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.adc-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Banner */
.adc-hero-banner {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--adc-dark);
    overflow: hidden;
}

.adc-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(0, 204, 153, 0.75) 100%);
    z-index: 1;
}

.adc-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
}

.adc-hero-text {
    max-width: 700px;
    color: #fff;
}

.adc-hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.adc-hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 40px;
    opacity: 0.95;
}

.adc-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    line-height: 0;
}

.adc-hero-wave svg {
    width: 100%;
    height: auto;
}

/* Buttons */
.adc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.adc-btn-primary {
    background: #fff;
    color: var(--adc-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.adc-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    color: var(--adc-primary);
}

.adc-btn-primary .adc-btn-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.adc-btn-primary:hover .adc-btn-icon {
    transform: translateX(5px);
}

.adc-btn-outline {
    background: transparent;
    color: var(--adc-primary);
    border: 2px solid var(--adc-primary);
}

.adc-btn-outline:hover {
    background: var(--adc-primary);
    color: #fff;
}

/* Highlighted Products Section */
.adc-highlights-section {
    padding: 80px 0;
    background: #fff;
}

.adc-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.adc-mini-banner {
    display: flex;
    gap: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--adc-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.adc-mini-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--adc-primary) 0%, var(--adc-accent) 100%);
}

.adc-mini-banner:hover {
    transform: translateY(-8px);
    box-shadow: var(--adc-shadow-hover);
}

.adc-mini-banner-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.adc-mini-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adc-mini-banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.adc-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--adc-secondary) 0%, #ff8c42 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    width: fit-content;
}

.adc-mini-banner h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--adc-dark);
    margin: 0;
    line-height: 1.3;
}

.adc-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--adc-primary);
}

/* Section Header */
.adc-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.adc-section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--adc-dark);
    margin: 0 0 15px;
}

.adc-title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--adc-primary) 0%, var(--adc-accent) 100%);
    margin: 0 auto;
    border-radius: 2px;
}

/* Products Section */
.adc-products-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.adc-products-carousel,
.adc-categories-carousel {
    position: relative;
    padding: 0 50px;
}

.adc-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.adc-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--adc-shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.adc-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--adc-shadow-hover);
}

.adc-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--adc-light);
}

.adc-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.adc-product-card:hover .adc-product-image img {
    transform: scale(1.1);
}

.adc-sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--adc-secondary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.adc-product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.adc-product-card:hover .adc-product-actions {
    opacity: 1;
    transform: translateX(0);
}

.adc-product-actions button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--adc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.adc-product-actions button:hover {
    background: var(--adc-primary);
    color: #fff;
    transform: scale(1.1);
}

.adc-product-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.adc-product-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--adc-dark);
    margin: 0 0 12px;
    line-height: 1.4;
}

.adc-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.adc-product-title a:hover {
    color: var(--adc-primary);
}

.adc-product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--adc-primary);
    margin-bottom: 15px;
}

.adc-add-to-cart {
    display: block;
    text-align: center;
    padding: 12px 24px;
    background: var(--adc-primary);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.adc-add-to-cart:hover {
    background: var(--adc-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* Categories Section */
.adc-categories-section {
    padding: 100px 0;
    background: #fff;
}

.adc-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.adc-category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--adc-shadow);
    aspect-ratio: 4/3;
    transition: all 0.3s ease;
}

.adc-category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--adc-shadow-hover);
}

.adc-category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--adc-light);
    transition: transform 0.3s ease;
}

.adc-category-card:hover .adc-category-image {
    transform: scale(1.1);
}

.adc-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.adc-category-content {
    position: relative;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.adc-category-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
}

.adc-category-count {
    font-size: 14px;
    opacity: 0.9;
    display: block;
    margin-bottom: 15px;
}

.adc-category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.adc-category-link:hover {
    gap: 12px;
    color: #fff;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--adc-shadow);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    color: var(--adc-primary);
    font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--adc-primary);
    box-shadow: var(--adc-shadow-hover);
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: #fff;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--adc-gray);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--adc-primary);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .adc-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .adc-hero-title {
        font-size: 42px;
    }
    
    .adc-hero-subtitle {
        font-size: 18px;
    }
    
    .adc-section-title {
        font-size: 36px;
    }
    
    .adc-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .adc-highlights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .adc-hero-banner {
        min-height: 500px;
    }
    
    .adc-hero-title {
        font-size: 32px;
    }
    
    .adc-hero-subtitle {
        font-size: 16px;
    }
    
    .adc-section-title {
        font-size: 28px;
    }
    
    .adc-products-grid,
    .adc-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .adc-mini-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .adc-mini-banner-image {
        width: 100%;
    }
    
    .adc-mini-banner-content {
        align-items: center;
    }
    
    .adc-products-carousel,
    .adc-categories-carousel {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .adc-hero-title {
        font-size: 26px;
    }
    
    .adc-section-title {
        font-size: 24px;
    }
    
    .adc-mini-banner {
        padding: 20px;
    }
}

