/* ========================================
   HOME PAGE - MYTICKETPRINTING
   Design moderno e pulito
   ======================================== */

/* === HERO SECTION === */
.hero-home {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-home::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    transform: skewX(-15deg);
    transform-origin: top;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-highlight {
    color: #fbbf24;
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 2rem;
}

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

.hero-image {
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* === FEATURES SECTION === */
.features-section {
    padding: 5rem 2rem;
    background: #f9fafb;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.feature-icon-purple {
    background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
}

.feature-icon-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.feature-icon-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.feature-icon-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.feature-icon-indigo {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.icon-large {
    width: 2rem;
    height: 2rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* === CATEGORIES PREVIEW === */
.categories-preview {
    padding: 5rem 2rem;
    background: white;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

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

.category-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #dc2626;
}

.category-card-featured {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.category-card-featured:hover {
    border-color: #f59e0b;
}

.category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
}

.category-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-content {
    padding: 1.5rem;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.category-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.category-link {
    color: #dc2626;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.category-card:hover .category-link {
    gap: 0.75rem;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* === SHIPPING SECTION === */
.shipping-section {
    padding: 4rem 2rem;
    background: #f9fafb;
}

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

.carrier-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.carrier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.carrier-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.carrier-card:hover .carrier-logo {
    filter: grayscale(0%);
}

.carrier-description {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.shipping-note {
    text-align: center;
    margin-top: 2rem;
    color: #6b7280;
    font-size: 1rem;
}

/* === PAYMENT SECTION === */
.payment-section {
    padding: 4rem 2rem;
    background: white;
}

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

.payment-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #dc2626;
}

.payment-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 1.5rem;
}

.payment-icon-blue {
    background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
}

.payment-icon-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.payment-icon-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.icon-payment {
    width: 2rem;
    height: 2rem;
}

.payment-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.payment-logo-small {
    height: 30px;
    width: auto;
}

.payment-description {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.payment-note {
    color: #f59e0b;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

.btn-primary:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
    background: white;
    color: #1f2937;
    border-color: white;
}

.btn-secondary:hover {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.btn-white {
    background: white;
    color: #dc2626;
    border-color: white;
}

.btn-white:hover {
    background: #fef2f2;
    border-color: #fef2f2;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* === RESPONSIVE === */
@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-home {
        padding: 3rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .features-section,
    .categories-preview,
    .cta-section {
        padding: 3rem 1.5rem;
    }
}