/* OyeMedical - Modern Heal Your Body Design */

:root {
    --primary-color: #1e4d7b;
    --secondary-color: #00a19a;
    --accent-coral: #ff6b6b;
    --accent-yellow: #f7e07d;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, -apple-system, BlinkMacSystemFont;
    color: var(--dark-text);
    line-height: 1.6;
    background: #ffffff;
}

/* Bootstrap Color Overrides */
.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    border-radius: 30px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #e8f5f5 0%, #d4edeb 100%);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero-title {
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: bold;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #555;
}

/* Cards */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

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

/* Product Card (Standard) */
.product-card {
    position: relative;
    height: 100%;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-card .product-image {
    height: 300px;
    object-fit: cover;
    background-color: var(--light-bg);
}

.product-card .badge-sale {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    background: var(--accent-coral);
}

.product-card .product-rating {
    color: #ffc107;
}

.product-card .btn-add-cart {
    transition: all 0.3s;
}

.product-card .btn-add-cart:hover {
    transform: scale(1.05);
}

/* Filter Section */
.filter-section {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.filter-section h5 {
    color: var(--primary-color);
    font-weight: 600;
}

.filter-section .form-select,
.filter-section .form-control {
    border-radius: 10px;
    border: 1px solid #ddd;
}

.filter-section .form-select:focus,
.filter-section .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 161, 154, 0.25);
}

/* Category Card */
.category-card {
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    background: white;
}

.category-card:hover {
    border-color: var(--secondary-color);
    background-color: var(--light-bg);
    transform: translateY(-5px);
}

.category-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Trust Badges */
.trust-badges {
    text-align: center;
    padding: 2rem 0;
}

.trust-badges i {
    font-size: 3rem;
    color: var(--secondary-color);
    transition: transform 0.3s;
}

.trust-badges i:hover {
    transform: scale(1.1);
}

/* Subscription Banner */
.subscription-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 15px;
    padding: 3rem;
    color: white;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.testimonial-card .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #e8f5f5 0%, #d4edeb 100%);
    padding: 3rem 0;
    border-radius: 15px;
}

.newsletter form input {
    border: none;
    border-radius: 30px 0 0 30px;
    padding: 0.75rem 1.5rem;
}

.newsletter form input:focus {
    box-shadow: none;
    outline: none;
}

.newsletter form button {
    border-radius: 0 30px 30px 0;
}

/* Price */
.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
}

/* Badge */
.badge-success {
    background-color: var(--secondary-color);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

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

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

/* Forms */
.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 161, 154, 0.25);
}

/* Modal */
.modal-content {
    border-radius: 15px;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

/* Sidebar */
.sidebar-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.sidebar-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Loading Spinner */
.spinner-border-primary {
    color: var(--secondary-color);
}

/* Alert */
.alert-success {
    background-color: rgba(0, 161, 154, 0.1);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Links */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .product-card .product-image {
        height: 200px;
    }

    .filter-section {
        padding: 1rem;
    }

    .category-card {
        padding: 1.5rem;
    }

    .category-card i {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .btn-primary,
    .btn-outline-primary {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .price {
        font-size: 1.5rem;
    }
}

/* Utilities */
.shadow-sm-hover:hover {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.rounded-lg {
    border-radius: 15px !important;
}

.bg-light-custom {
    background: var(--light-bg);
}

.text-muted-custom {
    color: #6c757d;
}
