/* Style System for Veluno Industries (B2B) */

:root {
    --primary-color: #0F5EA8;
    --primary-dark: #0A3E70;
    --primary-light: #EBF4FC;
    --secondary-color: #67C4FF;
    --secondary-dark: #45B0ED;
    --accent-color: #25D366; /* WhatsApp Green */
    --dark-color: #111111;
    --text-dark: #2D3748;
    --text-muted: #718096;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 15px 40px rgba(15, 94, 168, 0.15);
    --border-radius: 16px;
    --transition-speed: 0.3s;
}

/* Base resets & Fonts */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.outfit {
    font-family: 'Outfit', sans-serif;
}

/* Custom Text utilities */
.text-primary-color {
    color: var(--primary-color);
}
.bg-primary-light {
    background-color: var(--primary-light);
}

/* Top bar style */
.top-bar {
    font-size: 13px;
    letter-spacing: 0.3px;
}

/* Navigation & Header */
.navbar {
    transition: all var(--transition-speed) ease-in-out;
}
.navbar.scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    position: relative;
    padding: 0.5rem 0.75rem;
    transition: color var(--transition-speed);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

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

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 24px);
}

/* Custom buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 94, 168, 0.25);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 94, 168, 0.05) 0%, rgba(103, 196, 255, 0.1) 100%);
    padding: 100px 0 140px 0;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Wave overlay at the bottom of hero */
.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: block;
}

/* Why Choose Section & Cards */
.feature-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(15, 94, 168, 0.05);
    transition: all var(--transition-speed) ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(15, 94, 168, 0.15);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all var(--transition-speed) ease;
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

/* Category & Product Cards */
.category-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-speed) ease;
    height: 100%;
    background: var(--white);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.category-img-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.category-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    background-color: #F8F9FA;
    transition: transform var(--transition-speed) ease;
}

.category-card:hover .category-img-container img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(15, 94, 168, 0.85) 100%);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

/* Product grid specific card styling */
.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(15, 94, 168, 0.05);
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(15, 94, 168, 0.15);
}

.product-img-wrapper {
    height: 220px;
    background-color: #F8F9FA;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    position: relative;
}

.product-img-wrapper img {
    max-width: 100%;
    max-height: 170%;
    object-fit: contain;
    transition: transform var(--transition-speed) ease;
}

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

.product-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

/* Applications Cards */
.application-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(15, 94, 168, 0.05);
    transition: all var(--transition-speed) ease;
    height: 100%;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

/* Glassmorphic forms */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    padding: 40px;
}

.form-control, .form-select {
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid rgba(15, 94, 168, 0.15);
    font-size: 15px;
    transition: all var(--transition-speed) ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(15, 94, 168, 0.15);
}

/* Section Header Styling */
.section-title {
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Footer styles */
.footer-links li a {
    transition: all var(--transition-speed) ease;
}
.footer-links li a:hover {
    color: var(--white) !important;
    padding-left: 5px;
}

.border-bottom-accent {
    position: relative;
}
.border-bottom-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Floating Elements */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--white) !important;
    border-radius: 50%;
    font-size: 32px;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulseWhatsApp 2s infinite;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #20BA5A;
}

.floating-cta-desktop {
    position: fixed;
    bottom: 25px;
    right: 95px;
    z-index: 999;
}

/* WhatsApp pulse animation */
@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* About Us Standards Icons */
.standard-badge {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(15, 94, 168, 0.08);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-speed);
}
.standard-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

/* Responsive fixes */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-section {
        padding: 60px 0 100px 0;
    }
    .floating-cta-desktop {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 2rem;
    }
    .glass-card {
        padding: 20px;
    }
    .floating-whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 15px;
        right: 15px;
    }
}

/* Footer Logo inversion */
.footer-logo {
    filter: brightness(0) invert(1);
}

/* Hero Multi-Slide Carousel Styles */
.hero-carousel-item {
    position: relative;
    padding: 100px 0 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.carousel-product-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    min-height: 280px;
    margin-top: 10px;
}

.product-display-circle {
    width: 160px;
    height: 160px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border: 4px solid rgba(255, 255, 255, 0.35);
    transition: all var(--transition-speed) ease;
}

.product-display-circle img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-display-circle:hover img {
    transform: scale(1.1) rotate(5deg);
}

.circle-primary {
    transform: translateY(-15px);
    animation: floatPrimary 6s ease-in-out infinite;
}

.circle-secondary {
    transform: translateY(15px);
    animation: floatSecondary 6s ease-in-out infinite;
}

/* Carousel controls hover effect */
.carousel-control-prev, .carousel-control-next {
    width: 5%;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(15, 94, 168, 0.4);
    padding: 20px;
    border-radius: 50%;
    transition: background-color var(--transition-speed);
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(15, 94, 168, 0.8);
}

.carousel-indicators [data-bs-target] {
    background-color: var(--white);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    opacity: 0.5;
}
.carousel-indicators .active {
    opacity: 1;
    background-color: var(--secondary-color);
}

/* Float animations for sliding product displays */
@keyframes floatPrimary {
    0%, 100% {
        transform: translateY(-15px);
    }
    50% {
        transform: translateY(-30px);
    }
}

@keyframes floatSecondary {
    0%, 100% {
        transform: translateY(15px);
    }
    50% {
        transform: translateY(30px);
    }
}

/* Responsive tweaks for hero carousel */
@media (max-width: 991px) {
    .hero-carousel-item {
        min-height: auto;
        padding: 50px 0 80px 0;
    }
    .carousel-product-wrapper {
        min-height: 200px;
        margin-top: 30px;
        gap: 15px;
    }
    .product-display-circle {
        width: 120px;
        height: 120px;
    }
    .circle-primary {
        transform: translateY(-10px);
        animation: floatPrimarySmall 6s ease-in-out infinite;
    }
    .circle-secondary {
        transform: translateY(10px);
        animation: floatSecondarySmall 6s ease-in-out infinite;
    }
}

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

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

/* Transparent background blend for product JPGs (Product Page Only) */
.product-img-wrapper img {
    mix-blend-mode: multiply;
}
