/* =================================================================
   VAMPIRES INDUSTRY - STEP BY STEP BUILD
   Building CSS section by section to identify issues
   ================================================================= */

/* WORDPRESS OVERRIDE SECTION - THESE WORK */
/* Force ALL WordPress containers to full width */
.site,
.site-content,
.content-area,
.site-main,
article,
.entry-content,
.inside-article,
.container,
.grid-container {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* Force sections to display properly */
section,
.hero-section,
.categories-section,
.products-section,
.services-section,
.materials-section,
.decorations-section,
.sizing-section,
.gallery-section,
.testimonials-section,
.contact-section {
    width: 100% !important;
    display: block !important;
    clear: both !important;
    float: none !important;
    position: relative !important;
    margin: 0 !important;
}

/* CSS Variables - Neutral Tone Color Scheme - HIGH PRIORITY */
:root,
body.page-template-page-home,
.page-template-page-home * {
    /* Neutral Tone Colors - Override all theme defaults */
    --primary: #374151 !important;           /* Dark neutral gray */
    --secondary: #6b7280 !important;         /* Medium neutral gray */
    --accent: #9ca3af !important;            /* Light neutral gray */
    --bg-primary: #ffffff !important;        /* Pure white */
    --bg-secondary: #f9fafb !important;      /* Very light gray */
    --light: #f3f4f6 !important;            /* Light gray */
    --text-dark: #374151 !important;        /* Dark text */
    --text-light: #ffffff !important;       /* White text */
    --text-muted: #9ca3af !important;       /* Muted text */
    --border-color: #e5e7eb !important;     /* Light border */
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Force override any blue colors from WordPress/theme */
body.page-template-page-home *:not(.wp-admin *) {
    /* Override any hardcoded blue colors */
    color: var(--text-dark) !important;
}
body.page-template-page-home a:not(.wp-admin a) {
    color: var(--primary) !important;
}
body.page-template-page-home .btn-primary,
body.page-template-page-home .button-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-dark);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Button Styles */
.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: default;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: default;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* =================================================================
   STEP 2: HERO SECTION CSS
   ================================================================= */

.hero-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--light) 100%);
    padding: 8rem 2rem 6rem;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

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

.hero-visual {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--border-radius);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-heavy);
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
}

.hero-visual:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Responsive for Hero Section */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        width: 300px;
        height: 300px;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

