/* ========================================
   Sea World Colombia - Custom Styles
   Apple-inspired design with marine theme
   ======================================== */

/* CSS Custom Properties (Variables) */
:root {
    /* Sea World Brand Colors - Basado en el nuevo logo */
    --primary-color: #2C5F7C;        /* Azul oscuro del logo */
    --accent-color: #4A90E2;         /* Azul claro del logo */
    --secondary-color: #1E3A52;      /* Azul muy oscuro */
    --light-accent: #E8F4FD;         /* Azul muy claro */
    --dark-accent: #1A4B6B;          /* Azul medio oscuro */
    --ocean-blue: #3B82C4;           /* Azul intermedio */
    --coral-accent: #FF6B6B;         /* Coral para acentos */
    --success-color: #10B981;        /* Verde para éxito */
    --warning-color: #F59E0B;        /* Naranja para advertencias */
    --info-color: #06B6D4;           /* Cian para información */
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --black: #000000;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --hero-gradient: linear-gradient(135deg, rgba(44, 95, 124, 0.9) 0%, rgba(74, 144, 226, 0.8) 50%, rgba(59, 130, 196, 0.9) 100%);
    --ocean-gradient: linear-gradient(135deg, var(--accent-color) 0%, var(--ocean-blue) 100%);
    --blue-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--ocean-blue) 100%);
    --subtle-gradient: linear-gradient(135deg, var(--light-accent) 0%, rgba(74, 144, 226, 0.1) 100%);
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 15px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ========================================
   Base Styles & Reset
   ======================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: 25px;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray);
}

/* ========================================
   Logo Styles
   ======================================== */

