

:root {
    --orange-primary: #ff3535;
    --orange-dark: #e82d2d;
    --orange-light: #ff6161;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-500: #6C757D;
    --gray-700: #495057;
    --gray-900: #212529;
    --success: #28A745;
    --danger: #DC3545;
    --warning: #FFC107;
    --info: #17A2B8;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.text-orange {
    color: var(--orange-primary) !important;
}

.bg-orange {
    background-color: var(--orange-primary) !important;
}

.btn-orange {
    background: var(--orange-primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-orange:hover {
    background: var(--orange-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    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 zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.zoom-in {
    animation: zoomIn 0.5s ease-out;
}

.animated-alert {
    animation: slideInLeft 0.5s ease-out;
}

/* ============================================
   TOP BAR
   ============================================ */

.top-bar {
    background: var(--gray-900);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar a {
    color: var(--white);
    opacity: 0.9;
    transition: var(--transition);
}

.top-bar a:hover {
    opacity: 1;
    color: var(--orange-primary);
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
}

.top-bar-right {
    justify-content: flex-end;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: 700;
    color: var(--gray-900);
}

.navbar-brand .logo {
    height: 45px;
    margin-right: 10px;
}

.navbar-brand .logo-text {
    display: inline-flex;
    align-items: center;
}

.navbar-brand:hover {
    color: var(--orange-primary);
}

.nav-link {
    color: var(--gray-700) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange-primary) !important;
    background: rgba(255, 107, 53, 0.1);
}

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 8px;
    background: var(--orange-primary);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

/* ============================================
   SEARCH BAR
   ============================================ */

.search-input {
    border-radius: 25px;
    padding: 12px 50px 12px 20px;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--orange-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-50%) scale(1.1);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-top: 10px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-results.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.search-result-item {
    padding: 12px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--gray-100);
}

.search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.search-result-price {
    color: var(--orange-primary);
    font-weight: 600;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--gray-500);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    border-radius: 20px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 15s infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: slideInLeft 0.8s ease-out;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
    animation: slideInLeft 1s ease-out;
}

.hero-btn {
  background: var(--orange-primary);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    animation: slideInLeft 1.2s ease-out;
}

.hero-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */

.product-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
    background: var(--white);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    background: var(--gray-100);
    height: 280px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--orange-primary);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
    animation: pulse 2s infinite;
}

.product-badge.featured {
    background: var(--success);
}

.product-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    color: var(--gray-700);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
}

.product-wishlist:hover {
    background: var(--orange-primary);
    color: var(--white);
    transform: scale(1.1);
}

.product-card-body {
    padding: 20px;
}

.product-category {
    color: var(--gray-500);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title:hover {
    color: var(--orange-primary);
}

.product-description {
    color: var(--gray-500);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-price-section {
    margin-bottom: 15px;
}

.product-original-price {
    color: var(--gray-500);
    text-decoration: line-through;
    font-size: 14px;
    margin-right: 8px;
}

.product-price {
    color: var(--orange-primary);
    font-size: 24px;
    font-weight: 700;
}

.product-discount {
    background: var(--danger);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.add-to-cart-btn {
    width: 100%;
    background: var(--orange-primary);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-card {
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    background: var(--white);
}

.service-card:hover {
    border-color: var(--orange-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.service-description {
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter-section {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    padding: 60px 0;
    margin-top: 80px;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin-left: auto;
}

.newsletter-form .form-control {
    border: none;
    padding: 15px 20px;
    border-radius: 50px 0 0 50px;
    font-size: 16px;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 15px 30px;
    font-weight: 600;
    background: var(--white);
    color: var(--orange-primary);
    border: none;
}

.newsletter-form .btn:hover {
    background: var(--gray-100);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--orange-primary);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--orange-primary);
    font-size: 18px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--orange-primary);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-methods {
    height: 30px;
    opacity: 0.7;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.scroll-top-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-5px);
}

.scroll-top-btn.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    color: var(--white);
    transform: scale(1.1);
}

/* ============================================
   CATEGORY FILTER
   ============================================ */

.category-filter {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.category-item {
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.category-item:hover,
.category-item.active {
    background: var(--orange-primary);
    color: var(--white);
}

.category-item i {
    font-size: 20px;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    margin-top: 40px;
}

.page-link {
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    margin: 0 4px;
    border-radius: 8px;
    padding: 10px 16px;
    transition: var(--transition);
}

.page-link:hover {
    background: var(--orange-primary);
    color: var(--white);
    border-color: var(--orange-primary);
}

.page-item.active .page-link {
    background: var(--orange-primary);
    border-color: var(--orange-primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 15px;
    }
    
    .cart-badge {
        top: 5px;
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .product-image-container {
        height: 220px;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .scroll-top-btn,
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float {
        bottom: 80px;
    }
}

/* ============================================
   LOADING SPINNER
   ============================================ */

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}