/**
 * Salam Prints - Homepage CSS
 * Homepage-specific styling with flexiprint.in inspired design
 */

/* Header Styles - Removed for mega menu */

/* Header container styles removed for mega menu */

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    flex-shrink: 0;
    min-width: fit-content;
}

.logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.logo-text {
    font-size: var(--font-size-2xl);
    font-weight: 800;
}

/* Navigation styles removed for mega menu */

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-2);
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: center;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-item {
    position: relative;
    flex-shrink: 0;
}

/* Old navigation styles removed for mega menu */

/* Old dropdown styles removed for mega menu */

/* Old nav-link styles removed for mega menu */

/* Old dropdown styles removed for mega menu */

/* Old dropdown positioning styles removed for mega menu */

/* Old dropdown preview styles removed for mega menu */

/* Old dropdown links styles removed for mega menu */

/* Old header actions styles removed for mega menu */

/* Old user menu styles removed for mega menu */

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-3) var(--spacing-4);
    color: var(--gray-700);
    text-decoration: none;
    transition: background-color var(--transition-fast);
}

.user-dropdown a:hover {
    background-color: var(--gray-100);
}

.user-dropdown hr {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: var(--spacing-2) 0;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: background-color var(--transition-fast);
}

.cart-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--error-color);
    color: var(--white);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    min-width: 20px;
    text-align: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    padding: var(--spacing-20) 0;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-6);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    margin-bottom: var(--spacing-8);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-4);
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

/* Hero Slider Section */
/* Login Notice - Enhanced for better readability */
.login-notice {
    text-align: center;
    margin: var(--spacing-6) 0;
    padding: var(--spacing-6);
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.login-notice p {
    margin: 0;
    font-weight: 700;
    font-size: var(--font-size-xl);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.01em;
}

.login-notice a {
    color: white;
    text-decoration: underline;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
}

.login-notice a:hover {
    color: #f1c40f;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--gray-900);
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    background-color: var(--gray-800);
    min-height: 100%;
}

.hero-slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.hero-slider .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 var(--spacing-6);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-slider .hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-6);
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7), 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-slider .hero-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-8);
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 400;
    letter-spacing: 0.01em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-slider .hero-actions {
    display: flex;
    gap: var(--spacing-4);
    flex-wrap: wrap;
    justify-content: center;
}

.hero-slider .hero-actions .btn {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-shadow: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider .hero-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
    color: var(--white);
    border-color: var(--primary-color);
}

.hero-slider .hero-actions .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.hero-slider .hero-actions .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hero-slider .hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}


/* Hero Slider Dots */
.hero-dots {
    position: absolute;
    bottom: var(--spacing-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-3);
    z-index: 10;
}

.hero-dot {
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    border-color: var(--white);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.hero-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: var(--white);
    border-radius: var(--radius-full);
}

/* Featured Products Carousel - Full Width After Hero */
.featured-products {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
}

/* Specific section ID targeting - Full Width */
#featured-products {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

/* Additional specificity to ensure full width */
section#featured-products {
    width: 100%;
    margin: 0;
}

/* Full width maintained across all screen sizes */
@media (max-width: 768px) {
    .about-section {
        padding: var(--spacing-12) 0;
    }
    
    .about-content {
        gap: var(--spacing-6);
    }
    
    .about-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-4);
    }
    
    .about-description {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-6);
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-3);
    }
    
    .stat-item {
        padding: var(--spacing-3);
    }
    
    .stat-number {
        font-size: var(--font-size-2xl);
    }
    
    .stat-label {
        font-size: var(--font-size-xs);
    }
    
    .about-visual {
        padding: var(--spacing-8);
    }
    
    .visual-icon {
        font-size: 3rem;
    }
    
    .visual-text {
        font-size: var(--font-size-base);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-3);
        padding: 0 var(--spacing-3);
    }
    
    .products-grid .product-card {
        min-height: 320px;
    }
    
    .products-grid .product-card .product-image {
        height: 240px;
    }
    
    .products-grid .product-card .product-image img {
        padding: var(--spacing-2);
    }
    
    .products-grid .product-card .product-info {
        padding: var(--spacing-3);
    }
    
    .products-grid .product-card .product-info h3 {
        font-size: var(--font-size-lg);
        font-weight: 700;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    
    .products-grid .product-card .product-info p {
        font-size: var(--font-size-base);
        font-weight: 500;
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.section-title {
        font-size: var(--font-size-3xl);
        font-weight: 800;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .login-notice p {
        font-size: var(--font-size-lg);
        font-weight: 700;
    }
    
    .carousel-prev {
        left: var(--spacing-1);
    }
    
    .carousel-next {
        right: var(--spacing-1);
    }
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    text-align: center;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-4);
    }
    
    .about-title {
    font-size: var(--font-size-4xl);
    }
    
    .about-description {
        font-size: var(--font-size-lg);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-4);
        padding: 0 var(--spacing-4);
    }
    
    .products-grid .product-card {
        min-height: 300px;
    }
    
    .carousel-prev {
        left: var(--spacing-2);
    }
    
    .carousel-next {
        right: var(--spacing-2);
    }
}

