/* ===== HOME PAGE CSS ===== */

/* Hero Section - La latimea containerului, cu spatiu de navbar */
.hero-section {
    margin-top: 1rem; /* Distanta de navbar */
    margin-bottom: 1.5rem;
}

.hero-bg {
    padding: 2.5rem 2rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 20px; /* Rotunjit pe toate partile */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.hero-content {
    max-width: 700px;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 0.95rem;
    opacity: 0.95;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

/* Section Headers */
.section-header {
    margin-top: 1.75rem;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
}

.section-subtitle {
    font-size: 0.85rem;
}

/* Category Cards - Marite cu 10% */
.category-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: var(--shop-primary);
}

.category-icon-wrapper {
    margin-bottom: 0.6rem;
}

.category-image {
    width: 65px;
    height: 65px;
    object-fit: cover; /* Fill pentru aspect estetic */
    border-radius: 12px;
}

.category-icon {
    font-size: 2.4rem;
    color: var(--shop-primary);
    line-height: 1;
}

.category-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.85rem;
    display: block;
}

.category-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--shop-primary);
    font-size: 0.9rem;
}

.category-card:hover .category-arrow {
    opacity: 1;
    right: 14px;
}

/* Product Cards - Carduri mai inalte pentru poze mai bune */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

.product-image {
    width: 100%;
    height: 220px; /* Marit de la 165px */
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-placeholder {
    height: 220px; /* Marit de la 165px */
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #cbd5e1;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.3);
}

.product-featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 0.3rem;
    border-radius: 50%;
    font-size: 0.7rem;
    line-height: 1;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}

.product-badge + .product-featured-badge {
    left: auto;
    right: 55px;
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.btn-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    color: var(--shop-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action:hover {
    background: var(--shop-primary);
    color: #fff;
    transform: scale(1.1);
}

.product-info {
    padding: 0.9rem;
}

.product-brand {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    font-weight: 600;
    margin: 0.25rem 0;
    font-size: 0.85rem;
    line-height: 1.35;
}

.product-name a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-name a:hover {
    color: var(--shop-primary);
}

.product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-price {
    font-weight: 700;
    color: #059669;
    font-size: 1rem;
}

.product-old-price {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 0.8rem;
}

.btn-add-cart {
    background: linear-gradient(135deg, var(--shop-primary) 0%, var(--shop-secondary) 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 58, 92, 0.3);
    color: #fff;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3.5rem 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.empty-state-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: var(--shop-primary);
}

.empty-state-title {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.empty-state-text {
    color: #64748b;
    max-width: 380px;
    margin: 0 auto 1.5rem;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.9rem;
}

a.contact-value:hover {
    color: var(--shop-primary);
}

.social-links {
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.social-label {
    font-size: 0.85rem;
    color: #64748b;
}

.social-icons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.social-icon.facebook { background: #1877f2; }
.social-icon.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon.whatsapp { background: #25d366; }

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* App Store Buttons */
.app-store-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-store-btn.google-play {
    background: linear-gradient(135deg, #00c853 0%, #009624 100%);
    color: #fff;
}

.app-store-btn.app-store {
    background: linear-gradient(135deg, #333 0%, #000 100%);
    color: #fff;
}

.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #fff;
}

.map-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    min-height: 280px;
}

.map-frame {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        margin-top: 0.75rem;
    }
    .hero-bg {
        padding: 2rem 1.25rem;
        min-height: 160px;
        border-radius: 16px;
    }
    .hero-title {
        font-size: 1.4rem;
    }
    .hero-subtitle {
        font-size: 0.85rem;
    }
    .product-image {
        height: 140px;
    }
    .section-title {
        font-size: 1.15rem;
    }
    .contact-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        margin-top: 0.5rem;
    }
    .hero-bg {
        border-radius: 14px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 260px;
    }
    .category-card {
        padding: 1rem 0.75rem;
    }
    .category-icon {
        font-size: 2rem;
    }
    .app-store-btn {
        width: 100%;
        justify-content: center;
    }
}
