/* Hero Banner Background */
.hero-banner {
    background: linear-gradient(45deg, #2C1810, #8B4444, #2C1810);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    min-height: 450px;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.02) 10px,
        rgba(255,255,255,0.02) 20px
    );
    opacity: 0.5;
}

.hero-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

/* Bootstrap Carousel Overrides */
.carousel-inner {
    border-radius: 20px;
    overflow: visible;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Hero Slide Content */
.hero-slide-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px;
    min-height: 350px;
    flex-wrap: wrap;
}

/* Hero Product Cards */
.hero-product-card {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border-radius: 25px;
    padding: 30px 20px;
    text-align: center;
    min-width: 300px;
    max-width: 320px;
    transition: all 0.3s ease;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
    border: 4px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-product-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold), #B8954E, var(--gold));
    border-radius: 27px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.hero-product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

.hero-product-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background: #f8f9fa;
}

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

.hero-product-card h5 {
    color: var(--dark-gray);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-product-price {
    color: var(--red-accent);
    font-weight: 600;
    font-size: 16px;
    margin-top: 5px;
}

/* Placeholder image styling */
.placeholder-image {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    border: 2px dashed #dee2e6;
    border-radius: 20px;
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
}

.placeholder-image i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

/* Custom Navigation Arrows */
.carousel-control-prev,
.carousel-control-next {
    width: auto;
    opacity: 1;
    background: none;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: none;
}

.hero-nav-arrow {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-nav-arrow:hover {
    transform: scale(1.05);
    background: linear-gradient(145deg, var(--gold), #B8954E);
    box-shadow: 0 12px 30px rgba(212, 165, 116, 0.4);
}

.hero-nav-arrow:hover i {
    color: white;
}

.hero-nav-arrow i {
    font-size: 24px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

/* Position arrows */
.carousel-control-prev {
    left: 20px;
    justify-content: flex-start;
}

.carousel-control-next {
    right: 20px;
    justify-content: flex-end;
}

/* Custom Indicators */
.carousel-indicators {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    transition: all 0.3s ease;
    margin: 0 5px;
    text-indent: -999px;
}

.carousel-indicators button.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.2);
}

.carousel-indicators button:hover {
    border-color: var(--gold);
    background: rgba(212, 165, 116, 0.5);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-banner {
        padding: 40px 0;
        min-height: 400px;
    }

    .hero-slide-content {
        gap: 0;
        padding: 10px;
        min-height: 320px;
    }

    .hero-product-card.mobile-single {
        min-width: 90%;
        max-width: 350px;
        padding: 25px 20px;
        margin: 0 auto;
    }

    .hero-product-card img,
    .placeholder-image {
        width: 200px;
        height: 200px;
    }

    .hero-product-card h5 {
        font-size: 18px;
        min-height: 45px;
    }

    .hero-product-price {
        font-size: 16px;
    }

    /* Hide navigation arrows on mobile */
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    /* Mobile indicators positioning */
    .carousel-indicators {
        bottom: -30px;
    }

    .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-slide-content {
        gap: 20px;
        padding: 15px;
    }

    .hero-product-card {
        min-width: 260px;
        max-width: 280px;
        padding: 25px 18px;
    }

    .hero-product-card img,
    .placeholder-image {
        width: 160px;
        height: 160px;
    }

    .hero-nav-arrow {
        width: 55px;
        height: 55px;
    }

    .hero-nav-arrow i {
        font-size: 20px;
    }

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

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

/* Ensure proper touch behavior */
.carousel-inner {
    touch-action: pan-y pinch-zoom;
}

@media (max-width: 768px) {
    .carousel-inner {
        touch-action: pan-x pinch-zoom;
    }
}

/* Accessibility */
.carousel-control-prev:focus,
.carousel-control-next:focus,
.carousel-indicators button:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}


/* Product Grid Section */
.product-grid-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.product-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    padding: 15px;
    min-height: 180px;
    position: relative;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--gold);
}

.product-image-container {
    flex-shrink: 0;
    width: 140px;
    height: 120px;
    border: 2px solid #333;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
    position: relative;
    background: #f8f9fa;
}

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

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

