/* Reset and Base Styles - Optimized */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Enhanced transitions for all interactive elements */
*, *::before, *::after {
    transition: all 0.3s ease;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    background-image: linear-gradient(135deg, #000000 0%, #1a0000 50%, #000000 100%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Performance optimizations */
* {
    will-change: auto;
}

.hero-video,
.hero-content,
.product-card,
.service-card {
    will-change: transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Base Typography */
    html {
        font-size: 14px;
    }
    
    body {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Container */
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Header */
    .header {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo-img {
        height: 40px;
        max-width: 200px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Hero Section */
    .hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-video {
        object-fit: cover;
        object-position: center;
        transform: scale(1);
    }
    
    .hero-content {
        padding: 1rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        max-width: 100%;
    }
    
    .cta-button {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
    
    /* Products Section */
    .products {
        padding: 2rem 0;
    }
    
    .products h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .category-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        min-width: auto;
    }
    
    /* Two-column product grid for mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .product-card {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .product-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .product-card p {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    .specifications {
        margin-bottom: 0.75rem;
    }
    
    .specifications h4 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .specifications ul {
        font-size: 0.7rem;
    }
    
    .specifications li {
        margin-bottom: 0.15rem;
    }
    
    .applications h4 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .applications ul {
        font-size: 0.7rem;
    }
    
    .features {
        margin-top: 0.75rem;
    }
    
    .features h4 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .features ul {
        font-size: 0.7rem;
    }
    
    /* Search Overlay */
    .search-overlay {
        padding: 1rem;
    }
    
    .search-container {
        max-width: 100%;
        margin: 2rem auto;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 0.75rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer p {
        font-size: 0.8rem;
    }
    
    /* Loading Indicator */
    .loading-spinner p {
        font-size: 0.9rem;
    }
    
    .spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.85rem;
    }
    
    .cta-button {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    
    .product-categories {
        padding: 0 0.5rem 1rem;
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .category-btn i {
        margin-right: 0.4rem;
        font-size: 0.75rem;
    }
    
    .products-grid {
        gap: 0.75rem;
    }
    
    .product-card {
        padding: 0.75rem;
    }
    
    .product-card h3 {
        font-size: 0.85rem;
    }
    
    .product-card p {
        font-size: 0.7rem;
    }
    
    .specifications ul,
    .applications ul,
    .features ul {
        font-size: 0.65rem;
    }
}
    
/* Loading Indicator */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-indicator.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: white;
}

.preloader-logo {
    margin-bottom: 3rem;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.preloader-logo-img {
    width: 120px;
    height: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: pulse 2s ease-in-out infinite;
}

.logo-icon i {
    font-size: 2.5rem;
    color: white;
    animation: rotate 2s linear infinite;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.loading-progress {
    width: 300px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #f0f9ff);
    border-radius: 2px;
    animation: loading 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.loading-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    animation: fade 1.5s ease-in-out infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes fade {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Floating Quote Button */
.quote-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-quote 2s infinite;
}

.quote-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.6);
}

.quote-float i {
    font-size: 1.8rem;
    color: white;
}

@keyframes pulse-quote {
    0% {
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(37, 99, 235, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 1.8rem;
    color: white;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #dc2626;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(220, 38, 38, 0.3);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #dc2626;
    box-shadow: 0 2px 30px rgba(220, 38, 38, 0.4);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.header.scrolled .logo {
    color: #2563eb;
    text-shadow: none;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

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

.logo i {
    font-size: 2rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.header.scrolled .logo i {
    color: #dc2626;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header.scrolled .nav-link {
    color: #ffffff;
    text-shadow: none;
}

.nav-link:hover,
.nav-link.active {
    color: #dc2626;
    background-color: rgba(220, 38, 38, 0.1);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 150px;
    border: 1px solid #e5e7eb;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0.375rem;
    margin: 0.25rem;
}

.dropdown-link:hover {
    background-color: #f3f4f6;
    color: #2563eb;
}

.header.scrolled .dropdown-menu {
    background: white;
    border: 1px solid #e5e7eb;
}

.header.scrolled .dropdown-link {
    color: #374151;
}

.header.scrolled .dropdown-link:hover {
    background-color: #f3f4f6;
    color: #2563eb;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-btn,
.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #374151;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.search-btn:hover,
.mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #2563eb;
}

.quote-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.mobile-menu-btn {
    display: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.header.scrolled .bar {
    background-color: #374151;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 0 2rem;
}

.search-box {
    display: flex;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(220, 38, 38, 0.4);
    border: 2px solid #dc2626;
}

.search-input {
    flex: 1;
    padding: 1.5rem 2rem;
    border: none;
    font-size: 1.2rem;
    outline: none;
    background: transparent;
    color: #ffffff;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-submit {
    background: #dc2626;
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: #b91c1c;
}

.search-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #1a0000 50%, #000000 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: contrast(1.1) brightness(1.05) saturate(1.1) sharpen(0.5);
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* .hero-pattern removed - mirror grid effect disabled */

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 4;
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    color: #dc2626;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #f1f5f9;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-size: 0.875rem;
    color: #e2e8f0;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.hero-card {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid #dc2626;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-card:nth-child(2) {
    margin-top: 2rem;
}

.card-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.hero-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.hero-card p {
    color: #e5e7eb;
    font-size: 0.875rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: #000000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(0, 0, 0, 0.9);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #dc2626;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    color: #e5e7eb;
    line-height: 1.6;
    font-size: 1rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: 2px solid #dc2626;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-outline {
    background: transparent;
    color: #dc2626;
    border: 2px solid #dc2626;
}

.btn-outline:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #e5e7eb;
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products {
    background: #000000;
}

.product-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #dc2626;
    border-radius: 0.5rem;
    color: #ffffff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Ensure mobile override works */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
}

.product-card {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
    border: 2px solid #dc2626;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.4);
    border-color: #ef4444;
}

.product-image {
    position: relative;
    height: 200px;
    background: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 2px solid #dc2626;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background: white;
    padding: 10px;
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Product card animations */
.product-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }
.product-card:nth-child(9) { animation-delay: 0.9s; }
.product-card:nth-child(10) { animation-delay: 1.0s; }

/* Button animations */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: pulse 2s infinite;
}

.btn:active {
    transform: translateY(0) scale(0.98);
    transition: transform 0.1s ease;
}

.btn:active {
    transform: translateY(0);
    transition: transform 0.1s;
}

/* Badge animations */
.product-badge {
    animation: pulse 2s infinite;
}

/* Hero section animations */
.hero-content h1 {
    animation: slideInLeft 1s ease-out;
}

.hero-content p {
    animation: slideInLeft 1s ease-out 0.3s both;
}

.hero-actions {
    animation: slideInLeft 1s ease-out 0.6s both;
}

/* Loading animation for images */
.product-image img {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

/* Hover effects for feature cards */
.feature-card:hover {
    animation: bounce 0.6s ease;
}

/* Section title animations */
.section-title {
    animation: fadeInUp 0.8s ease-out;
}

.section-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Responsive image adjustments */
@media (max-width: 768px) {
    .product-image {
        height: 180px;
    }
    
    .product-card {
        animation-duration: 0.4s;
    }
}

@media (max-width: 480px) {
    .product-image {
        height: 160px;
    }
    
    .product-card {
        animation-duration: 0.3s;
    }
}

.product-placeholder {
    font-size: 4rem;
    color: #94a3b8;
    opacity: 0.7;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-badge.new {
    background: linear-gradient(135deg, #059669, #047857);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.product-description {
    color: #e5e7eb;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-specs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.spec {
    background: rgba(220, 38, 38, 0.2);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #dc2626;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.125rem;
    color: #e5e7eb;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.feature-content p {
    color: #e5e7eb;
    line-height: 1.5;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: #6b7280;
    font-weight: 500;
}

/* Services Section */
.services {
    background: #000000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.2);
    border: 2px solid #dc2626;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-description {
    color: #e5e7eb;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: #e5e7eb;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 600;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.contact-card p {
    color: #e5e7eb;
    line-height: 1.6;
}

.contact-form-container {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
    border: 2px solid #dc2626;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #dc2626;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000000 0%, #1a0000 25%, #dc2626 50%, #1a0000 75%, #000000 100%);
    color: #e5e7eb;
    border-top: 3px solid #dc2626;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(220, 38, 38, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.1) 0%, transparent 40%);
    animation: redBlackPulse 6s ease-in-out infinite;
    z-index: 1;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(220, 38, 38, 0.1) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(0, 0, 0, 0.2) 50%, transparent 70%);
    animation: diagonalSweep 8s linear infinite;
    z-index: 1;
}

@keyframes redBlackPulse {
    0%, 100% { 
        opacity: 0.8; 
        transform: scale(1) rotate(0deg); 
    }
    33% { 
        opacity: 1; 
        transform: scale(1.02) rotate(1deg); 
    }
    66% { 
        opacity: 0.9; 
        transform: scale(0.98) rotate(-1deg); 
    }
}

@keyframes diagonalSweep {
    0% { transform: translateX(-100%) translateY(-100%); }
    50% { transform: translateX(100%) translateY(100%); }
    100% { transform: translateX(-100%) translateY(-100%); }
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.footer-section {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }
.footer-section:nth-child(5) { animation-delay: 0.5s; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(220, 38, 38, 0.5);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(220, 38, 38, 0.3));
    transition: all 0.3s ease;
}

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

.footer-logo i {
    font-size: 2.5rem;
    color: #dc2626;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(220, 38, 38, 0.3));
    animation: pulse 3s ease-in-out infinite;
}

.footer-description {
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-color: #dc2626;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.social-link:nth-child(2):hover {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    border-color: #1da1f2;
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.social-link:nth-child(3):hover {
    background: linear-gradient(135deg, #1877f2, #0d65d9);
    border-color: #1877f2;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-link:nth-child(4):hover {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-color: #ff0000;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 2rem;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.footer-links a::before {
    content: '▶';
    font-size: 0.7rem;
    color: #dc2626;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-links a:hover {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(220, 38, 38, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
}

.footer-bottom-links a:hover {
    color: #ffffff;
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(0, 0, 0, 0.95);
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(220, 38, 38, 0.4);
    border: 2px solid #dc2626;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #374151;
}

.modal-body {
    padding: 2rem;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 2rem;
    margin: -1rem 0 0 -1rem;
    border: 3px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Gallery Styles */
.gallery-hero {
    background: linear-gradient(135deg, #000000 0%, #1a0000 50%, #dc2626 100%);
    padding: 8rem 0 4rem;
    color: white;
    text-align: center;
}

.gallery-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.gallery-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-current {
    color: #dc2626;
    font-weight: 500;
}

.gallery-section {
    padding: 4rem 0;
    background: #000000;
}

.gallery-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-category-btn {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #dc2626;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-category-btn:hover {
    border-color: #dc2626;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
}

.gallery-category-btn.active {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.5);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #dc2626;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.5);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: white;
    margin-top: auto;
}

.gallery-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2563eb;
}

.gallery-zoom:hover {
    background: white;
    transform: scale(1.1);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    margin-left: -80px;
}

.lightbox-next {
    margin-right: -80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .gallery-title {
        font-size: 2.5rem;
    }
    
    .gallery-categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 1rem 1rem;
        gap: 0.75rem;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .gallery-categories::-webkit-scrollbar {
        display: none;
    }
    
    .gallery-category-btn {
        flex-shrink: 0;
        min-width: auto;
        white-space: nowrap;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .lightbox-prev {
        margin-left: -60px;
    }
    
    .lightbox-next {
        margin-right: -60px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .quote-btn {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        border-top: 2px solid #dc2626;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 0;
        margin-top: 0.5rem;
    }
    
    .dropdown-link {
        color: white;
        padding: 0.5rem 1rem;
        margin: 0;
        border-radius: 0;
    }
    
    .dropdown-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fbbf24;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        grid-template-columns: 1fr;
    }
    
    .hero-card:nth-child(2) {
        margin-top: 0;
    }
    
    .product-categories {
        justify-content: center;
        overflow-x: auto;
        padding: 0 1rem 1rem;
        gap: 0.75rem;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .product-categories::-webkit-scrollbar {
        display: none;
    }
    
    .category-btn {
        flex-shrink: 0;
        min-width: auto;
        white-space: nowrap;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 2rem;
        text-align: center;
    }
    
    .category-btn i {
        margin-right: 0.5rem;
        font-size: 0.85rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .feature-card {
        padding: 2rem 1.5rem;
    }

    /* Enhanced Mobile Footer Styles */
    .footer {
        padding: 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: left;
        padding: 3rem 0;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-section {
        padding: 0 1rem;
    }

    .footer-logo {
        justify-content: center;
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .footer-logo-img {
        height: 50px;
        max-width: 250px;
    }
    
    .footer-logo i {
        font-size: 3rem;
    }

    .footer-description {
        font-size: 1.1rem;
        max-width: 90%;
        margin: 0 auto 2.5rem;
        line-height: 1.8;
    }

    .footer-social {
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .social-link {
        width: 3.5rem;
        height: 3.5rem;
        border-radius: 1rem;
        font-size: 1.2rem;
    }

    .footer-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .footer-title::after {
        left: 0;
        transform: none;
        width: 2rem;
    }

    .footer-links {
        text-align: left;
        max-width: none;
        margin: 0;
    }

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

    .footer-links a {
        font-size: 1.05rem;
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: center;
        min-height: 44px;
        transition: all 0.3s ease;
    }

    .footer-links a:hover {
        background: rgba(220, 38, 38, 0.1);
        border-color: rgba(220, 38, 38, 0.3);
        transform: translateY(-2px);
    }
    
    /* Preloader Mobile Styles */
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .logo-icon i {
        font-size: 2rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    /* Preloader Mobile Styles */
    .preloader-logo-img {
        width: 100px;
        height: auto;
        max-width: 150px;
    }
    
    .loading-progress {
        width: 250px;
    }
    
    .preloader-logo {
        margin-bottom: 2rem;
    }
    
    /* WhatsApp Button Mobile */
    .quote-float {
        bottom: 75px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .quote-float i {
        font-size: 1.4rem;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
    
    .footer-bottom {
        padding: 2rem 1rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        gap: 1rem;
    }

    .footer-bottom-links a {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Container adjustments */
    .container {
        padding: 0 2rem;
        max-width: 100%;
    }
    
    /* Header and Navigation */
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.95rem;
        padding: 0.6rem 1rem;
    }
    
    /* Gallery Hero Section */
    .gallery-hero {
        height: 60vh;
        min-height: 400px;
        padding: 3rem 0;
    }
    
    .gallery-hero-content {
        max-width: 80%;
        margin: 0 auto;
        text-align: center;
    }
    
    .gallery-title {
        font-size: 3rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .gallery-subtitle {
        font-size: 1.2rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* Gallery Categories */
    .gallery-categories {
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2.5rem;
        flex-wrap: wrap;
        padding: 0 1rem;
    }
    
    .gallery-category-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        min-width: 120px;
        white-space: nowrap;
    }
    
    /* Gallery Grid */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .gallery-item {
        border-radius: 1rem;
        overflow: hidden;
    }
    
    .gallery-item img {
        height: 250px;
        object-fit: cover;
    }
    
    .gallery-item-overlay {
        padding: 1.5rem;
    }
    
    .gallery-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .gallery-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Gallery Section */
    .gallery-section {
        padding: 4rem 0;
    }
    
    .gallery-section h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Search functionality */
    .search-container {
        max-width: 500px;
        margin: 2rem auto;
    }
    
    .search-input {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }
    
    /* WhatsApp button adjustment */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 25px;
    }
    
    .whatsapp-float i {
        font-size: 1.6rem;
    }
    
    /* Footer styles */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 3.5rem 0;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .footer {
        padding: 0 0.5rem;
    }

    .footer-content {
        gap: 2.5rem;
        padding: 2.5rem 0;
    }

    .footer-section {
        padding: 0 0.5rem;
    }

    .footer-logo {
        font-size: 1.75rem;
    }

    .footer-logo i {
        font-size: 2.5rem;
    }

    .footer-description {
        font-size: 1rem;
        max-width: 95%;
    }

    .footer-social {
        gap: 1rem;
    }

    .social-link {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }

    .footer-title {
        font-size: 1.2rem;
    }

    .footer-links a {
        font-size: 1rem;
        padding: 0.6rem 0.8rem;
    }

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

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .footer-bottom-links a {
        width: 100%;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 0;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
}

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

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.visible { display: block !important; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }