/* ZA FULFILLMENT LTD - Professional Wholesale Website Styles with Animations */

/* CSS Variables */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --accent-gradient: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --success: #10b981;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #f1f5f9;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
    position: relative;
    z-index: 101;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .contact-info span {
    margin-right: 24px;
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.top-bar .contact-info span:hover {
    opacity: 1;
}

.top-bar .contact-info i {
    margin-right: 6px;
    color: var(--accent);
}

.top-bar a {
    opacity: 0.9;
    transition: all var(--transition-fast);
}

.top-bar a:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateX(2px);
}

.top-bar a i {
    margin-right: 6px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary);
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 2px;
    transition: transform var(--transition);
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width var(--transition-slow);
}

.logo:hover .logo-text::after {
    width: 100%;
}

.logo:hover .logo-text {
    transform: translateY(-2px);
}

.logo-text span {
    color: var(--accent);
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-light);
    transition: all var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu .cta-link {
    background: var(--accent);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.nav-menu .cta-link::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;
}

.nav-menu .cta-link:hover::before {
    left: 100%;
}

.nav-menu .cta-link:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.nav-menu .cta-link::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 50%, var(--primary-light) 100%);
    color: #fff;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 32px;
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
    color: var(--accent);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 .highlight {
    color: var(--accent);
    display: block;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Trust Badges */
.trust-badges {
    background: var(--bg-light);
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.badges-row {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text);
    transition: transform var(--transition-fast);
}

.badge-item:hover {
    transform: translateY(-2px);
}

.badge-item i {
    color: var(--accent);
    font-size: 20px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
}

/* Categories Section */
.categories-section {
    padding: 100px 0;
    background: #fff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.category-card {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition-slow);
    border: 1px solid var(--border);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.category-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
}

.category-card:hover .category-overlay {
    opacity: 1;
    transform: translateY(0);
}

.category-content {
    padding: 28px;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all var(--transition-fast);
}

.category-card:hover .category-icon {
    background: var(--accent);
    color: #fff;
    transform: rotate(5deg) scale(1.1);
}

.category-icon i {
    font-size: 22px;
    color: var(--accent);
    transition: color var(--transition-fast);
}

.category-card:hover .category-icon i {
    color: #fff;
}

.category-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 12px;
}

.category-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 16px;
}

.product-list {
    list-style: none;
}

.product-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    transition: transform var(--transition-fast);
}

.product-list li:hover {
    transform: translateX(4px);
}

.product-list li i {
    color: var(--success);
    font-size: 12px;
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background: var(--bg-light);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-content h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
}

.why-us-content > p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    transition: transform var(--transition-fast);
}

.feature-item:hover {
    transform: translateX(8px);
}

.feature-icon-box {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.feature-item:hover .feature-icon-box {
    background: var(--accent);
    color: #fff;
    transform: rotate(10deg);
}

.feature-icon-box i {
    font-size: 22px;
    color: var(--accent);
    transition: color var(--transition-fast);
}

.feature-item:hover .feature-icon-box i {
    color: #fff;
}

.feature-text h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 6px;
}

.feature-text p {
    color: var(--text-light);
    font-size: 14px;
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-slow);
}

.why-us-image:hover img {
    transform: scale(1.02);
}

/* CTA Section */
.manufacturers-cta {
    padding: 100px 0 120px;
    background: #fff;
}

.cta-box {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-content {
    padding: 60px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.cta-label {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.cta-content > p {
    opacity: 0.9;
    margin-bottom: 28px;
    font-size: 16px;
}

.cta-content .benefits {
    list-style: none;
    margin-bottom: 32px;
}

.cta-content .benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    transition: transform var(--transition-fast);
}

.cta-content .benefits li:hover {
    transform: translateX(4px);
}

.cta-content .benefits i {
    color: var(--accent);
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background: var(--primary);
    color: #fff;
    padding: 80px 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-company {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.footer-contact li:hover {
    color: #fff;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

.page-header h1 {
    font-size: 52px;
    margin-bottom: 12px;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.page-header p {
    opacity: 0.9;
    font-size: 18px;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-box {
        grid-template-columns: 1fr;
    }
    
    .cta-image {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .badges-row {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
}

/* Loading Animation */
.page-transition {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Magnetic Button Effect */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Glow Effect */
.glow {
    position: relative;
}

.glow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--accent-gradient);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.3s;
}

.glow:hover::after {
    opacity: 0.5;
}
