/* Central Master Stylesheet for Venta Suite (MyComSys Corporate Style) */

/* Import Google Fonts (Outfit & Inter) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bs-primary: #1D4ED8;
    --bs-primary-hover: #1e40af;
    --venta-dark: #0F172A;
    --venta-violet: #6F42C1;
    --venta-emerald: #059669;
    --venta-amber: #D97706;
    --venta-light: #F8FAFC;
    --venta-border: #E2E8F0;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

body {
    font-family: var(--font-body);
    color: #334155;
    background-color: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--venta-dark);
    font-weight: 700;
}

/* Background & Color Helpers */
.bg-venta-dark { background-color: var(--venta-dark) !important; }
.bg-venta-light { background-color: var(--venta-light) !important; }
.text-venta-blue { color: var(--bs-primary) !important; }
.text-venta-violet { color: var(--venta-violet) !important; }
.text-venta-emerald { color: var(--venta-emerald) !important; }
.text-venta-amber { color: var(--venta-amber) !important; }

/* Custom Hero Layout */
.hero-bg {
    position: relative;
    background-color: var(--venta-dark);
    background-image: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 1) 0%, rgba(10, 15, 26, 1) 90%);
    color: white;
    padding-top: 8rem;
    padding-bottom: 6rem;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Top Nav Info Bar */
.top-info-bar {
    background-color: var(--venta-dark);
    color: #94A3B8;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-info-bar a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-info-bar a:hover {
    color: #ffffff;
}

/* Navbar Customizations & Hover Dropdowns */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 0.6rem 0;
    z-index: 1030;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: #475569 !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

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

/* Multi-level Dropdown Logic */
.dropdown-menu {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
    margin-top: 0;
}

.dropdown-item {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: #334155;
    padding: 0.6rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--venta-light);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: 0px;
    border-radius: 12px;
}

/* Hover triggers on desktop (min-width: 1200px) */
@media (min-width: 1200px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
    }
    
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* Chevron Indicators */
.dropdown-toggle::after {
    vertical-align: 0.15em;
    margin-left: 0.4em;
    font-size: 0.85em;
}

.dropdown-submenu > a::after {
    display: inline-block;
    float: right;
    border-top: 0.3em solid transparent;
    border-left: 0.3em solid;
    border-bottom: 0.3em solid transparent;
    border-right: 0;
    margin-top: 0.55em;
    content: "";
}

/* Feature Cards */
.feature-card {
    border: 1px solid var(--venta-border);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29, 78, 216, 0.3);
    box-shadow: var(--shadow-lg);
}

.icon-box {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

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

/* Action Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #1e40af 100%);
    border: none;
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 0.8rem 1.8rem;
    border-radius: 9999px;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.3);
    background: linear-gradient(135deg, #1e40af 0%, #1d3557 100%);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    border: none;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* Floating WhatsApp FAB */
.fab-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-whatsapp:hover {
    color: white;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    text-decoration: none;
}

/* Section Styling */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748B;
    max-width: 650px;
    margin: 0 auto 3rem auto;
    text-align: center;
    line-height: 1.7;
}

/* Custom Lists */
.custom-list {
    padding-left: 0;
    list-style: none;
}

.custom-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

.custom-list li i {
    position: absolute;
    left: 0;
    top: 4px;
}

/* Helpers & Utilities */
.rounded-xl { border-radius: 16px !important; }
.rounded-2xl { border-radius: 24px !important; }
.text-gray-300 { color: #CBD5E1 !important; }
.text-gray-400 { color: #94A3B8 !important; }
.text-gray-500 { color: #64748B !important; }
.border-width-4 { border-top-width: 4px !important; }

/* Custom Form elements */
.form-control {
    border: 1px solid var(--venta-border);
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    color: #1E293B;
    background-color: var(--venta-light);
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: #ffffff;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

/* Slideshow Banner (index.html) */
.slideshow-container {
    position: relative;
    height: 600px;
    overflow: hidden;
    background-color: var(--venta-dark);
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide-item.active {
    opacity: 1;
    z-index: 2;
}

.slide-caption {
    position: relative;
    z-index: 10;
    color: white;
}

/* Brand Grid Icons */
.brand-grid-box {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid var(--venta-border);
    border-radius: 12px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.brand-grid-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--bs-primary);
}

/* Float Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Gaps utility */
.gap-3 {
    gap: 1rem !important;
}

/* Hero section typography overrides for high-contrast on dark backgrounds */
.hero-bg h1, .hero-bg h2, .hero-bg h3, .hero-bg h4, .hero-bg h5, .hero-bg h6,
.slideshow-container h1, .slideshow-container h2, .slideshow-container h3, .slideshow-container h4, .slideshow-container h5, .slideshow-container h6 {
    color: #ffffff !important;
}