.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px 0;
}

.product-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    color: var(--red-accent);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-enquiry {
    background: #246090;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
}

.btn-enquiry:hover {
    background: #555;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-view {
    background: #f8f9fa;
    color: var(--dark-gray);
    border: 1px solid #dee2e6;
    padding: 7px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
}

.btn-view:hover {
    background: #e9ecef;
    color: var(--dark-gray);
    border-color: #adb5bd;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Section title styling */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 15px;
}

.section-title h2 {
    color: var(--dark-gray);
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2 span {
    color: var(--gold);
    position: relative;
}

.section-title h2 span::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
}

.section-title p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 20px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--dark-gray);
    margin: 0 auto;
    border-radius: 2px;
}

/* Featured Products Section */
.featured-section {
    background: var(--white);
    padding: 50px 0;
    border-top: 3px solid var(--gold);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.featured-card {
    background: linear-gradient(135deg, var(--white), #f8f9fa);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.featured-card:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.featured-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--gold);
    background: #f8f9fa;
}

.featured-card h5 {
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 10px;
}

.featured-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.company-info-section {
    background: linear-gradient(135deg, var(--dark-gray), #1a1a1a);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.company-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(212,165,116,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(212,165,116,0.1)"/></svg>');
    opacity: 0.5;
}

.company-content {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: white;
    font-weight: 500;
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

/* Hero Category Carousel Styles */
.hero-category-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin: 0 15px;
    padding: 25px;
    text-align: center;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
    justify-content: space-between;
}

.hero-category-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-category-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-category-card:hover img {
    transform: scale(1.05);
}

.hero-category-card .placeholder-image.category-placeholder {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--gold), #B8954E);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-category-card .placeholder-image.category-placeholder i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
}

.hero-category-card .placeholder-image.category-placeholder div {
    color: white;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
}

.hero-category-card .category-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-category-card h5 {
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

.hero-category-card .category-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.4;
}

.hero-category-card .product-count {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
}

.hero-category-card .btn {
    padding: 8px 20px;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.hero-category-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.4);
}

/* Mobile specific styles for category cards */
.hero-category-card.mobile-single {
    margin: 0 20px;
    min-height: 350px;
    max-width: 280px;
}

.hero-category-card.mobile-single img,
.hero-category-card.mobile-single .placeholder-image.category-placeholder {
    width: 150px;
    height: 150px;
}

.hero-category-card.mobile-single .placeholder-image.category-placeholder i {
    font-size: 2rem;
}

.hero-category-card.mobile-single h5 {
    font-size: 1rem;
}

.hero-category-card.mobile-single .category-description {
    font-size: 0.85rem;
}

.hero-category-card.mobile-single .product-count {
    font-size: 0.75rem;
    padding: 4px 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-category-card {
        margin: 0 10px;
        padding: 20px;
        min-height: 320px;
    }
    
    .hero-category-card img,
    .hero-category-card .placeholder-image.category-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .hero-category-card .placeholder-image.category-placeholder i {
        font-size: 1.8rem;
    }
    
    .hero-category-card h5 {
        font-size: 0.95rem;
    }
    
    .hero-category-card .category-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-category-card.mobile-single {
        margin: 0 15px;
        padding: 15px;
        min-height: 300px;
    }
    
    .hero-category-card.mobile-single img,
    .hero-category-card.mobile-single .placeholder-image.category-placeholder {
        width: 250px;
        height: 200px;
    }
    
    .hero-category-card.mobile-single .placeholder-image.category-placeholder i {
        font-size: 1.5rem;
    }
    
    .hero-category-card.mobile-single h5 {
        font-size: 0.9rem;
    }
}
/* Responsive adjustments */
@media (min-width: 1200px) {
    .hero-category-card {
        flex: 0 0 320px;
        max-width: 320px;
        margin: 0 15px;
        padding: 30px;
    }
    
    .hero-category-card img,
    .hero-category-card .placeholder-image.category-placeholder {
        width: 200px;
        height: 200px;
    }
}