/* Nova home.css za Hugong Aparate */
:root {
    --primary-color: #0077cc;
    --primary-light: #e6f2ff;
    --primary-dark: #005fa3;
    --secondary-color: #ff6b00;
    --secondary-light: #fff2e6;
    --secondary-dark: #cc5600;
    --success-color: #28a745;
    --success-light: #e9f7ef;
    --danger-color: #dc3545;
    --light-color: #ffffff;
    --dark-color: #333333;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --box-shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* === Price Match Banner === */
.price-match-banner {
    background: linear-gradient(to right, var(--success-light), var(--primary-light));
    border-bottom: 1px solid var(--gray-200);
    padding: 10px 0;
}

.price-match-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.price-match-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--success-color);
    border-radius: 50%;
    color: white;
}

.price-match-text {
    color: var(--gray-800);
    font-size: 16px;
}

.price-match-link {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--success-color);
    color: white;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.price-match-link:hover {
    background-color: darken(var(--success-color), 5%);
    transform: translateY(-2px);
}

/* === Hero Section === */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    color: var(--light-color);
    text-align: left;
    z-index: 10;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 119, 204, 0.2);
}

.btn-outline {
    display: inline-block;
    padding: 14px 24px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.hero-prev, .hero-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.hero-prev:hover, .hero-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dots .dot.active {
    background-color: white;
}

/* === Benefits Section === */
.benefits-section {
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.benefit-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.benefit-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.benefit-item p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
}

/* === Section Headers === */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

.section-action {
    text-align: center;
    margin-top: 40px;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 24px;
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 119, 204, 0.1);
}

/* === Featured Categories === */
.featured-categories-section {
    padding: 80px 0;
    background-color: var(--gray-50);
    margin-bottom: 60px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: block;
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.category-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: white;
    z-index: 10;
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.category-count {
    font-size: 14px;
    opacity: 0.8;
    display: block;
    margin-bottom: 10px;
}

.category-link {
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: white;
    transition: var(--transition);
}

.category-card:hover .category-link {
    gap: 10px;
}

.arrow-icon {
    transition: var(--transition);
}

/* === Featured Products === */
.featured-products-section {
    padding: 80px 0;
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 100%;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.product-badge.sale {
    background-color: var(--danger-color);
    color: white;
}

.product-badge.popular {
    background-color: var(--secondary-color);
    color: white;
}

.product-image {
    display: block;
    padding: 20px;
    height: 220px;
    background-color: var(--gray-50);
    text-align: center;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-content {
    padding: 20px;
}

.product-category {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 5px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    color: var(--gray-800);
    text-decoration: none;
    transition: var(--transition);
}

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

.product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 10px;
}

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

.price-old {
    font-size: 16px;
    color: var(--gray-500);
    text-decoration: line-through;
}

.product-actions {
    margin-top: 15px;
}

.btn-product {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.btn-product:hover {
    background-color: var(--primary-dark);
}

/* === Special Offer Section === */
.special-offer-section {
    padding: 60px 0;
    background-color: var(--gray-50);
    margin-bottom: 60px;
}

.special-offer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.special-offer-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.special-offer-description {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.6;
}

.special-offer-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.special-product {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.special-product:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.special-product-image {
    padding: 20px;
    background-color: var(--gray-50);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.special-product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.special-product-content {
    padding: 20px;
    text-align: center;
}

.special-product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.special-product-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    align-items: center;
}

.price-discount {
    font-size: 14px;
    font-weight: 700;
    color: white;
    background-color: var(--danger-color);
    padding: 3px 8px;
    border-radius: var(--border-radius-sm);
}

/* === Why Choose Section === */
.why-choose-section {
    padding: 80px 0;
    margin-bottom: 60px;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.why-choose-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.why-choose-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,119,204,0.2) 0%, rgba(0,119,204,0) 100%);
}

.why-choose-image img {
    width: 100%;
    height: auto;
    display: block;
}

.why-choose-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 15px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
}

.feature-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* === Testimonials Section === */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--gray-50);
    margin-bottom: 60px;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-content {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    line-height: 1;
    color: var(--gray-200);
    font-family: serif;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.star {
    color: var(--secondary-color);
    font-size: 22px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    margin-bottom: 20px;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
}

.author-info {
    font-size: 14px;
    color: var(--gray-600);
}

.testimonial-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.testimonial-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-prev, .testimonial-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-prev:hover, .testimonial-next:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    background-color: var(--gray-300);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dots .dot.active {
    background-color: var(--primary-color);
}

/* === Brand Story Section === */
.brand-story-section {
    padding: 80px 0;
    margin-bottom: 60px;
}

.brand-story-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
}

.brand-logo {
    text-align: center;
}

.brand-logo img {
    max-width: 100%;
    height: auto;
}

.brand-description h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gray-800);
}

.brand-description p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 20px;
}

/* === Newsletter Section === */
.newsletter-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    margin-bottom: 0;
}

.newsletter-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.newsletter-text {
    color: white;
}

.newsletter-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-text p {
    font-size: 16px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 16px;
}

.newsletter-form .btn-primary {
    padding: 16px 24px;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.newsletter-form .btn-primary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .categories-grid,
    .products-grid,
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-content {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-content,
    .special-offer-content,
    .brand-story-content,
    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .special-offer-text {
        order: 1;
    }
    
    .special-offer-products {
        order: 2;
    }
    
    .hero-section {
        height: 500px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-content {
        left: 5%;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .categories-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hero-section {
        height: 400px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .hero-content {
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 90%;
    }
    
    .hero-slide::before {
        background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn-primary, .btn-outline, .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .price-match-content {
        flex-direction: column;
        text-align: center;
    }
    
    .price-match-text {
        font-size: 14px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form .btn-primary {
        width: 100%;
    }
    
    .special-offer-title {
        font-size: 28px;
    }
    
    .special-offer-description {
        font-size: 16px;
    }
    
    .special-offer-products {
        grid-template-columns: 1fr;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        height: 350px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .testimonial-content {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
}



.price-match-modal .modal-header {
    background-color: #f6cc00;
    color: #333;
}

.price-match-modal .modal-title {
    font-weight: bold;
}

.price-match-modal .close {
    color: #333;
    opacity: 0.7;
}

.price-match-modal .close:hover {
    opacity: 1;
}

