/* Modern Hero Section */
.modern-hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)), 
                repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 126, 185, 0.03) 10px, rgba(255, 126, 185, 0.03) 20px);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 126, 185, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 102, 166, 0.06) 0%, transparent 50%);
    opacity: 0.6;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: #1a202c;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 126, 185, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 126, 185, 0.2);
    color: #ff66a6;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(45deg, #ff7eb9, #ffd166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 32px;
    color: #64748b;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.primary-btn {
    background: linear-gradient(135deg, #ff7eb9, #ff66a6);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 126, 185, 0.4);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 126, 185, 0.5);
}

.secondary-btn {
    background: white;
    color: #ff7eb9;
    border: 2px solid #ff7eb9;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: #ff7eb9;
    color: white;
    border-color: #ff7eb9;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd166;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    background: white;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 126, 185, 0.2);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(255, 126, 185, 0.15);
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    position: relative;
    margin-bottom: 20px;
}

.hero-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 16px;
    border: 3px solid rgba(255, 126, 185, 0.3);
    transition: transform 0.3s ease;
}

.floating-card:hover .hero-logo {
    transform: scale(1.1);
}

.quality-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ffd166, #ff7eb9);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #1a202c;
    font-weight: 700;
}

.card-content p {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 1rem;
}

.stats-mini {
    display: flex;
    justify-content: space-around;
    gap: 16px;
}

.mini-stat {
    text-align: center;
}

.mini-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffd166;
    margin-bottom: 4px;
}

.mini-label {
    font-size: 11px;
    color: #64748b;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff7eb9, #ff66a6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Modern Categories */
.categories-modern {
    padding: 80px 0;
    background: white;
}

.category-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.category-modern-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-modern-card:hover {
    border-color: #ff7eb9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 126, 185, 0.15);
}

.category-modern-card.active {
    border-color: #ff7eb9;
    background: linear-gradient(135deg, rgba(255, 126, 185, 0.1), rgba(255, 102, 166, 0.1));
}

.category-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.category-modern-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.category-count {
    color: #64748b;
    font-size: 14px;
}

/* Modern Products */
.products-modern {
    padding: 80px 0;
    background: #f8fafc;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.products-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
}

.filter-info {
    color: #64748b;
    margin-top: 8px;
}

.refresh-btn {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.refresh-btn:hover {
    border-color: #ff7eb9;
    color: #ff7eb9;
}

.products-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.product-modern-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.product-modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.low-stock {
    background: #fbbf24;
    color: white;
}

.out-stock {
    background: #ef4444;
    color: white;
}

/* Modern Products Section - Product Cards - Professional E-commerce Layout */
.products-modern .product-image-container,
.product-modern-card .product-image-container,
.product-image-container {
    position: relative !important;
    width: 100% !important;
    padding-top: 100% !important;
    overflow: hidden !important;
    background: #f8fafc !important;
}

.products-modern .product-image,
.product-modern-card .product-image,
.product-image-container .product-image,
.product-image {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: translate(-50%, -50%) !important;
    transition: transform 0.3s ease !important;
}

.products-modern .product-modern-card:hover .product-image,
.product-modern-card:hover .product-image {
    transform: translate(-50%, -50%) scale(1.05) !important;
}

.products-modern .product-overlay,
.product-modern-card .product-overlay,
.product-overlay {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.products-modern .product-modern-card:hover .product-overlay,
.product-modern-card:hover .product-overlay {
    opacity: 1 !important;
}

.quick-view-btn {
    background: white;
    color: #1a202c;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-view-btn:hover {
    background: #f1f5f9;
}

.product-details {
    padding: 24px;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-section {
    margin-bottom: 20px;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff7eb9;
}

.product-actions-modern {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-modern {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
}

.qty-btn-modern {
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn-modern:hover:not(:disabled) {
    background: #ff7eb9;
    color: white;
}

.qty-display-modern {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    color: #1a202c;
}

.add-cart-modern {
    flex: 1;
    background: linear-gradient(135deg, #ff7eb9, #ff66a6);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-cart-modern:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 126, 185, 0.4);
}

.add-cart-modern:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.view-all-section {
    text-align: center;
    margin-top: 48px;
}

.view-all-btn {
    background: white;
    color: #ff7eb9;
    border: 2px solid #ff7eb9;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #ff7eb9;
    color: white;
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 0;
    background: #ff7eb9;
    color: white;
}

.testimonial-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-text blockquote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 24px;
}

.testimonial-text cite {
    font-size: 1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: white;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .products-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Modern Footer Styles */
.modern-footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.footer-description {
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #cbd5e0;
}

.contact-label {
    font-weight: 600;
    min-width: 70px;
    color: white;
}

.contact-item a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p {
    color: #cbd5e0;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        padding: 40px 0 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .contact-label {
        min-width: auto;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}
/* Enhanced Button Animations */
.primary-btn, .secondary-btn {
    position: relative;
    overflow: hidden;
}

.primary-btn::before, .secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.primary-btn:hover::before, .secondary-btn:hover::before {
    left: 100%;
}

/* Smooth Timer Animation */
@keyframes smoothTimer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.timer-animation {
    animation: smoothTimer 2s linear infinite;
}

/* Enhanced Floating Animation */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
    }
    25% { 
        transform: translateY(-10px) rotate(1deg);
    }
    50% { 
        transform: translateY(-20px) rotate(0deg);
    }
    75% { 
        transform: translateY(-10px) rotate(-1deg);
    }
}

/* WhatsApp Button Enhancement - Remove icon */
.secondary-btn {
    position: relative;
}

/* Remove the icon from secondary button */
.secondary-btn::after {
    display: none;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .floating-card {
        padding: 24px;
        margin: 0 20px;
    }
    
    .stats-mini {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-logo {
        width: 60px;
        height: 60px;
    }
    
    .card-content h3 {
        font-size: 1.25rem;
    }
}


/* Admin Product Images */
.product-admin-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
}

.admin-product-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

