/* Custom Styles for Soft Global Online Service */

:root {
    --primary-color: #00A651;
    --secondary-color: #006400;
    --accent-color: #ffc107;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Top Bar */
.top-bar {
    font-size: 0.875rem;
    background-color: #E5525F !important;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background-image: url('../banners.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 0;
}

.hero-section h1 {
    color: white;
}

.hero-section .lead {
    color: white;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

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

.product-icon {
    transition: transform 0.3s ease;
    height: 150px;
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

/* Feature Box */
.feature-box {
    padding: 20px;
    transition: all 0.3s ease;
}

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

/* Buttons */
.btn {
    font-weight: 500;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Footer */
footer {
    margin-top: auto;
}

footer.bg-dark {
    background-color: #E5525F !important;
}

footer a:hover {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.show {
    display: block;
}

/* Product Details */
.product-image-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Cart */
.cart-item {
    border-bottom: 1px solid #dee2e6;
    padding: 15px 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.quantity-control button {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
}

/* About Stats */
.about-stat {
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.about-stat:hover {
    background-color: var(--light-bg);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .top-bar .col-md-6:last-child {
        display: none;
    }
}

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

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

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

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Badge */
.badge {
    font-weight: 500;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}