/* Main CSS for Products Site */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.site-header .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.site-header .nav-link {
    font-weight: 500;
    color: #495057;
    transition: color 0.2s;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    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 xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,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"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}

.product-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-list {
    font-size: 0.9rem;
}

.features-list i {
    font-size: 0.875rem;
}

/* Product Detail Pages */
.product-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0 3rem;
}

.product-hero h1 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-hero .lead {
    font-size: 1.25rem;
    opacity: 0.95;
}

.product-nav {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.product-nav .nav-link {
    color: #495057;
    border-bottom: 2px solid transparent;
    padding: 1rem 1.5rem;
    transition: all 0.2s;
}

.product-nav .nav-link:hover,
.product-nav .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.content-section {
    padding: 3rem 0;
}

.content-section h2 {
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #212529;
}

.content-section h3 {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #495057;
}

/* Legal Pages */
.legal-page {
    background-color: #f8f9fa;
}

.legal-content {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    padding: 2rem;
    margin-bottom: 2rem;
}

.legal-content h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #dee2e6;
}

.legal-content h2 {
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #212529;
}

.legal-content h3 {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #495057;
}

.legal-content p {
    line-height: 1.8;
    color: #495057;
}

.legal-content ul,
.legal-content ol {
    line-height: 1.8;
    color: #495057;
}

.last-updated {
    font-style: italic;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Footer Styles */
.site-footer {
    background-color: #212529;
    color: #adb5bd;
    margin-top: auto;
    padding: 3rem 0 1rem;
}

.site-footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.site-footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #343a40;
    padding-top: 1.5rem;
    margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 !important;
    }
    
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .product-hero {
        padding: 2rem 0 1.5rem;
    }
    
    .product-hero h1 {
        font-size: 2rem;
    }
    
    .product-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



/* Stick Nav*/
.nav-pills .nav-link {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    background-color: #f8f9fa;
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.sticky-nav {
    position: sticky;
    top: 20px;
    background: white;
    z-index: 100;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 15px; /* Changed from 50px for better mobile layout */
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .sticky-nav {
        position: relative;
        top: 0;
        padding: 0.75rem 0.5rem;
    }
    
    .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        padding: 0 0.5rem;
    }
    
    .nav-pills .nav-link {
        white-space: nowrap;
        font-size: 0.85rem; /* Smaller text on mobile */
        padding: 0.5rem 1rem;
    }

    .nav-pills .nav-item:first-child .nav-link {
        margin-left: 1rem;
    }
    
    .nav-pills .nav-item:last-child .nav-link {
        margin-right: 0.25rem;
    }
}

.lang-selector {
    background: rgba(102, 126, 234, 0.9); /* Matches your brand gradient */
    border-radius: 50px;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lang-selector select option {
    background: white;
    color: black;
}

@media (max-width: 768px) {
    .lang-selector {
        font-size: 0.9rem;
    }
}