/* ========================================
   HOME PAGE STYLES
   ======================================== */

/* Hero Section */
.home-hero {
    padding: 80px 0;
    text-align: center;
    background: #fff;
    margin: 40px 0;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.home-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.home-hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.home-hero p {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 12px;
    font-weight: 500;
    text-align: center;
}

.home-hero .home-hero-buttons {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Combined Section with Tabs */
.home-combined-section {
    padding: 60px 0;
    background: #fff;
}

.home-combined-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Tab Navigation (Desktop only) */
.home-tabs-nav {
    display: none;
    gap: 16px;
    margin-bottom: 48px;
}

@media (min-width: 769px) {
    .home-tabs-nav {
        display: flex;
    }
}

.home-tab-btn {
    flex: 1;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 28px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.home-tab-btn:hover {
    border-color: #2563eb;
    background: #f9fafb;
}

.home-tab-btn.active {
    border-color: #2563eb;
    background: #eff6ff;
}

.home-tab-btn .tab-title {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.home-tab-btn.active .tab-title {
    color: #2563eb;
}

.home-tab-btn .tab-subtitle {
    display: block;
    font-size: 15px;
    color: #6b7280;
}

/* Tab Content */
.home-tab-content {
    display: none;
}

.home-tab-content.active {
    display: block;
}

/* Mobile Header (visible only on mobile) */
.home-mobile-header {
    display: block;
    text-align: center;
    margin-bottom: 48px;
}

@media (min-width: 769px) {
    .home-mobile-header {
        display: none;
    }
}

.home-section-title {
    font-size: 36px;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 12px;
}

.home-section-subtitle {
    color: #6b7280;
    font-size: 17px;
}

/* Items Grid (unified for products and services) */
.home-items-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-item-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: row;
    position: relative;
}

.home-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.home-item-card:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.5) 0%, rgba(219, 234, 254, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.home-item-image {
    flex: 0 0 240px;
    overflow: hidden;
    background: #f9fafb;
}

.home-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-item-content {
    flex: 1;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.home-item-info {
    flex: 1;
}

.home-item-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.home-item-title {
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    flex: 1;
    margin: 0;
}

.home-item-price {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    position: relative;
}

.home-item-excerpt {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.home-item-action {
    margin-top: auto;
    padding-top: 16px;
    position: relative;
    z-index: 3;
}

.home-item-btn,
.home-item-btn:link,
.home-item-btn:visited,
.home-item-btn:active {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb !important;
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    z-index: 4;
}

.home-item-btn:hover,
.home-item-btn:focus {
    background: #1d4ed8 !important;
    color: #fff !important;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Tab Footer */
.home-tab-footer {
    text-align: center;
    margin-top: 40px;
}

.home-footer-link,
.home-footer-link:link,
.home-footer-link:visited,
.home-footer-link:active {
    display: inline-block;
    background: #2563eb !important;
    color: #fff !important;
    padding: 14px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.home-footer-link:hover,
.home-footer-link:focus {
    background: #1d4ed8 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .home-item-card {
        flex-direction: column;
    }
    
    .home-item-image {
        flex: 0 0 200px;
        width: 100%;
    }
    
    .home-item-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .home-item-price {
        align-self: flex-start;
    }
    
    .home-section-title {
        font-size: 28px;
    }
    
    .home-tab-content {
        display: block !important;
    }
    
    .home-tab-content + .home-tab-content {
        margin-top: 60px;
        padding-top: 60px;
        border-top: 1px solid #e5e7eb;
    }
}





/* CTA Section */
.home-cta-section {
    padding: 60px 0;
    background: #fff;
}

.home-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.home-cta-box {
    background: #fff;
    padding: 48px 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.home-cta-title {
    font-size: 32px;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 700;
}

.home-cta-text {
    font-size: 17px;
    color: #6b7280;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.home-cta-btn,
.home-cta-btn:link,
.home-cta-btn:visited,
.home-cta-btn:active {
    display: inline-block;
    background: #2563eb !important;
    color: #fff !important;
    padding: 14px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.home-cta-btn:hover,
.home-cta-btn:focus {
    background: #1d4ed8 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .home-hero h1 {
        font-size: 32px !important;
    }
    
    .home-cta-title {
        font-size: 24px;
    }
}

/* Hero Title and Text */
.home-hero-title {
    font-size: 48px;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.home-hero-subtitle {
    font-size: 20px;
    color: #6b7280;
    margin: 0 auto 12px;
    font-weight: 500;
    text-align: center;
    max-width: 800px;
}

.home-hero-description {
    font-size: 17px;
    max-width: 700px;
    margin: 24px auto;
    color: #4b5563;
    line-height: 1.7;
    text-align: center;
}

.home-hero-buttons {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.home-hero-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    border: none;
}

.home-hero-btn-primary,
.home-hero-btn-primary:link,
.home-hero-btn-primary:visited,
.home-hero-btn-primary:active {
    background: #2563eb !important;
    color: #fff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.home-hero-btn-primary:hover,
.home-hero-btn-primary:focus {
    background: #1d4ed8 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.home-hero-btn-secondary {
    background: #fff !important;
    color: #2563eb !important;
    border: 2px solid #2563eb !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    padding: 12px 32px !important;
}

.home-hero-btn-secondary:hover {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}



