/* KEFA Prime Premium Industrial Website Styles */

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

:root {
    --primary-orange: #F5A623;
    --primary-gold: #E8A020;
    --dark-charcoal: #1a1a1a;
    --warm-cream: #faf8f5;
    --soft-white: #ffffff;
    --gradient-gold: linear-gradient(135deg, #E8A020 0%, #F5A623 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--warm-cream);
    color: var(--dark-charcoal);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-charcoal);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 5px;
}

/* Product Carousel Styles */
.product-carousel-container {
    position: relative;
    overflow: hidden;
}

.product-carousel {
    overflow: hidden;
    border-radius: 12px;
}

.product-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.product-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.product-carousel-nav {
    z-index: 10;
    transition: all 0.3s ease;
}

.product-carousel-nav:hover {
    transform: scale(1.1);
}

.product-carousel-nav.prev:hover {
    transform: scale(1.1) translateX(-4px);
}

.product-carousel-nav.next:hover {
    transform: scale(1.1) translateX(4px);
}

.product-carousel-indicator {
    transition: all 0.3s ease;
}

.product-carousel-indicator:hover {
    transform: scale(1.2);
}

/* Product card styles for carousel */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

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

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-gold);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-slide {
        padding: 0 0.5rem;
    }
    
    .product-carousel-nav {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .product-carousel-nav.prev {
        left: 0.5rem;
    }
    
    .product-carousel-nav.next {
        right: 0.5rem;
    }
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #E8A020 0%, #F5A623 100%);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(232, 160, 32, 0.3);
}

.nav-link {
    position: relative;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: scale(1);
    transition: opacity 1s ease-in-out, transform 8s ease-out;
    background-attachment: fixed;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 160, 32, 0.85) 0%, rgba(245, 166, 35, 0.6) 100%);
}

/* Premium Button Styles */
.btn-primary {
    background: var(--gradient-gold);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(232, 160, 32, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232, 160, 32, 0.5);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 16px 40px;
    border: 2px solid var(--primary-gold);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateY(-3px);
}

/* Premium Card Styles */
.premium-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(232, 160, 32, 0.2);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #E8A020 0%, #F5A623 100%);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(232, 160, 32, 0.2);
    border-color: rgba(232, 160, 32, 0.4);
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

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

/* Product Card Styles */
.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 160, 32, 0.1) 0%, rgba(245, 166, 35, 0.05) 100%);
    opacity: 1;
    z-index: 0;
    transition: all 0.5s ease;
}

.product-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #E8A020 0%, #F5A623 50%, #E8A020 100%);
    border-radius: 26px;
    z-index: -1;
    opacity: 1;
    transition: all 0.5s ease;
}

.product-card:hover::before {
    background: linear-gradient(135deg, rgba(232, 160, 32, 0.2) 0%, rgba(245, 166, 35, 0.15) 100%);
}

.product-card:hover::after {
    background: linear-gradient(135deg, #F5A623 0%, #FFB84D 50%, #F5A623 100%);
    box-shadow: 0 0 30px rgba(245, 166, 35, 0.5);
}

.product-card:hover {
    transform: translateY(-16px) scale(1.05) rotateX(2deg);
    box-shadow: 0 40px 100px rgba(232, 160, 32, 0.35);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 320px;
    z-index: 1;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.3) 0%, rgba(26, 26, 26, 0.1) 100%);
    z-index: 2;
    transition: background 0.5s ease;
}

.product-card:hover .product-image::before {
    background: linear-gradient(135deg, rgba(232, 160, 32, 0.2) 0%, rgba(245, 166, 35, 0.1) 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 26, 0.9) 100%);
    opacity: 0;
    z-index: 3;
    transition: opacity 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #E8A020 0%, #F5A623 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(232, 160, 32, 0.4);
}

/* Industry Card */
.industry-card {
    background: linear-gradient(135deg, var(--dark-charcoal) 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 50px 40px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.industry-card:hover::before {
    opacity: 0.1;
}

.industry-card:hover {
    transform: translateY(-10px);
}

/* Icon Card */
.icon-card {
    background: linear-gradient(135deg, #E8A020 0%, #E8A020 60%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(232, 160, 32, 0.3);
}

.icon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(232, 160, 32, 0.4);
    border-color: rgba(232, 160, 32, 0.5);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.4s ease;
}

.icon-wrapper:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.icon-wrapper i {
    font-size: 32px;
    color: white;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark-charcoal) 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23E8A020" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

/* Counter Animation */
.counter {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: 'Oswald', sans-serif;
}

/* Form Styles */
.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-input {
    width: 100%;
    padding: 20px 20px 20px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 4px rgba(232, 160, 32, 0.1);
}

.form-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 8px;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: 0;
    font-size: 12px;
    color: var(--primary-gold);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--dark-charcoal);
    z-index: 2000;
    transition: right 0.4s ease;
    padding: 100px 40px 40px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

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

/* Loading Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-charcoal);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(232, 160, 32, 0.2);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Section Spacing */
.section-padding {
    padding: 100px 0;
}

/* Footer */
.footer {
    background: var(--dark-charcoal);
    color: white;
    padding: 60px 0 30px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-gold);
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control:hover {
    background: rgba(232, 160, 32, 0.8);
    border-color: var(--primary-gold);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--primary-gold);
    width: 36px;
    border-radius: 6px;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.filter-tab {
    padding: 14px 32px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--dark-charcoal);
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--gradient-gold);
    border-color: var(--primary-gold);
    color: white;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .counter {
        font-size: 36px;
    }
    
    .carousel-control {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control.prev {
        left: 15px;
    }
    
    .carousel-control.next {
        right: 15px;
    }
    
    .premium-card,
    .icon-card {
        padding: 30px 24px;
    }
    
    .industry-card {
        padding: 40px 30px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer .grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer .grid > div:nth-child(1),
    .footer .grid > div:nth-child(4) {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer .grid > div:nth-child(2),
    .footer .grid > div:nth-child(3) {
        text-align: center;
    }
    
    .footer .flex {
        justify-content: center;
    }
    
    .footer ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .footer li {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn-primary,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
}