/* =================================================================
   STEP 3: CATEGORIES SECTION CSS
   ================================================================= */

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    background: var(--accent);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.highlight {
    color: var(--accent);
    position: relative;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Categories Section */
.categories-section {
    padding: 8rem 2rem;
    background: var(--bg-primary);
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
}

.categories-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.category-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 600px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.category-image {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 4rem;
    font-weight: 800;
    text-align: center;
    z-index: 1;
}

.category-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.category-placeholder span {
    font-size: 2rem;
    letter-spacing: 2px;
    opacity: 0.6;
}

.team-apparel .category-image {
    background-image: linear-gradient(135deg, rgba(45, 55, 72, 0.7) 0%, rgba(74, 85, 104, 0.7) 100%), 
                      url('/wp-content/uploads/2025/09/team-apparel.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.custom-apparel .category-image {
    background-image: linear-gradient(135deg, rgba(74, 85, 104, 0.7) 0%, rgba(113, 128, 150, 0.7) 100%),
                      url('/wp-content/uploads/2025/09/custom-apparel.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 3rem 2rem 2rem;
    height: 70%;
}

.category-card:hover .category-overlay {
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.98) 100%);
}

.category-content {
    text-align: center;
    color: var(--text-light);
}

.category-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.category-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.category-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.category-btn {
    background: var(--text-light);
    color: var(--primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: default;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

.category-btn:hover {
    background: var(--accent);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Responsive for Categories Section */
@media (max-width: 768px) {
    .categories-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .category-card {
        height: 500px;
    }
    
    .category-content h3 {
        font-size: 2rem;
    }
    
    .category-features {
        gap: 0.5rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .category-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }
}

/* =================================================================
   STEP 4: PRODUCTS SECTION CSS - Matching Subcategory Page
   ================================================================= */

.products-section {
    padding: 8rem 2rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

/* Add subtle background pattern */
.products-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(55, 65, 81, 0.03) 0%, transparent 70%);
    animation: pulsePattern 15s ease-in-out infinite;
}

@keyframes pulsePattern {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.products-categories {
    width: 100%;
}

.category-tabs-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.category-tabs-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.category-separator {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
    margin: 0 0.5rem;
}

.tab-btn {
    background: var(--bg-primary);
    color: var(--text-muted);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: default;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.tab-btn.main-tab {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.tab-btn.parent-tab {
    background: var(--secondary);
    color: var(--text-light);
    border-color: var(--secondary);
    font-weight: 600;
}

.tab-btn.sub-tab {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

.tab-btn:hover {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(55, 65, 81, 0.2);
}

/* Products Grid - Same as subcategory page */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1520px;
    margin: 0 auto 3rem;
}

/* Hidden class for filtering */
.hidden {
    display: none !important;
}

/* Subcategories Grid */
.subcategories-grid {
    display: none;
    width: 100%;
    max-width: 1520px;
    margin: 0 auto 3rem;
}

.subcategory-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

/* Subcategory Cards */
.subcategory-card {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.subcategory-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.subcategory-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.subcategory-image {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    background: var(--bg-secondary);
}

.subcategory-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.subcategory-card:hover .subcategory-image img {
    transform: translate(-50%, -50%) scale(1.1);
}

.subcategory-image .no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: var(--text-muted);
}

.subcategory-image .no-image i {
    font-size: 3rem;
    opacity: 0.3;
}

.subcategory-info {
    padding: 25px;
}

.subcategory-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.subcategory-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.view-products {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.subcategory-card:hover .view-products {
    gap: 12px;
}

.view-products i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.subcategory-card:hover .view-products i {
    transform: translateX(3px);
}

/* Product Cards - Matching subcategory page */
.products-section .product-card {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger animation */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.products-section .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.products-section .product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(55, 65, 81, 0.1);
}

.products-section .product-card:hover::before {
    opacity: 1;
}

.product-link {
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Product Image - Same as subcategory page */
.products-section .product-image {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    overflow: hidden !important;
    background: var(--bg-secondary) !important;
}

.products-section .product-image img,
.products-section .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.products-section .product-card:hover .product-image img,
.products-section .product-card:hover .product-img {
    transform: scale(1.1);
}

/* Gradient overlay on images */
.products-section .product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.3) 0%, rgba(107, 114, 128, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.products-section .product-card:hover .product-image::after {
    opacity: 1;
}

/* Product Overlay */
.products-section .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.products-section .product-card:hover .product-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Quick View Button */
.products-section .quick-view-btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    border: 2px solid transparent;
    padding: 14px 35px;
    border-radius: 30px;
    cursor: default;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    transform: translateY(30px) scale(0.9);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.products-section .quick-view-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.products-section .product-card:hover .quick-view-btn {
    transform: translateY(0) scale(1);
}

.products-section .quick-view-btn:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
}

.products-section .quick-view-btn:hover::before {
    width: 300%;
    height: 300%;
}

.products-section .quick-view-btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.products-section .quick-view-btn:hover i {
    transform: scale(1.2) rotate(15deg);
    color: white !important;
}

/* Product SKU Badge */
.products-section .product-sku {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
}

/* No image placeholder */
.products-section .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8eaed 100%);
}

.products-section .no-image i {
    font-size: 2.5rem;
    opacity: 0.2;
    color: #6b7280;
}

/* Product Info */
.products-section .product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.products-section .product-title {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    color: var(--text-dark);
    line-height: 1.3 !important;
    transition: color 0.3s ease;
    letter-spacing: -0.2px;
    margin-top: 0 !important;
    text-align: center !important;
}

.products-section .product-card:hover .product-title {
    color: var(--primary) !important;
}

/* Product Price */
.products-section .product-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    margin-top: auto;
    text-align: center;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.products-section .product-price::before {
    content: 'Price Range:';
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Meta */
.products-section .product-meta {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.products-section .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.products-section .meta-item i {
    color: var(--primary);
    font-size: 0.85rem;
}

/* Product Excerpt */
.products-section .product-excerpt {
    display: none; /* Hidden in grid view */
}

/* Product Actions */
.products-section .product-actions {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.products-section .btn-view-details,
.products-section .btn-get-quote {
    flex: 1;
    padding: 8px 12px;
    text-align: center;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    cursor: default;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
}

.products-section .btn-view-details {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.products-section .btn-view-details:hover {
    background: var(--primary);
    color: var(--text-light);
}

.products-section .btn-get-quote {
    background: var(--primary);
    color: var(--text-light);
}

.products-section .btn-get-quote:hover {
    background: var(--secondary);
}

.products-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Responsive for Products Section */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .subcategory-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .subcategory-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .category-tabs-wrapper {
        gap: 0.75rem;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .tab-btn.main-tab {
        font-size: 0.85rem;
    }
    
    .tab-btn.parent-tab {
        font-size: 0.8rem;
    }
    
    .tab-btn.sub-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .category-separator {
        font-size: 0.875rem;
        margin: 0 0.25rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .subcategory-group {
        grid-template-columns: 1fr;
    }
    
    .category-tabs-line {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .category-separator {
        display: none;
    }
}

/* =================================================================
   STEP 5: SERVICES SECTION CSS
   ================================================================= */

.services-section {
    padding: 8rem 2rem;
    background: var(--bg-primary);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-content {
    display: grid;
    gap: 6rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.service-card.featured {
    border-color: var(--primary);
    background: var(--bg-primary);
}

.service-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--text-light);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.service-badge.free {
    background: var(--primary);
    top: 15px;
    right: 15px;
    left: auto;
    transform: none;
    padding: 0.5rem 1rem;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(55, 65, 81, 0.3);
    animation: pulse 2s infinite;
}

.service-badge.most-popular {
    background: var(--accent);
    box-shadow: 0 2px 10px rgba(156, 163, 175, 0.3);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.service-value {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(156, 163, 175, 0.1);
    border: 2px solid var(--accent);
    border-radius: var(--border-radius);
    text-align: center;
}

.value-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.value-text strike {
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
    font-size: 2rem;
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.service-features li {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.service-features li strong {
    color: var(--primary);
    font-weight: 700;
}

.service-btn {
    background: var(--bg-primary);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: default;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.service-btn:hover,
.service-btn.primary {
    background: var(--primary);
    color: var(--text-light);
}

/* Services Process */
.services-process {
    text-align: center;
}

.services-process h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

.step-content h5 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive for Services Section */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .services-content {
        gap: 4rem;
    }
}

/* =================================================================
   STEP 6: MATERIALS SECTION CSS
   ================================================================= */

.materials-section {
    padding: 8rem 2rem;
    background: var(--bg-secondary);
}

.materials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.materials-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.materials-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
    box-shadow: var(--shadow-heavy);
    margin-bottom: 2rem;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.material-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.material-image {
    width: calc(100% + 4rem);
    aspect-ratio: 1/1;
    overflow: hidden;
    margin: -2rem -2rem 1.5rem -2rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 600;
}

.material-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Enhanced image quality */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: optimize-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Anti-aliasing for sharper images */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Better scaling */
    -webkit-interpolation-mode: bicubic;
    -ms-interpolation-mode: bicubic;
    /* High DPI support */
    image-resolution: 300dpi;
}

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

.material-content {
    padding: 1.5rem;
}

.material-content h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.material-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Materials Cards Edge Animation */
.materials-grid .material-card {
    position: relative;
    overflow: hidden;
}

.materials-grid .material-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 1;
}

.materials-grid .material-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 1;
}

.materials-grid .material-card:hover::before {
    left: 100%;
}

.materials-grid .material-card:hover::after {
    right: 100%;
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.materials-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: default;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
}

.materials-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* Responsive for Materials Section */
@media (max-width: 768px) {
    .materials-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .materials-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
}

/* =================================================================
   STEP 7: DECORATIONS SECTION CSS
   ================================================================= */

.decorations-section {
    padding: 8rem 2rem;
    background: var(--bg-primary);
}

.decorations-container {
    max-width: 1200px;
    margin: 0 auto;
}

.decorations-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.decorations-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
    box-shadow: var(--shadow-heavy);
    margin-bottom: 2rem;
}

.decorations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.decoration-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.decoration-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.decoration-image {
    width: calc(100% + 4rem);
    aspect-ratio: 1/1;
    overflow: hidden;
    margin: -2rem -2rem 1.5rem -2rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 600;
}

.decoration-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Enhanced image quality */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: optimize-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Anti-aliasing for sharper images */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Better scaling */
    -webkit-interpolation-mode: bicubic;
    -ms-interpolation-mode: bicubic;
    /* High DPI support */
    image-resolution: 300dpi;
}

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

.decoration-content {
    padding: 1.5rem;
}

.decoration-content h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.decoration-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Decorations Cards Edge Animation */
.decorations-grid .decoration-card {
    position: relative;
    overflow: hidden;
}

.decorations-grid .decoration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 1;
}

.decorations-grid .decoration-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 1;
}

.decorations-grid .decoration-card:hover::before {
    left: 100%;
}

.decorations-grid .decoration-card:hover::after {
    right: 100%;
}

.decorations-btn {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--text-light);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: default;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
}

.decorations-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* Responsive for Decorations Section */
@media (max-width: 768px) {
    .decorations-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .decorations-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
}

/* =================================================================
   STEP 8: SIZING SECTION CSS
   ================================================================= */

.sizing-section {
    padding: 8rem 2rem;
    background: var(--bg-secondary);
}

.sizing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sizing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sizing-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent), var(--text-muted));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
    box-shadow: var(--shadow-heavy);
    margin-bottom: 2rem;
}

.size-chart-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.chart-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.chart-tab {
    background: var(--bg-primary);
    color: var(--text-muted);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: default;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.chart-tab:hover,
.chart-tab.active {
    background: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
}

.chart-table {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    display: none;
}

.chart-table.active {
    display: block;
}

.chart-table table {
    width: 100%;
    border-collapse: collapse;
}

.chart-table th,
.chart-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.chart-table th {
    background: var(--bg-secondary);
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.chart-table td {
    color: var(--text-muted);
    font-weight: 500;
}

.chart-table tbody tr:hover {
    background: rgba(156, 163, 175, 0.05);
}

.chart-table tbody tr:hover td {
    color: var(--text-dark);
}

.sizing-features {
    margin: 4rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sizing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.sizing-item {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    max-width: 280px;
    margin: 0 auto;
}

.sizing-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.sizing-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--text-muted));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.sizing-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.sizing-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.sizing-note {
    background: rgba(156, 163, 175, 0.1);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 3rem auto;
    max-width: 800px;
}

.note-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.note-content i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.note-content p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.note-content strong {
    color: var(--text-dark);
}

/* Sizing Cards Edge Animation */
.sizing-grid .sizing-item {
    position: relative;
    overflow: hidden;
}

.sizing-grid .sizing-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 1;
}

.sizing-grid .sizing-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 1;
}

.sizing-grid .sizing-item:hover::before {
    left: 100%;
}

.sizing-grid .sizing-item:hover::after {
    right: 100%;
}

.sizing-btn {
    background: linear-gradient(135deg, var(--accent), var(--text-muted));
    color: var(--text-light);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: default;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
}

.sizing-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* Responsive for Sizing Section */
@media (max-width: 768px) {
    .chart-tabs {
        gap: 0.5rem;
    }
    
    .chart-tab {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .chart-table th,
    .chart-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .sizing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .sizing-item {
        max-width: none;
    }
    
    .sizing-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .note-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .note-content i {
        align-self: center;
    }
}

/* =================================================================
   STEP 9: GALLERY SECTION CSS
   ================================================================= */

.gallery-section {
    padding: 8rem 0;
    background: var(--bg-primary);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.gallery-container {
    width: 100%;
    padding: 0 2rem;
}

.gallery-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
    position: relative;
}

.gallery-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100vw;
    right: -100vw;
    bottom: 0;
    background: rgba(45, 55, 72, 0.8);
    z-index: 0;
    pointer-events: none;
}

.gallery-content > * {
    position: relative;
    z-index: 3;
}

.gallery-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
    box-shadow: var(--shadow-heavy);
    margin-bottom: 2rem;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-secondary);
    color: var(--text-muted);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: default;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.gallery-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    cursor: grab;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    position: relative;
}

.gallery-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 3;
    pointer-events: none;
}



