/* Custom CSS for CocoCaribe */

:root {
    --bs-success: #22c55e;
    --bs-success-rgb: 34, 197, 94;
    --bs-primary: #0ea5e9;
    --bs-primary-rgb: 14, 165, 233;
    --bs-warning: #f59e0b;
    --bs-warning-rgb: 245, 158, 11;
}

/* Global Styles */
body {
    padding-top: 76px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

/* Logo */
.logo-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--bs-success), #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg,
    rgba(34, 197, 94, 0.03) 0%,
    rgba(34, 197, 94, 0.02) 50%,
    rgba(255, 255, 255, 0.95) 100%);
    background-image: radial-gradient(circle at 2px 2px, rgba(156, 163, 175, 0.05) 1px, transparent 0);
    background-size: 20px 20px;
}

.hero-content h2 {
    line-height: 1.1;
}

/* Feature Icons */
.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.5rem;
}

/* Floating Animation */
.floating-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 1.5rem;
}

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

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #374151 !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--bs-success) !important;
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.btn-success:hover {
    background-color: #16a34a;
    border-color: #16a34a;
    transform: translateY(-1px);
}

.btn-outline-success {
    color: var(--bs-success);
    border-color: var(--bs-success);
}

.btn-outline-success:hover {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
    transform: translateY(-1px);
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--bs-success);
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
}

/* Cards */
.card {
    border-radius: 12px;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }
}

/* Contact Section Cards */
#contact .card {
    transition: all 0.3s ease;
}

#contact .card:hover {
    transform: translateY(-2px);
}

/* Footer */
footer a:hover {
    color: var(--bs-success) !important;
}

/* Badge Animations */
.badge {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Filter Buttons */
.btn-group .btn {
    margin: 2px;
}

/* Shadows */
.shadow-lg {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Utility Classes */
.text-success {
    color: var(--bs-success) !important;
}

.bg-success {
    background-color: var(--bs-success) !important;
}

.border-success {
    border-color: var(--bs-success) !important;
}