.section-title {
    text-align: center;
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-16);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Full Width Carousel Container */
.carousel-container-full {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.carousel-wrapper-full {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    background: transparent;
    padding: var(--spacing-12) 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    /* Ensure exactly 5 tiles are visible */
    width: 100%;
    max-width: 1400px;
}

/* Ensure only 5 cards are visible at a time */
.carousel-wrapper-full::before,
.carousel-wrapper-full::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 5;
    pointer-events: none;
}

.carousel-wrapper-full::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-50), transparent);
}

.carousel-wrapper-full::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-50), transparent);
}

/* Legacy carousel container for fallback */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

/* Products Grid - Enhanced professional styling */
.products-grid-container {
    width: 100%;
    padding: var(--spacing-12) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.products-grid-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-8);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-8);
    position: relative;
    z-index: 1;
}

.carousel-track.animating {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-grid .product-card {
    border-radius: var(--radius-3xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 2px solid var(--gray-100);
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    opacity: 1;
    transform: scale(1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    /* Grid layout - 4 products per row */
    min-height: 360px;
    margin: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.products-grid .product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
    border-width: 3px;
}

/* Enhanced product overlay for better readability */
.products-grid .product-card .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

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

.products-grid .product-card .product-overlay .btn {
    background: var(--white);
    color: var(--gray-900);
    border: 2px solid var(--white);
    font-weight: 700;
    font-size: var(--font-size-lg);
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-lg);
    text-shadow: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
}

.products-grid .product-card .product-overlay .btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Grid layout styling - Enhanced with professional gradients */
.products-grid .product-card .product-image {
    height: 300px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.products-grid .product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: var(--spacing-4);
    background: transparent;
    border-radius: var(--radius-lg);
}

.products-grid .product-card .product-info {
    padding: var(--spacing-6);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

.products-grid .product-card .product-info h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-4);
    line-height: 1.1;
    font-weight: 800;
    color: var(--gray-900);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

.products-grid .product-card .product-info p {
    font-size: var(--font-size-lg);
    line-height: 1.6;
    margin-bottom: var(--spacing-5);
    color: var(--gray-600);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.carousel-track .product-card:last-child {
    border-right: 1px solid var(--gray-200);
}

/* Navigation Controls - Hidden for professional static display */
.carousel-btn {
    display: none;
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: var(--spacing-2);
    z-index: 20;
}

.carousel-next {
    right: var(--spacing-2);
    z-index: 20;
}

/* Dots Indicator */
.carousel-dots {
    display: none;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: var(--radius-full);
    background-color: var(--gray-300);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 3px solid transparent;
    position: relative;
}

.dot:hover {
    background-color: var(--gray-400);
    transform: scale(1.3);
    box-shadow: var(--shadow-sm);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.4);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: var(--white);
    border-radius: var(--radius-full);
}

/* Legacy grid fallback for non-carousel */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-8);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

.product-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(59, 130, 246, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.product-info {
    padding: var(--spacing-6);
}

.product-info h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-2);
}

.product-info p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-sm);
}

.product-price {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-color);
}

/* About Section */
.about-section {
    padding: var(--spacing-16) 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-12);
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    color: var(--white);
}

.about-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-6);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.about-description {
    font-size: var(--font-size-xl);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-8);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 400;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-6);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-4);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-3xl);
    padding: var(--spacing-12);
    text-align: center;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.visual-icon {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: var(--spacing-4);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.visual-text {
    font-size: var(--font-size-lg);
    color: var(--white);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Why Choose Us */
.why-choose-us {
    padding: var(--spacing-20) 0;
    background-color: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-6);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-6);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
    }
}

.feature-item {
    text-align: center;
    padding: var(--spacing-6) var(--spacing-5);
    background-color: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: #3679f2;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-5);
    color: var(--white);
    font-size: 1.75rem;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-3);
    margin-top: 0;
    line-height: 1.3;
}

.feature-item p {
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
    white-space: pre-line;
    font-size: 0.9375rem;
}

/* SHARE PRINT Section */
.share-print-section {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.share-print-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.share-print-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    color: var(--white);
}

.share-print-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-8);
    color: rgba(255, 255, 255, 0.9);
}