.gallery-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.gallery-grid:active {
    cursor: grabbing;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    cursor: default;
    aspect-ratio: 1/1;
    flex: 0 0 300px;
    width: 300px;
}


.gallery-image {
    width: 100%;
    height: 100%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

/* Placeholder content styling */
.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    background: var(--light);
}

.placeholder-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.placeholder-content p {
    margin: 0;
    font-size: 0.875rem;
    text-align: center;
    opacity: 0.7;
}


.gallery-carousel {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.gallery-overlay-container {
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(55, 65, 81, 0.8) 0%,
        rgba(107, 114, 128, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    text-align: center;
    padding: 1.5rem;
}


.overlay-content {
    color: var(--text-light);
    text-align: center;
    width: 100%;
    display: block;
}

.overlay-content h5 {
    color: var(--text-light) !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
    display: block !important;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
    display: block !important;
}

.view-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.25rem;
    cursor: default;
    backdrop-filter: blur(10px);
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Gallery Cards Edge Animation */
.gallery-grid .gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-grid .gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 2;
}

.gallery-grid .gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 2;
}


.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    padding: 2rem;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.gallery-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--border-radius);
}

.gallery-lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    font-size: 1.25rem;
    box-shadow: var(--shadow);
}


.gallery-main-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(55, 65, 81, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    z-index: 10;
}


