/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    background: linear-gradient(135deg, #1a3c6e 0%, #2c5282 50%, #3182ce 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/wire-pattern.png') repeat;
    opacity: 0.1;
    animation: slideBackground 20s linear infinite;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
}

/* ==========================================================================
   GLOBAL UNIFORMITY IMPROVEMENTS
   ========================================================================== */

/* Consistent Section Spacing */
.container {
    margin-bottom: 2.5rem;
}

.container:last-child {
    margin-bottom: 0;
}

/* Standardized Section Headers */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2980b9);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ==========================================================================
   UNIFORM CARD STYLING
   ========================================================================== */

/* Base Card Style - Used across all pages */
.uniform-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    position: relative;
}

.uniform-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px rgba(0, 0, 0, 0.1),
        0 10px 10px rgba(0, 0, 0, 0.04);
    border-color: rgba(52, 152, 219, 0.3);
}

.uniform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9, #1f5582);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.uniform-card:hover::before {
    opacity: 1;
}

/* Apply uniform styling to existing cards */
.category-card,
.product-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    position: relative;
}

.category-card:hover,
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px rgba(0, 0, 0, 0.1),
        0 10px 10px rgba(0, 0, 0, 0.04);
    border-color: rgba(52, 152, 219, 0.3);
}

.category-card::before,
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9, #1f5582);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before,
.product-card:hover::before {
    opacity: 1;
}

/* ==========================================================================
   UNIFORM BUTTON STYLING
   ========================================================================== */

/* Base Button Styles */
.btn-uniform {
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Primary Button */
.btn-uniform-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.btn-uniform-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f5582);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
    color: white;
}

/* Secondary Button */
.btn-uniform-secondary {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.4);
}

.btn-uniform-secondary:hover {
    background: linear-gradient(135deg, #7f8c8d, #5d6d6e);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(149, 165, 166, 0.6);
    color: white;
}

/* Apply uniform styling to existing buttons */
.btn-explore,
.btn-configure,
.btn-primary {
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.btn-explore:hover,
.btn-configure:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f5582);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
    color: white;
}

/* ==========================================================================
   IMPROVED TYPOGRAPHY & SPACING
   ========================================================================== */

/* Consistent Content Spacing */
.content-section {
    padding: 4rem 0;
    position: relative;
}

.content-section:nth-child(even) {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Card Body Improvements */
.card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.category-title,
.product-group-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.category-title::after,
.product-group-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #3498db, #2980b9);
    border-radius: 1px;
}

/* ==========================================================================
   BREADCRUMB IMPROVEMENTS
   ========================================================================== */

.breadcrumb-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 500;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin: 0 0.75rem;
    color: #3498db;
    font-weight: 600;
    font-size: 1.1rem;
}

.breadcrumb-link {
    color: #2b6cb0;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.breadcrumb-link:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE IMPROVEMENTS
   ========================================================================== */

@media (max-width: 1200px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
        min-height: 180px;
    }
    
    .btn-uniform,
    .btn-explore,
    .btn-configure,
    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .content-section {
        padding: 2.5rem 0;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.25rem;
        min-height: 160px;
    }
    
    .breadcrumb-nav {
        padding: 0.75rem 1rem;
        margin-bottom: 2rem;
    }
}

/* Product Categories */
.category-card {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05),
                -5px -5px 15px rgba(255,255,255,0.9);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.category-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 8px 8px 20px rgba(0,0,0,0.08),
                -8px -8px 20px rgba(255,255,255,1);
}

.category-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.category-card:hover .category-description {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes slideBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 100%;
    }
}

/* Additional Enhancements */
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.category-card .card-body {
    padding: 1.5rem;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.btn-hover-fill {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-hover-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-hover-fill:hover::before {
    left: 0;
}

.btn-hover-fill:hover {
    color: white;
    border-color: var(--primary-color);
} 

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('../images/wire-pattern.png');
    background-size: cover;
    background-position: center;
} 