/* Modern Stellarion Styles with Ubuntu Font */

/* Import Ubuntu Font */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&family=Ubuntu+Condensed:wght@400&display=swap');

/* CSS Variables for Modern Color Scheme */
:root {
    --primary-blue: #2563eb;
    --secondary-blue: #3b82f6;
    --dark-gray: #0f172a;
    --medium-gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white) !important;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Ubuntu', sans-serif !important;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-gray);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.875rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
}

p {
    font-family: 'Ubuntu', sans-serif;
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Modern Button Styles */
.btn-modern {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius-lg);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Modern Card Styles */
.card-modern {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-modern:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--border-medium);
}

/* Navigation Styles */
.nav-modern {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-link {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    color: var(--dark-gray);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.05);
}

/* Form Styles */
.input-modern {
    font-family: 'Ubuntu', sans-serif;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    background: var(--white);
    color: var(--dark-gray);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    width: 100%;
}

.input-modern:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.select-modern {
    font-family: 'Ubuntu', sans-serif;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    background: var(--white);
    color: var(--dark-gray);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.select-modern:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* Product Card Styles */
.product-card-modern {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.product-card-modern:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
    border-color: var(--primary-blue);
}

.product-image-modern {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-modern:hover .product-image-modern {
    transform: scale(1.05);
}

.product-info-modern {
    padding: 1.5rem;
}

.product-title-modern {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.product-price-modern {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Category Card Styles */
.category-card-modern {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.category-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.category-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card-modern:hover::before {
    opacity: 1;
}

/* Header Styles */
.header-modern {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Logo Styles */
.logo-modern {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease;
}

.logo-modern:hover .logo-icon {
    transform: scale(1.1);
}

/* Hero Section Styles */
.hero-modern {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23e2e8f0' fill-opacity='0.3' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: bottom;
}

.hero-content-modern {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 4xl;
    margin: 0 auto;
}

.hero-title-modern {
    font-family: 'Ubuntu', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle-modern {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.25rem;
    color: var(--medium-gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Headers */
.section-header-modern {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge-modern {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.section-title-modern {
    font-family: 'Ubuntu', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description-modern {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Footer Styles */
.footer-modern {
    background: var(--dark-gray);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-link {
    font-family: 'Ubuntu', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.875rem;
}

.footer-link:hover {
    color: var(--secondary-blue);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title-modern {
        font-size: 2.5rem;
    }
    
    .section-title-modern {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .btn-modern {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .category-card-modern {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title-modern {
        font-size: 2rem;
    }
    
    .section-title-modern {
        font-size: 1.75rem;
    }
    
    .btn-modern {
        padding: 0.625rem 1.25rem;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-blue) !important;
}

.text-secondary {
    color: var(--secondary-blue) !important;
}

.text-dark {
    color: var(--dark-gray) !important;
}

.text-medium {
    color: var(--medium-gray) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

.bg-secondary {
    background-color: var(--secondary-blue) !important;
}

.bg-white {
    background-color: var(--white) !important;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

.border-primary {
    border-color: var(--primary-blue) !important;
}

.border-light {
    border-color: var(--border-light) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.shadow-xl {
    box-shadow: var(--shadow-xl) !important;
}

.rounded-modern {
    border-radius: var(--border-radius) !important;
}

.rounded-lg-modern {
    border-radius: var(--border-radius-lg) !important;
}

.rounded-xl-modern {
    border-radius: var(--border-radius-xl) !important;
}

/* Force Ubuntu Font */
* {
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Ensure white background */
html, body {
    background-color: #FFFFFF !important;
}

/* Override any existing font declarations */
.font-body, .font-display, .font-sans {
    font-family: 'Ubuntu', sans-serif !important;
}