.logo-img {
    transition: all var(--transition-fast);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    border-radius: 8px;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.navbar-brand:hover .logo-img {
    transform: scale(1.02);
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    background: #FFFFFF !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: all var(--transition-normal);
    padding: 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
    z-index: 1050;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.navbar.scrolled {
    background: #FFFFFF !important;
    padding: 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all var(--transition-fast);
    padding: 0;
}

.navbar-brand:hover {
    color: var(--ocean-blue) !important;
    transform: translateY(-1px);
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.4rem 0.8rem !important;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    background-color: rgba(74, 144, 226, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(74, 144, 226, 0.1);
    padding: 0.75rem 0;
    margin-top: 0.75rem;
    min-width: 220px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.875rem 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: transparent;
    position: relative;
    font-size: 0.95rem;
    border-radius: 8px;
    margin: 0 0.5rem;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(44, 95, 124, 0.1) 100%);
    color: var(--accent-color);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.dropdown-item:focus {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(44, 95, 124, 0.1) 100%);
    color: var(--accent-color);
    outline: none;
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.dropdown-divider {
    border-color: rgba(74, 144, 226, 0.2);
    margin: 0.5rem 0;
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.dropdown {
    position: relative;
}

/* Hover effect for dropdown menu */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
    pointer-events: auto;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Keep dropdown open when hovering over menu items */
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
    pointer-events: auto;
}

/* Add a small delay before closing to allow clicking */
.dropdown:hover .dropdown-menu {
    transition-delay: 0s;
}

/* Keep dropdown open when hovering over dropdown items */
.dropdown-item:hover {
    background: var(--light-accent);
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Ensure dropdown stays open when clicking items */
.dropdown-item:focus,
.dropdown-item:active {
    background: var(--light-accent);
    color: var(--accent-color);
    outline: none;
}

/* Ensure dropdown items are clickable */
.dropdown-item {
    pointer-events: auto;
    cursor: pointer;
}

/* Smooth transition for dropdown toggle arrow */
.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

/* Logo Styles */
.logo-img {
    transition: all var(--transition-normal);
    filter: none;
    height: 90px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.logo-img:hover {
    transform: scale(1.02);
    filter: none;
}

.brand-text-navbar {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .logo-img {
        height: 75px !important;
        background: transparent;
        border-radius: 0;
        padding: 0;
        filter: none;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 65px !important;
        background: transparent;
        border-radius: 0;
        padding: 0;
        filter: none;
    }
}

/* ========================================
   Navbar Styles
   ======================================== */


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

.navbar-nav .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.4rem 0;
    }
    
    .logo-img {
        height: 70px !important;
        background: transparent;
        border-radius: 0;
        padding: 0;
        filter: none;
    }
    
    .brand-text-navbar {
        font-size: 1rem;
    }
}

/* ========================================
   Hero Logo Styles
   ======================================== */

.hero-logo-img {
    height: 120px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all var(--transition-normal);
}

.hero-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

@media (max-width: 768px) {
    .hero-logo-img {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .hero-logo-img {
        height: 60px;
    }
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.2) 0%, rgba(72, 202, 228, 0.15) 50%, rgba(0, 119, 182, 0.2) 100%),
                url('images/fondo-hero-nuevo.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Changed from fixed to scroll for iOS compatibility */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

/* iOS/Safari: evita background-attachment: fixed */
@supports (-webkit-touch-callout: none) {
    .hero-section { 
        background-attachment: scroll !important; 
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.1) 0%, rgba(72, 202, 228, 0.05) 50%, rgba(0, 119, 182, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    border-radius: var(--border-radius-md);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-accent) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--primary-color);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #25D366;
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    border-color: #25D366;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ========================================
   Sections
   ======================================== */

section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* ========================================
   About Logo Styles
   ======================================== */

.about-logo-img {
    height: 80px;
    filter: none;
    transition: all var(--transition-normal);
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.about-logo-img:hover {
    transform: scale(1.05);
    filter: none;
}

@media (max-width: 768px) {
    .about-logo-img {
        height: 60px;
        background: transparent;
        border-radius: 0;
        padding: 0;
        filter: none;
    }
}

/* ========================================
   About Section
   ======================================== */

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-item i {
    display: block;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Products Section
   ======================================== */

.search-filter-container {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.input-group-text {
    background: var(--primary-color);
    border: none;
    color: var(--white);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(2, 65, 42, 0.25);
}

.filter-buttons .btn {
    margin: 0.25rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* ========================================
   Product Cards
   ======================================== */

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(64, 224, 208, 0.3);
    border: 2px solid rgba(64, 224, 208, 0.3);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-normal);
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
    color: var(--white);
    font-size: 2rem;
}

.product-image:hover .image-overlay {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.product-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    flex-grow: 1;
}

/* Removed product price styles - no longer needed */

.product-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    position: relative;
    margin-top: auto;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-info {
    background: var(--info-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: var(--border-radius-lg);
    flex: 1;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.btn-info:hover {
    background: #0891B2;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
    transform: translateY(-1px);
}

/* ========================================
   Plant Section
   ======================================== */

.carousel-img {
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    border-radius: var(--border-radius-md);
    padding: 1rem;
}

.carousel-caption h5 {
    color: var(--white);
    font-weight: 600;
}

.carousel-caption p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.plant-feature {
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    height: 100%;
}

.plant-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.plant-feature-icon {
    width: 80px;
    height: 80px;
    background: var(--light-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all var(--transition-normal);
}

.plant-feature:hover .plant-feature-icon {
    background: var(--primary-color);
    color: var(--white) !important;
    transform: scale(1.1);
}

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

.plant-feature p {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
}

/* ========================================
   Product Modal Styles
   ======================================== */

.product-modal-img {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
    border-radius: var(--border-radius-md);
}

/* ========================================
   Contact Section
   ======================================== */

/* Modern Contact Cards */
.contact-card {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border-left: 4px solid var(--primary-color);
}

.contact-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-card-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-card-content h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-card-content p {
    margin: 0;
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-link {
    color: var(--ocean-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.contact-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Modern Contact Form */
.modern-contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(27, 77, 62, 0.1);
}

.form-header h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray);
    margin: 0;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-color);
}

.form-floating > .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

/* Quick Contact Section */
.quick-contact-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(74, 144, 226, 0.1);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-card-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .modern-contact-form {
        padding: 1.5rem;
    }
    
    .carousel-img {
        height: 300px;
    }
}

/* ========================================
   Footer
   ======================================== */

/* ========================================
   Modern Footer Styles
   ======================================== */

.modern-footer {
    background: linear-gradient(135deg, #20B2AA 0%, #48CAE4 50%, #0077B6 100%);
    color: var(--white);
    padding: 2rem 0 0.5rem;
}

.footer-section {
    margin-bottom: 1rem;
}

.footer-logo img {
    transition: all var(--transition-normal);
    background: transparent;
    border-radius: 0;
    padding: 0;
    filter: none;
}

.footer-logo img:hover {
    transform: scale(1.05);
    filter: none;
}

.footer-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.footer-subtitle {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-subtitle::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    width: 20px;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.contact-item a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-badge i {
    color: var(--accent-color);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 1rem 0 0.5rem;
}

.footer-bottom {
    padding-top: 0.5rem;
}

.copyright,
.footer-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-note {
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Enhanced About Section Styles
   ======================================== */

.about-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.about-logo {
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(74, 144, 226, 0.2));
    transition: all var(--transition-normal);
}

.about-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(74, 144, 226, 0.3));
}

@media (max-width: 768px) {
    .about-logo {
        height: 100px;
    }
}

@media (max-width: 576px) {
    .about-logo {
        height: 80px;
    }
}

.about-content {
    padding: 2rem 0;
}

.about-stats {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin: 2rem 0;
}

.stat-item {
    padding: 1rem;
}

.stat-item h3 {
    color: var(--primary-color);
    font-weight: 700;
}

.stat-item p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.feature-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    height: 100%;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-normal);
}

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

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon i {
    color: var(--white);
}

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

.feature-card p {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}


/* ========================================
   Marketplace Popup Styles
   ======================================== */

.marketplace-popup {
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    background: var(--white);
    position: relative;
}

.popup-header {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-close .btn-close-popup {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    transition: all var(--transition-fast);
}

.popup-close .btn-close-popup:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.popup-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #8b6914;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.popup-content {
    display: flex;
    min-height: 300px;
}

.popup-image-section {
    flex: 1;
    position: relative;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.popup-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.popup-image-container {
    position: relative;
}

.popup-image-container img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
}

.image-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
    color: var(--white);
    border-radius: 12px;
    text-align: center;
}

.image-zoom-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.image-zoom-overlay span {
    font-size: 0.9rem;
    font-weight: 500;
}

.popup-image-container:hover .image-zoom-overlay {
    opacity: 1;
}

.popup-image-container:hover img {
    transform: scale(1.02);
}

.popup-image-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    transition: all var(--transition-fast);
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.popup-details {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-title-section {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

.popup-product-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.popup-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stars {
    display: flex;
    gap: 2px;
    color: #ffd700;
}

.rating-text {
    color: var(--gray);
    font-size: 0.9rem;
}

.popup-description {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 1rem;
}

.popup-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--light-accent);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.popup-seller-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.seller-avatar img {
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.seller-details {
    flex: 1;
}

.seller-details h6 {
    margin: 0 0 0.25rem 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.seller-details p {
    margin: 0;
    color: var(--gray);
    font-size: 0.85rem;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #ffd700;
    font-weight: 600;
}

.popup-footer {
    background: #f8f9fa;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

.popup-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-whatsapp-marketplace {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    flex: 1;
    text-align: center;
}

.btn-whatsapp-marketplace:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.popup-price-info {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.price-label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.price-note {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========================================
   Image Modal Styles
   ======================================== */

.image-modal-content {
    background: rgba(0, 0, 0, 0.95);
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.image-modal-header {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

.btn-close-image {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-close-image:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.image-modal-body {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.image-zoomed {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .popup-content {
        flex-direction: column;
    }
    
    .popup-features {
        grid-template-columns: 1fr;
    }
    
    .popup-actions {
        flex-direction: column;
    }
    
    .image-zoomed {
        max-width: 95%;
        max-height: 85vh;
    }
}

/* ========================================
   WhatsApp Float Button
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========================================
   Loading States
   ======================================== */

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

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

/* ========================================
   Logo Responsive Styles
   ======================================== */

@media (max-width: 768px) {
    .logo-img {
        height: 100px !important;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 90px !important;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-brand span {
        display: none;
    }
}

/* ========================================
   Load More Button
   ======================================== */

#loadMoreBtn {
    display: none;
}

/* ========================================
   Product References Styles
   ======================================== */

.product-references {
    margin-top: 1rem;
}

.product-references h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.references-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.reference-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    min-width: 60px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.reference-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Fixes Específicos por Navegador y Plataforma
   ======================================== */

/* Fix para Safari móvil - pantalla negra */
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    .hero-section {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        min-height: 100vh !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    body {
        background-color: #ffffff !important;
        color: #333333 !important;
    }
    
    .navbar {
        background-color: rgba(255, 255, 255, 0.95) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        backdrop-filter: blur(10px) !important;
    }
}

/* Fix para Chrome Mac/iPhone - pantalla negra */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 1024px) {
    .hero-section {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        min-height: 100vh !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    body {
        background-color: #ffffff !important;
        color: #333333 !important;
    }
}

/* Fix para modal que no se cierra en Safari */
.welcome-modal.show {
    display: flex !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1055 !important;
    align-items: center !important;
    justify-content: center !important;
}

.welcome-modal .modal-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    z-index: 1 !important;
}

.welcome-modal .modal-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 500px !important;
    width: 90% !important;
    margin: 0 auto !important;
    transform: none !important;
}

.welcome-modal .modal-content {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    pointer-events: auto !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border: 1px solid rgba(0,0,0,.2) !important;
    border-radius: 0.3rem !important;
    outline: 0 !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .search-filter-container {
        padding: 1.5rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-buttons .btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* ========================================
   Accessibility & Focus States
   ======================================== */

.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Welcome Modal Styles
   ======================================== */

.welcome-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.welcome-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
}

.modal-container {
    position: relative;
    width: 85%;
    max-width: 700px;
    max-height: 80vh;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: scale(0.95) translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.welcome-modal.show .modal-container {
    transform: scale(1) translateY(0);
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.modal-header {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 20;
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-body {
    padding: 0;
}

.welcome-content {
    display: flex;
    min-height: 500px;
}

.welcome-image-full {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

.modal-image-full {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.modal-image-full:hover {
    transform: scale(1.02);
}

.welcome-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="wave" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M0,10 Q5,0 10,10 T20,10" stroke="rgba(255,255,255,0.1)" stroke-width="1" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23wave)"/></svg>');
    opacity: 0.3;
}

.modal-image {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.modal-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.welcome-text {
    flex: 1;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-description {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.welcome-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.welcome-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(44, 95, 124, 0.1) 100%);
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid var(--accent-color);
}

.welcome-features .feature-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.welcome-features .feature-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.welcome-features .feature-item span {
    font-weight: 600;
    color: var(--primary-color);
}

.welcome-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.welcome-actions .btn {
    flex: 1;
    min-width: 100px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.welcome-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 95, 124, 0.3);
}

/* Responsive Modal */
@media (max-width: 1024px) {
    .modal-container {
        width: 90%;
        max-width: 650px;
        max-height: 80vh;
    }
    
    .welcome-content {
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    .modal-container {
        width: 90%;
        max-width: 600px;
        max-height: 75vh;
    }
    
    .welcome-content {
        min-height: 400px;
    }
}

@media (max-width: 576px) {
    .modal-container {
        max-width: 450px;
    }
    
    .welcome-content {
        min-height: 350px;
    }
}



/* ========================================
   Print Styles
   ======================================== */

@media print {
    .navbar,
    .whatsapp-float,
    .btn {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: var(--black) !important;
    }
    
    .hero-section h1,
    .hero-section .lead {
        color: var(--black) !important;
    }
}

/* ========================================
   High Contrast Mode
   ======================================== */

@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --accent-color: #0000FF;
        --secondary-color: #000000;
    }
    
    .btn-primary {
        border: 2px solid var(--black);
    }
}

/* ========================================
   Reduced Motion
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .whatsapp-float {
        animation: none;
    }
}

/* Form Styles */
#message {
    height: 120px;
}

/* Product Info Table Styles */
.product-info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 12px;
    margin: 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-info-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.product-info-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.product-info-table td {
    padding: 8px 12px;
    border: none;
    vertical-align: middle;
}

.product-info-table tr:not(:last-child) td {
    border-bottom: 1px solid #e9ecef;
}

.info-label {
    background: linear-gradient(135deg, #2C5F7C 0%, #4A90E2 100%);
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    width: 40%;
    border-radius: 6px 0 0 6px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(44, 95, 124, 0.3);
}

.info-label i {
    margin-right: 6px;
    font-size: 0.85rem;
}

.info-value {
    background: white;
    color: #495057;
    font-weight: 500;
    font-size: 0.8rem;
    border-radius: 0 6px 6px 0;
    border-left: 3px solid #4A90E2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-info-table tr:last-child .info-label {
    border-radius: 8px 0 0 0;
}

.product-info-table tr:last-child .info-value {
    border-radius: 0 8px 0 0;
}
