/* Home Page Specific Styles */

/* Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.4));
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    color: var(--clr-text-inverse);
}

.hero-title {
    font-size: var(--fs-5xl);
    color: var(--clr-text-inverse);
    margin-bottom: var(--space-6);
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
}

.hero-text {
    font-size: var(--fs-lg);
    color: #E2E8F0;
    margin-bottom: var(--space-8);
    opacity: 0;
    animation: fadeUp 0.8s ease-out 0.2s forwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    opacity: 0;
    animation: fadeUp 0.8s ease-out 0.4s forwards;
}

.btn-outline-light {
    background-color: transparent;
    border: 1px solid var(--clr-text-inverse);
    color: var(--clr-text-inverse);
    padding: var(--space-3) var(--space-6);
    text-transform: uppercase;
    font-weight: 500;
    border-radius: var(--radius-xs);
    transition: all var(--transition-base);
}

.btn-outline-light:hover {
    background-color: var(--clr-text-inverse);
    color: var(--clr-primary);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utilities for Layout */
.section-padding {
    padding: var(--space-16) 0;
}

.mb-medium {
    margin-bottom: var(--space-8);
}

.mb-large {
    margin-bottom: var(--space-12);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Categories */
.category-card {
    position: relative;
    height: 400px;
    background-color: var(--clr-bg-surface);
    border: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-primary);
    opacity: 0.03;
    transition: opacity var(--transition-base);
}

.category-card:hover::before {
    opacity: 0.08;
}

.category-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.category-content h3 {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-2);
    color: var(--clr-primary);
}

.link-arrow {
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    font-size: var(--fs-sm);
    transition: color var(--transition-fast);
}

.category-card:hover .link-arrow {
    color: var(--clr-primary);
}

/* Split Layouts */
.split-layout {
    display: flex;
    gap: var(--space-12);
    align-items: center;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-image {
    flex: 1;
    border-radius: var(--radius-xs);
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
}

.split-text {
    flex: 1;
}

/* Features Grid */
.features-grid .feature-item {
    background-color: var(--clr-bg-body);
    padding: var(--space-8);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xs);
    transition: transform var(--transition-base);
}

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

.feature-item h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-3);
}

/* Newsletter */
.newsletter-section {
    background-color: var(--clr-primary);
    padding: var(--space-16) 0;
    color: var(--clr-text-inverse);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: var(--clr-text-inverse);
}

.newsletter-content p {
    color: #94A3B8;
    margin-bottom: var(--space-8);
}

.newsletter-form .input-group {
    flex-direction: row;
    gap: 0;
}

.newsletter-form .form-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid transparent;
}

.newsletter-form .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: var(--clr-secondary);
    color: var(--clr-primary);
    white-space: nowrap;
}

.newsletter-form .btn:hover {
    background-color: var(--clr-secondary-hover);
}

.text-underline {
    text-decoration: underline;
}

/* Trust Badges Narrow Grid */
.narrow-grid {
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--fs-4xl);
    }
    
    .split-layout,
    .split-layout.reverse {
        flex-direction: column;
        gap: var(--space-8);
    }
    
    .split-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        height: auto;
        padding: var(--space-16) 0;
    }
    
    .hero-title {
        font-size: var(--fs-3xl);
    }
    
    .category-card {
        height: 250px;
    }

    .newsletter-form .input-group {
        flex-direction: column;
        gap: var(--space-3);
    }

    .newsletter-form .form-input,
    .newsletter-form .btn {
        border-radius: var(--radius-xs);
    }
}