.gallery-main-overlay-content {
    text-align: center;
    color: var(--text-light);
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gallery-main-overlay-content:hover {
    color: var(--text-light);
    text-decoration: none;
}

.gallery-main-overlay-content:visited {
    color: var(--text-light);
}

.gallery-main-overlay-content h2 {
    color: var(--text-light) !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.gallery-main-overlay-content p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.gallery-main-overlay-content:hover h2,
.gallery-main-overlay-content:visited h2 {
    color: var(--text-light) !important;
}

.gallery-main-overlay-content:hover p,
.gallery-main-overlay-content:visited p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.gallery-overlay-arrow {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.gallery-actions {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.gallery-btn,
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: default;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}


/* Responsive for Gallery Section */
@media (max-width: 768px) {
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .gallery-grid {
        gap: 1rem;
    }
    
    .gallery-item {
        flex: 0 0 250px;
        width: 250px;
    }
    
    .gallery-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        flex: 0 0 200px;
        width: 200px;
    }
    
    .gallery-container {
        padding: 0 0.5rem;
    }
    
    .gallery-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .image-overlay {
        padding: 1rem;
    }
    
    .view-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-main-overlay-content h2 {
        font-size: 2rem;
    }
    
    .gallery-overlay-arrow {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* =================================================================
   STEP 10: TESTIMONIALS SECTION CSS
   ================================================================= */

.testimonials-section {
    padding: 8rem 0;
    background: var(--bg-secondary);
    width: 100%;
    overflow: hidden;
}

.testimonials-container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.testimonials-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1600px;
    margin: 0 auto;
}

.testimonials-section .section-header {
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
}

.testimonials-grid {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0 2rem;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.8s ease;
    animation: testimonialSlide 30s linear infinite;
    will-change: transform;
}

.testimonial-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    min-width: 350px;
    width: 350px;
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.testimonial-card.featured {
    border: 2px solid var(--accent);
    background: var(--bg-primary);
    position: relative;
}

.testimonial-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--accent);
    font-size: 1rem;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.author-location {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 500;
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.stat-item h4 {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Testimonials Cards Edge Animation */
.testimonials-track .testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonials-track .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 1;
}

.testimonials-track .testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 1;
}

.testimonials-track .testimonial-card:hover::before {
    left: 100%;
}

.testimonials-track .testimonial-card:hover::after {
    right: 100%;
}

/* Testimonials Navigation */
.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-nav-btn {
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    color: var(--text-muted);
    font-size: 1.25rem;
}

.testimonial-nav-btn:hover {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
    transform: scale(1.1);
}

.testimonial-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.testimonial-nav-btn:disabled:hover {
    background: var(--bg-primary);
    color: var(--text-muted);
    border-color: var(--border-color);
}

/* Testimonials Slider Animation */
@keyframes testimonialSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 6 - 2rem * 6));
    }
}

