/* Start custom CSS *//**
 * Upmos.com Landing Page Styles
 * Enhanced for performance and Walmart.com-level functionality
 */

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 20px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-section .elementor-container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.elementor-button {
    display: inline-block;
    padding: 18px 45px;
    margin: 10px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.elementor-button-primary {
    background: #ff6b6b;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.elementor-button-primary:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.elementor-button-secondary {
    background: #ffd700;
    color: #001f3f;
    border-color: #ffd700;
    margin-right: 30px;
}

.elementor-button-secondary:hover {
    background: #001f3f;
    color: #ffd700;
    border-color: #001f3f;
    transform: translateY(-3px);
}

/* ==========================================================================
   Search Section
   ========================================================================== */
.search-section {
    padding: 50px 20px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
    background: white;
}

.search-field {
    flex: 1;
    padding: 18px 30px;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-field:focus {
    background: #fafbfc;
}

.search-submit {
    padding: 18px 35px;
    background: #667eea;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
}

.search-submit:hover {
    background: #5568d3;
}

.search-icon {
    font-size: 20px;
}

/* ==========================================================================
   Categories Section
   ========================================================================== */
.categories-section,
.features-section {
    padding: 80px 20px;
}

.categories-section {
    background: #ffffff;
}

.features-section {
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 50px;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.elementor-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.category-card,
.feature-card {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    padding: 40px 30px;
    text-align: center;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before,
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.category-card:hover::before,
.feature-card:hover::before {
    left: 100%;
}

.category-card:hover,
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.category-icon,
.feature-icon {
    font-size: 4em;
    margin-bottom: 20px;
    display: block;
    animation: bounce 2s infinite;
}

.category-card h3,
.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 700;
}

.category-card p,
.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.category-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s;
}

.category-link:hover {
    color: #764ba2;
    transform: translateX(5px);
}

/* ==========================================================================
   Social Section
   ========================================================================== */
.social-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.social-section .section-title {
    color: white;
}

.social-section .section-title::after {
    background: linear-gradient(90deg, #ff6b6b, #feca57);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: white;
    color: #2c3e50;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-icon {
    font-size: 1.5em;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 2.8em;
    }
    
    .hero-subtitle {
        font-size: 1.3em;
    }
    
    .section-title {
        font-size: 2.3em;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px;
    }
    
    .hero-section h1 {
        font-size: 2em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .elementor-button {
        padding: 15px 30px;
        font-size: 1em;
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }
    
    .elementor-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .category-card,
    .feature-card {
        min-width: 100%;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .search-form {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .search-field,
    .search-submit {
        border-radius: 15px;
    }
    
    .social-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8em;
    }
    
    .categories-section,
    .features-section {
        padding: 50px 15px;
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #667eea;
    color: white;
    padding: 10px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* ==========================================================================
   Performance Optimizations
   ========================================================================== */
/* Use transform and opacity for animations (GPU accelerated) */
* {
    box-sizing: border-box;
}

/* Optimize font loading */
@font-face {
    font-display: swap;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}/* End custom CSS */