.share-print-content .btn {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.share-print-content .btn:hover {
    background-color: var(--gray-100);
    color: var(--primary-dark);
}

.share-print-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

/* Footer Styles - Now in footer.css */
/* Footer styles have been moved to assets/css/footer.css for consistency */
.main-footer {
    /* Legacy class name - use .footer instead */
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Enhanced Responsive Design */
@media (min-width: 1400px) {
    .header-container {
        max-width: 1400px;
    }
    
    .nav-link {
        padding: var(--spacing-3) var(--spacing-4);
        font-size: var(--font-size-base);
    }
}

@media (max-width: 1200px) {
    .header-container {
        padding: 0 var(--spacing-3);
    }
    
    .nav-link {
        padding: var(--spacing-2) var(--spacing-2);
        font-size: var(--font-size-xs);
    }
    
    .nav-link i {
        display: none;
    }
    
    .dropdown-content {
        min-width: 280px;
        max-width: 350px;
    }
    
    .hero-content {
        gap: var(--spacing-12);
    }
}

@media (max-width: 1100px) {
    .nav-link {
        padding: var(--spacing-2) var(--spacing-1);
        font-size: var(--font-size-xs);
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link i:not(.fa-chevron-down) {
        display: block;
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        padding: var(--spacing-8) var(--spacing-6);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: var(--spacing-2);
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: var(--spacing-4);
        border-radius: var(--radius-lg);
        justify-content: space-between;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        min-width: auto;
        width: 100%;
        box-shadow: none;
        border: 1px solid var(--gray-200);
        margin-top: var(--spacing-2);
        border-radius: var(--radius-lg);
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
    
    .dropdown-content.show {
        display: block;
    }
    
    .dropdown-preview {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 var(--spacing-3);
        height: 70px;
        z-index: 1000;
        overflow-y: auto;
        padding: var(--spacing-8) var(--spacing-6);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: var(--spacing-2);
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: var(--spacing-4);
        border-radius: var(--radius-lg);
        justify-content: space-between;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        min-width: auto;
        width: 100%;
        box-shadow: none;
        border: 1px solid var(--gray-200);
        margin-top: var(--spacing-2);
        border-radius: var(--radius-lg);
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
    
    .dropdown-content.show {
        display: block;
    }
    
    .dropdown-preview {
        height: 150px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-12);
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .share-print-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-12);
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-6);
    }
    
    /* Carousel responsive styles - maintain 5 tiles and full width */
    .featured-products {
        width: 100%;
    }
    
    .carousel-container-full {
        width: 100%;
    }
    
    .carousel-wrapper-full {
        width: 100%;
    }
    
    .carousel-track {
        padding: 0;
        width: 100%;
        gap: var(--spacing-2);
    }
    
    .carousel-track .product-card {
        flex: 0 0 calc(12.5% - var(--spacing-2));
        max-width: calc(12.5% - var(--spacing-2));
        width: calc(12.5% - var(--spacing-2));
        min-width: 0;
        min-height: 280px;
    }
    
    .carousel-prev {
        left: var(--spacing-2);
    }
    
    .carousel-next {
        right: var(--spacing-2);
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }
    
    .carousel-prev {
        left: -25px;
    }
    
    .carousel-next {
        right: -25px;
    }
    
    .carousel-track {
        padding: 0 var(--spacing-4);
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing-6);
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 var(--spacing-3);
        height: 70px;
    }
    
    .logo-text {
        font-size: var(--font-size-xl);
    }
    
    .header-actions {
        gap: var(--spacing-2);
    }
    
    .header-actions .btn {
        padding: var(--spacing-2) var(--spacing-3);
        font-size: var(--font-size-xs);
    }
    
    .cart-btn {
        width: 40px;
        height: 40px;
    }
    
    .hero {
        padding: var(--spacing-16) 0;
        min-height: 500px;
    }
    
    .hero-content {
        padding: 0 var(--spacing-3);
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-4);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-6);
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    /* Hero Slider Responsive */
    .hero-slider {
        height: 500px;
    }
    
    .hero-slider .hero-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-4);
        font-weight: 700;
        letter-spacing: -0.01em;
    }
    
    .hero-slider .hero-subtitle {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-6);
        font-weight: 400;
        line-height: 1.4;
    }
    
    
    .hero-dots {
        bottom: var(--spacing-6);
    }
    
    .hero-dot {
        width: 14px;
        height: 14px;
        flex-direction: column;
        gap: var(--spacing-3);
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-image img {
        max-width: 90%;
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-12);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
        padding: 0 var(--spacing-3);
    }
    
    /* Carousel mobile styles - maintain 5 tiles and full width */
    .featured-products {
        width: 100%;
    }
    
    .carousel-container-full {
        width: 100%;
    }
    
    .carousel-wrapper-full {
        width: 100%;
    }
    
    .carousel-track .product-card {
        flex: 0 0 calc(20% - 2px);
        min-width: 0;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: var(--font-size-base);
    }
    
    .carousel-prev {
        left: -20px;
    }
    
    .carousel-next {
        right: -20px;
    }
    
    .carousel-track {
        padding: 0;
        width: 100%;
        gap: var(--spacing-1);
    }
    
    .carousel-track .product-card {
        flex: 0 0 calc(12.5% - var(--spacing-1));
        max-width: calc(12.5% - var(--spacing-1));
        width: calc(12.5% - var(--spacing-1));
        min-height: 250px;
    }
    
    .carousel-prev {
        left: var(--spacing-1);
    }
    
    .carousel-next {
        right: var(--spacing-1);
    }
    
    .carousel-dots {
        margin-top: var(--spacing-8);
        padding: var(--spacing-3);
        gap: var(--spacing-2);
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
    
    /* Ensure 5 tiles fit on small screens */
    .carousel-track .product-card {
        margin: 0 2px;
    }
    
    .carousel-track .product-card .product-image {
        height: 180px;
    }
    
    .carousel-track .product-card .product-info {
        padding: var(--spacing-3);
    }
    
    .carousel-track .product-card .product-info h3 {
        font-size: var(--font-size-sm);
    }
    
    .carousel-track .product-card .product-info p {
        font-size: var(--font-size-xs);
    }
    
    .product-card {
        margin: 0 var(--spacing-2);
    }
    
    .product-image {
        height: 200px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
        padding: 0 var(--spacing-3);
    }
    
    .feature-item {
        padding: var(--spacing-6);
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-xl);
    }
    
    .share-print-section {
        padding: var(--spacing-16) 0;
    }
    
    .share-print-card {
        padding: 0 var(--spacing-3);
    }
    
    .share-print-content h2 {
        font-size: var(--font-size-3xl);
    }
    
    .share-print-content p {
        font-size: var(--font-size-base);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
        text-align: center;
        padding: 0 var(--spacing-3);
    }
    
    .main-footer {
        padding: var(--spacing-16) 0 var(--spacing-6);
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 60px;
        padding: 0 var(--spacing-2);
    }
    
    .logo-text {
        font-size: var(--font-size-lg);
    }
    
    .logo-img {
        width: 96px;
        height: 96px;
    }
    
    .mobile-menu-toggle {
        width: 24px;
        height: 24px;
    }
    
    .hamburger-line {
        height: 2px;
    }
    
    .main-nav {
        width: 280px;
        padding: var(--spacing-6) var(--spacing-4);
    }
    
    .hero {
        padding: var(--spacing-12) 0;
        min-height: 400px;
    }
    
    .hero-content {
        padding: 0 var(--spacing-2);
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-3);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-4);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    /* Hero Slider Mobile */
    .hero-slider {
        height: 400px;
    }
    
    .hero-slider .hero-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-3);
        font-weight: 700;
        letter-spacing: -0.005em;
        line-height: 1.2;
    }
    
    .hero-slider .hero-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-4);
        font-weight: 400;
        line-height: 1.4;
        letter-spacing: 0.005em;
    }
    
    
    .hero-dots {
        bottom: var(--spacing-4);
    }
    
    .hero-dot {
        width: 12px;
        height: 12px;
        align-items: center;
        gap: var(--spacing-2);
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 250px;
        padding: var(--spacing-3) var(--spacing-4);
    }
    
    .hero-image img {
        max-width: 85%;
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-8);
    }
    
    .products-grid {
        padding: 0 var(--spacing-2);
        gap: var(--spacing-4);
    }
    
    .product-card {
        margin: 0;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-info {
        padding: var(--spacing-4);
    }
    
    .product-info h3 {
        font-size: var(--font-size-lg);
    }
    
    .features-grid {
        padding: 0 var(--spacing-2);
        gap: var(--spacing-4);
    }
    
    .feature-item {
        padding: var(--spacing-4);
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-4);
    }
    
    .feature-item h3 {
        font-size: var(--font-size-lg);
    }
    
    .share-print-section {
        padding: var(--spacing-12) 0;
    }
    
    .share-print-card {
        padding: 0 var(--spacing-2);
    }
    
    .share-print-content h2 {
        font-size: var(--font-size-2xl);
    }
    
    .share-print-content p {
        font-size: var(--font-size-sm);
    }
    
    .footer-content {
        padding: 0 var(--spacing-2);
        gap: var(--spacing-4);
    }
    
    .main-footer {
        padding: var(--spacing-12) 0 var(--spacing-4);
    }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .btn,
    .product-card,
    .feature-item {
        -webkit-tap-highlight-color: transparent;
    }
    
    .nav-link:active,
    .btn:active {
        transform: scale(0.98);
    }
    
    .product-card:active {
        transform: translateY(-4px) scale(0.98);
    }
    
    .feature-item:active {
        transform: translateY(-2px) scale(0.98);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .product-image img,
    .hero-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 300px;
        padding: var(--spacing-8) 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: var(--spacing-8);
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-sm);
    }
    
    .hero-actions {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .hero-actions .btn {
        width: auto;
        max-width: none;
    }
}