.testimonials-track:hover {
    animation-play-state: paused;
}

/* Responsive for Testimonials Section */
@media (max-width: 1024px) {
    .testimonial-card {
        min-width: 300px;
        width: 300px;
    }
    
    @keyframes testimonialSlide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-300px * 6 - 2rem * 6));
        }
    }
    
    .testimonials-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 280px;
        width: 280px;
        padding: 1.5rem;
    }
    
    @keyframes testimonialSlide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-280px * 6 - 2rem * 6));
        }
    }
    
    .testimonials-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-item h4 {
        font-size: 1.5rem;
    }
    
    .testimonials-content {
        gap: 3rem;
    }
}

/* =================================================================
   STEP 11: CONTACT SECTION CSS
   ================================================================= */

.contact-section {
    padding: 8rem 2rem;
    background: var(--bg-primary);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

/* Custom Form Styling */
.custom-form-container .form-group {
    margin-bottom: 1.5rem;
}

.custom-form-container .form-submit-btn {
    margin-top: 2rem;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-form-container .form-submit-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.custom-form-container .form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.custom-form-container .form-messages {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--border-radius);
}

.custom-form-container .form-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.custom-form-container .form-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: default;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Contact Cards Edge Animation */
.contact-info .contact-item {
    position: relative;
    overflow: hidden;
}

.contact-info .contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 1;
}

