/* Custom CSS for Kravat Tici Website */

:root {
    --primary-color: #D4AF37;
    --secondary-color: #B8860B;
    --accent-color: #FFD700;
    --burgundy-color: #722F37;
    --burgundy-dark: #5A252A;
    --burgundy-light: #8B3A42;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #FFFBF0;
    --gradient-primary: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    --gradient-secondary: linear-gradient(135deg, #B8860B 0%, #D4AF37 100%);
    --gradient-burgundy: linear-gradient(135deg, #722F37 0%, #8B3A42 100%);
    --gradient-modern: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    --shadow-modern: 0 10px 30px rgba(212, 175, 55, 0.2);
    --shadow-hover: 0 20px 40px rgba(212, 175, 55, 0.3);
    --shadow-burgundy: 0 10px 30px rgba(114, 47, 55, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

/* Bootstrap Override - Convert Blue to Gold */
.btn-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    box-shadow: var(--shadow-modern) !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.btn-primary:hover {
    background: var(--gradient-modern) !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-hover) !important;
}

.btn-primary:active {
    transform: translateY(-1px) !important;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-warning {
    background: var(--gradient-modern) !important;
    border: none !important;
    color: white !important;
    box-shadow: var(--shadow-modern) !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-warning:hover {
    background: var(--gradient-primary) !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-hover) !important;
    color: white !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

/* Burgundy Button Style */
.btn-burgundy {
    background: var(--gradient-burgundy) !important;
    border: none !important;
    color: white !important;
    box-shadow: var(--shadow-burgundy) !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.btn-burgundy:hover {
    background: linear-gradient(135deg, var(--burgundy-light) 0%, var(--burgundy-color) 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 20px 40px rgba(114, 47, 55, 0.4) !important;
    color: white !important;
}

.btn-burgundy::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.6s;
}

.btn-burgundy:hover::before {
    left: 100%;
}

/* Top Contact Bar */
.top-contact-bar {
    font-size: 0.9rem;
    background: var(--gradient-burgundy) !important;
}

.top-contact-bar i {
    color: var(--accent-color);
}

/* Modern Navbar Styling */
.navbar {
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-brand:hover::after {
    width: 100%;
}

.navbar-brand:hover {
    color: var(--accent-color) !important;
    transform: scale(1.05);
}

.navbar-brand i {
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.4s ease;
    border-radius: 25px;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before {
    left: 0;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.navbar-nav .nav-link i {
    color: var(--burgundy-color);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover i {
    color: white;
    transform: rotateY(360deg);
}

/* Modern Hero Section with Dynamic Background */
.hero-section {
    background: var(--gradient-modern);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Hero Background Layer */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
    transition: all 1s ease-in-out;
}

.hero-background.no-image {
    background: var(--gradient-modern);
}

.hero-background.no-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255,215,0,0.1) 0%, transparent 50%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    animation: heroBackground 10s ease-in-out infinite;
}

/* Hero Overlay Layer */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: all 0.5s ease;
}

@keyframes heroBackground {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-10px) translateY(-5px); }
    50% { transform: translateX(10px) translateY(5px); }
    75% { transform: translateX(-5px) translateY(10px); }
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--accent-color), #FFED4E);
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    color: var(--primary-color);
}

/* Card Styling */
.card-custom {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    background: white;
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-custom .card-body {
    padding: 2rem;
}

.card-custom .card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-custom .card-text {
    color: var(--text-light);
    line-height: 1.7;
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* Section Styling */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Product Categories */
.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.category-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.category-card:hover .category-icon {
    color: var(--accent-color);
    transform: scale(1.2) rotateY(360deg);
    filter: drop-shadow(0 8px 16px rgba(212, 175, 55, 0.3));
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--burgundy-color);
    margin-bottom: 1rem;
}

.category-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Features Section */
.features-bg {
    background: var(--bg-light);
}

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-item:hover .feature-icon {
    color: var(--accent-color);
    transform: scale(1.15) rotateZ(10deg);
    filter: drop-shadow(0 10px 20px rgba(212, 175, 55, 0.4));
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
}

.feature-item:hover::before {
    opacity: 0.05;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, #ffffff 0%, var(--bg-light) 100%);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--burgundy-color);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--gradient-burgundy);
    color: white;
    padding: 3rem 0 2rem;
}

.footer h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.footer .list-unstyled a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .list-unstyled a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

/* Enhanced Navbar Scrolled Effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease;
}

/* Loading Animation */
body:not(.loaded) {
    overflow: hidden;
}

body:not(.loaded)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loaded .fade-in-up.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

.loaded .fade-in-up-delay-1.animate-in {
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.loaded .fade-in-up-delay-2.animate-in {
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.loaded .fade-in-up-delay-3.animate-in {
    animation: fadeInUp 0.8s ease 0.9s forwards;
}

/* Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Mobile Menu Enhancement */
.navbar-toggler.active {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

/* Scroll Top Button Hover */
.scroll-top-btn:hover {
    background: var(--accent-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Modern Card Animations */
.card-custom {
    will-change: transform;
    backface-visibility: hidden;
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.card-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.card-custom:hover::before {
    opacity: 0.05;
}

.card-custom:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-hover) !important;
}

.category-card {
    cursor: pointer;
    will-change: transform;
    border-radius: 20px;
    border: 2px solid transparent;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.8s;
}

.category-card:hover::after {
    left: 100%;
}

.category-card:hover {
    border-color: var(--burgundy-light);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-burgundy);
    background: linear-gradient(145deg, #ffffff 0%, var(--bg-light) 100%);
}

/* Notification Styles */
.notification {
    font-family: inherit;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .top-contact-bar {
        text-align: center;
        font-size: 0.8rem;
    }
    
    .top-contact-bar .col-md-6 {
        margin-bottom: 0.5rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem !important;
    }
    
    .category-icon {
        font-size: 3rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .category-card {
        margin-bottom: 2rem;
    }
    
    .feature-item {
        padding: 1.5rem 0.5rem;
    }
    
    .hero-content h1 {
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        margin-bottom: 1.5rem;
    }
    
    .btn-primary-custom {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin-bottom: 1rem;
        display: block;
        text-align: center;
    }
    
    .scroll-top-btn {
        bottom: 20px !important;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
    }
    
    /* Mobile optimizations for services page */
    .product-info-panel {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .product-features {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .product-price-info {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .feature-icon-small {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
        margin-right: 0.5rem;
    }
    
    .section-divider {
        height: 40px !important;
        margin: 2rem 0 !important;
    }
    
    .services-decoration::before {
        opacity: 0.25;
        transform: translateX(-50%) skewY(1deg);
    }
    
    .category-showcase::before,
    .category-showcase::after {
        display: none;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .category-icon {
        font-size: 3.5rem;
    }
    
    .feature-icon {
        font-size: 3rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .top-contact-bar {
        font-size: 0.75rem;
        padding: 0.5rem 0;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem !important;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .category-description {
        font-size: 0.9rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .card-custom .card-body {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer h5 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer .list-unstyled li {
        margin-bottom: 0.3rem;
        font-size: 0.9rem;
    }
}

/* High Resolution Displays */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .category-icon {
        font-size: 5rem;
    }
    
    .feature-icon {
        font-size: 4rem;
    }
    
    .card-icon {
        font-size: 3.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .scroll-top-btn,
    .btn-primary-custom,
    .btn {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    .section-padding {
        padding: 1rem 0;
    }
    
    .card-custom {
        border: 1px solid #ccc;
        box-shadow: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
    }
}

/* Accessibility Improvements */
@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;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here if needed */
}

/* Services Page Decorative Elements */
.section-divider {
    position: relative;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -50px;
    right: -50px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 20%, var(--primary-color) 50%, var(--accent-color) 80%, transparent 100%);
    transform: translateY(-50%);
    opacity: 0.6;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Product Info Panels */
.product-info-panel {
    background: linear-gradient(145deg, #fff 0%, var(--bg-light) 100%);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-info-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-color) 100%);
}

.product-info-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(128, 0, 32, 0.15);
}

.product-features {
    background: rgba(255, 215, 0, 0.05);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 10px 10px 0;
}

.product-price-info {
    background: rgba(128, 0, 32, 0.05);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.feature-icon-small {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 0.8rem;
    margin-right: 0.75rem;
}

/* Decorative Lines for Services Page */
.services-decoration {
    position: relative;
}

.services-decoration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--accent-color) 20%, var(--primary-color) 50%, var(--accent-color) 80%, transparent 100%);
    transform: translateX(-50%) skewY(2deg);
    transform-origin: top center;
    opacity: 0.4;
    z-index: 0;
    border-radius: 1px;
}

.services-section {
    position: relative;
    z-index: 1;
}

/* Product Category Icons Enhancement */
.category-showcase {
    position: relative;
}

.category-showcase::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    border: 2px dashed var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.category-showcase::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    animation: rotate 15s linear infinite reverse;
}

/* Services Page Stats Counter */
.stats-counter {
    position: relative;
    overflow: hidden;
}

.stats-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.stats-number {
    font-weight: 900;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem !important;
    text-shadow: 0 0 30px rgba(128, 0, 32, 0.3);
}

/* Enhanced Hero Section for Services */
.hero-section .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    transition: all 0.3s ease;
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Professional Services Section Enhancements */
.contact-card {
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: pulse-gold 4s ease-in-out infinite;
}

@keyframes pulse-gold {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* Trust Section Icons */
.trust-icon {
    transition: all 0.3s ease;
    position: relative;
}

.trust-icon:hover {
    transform: translateY(-10px) rotate(5deg);
    color: var(--primary-color) !important;
}

.trust-section .col-lg-3:hover .trust-icon {
    animation: bounce-trust 0.6s ease;
}

@keyframes bounce-trust {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* Enhanced Product Info Panel Animations */
.product-info-panel {
    position: relative;
    overflow: hidden;
}

.product-info-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.product-info-panel:hover::after {
    left: 100%;
}

/* WhatsApp Button Special Style */
.btn-whatsapp {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: white !important;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128c7e !important;
    border-color: #128c7e !important;
    transform: scale(1.05);
}

/* NEW SERVICES PAGE STYLES */

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.8) 0%, rgba(93, 0, 0, 0.6) 100%);
}

.carousel-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
}

.animate-title {
    animation: slideInUp 1s ease-out;
}

.animate-subtitle {
    animation: slideInUp 1s ease-out 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Stats */
.hero-stats {
    animation: slideInUp 1s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Section */
.products-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    margin-top: 100px; /* Header spacing fix */
}

/* Category Sections */
.category-section {
    margin-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.category-section .row {
    align-items: stretch;
}

.category-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 20%, var(--primary-color) 50%, var(--accent-color) 80%, transparent 100%);
    border-radius: 2px;
    position: relative;
}

.category-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Category Gallery */
.category-gallery {
    position: relative;
    padding: 1rem;
}

.main-showcase {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.main-category-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.8) 0%, rgba(93, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.main-showcase:hover .gallery-overlay {
    opacity: 1;
}

.main-showcase:hover .main-category-image {
    transform: scale(1.05);
}

.overlay-content {
    text-align: center;
    padding: 2rem;
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb-more {
    width: 80px;
    height: 80px;
    background: rgba(128, 0, 32, 0.1);
    border: 2px dashed var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-thumb-more:hover {
    background: rgba(128, 0, 32, 0.2);
    transform: translateY(-5px);
}

/* Category Content */
.category-content {
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.category-header {
    margin-bottom: 2rem;
}

.category-icon {
    font-size: 3rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.category-subtitle {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0;
}

.category-description {
    margin-bottom: 2rem;
}

.category-description .lead {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 0;
}

.category-features {
    margin-bottom: 2rem;
}

.category-features h5 {
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.category-features h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.category-features .row {
    margin: 0;
}

.category-features .col-md-6 {
    padding: 0.5rem;
}

.feature-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.feature-highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
    background: rgba(255, 215, 0, 0.1);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 0.25rem;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.category-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-actions .btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    flex-shrink: 0;
}

/* Quality Info Card */
.quality-info-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(128, 0, 32, 0.05) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--accent-color);
}

.quality-badges .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Product Images */
.product-images {
    position: relative;
    height: 300px;
}

.main-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .main-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(128, 0, 32, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .image-overlay {
    opacity: 1;
}

.image-thumbnails {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
}

.thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-more {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Product Info */
.product-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.product-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-right: 1rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.product-subtitle {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.product-features-preview {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1rem;
}

.product-price {
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.price-range {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.shipping-info {
    font-size: 0.9rem;
    color: var(--text-light);
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.product-actions .btn {
    flex: 1;
    border-radius: 10px;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: white;
}

/* Product Modal Enhancements */
.modal-xl {
    max-width: 1200px;
}

.product-gallery img {
    border-radius: 15px;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0,0,0,0.7);
    border-radius: 10px;
    padding: 1rem;
}

.price-info-card {
    background: rgba(255, 215, 0, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-carousel {
        height: 70vh;
    }
    
    .hero-slide {
        height: 70vh;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .hero-stats {
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .products-section {
        margin-top: 80px;
        padding: 4rem 0;
    }
    
    .category-section {
        margin-bottom: 4rem;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
    
    .main-category-image {
        height: 300px;
    }
    
    .category-content {
        padding: 1rem;
    }
    
    .category-gallery {
        padding: 0.5rem;
    }
    
    .gallery-thumbnails {
        gap: 0.5rem;
        overflow-x: auto;
        padding: 0.5rem 0;
    }
    
    .gallery-thumb,
    .gallery-thumb-more {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .feature-highlight {
        padding: 1rem;
    }
    
    .category-actions {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    
    .category-actions .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .product-card {
        border-radius: 15px;
    }
    
    .product-images {
        height: 250px;
    }
    
    .product-info {
        padding: 1.5rem;
    }
    
    .product-features-preview {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .image-thumbnails {
        bottom: 10px;
        right: 10px;
    }
    
    .thumbnail {
        width: 40px;
        height: 40px;
    }
    
    .thumbnail-more {
        width: 40px;
        height: 40px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-stats .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 1rem;
    }
    
    .products-section {
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .category-icon {
        font-size: 2rem;
    }
    
    .category-header .d-flex {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .category-features .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .main-category-image {
        height: 250px;
    }
    
    .category-section {
        margin-bottom: 4rem;
    }
}

/* Loading Animations */
body:not(.loaded) .product-card {
    opacity: 0;
    transform: translateY(30px);
}

.loaded .product-card {
    animation: fadeInUp 0.6s ease forwards;
}

.loaded .product-card:nth-child(2) {
    animation-delay: 0.1s;
}

.loaded .product-card:nth-child(3) {
    animation-delay: 0.2s;
}

.loaded .product-card:nth-child(4) {
    animation-delay: 0.3s;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Language Modal Styles */
.language-modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.language-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.language-option:hover {
    border-color: var(--accent-color);
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.language-option.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
}

.language-option.active .check-icon {
    opacity: 1;
}

.flag-container {
    width: 40px;
    height: 30px;
    margin-right: 1rem;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.language-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.language-info strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.language-info small {
    font-size: 0.85rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

/* Language Modal Animation */
.modal.fade .modal-dialog {
    transform: scale(0.8) translateY(-50px);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

/* RTL Support for Arabic and Persian */
.rtl-layout {
    direction: rtl;
    text-align: right;
}

.rtl-layout .navbar-nav {
    margin-left: auto;
    margin-right: 0;
}

.rtl-layout .me-1,
.rtl-layout .me-2,
.rtl-layout .me-3 {
    margin-right: 0 !important;
    margin-left: 0.25rem !important;
}

.rtl-layout .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Current Language Display */
#current-language {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Language Modal Responsive */
@media (max-width: 480px) {
    .language-option {
        padding: 0.8rem;
    }
    
    .flag-container {
        width: 30px;
        height: 23px;
        margin-right: 0.8rem;
    }
    
    .language-info strong {
        font-size: 1rem;
    }
    
    .check-icon {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
}

/* Language Fade In Animation */
.language-option {
    animation: languageOptionFadeIn 0.3s ease forwards;
    opacity: 0;
}

.language-option:nth-child(1) { animation-delay: 0.1s; }
.language-option:nth-child(2) { animation-delay: 0.2s; }
.language-option:nth-child(3) { animation-delay: 0.3s; }
.language-option:nth-child(4) { animation-delay: 0.4s; }
.language-option:nth-child(5) { animation-delay: 0.5s; }

@keyframes languageOptionFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-up-delay-1 {
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.fade-in-up-delay-2 {
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.fade-in-up-delay-3 {
    animation: fadeInUp 0.6s ease 0.6s forwards;
    opacity: 0;
}

/* Hero Section Animations and Enhancements */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.accent-text {
    color: var(--accent-color) !important;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons .btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50px;
    padding: 15px 40px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.hero-buttons .btn-warning {
    background: linear-gradient(45deg, #FFD700, #FFA500) !important;
    border: 2px solid rgba(255,255,255,0.3);
}

.hero-buttons .btn-outline-light {
    background: transparent !important;
    border: 2px solid rgba(255,255,255,0.7) !important;
    backdrop-filter: blur(10px);
    position: relative;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.hero-buttons .btn-warning:hover {
    background: linear-gradient(45deg, #FFA500, #FF8C00) !important;
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 15px 35px rgba(255,165,0,0.4);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255,255,255,0.2) !important;
    border-color: rgba(255,255,255,0.8) !important;
    color: white !important;
}

/* Hero Animation Background */
.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 4;
}

.floating-icon {
    position: absolute;
    color: rgba(255,215,0,0.15);
    font-size: 4rem;
    animation: modernFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.3));
}

.floating-icon:nth-child(1) {
    animation-delay: 0s;
    color: rgba(255,215,0,0.2);
}

.floating-icon:nth-child(2) {
    animation-delay: 2s;
    color: rgba(255,165,0,0.15);
}

.floating-icon:nth-child(3) {
    animation-delay: 4s;
    color: rgba(255,140,0,0.18);
}

@keyframes modernFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-30px) rotate(10deg) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-15px) rotate(-5deg) scale(0.9);
        opacity: 1;
    }
    75% {
        transform: translateY(-40px) rotate(8deg) scale(1.05);
        opacity: 0.7;
    }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up,
.fade-in-up-delay-1,
.fade-in-up-delay-2,
.fade-in-up-delay-3 {
    opacity: 0;
}

.animate-in.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-in.fade-in-up-delay-1 {
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.animate-in.fade-in-up-delay-2 {
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.animate-in.fade-in-up-delay-3 {
    animation: fadeInUp 0.8s ease 0.9s forwards;
}

/* Modern Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    display: none;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-modern);
    position: relative;
    overflow: hidden;
}

.scroll-top-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-modern);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-top-btn:hover::before {
    opacity: 1;
}

.scroll-top-btn.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-hover);
}

.scroll-top-btn i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.scroll-top-btn:hover i {
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Section */
.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* About Section */
.about-image {
    padding: 3rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
    border-radius: 20px;
    border: 3px solid var(--burgundy-color);
    box-shadow: var(--shadow-burgundy);
}

/* Contact Items */
.contact-item {
    transition: all 0.3s ease;
    cursor: default;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.contact-icon {
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon i {
    color: var(--burgundy-color) !important;
    transform: scale(1.1);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-title br {
        display: none;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons .btn {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .floating-icon {
        font-size: 2rem;
    }
    
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    /* Mobile Hero Background Optimization */
    .hero-background {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .category-icon,
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .about-image {
        padding: 2rem;
    }
}

/* Loading States and Performance */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-top-btn,
    .hero-animation,
    .modal {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: var(--text-dark) !important;
    }
    
    body {
        background: white !important;
    }
}

/* Products Section Styles for Homepage */
.category-preview-card {
    transition: all 0.3s ease;
}

.category-preview-card:hover {
    transform: translateY(-5px);
}

.category-preview-card .card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-preview-card:hover .card {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.category-preview-icon {
    font-size: 3rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.category-preview-card:hover .category-preview-icon {
    transform: scale(1.1);
    color: var(--burgundy-color);
}

.product-preview-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid transparent;
}

.product-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.product-preview-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.product-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-preview-card:hover .product-preview-image img {
    transform: scale(1.1);
}

.placeholder-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 3rem;
}

.product-preview-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.product-preview-content {
    padding: 1.5rem;
}

.product-preview-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-preview-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-preview-price {
    background: linear-gradient(135deg, var(--burgundy-color), #8B4513);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(114, 47, 55, 0.3);
}

/* Products Section Responsive */
@media (max-width: 768px) {
    .category-preview-icon {
        font-size: 2.5rem;
    }
    
    .product-preview-image {
        height: 180px;
    }
    
    .product-preview-content {
        padding: 1rem;
    }
    
    .product-preview-title {
        font-size: 1rem;
    }
}