/* Enhanced Beautiful UI Styles */

/* Premium Color Palette */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gold-gradient: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
    --dark-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
    --border-radius-xl: 20px;
    --border-radius-2xl: 30px;
}

/* Beautiful Typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: transparent;
    min-height: 100vh;
}

/* Stunning Top Bar */
.top-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.top-bar-left span,
.top-bar-right span,
.top-bar-right a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-bar-left span i,
.top-bar-right span i {
    color: #667eea;
    margin-right: 5px;
}

.top-bar-right a:hover {
    color: #667eea;
    transform: translateY(-2px);
}

/* Beautiful Header */
.main-header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: var(--shadow-soft);
}

.logo h1 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 32px;
    letter-spacing: -1px;
}

/* Stunning Search Bar */
.search-bar {
    position: relative;
}

.search-bar .form-control {
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 15px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.search-bar .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.search-bar .btn {
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.search-bar .btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

/* Beautiful Header Actions */
.header-actions {
    gap: 25px;
}

.action-link {
    position: relative;
    padding: 10px 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.action-link:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: translateY(-3px);
}

.action-link i {
    font-size: 24px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cart-count {
    background: var(--secondary-gradient);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(240, 147, 251, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(240, 147, 251, 0); }
}

/* Stunning Navigation */
.main-nav {
    background: var(--primary-gradient);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.main-menu a {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-menu a:hover::after {
    width: 80%;
}

.submenu {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    margin-top: 10px;
}

.submenu a {
    font-weight: 500;
    transition: all 0.3s ease;
}

.submenu a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    padding-left: 30px;
}

/* Beautiful Hero Section */
.hero-section {
    overflow: hidden;
}

.hero-slide {
    position: relative;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -2px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-content p {
    font-size: 22px;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-btn {
    background: #5F9E73 !important;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(95, 158, 115, 0.3) !important;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.hero-btn:hover {
    background: #4a8a5f !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(95, 158, 115, 0.4) !important;
}

/* Beautiful Section Headers */
.section-header {
    margin-bottom: 15px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--gold-gradient);
    border-radius: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 10px;
}

/* Beautiful Product Cards */
.product-card {
    background: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.product-image img {
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .product-image img {
    transform: scale(1.15) rotate(3deg);
}

.badge {
    background: var(--secondary-gradient);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

.badge.new {
    background: var(--accent-gradient);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.product-actions {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    background: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.action-btn:hover {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.2) rotate(15deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    transition: color 0.3s ease;
}

.product-title:hover {
    color: #667eea;
}

.current-price {
    font-size: 24px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.add-to-cart-btn {
    background: #5F9E73 !important;
    border: none !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px !important;
    font-weight: 600;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(95, 158, 115, 0.3) !important;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #4a8a5f !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(95, 158, 115, 0.4) !important;
}

/* Beautiful Category Cards */
.category-card {
    height: 260px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

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

.category-image {
    transition: transform 0.6s ease;
}

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

.category-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(95, 158, 115, 0.95) 100%);
}

.category-overlay.category-overlay-green {
    background: linear-gradient(to bottom, transparent 0%, rgba(95, 158, 115, 0.95) 100%);
}

.category-name {
    font-size: 26px;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Beautiful Newsletter Section */
.newsletter-section {
    background: var(--primary-gradient);
    border-radius: var(--border-radius-2xl);
    margin: 40px;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.newsletter-section h3 {
    font-size: 42px;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.newsletter-form .form-control {
    border-radius: 50px;
    padding: 20px 30px;
    font-size: 16px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.newsletter-form .btn {
    border-radius: 50px;
    padding: 20px 40px;
    font-weight: 700;
    font-size: 16px;
    background: var(--gold-gradient);
    border: none;
    box-shadow: 0 10px 30px rgba(245, 175, 25, 0.4);
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 175, 25, 0.5);
}

/* Beautiful Footer */
.main-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 80px 0 30px;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gold-gradient);
}

.footer-widget h4 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    position: relative;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
    padding-left: 10px;
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

/* Beautiful Back to Top */
.back-to-top {
    background: var(--gold-gradient);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(245, 175, 25, 0.4);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(245, 175, 25, 0.5);
}

/* Beautiful Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 0 40px rgba(102, 126, 234, 0.8); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.animate-rotate {
    animation: rotate 10s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .newsletter-section {
        padding: 50px 20px;
        margin: 20px;
    }
    
    .main-footer {
        padding: 50px 20px 20px;
    }
}