.contact-info .contact-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 1;
}

.contact-info .contact-item:hover::before {
    left: 100%;
}

.contact-info .contact-item:hover::after {
    right: 100%;
}

/* Form Validation Styles */
.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group select:invalid:not(:focus),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.form-group input:valid:not(:focus):not(:placeholder-shown),
.form-group select:valid:not(:focus),
.form-group textarea:valid:not(:focus):not(:placeholder-shown) {
    border-color: var(--accent);
    background-color: rgba(156, 163, 175, 0.05);
}

/* Form Required Field Indicator */
.form-group label::after {
    content: ' *';
    color: #ef4444;
    font-weight: 700;
}

.form-group:not([required]) label::after,
.form-group label:not([for$="firstName"]):not([for$="lastName"]):not([for$="email"]):not([for$="productType"])::after {
    display: none;
}

/* Contact CTA Section */
.contact-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-secondary), var(--light));
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-cta h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.contact-cta p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn {
    background: var(--primary);
    color: var(--text-light);
    border: 2px solid var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.cta-btn.secondary:hover {
    background: var(--primary);
    color: var(--text-light);
}

/* Fix link button styling - remove hyperlink borders */
.materials-btn,
.decorations-btn,
.sizing-btn {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.materials-btn:hover,
.decorations-btn:hover,
.sizing-btn:hover {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}

.materials-btn:focus,
.decorations-btn:focus,
.sizing-btn:focus {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.2) !important;
}

.materials-btn:visited,
.decorations-btn:visited,
.sizing-btn:visited {
    color: var(--text-light) !important;
    text-decoration: none !important;
}

.materials-btn:active,
.decorations-btn:active,
.sizing-btn:active {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}

/* Responsive for Contact Section */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.25rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .contact-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* STEP 11 COMPLETE - Contact section should now display properly */
/* ALL SECTIONS COMPLETE - Homepage build finished! */