@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ========================================
   ECOMMFUSION - MAIN STYLESHEET
   Author: EcommFusion Team
   Version: 1.0
   ======================================== */

:root {
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-coral: #ee6f57;
    --accent: #ee6f57;
    --accent-2: #1e2a5d;
    --accent-3: #7c3aed;
    --text-primary: #0a0a0a;
    --text-muted: #6b7280;
}

/* Dark Theme Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-white: #0f0f0f;
        --bg-light: #1a1a1a;
        --text-primary: #ffffff;
        --text-muted: #9ca3af;
    }

    body { 
        background-color: var(--bg-white); 
        color: var(--text-primary); 
    }

    .card-light { 
        background: #1a1a1a !important; 
        border-color: rgba(255,255,255,0.1) !important; 
    }

    .nav-light { 
        background: rgba(15, 15, 15, 0.95) !important; 
        border-color: rgba(255,255,255,0.1) !important; 
    }

    .text-dark { color: #ffffff !important; }
    .text-gray-600 { color: #9ca3af !important; }
    .text-gray-700 { color: #d1d5db !important; }

    .border-gray-200, .border-gray-300 { 
        border-color: rgba(255,255,255,0.1) !important; 
    }

    .bg-gray-50, .bg-gray-100 { background: #1a1a1a !important; }
    .bg-white { background: #0f0f0f !important; }

    input, textarea, select { 
        background: #1a1a1a !important; 
        color: #ffffff !important; 
        border-color: rgba(255,255,255,0.1) !important; 
    }

    input::placeholder, textarea::placeholder { 
        color: #6b7280 !important; 
    }
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-white);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .serif {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    font-weight: 700;
}

/* Utility Classes */
.text-brand { color: var(--accent); }
.bg-brand { background: var(--accent); }
.border-brand { border-color: var(--accent); }

.hero-gradient {
    background: linear-gradient(180deg, #e5e7eb 0%, #f3f4f6 20%, #ffffff 40%);
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes slideUp {
    from { 
        transform: translateY(50px); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

@media (prefers-color-scheme: dark) {
    ::-webkit-scrollbar-track {
        background: #1a1a1a;
    }
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Navigation */
.nav-light {
    transition: all 0.3s ease;
}

/* Buttons */
button, .btn {
    cursor: pointer;
    transition: all 0.3s ease;
}

button:disabled, .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Forms */
input, textarea, select {
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(238, 111, 87, 0.1);
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print Styles */
@media print {
    nav, footer, .no-print {
        display: none;
    }
}
