/* ============================================================
   INDEX.CSS — Homepage Premium Styles
   Global tokens & utilities are in style.css
   ============================================================ */

/* === HERO SECTION (Homepage overrides) === */
/* Homepage uses slider instead of ::before background */
.hero::before {
    background: none;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    animation: kenBurns 20s linear infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

/* === HERO BADGE === */
.home-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffc107;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.home-hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: badgeShimmer 3s ease-in-out infinite;
}

@keyframes badgeShimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* === HERO STATS BAR === */
.home-stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 60px;
    padding: 16px 40px;
    max-width: 560px;
    margin: 1.5rem auto 0;
}

.home-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
}

.home-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.home-stat-plus {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffc107;
}

.home-stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.home-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

/* === HERO BUTTONS === */
/* ═══════════════════════════════════════════════════ */
/* AURORA HERO SECTION                               */
/* ═══════════════════════════════════════════════════ */

.aurora-hero {
    position: relative;
    min-height: 90vh;
    /* Taller for impact */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0D0D0D;
    /* Deepest Dark Base */
    padding-top: 0;
    /* Remove padding to lift logo */
}

#aurora-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Removed glass container styles */

.hero-logo-metal {
    width: 90%;
    /* Mobile default */
    max-width: 800px;
    height: auto;
    object-fit: contain;
    /* Soft wide floating shadow */
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.08));
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-aurora-primary {
    background: #FFFFFF;
    /* Pure White */
    color: #1A1A1A;
    /* Anthracite Black */
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 18px 45px;
}

.btn-aurora-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    color: #1A1A1A;
}

.btn-aurora-outline {
    background: transparent;
    color: #F3F4F6;
    border: 2px solid #FFFFFF;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 18px 45px;
}

.btn-aurora-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    /* Semi-transparent grey/white */
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

@media (min-width: 1024px) {
    .hero-logo-metal {
        width: 70%;
        /* Desktop massive size */
    }
}

@media (max-width: 991px) {
    .hero-logo-metal {
        width: 70%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .aurora-hero {
        min-height: 100vh;
        /* Full screen on mobile */
        padding-top: 60px;
        /* Clear navbar */
        align-items: flex-start;
        /* Align top on mobile */
    }

    .hero-logo-metal {
        width: 90%;
        /* Maximum impact on mobile */
        max-width: 400px;
        margin-top: 40px;
    }

    .display-3 {
        font-size: 2rem;
    }
}

/* ═══════════════════════════════════════════════════ */
/* TRUST STRIP                                       */
/* ═══════════════════════════════════════════════════ */
.home-trust-strip {
    background: #111;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-strip-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}

.trust-strip-item i {
    font-size: 1.2rem;
    color: var(--primary-red);
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(136, 42, 39, 0.15);
    border-radius: 50%;
}

.trust-strip-item strong {
    display: block;
    font-weight: 700;
    color: white;
    font-size: 0.85rem;
}

.trust-strip-item span {
    display: block;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
}

/* ═══════════════════════════════════════════════════ */
/* COMFORT INDOOR/OUTDOOR SPLIT                      */
/* ═══════════════════════════════════════════════════ */
.comfort-macro-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Modern Colored Borders */
.comfort-indoor {
    border: 2px solid var(--primary-red);
    box-shadow: 0 10px 40px rgba(136, 42, 39, 0.15);
}

.comfort-indoor:hover {
    box-shadow: 0 24px 60px rgba(136, 42, 39, 0.25);
    transform: translateY(-8px) scale(1.01);
}

.comfort-outdoor {
    border: 2px solid #198754;
    /* Brand Green */
    box-shadow: 0 10px 40px rgba(25, 135, 84, 0.15);
}

.comfort-outdoor:hover {
    box-shadow: 0 24px 60px rgba(25, 135, 84, 0.25);
    transform: translateY(-8px) scale(1.01);
}

.comfort-macro-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

/* Card Header */
.comfort-card-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.comfort-card-header-dark {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    /* Match Indoor */
}

.comfort-card-header-dark h3 {
    color: #1a1a1a !important;
    /* Force dark text */
}

/* Ensure body badge is also light */
.comfort-card-badge-dark {
    background: rgba(25, 135, 84, 0.06);
    color: #198754;
    border-color: rgba(25, 135, 84, 0.1);
}

.comfort-card-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-red);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.comfort-macro-card:hover .comfort-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.comfort-card-icon-dark {
    background: #198754;
    color: white;
}

/* Card Body */
.comfort-card-body {
    padding: 24px 32px 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.comfort-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.comfort-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.comfort-list li:last-child {
    border-bottom: none;
}

.comfort-list li:hover {
    padding-left: 6px;
}

.comfort-list li i {
    color: var(--primary-red);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.comfort-outdoor .comfort-list li i {
    color: #198754;
}

.comfort-list li strong {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a1a1a;
}

.comfort-list li span {
    display: block;
    font-size: 0.78rem;
    color: #888;
    margin-top: 2px;
}

/* Card Badge */
.comfort-card-badge {
    background: rgba(136, 42, 39, 0.06);
    color: var(--primary-red);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(136, 42, 39, 0.1);
}

.comfort-card-badge-dark {
    background: rgba(25, 135, 84, 0.06);
    color: #198754;
    border-color: rgba(25, 135, 84, 0.1);
}

.comfort-card-cta {
    align-self: flex-start;
    transition: all 0.3s;
}

.comfort-card-cta:hover {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════ */
/* COUNTER SECTION                                   */
/* ═══════════════════════════════════════════════════ */
.home-counter-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1f1e 50%, #111 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.home-counter-section::before {
    content: '';
    position: absolute;
    top: -60%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(136, 42, 39, 0.1) 0%, transparent 70%);
    transform: translateX(-50%);
    z-index: 0;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.counter-item {
    text-align: center;
    padding: 20px;
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    display: inline;
}

.counter-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: #ffc107;
    display: inline;
}

.counter-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.counter-sublabel {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════ */
/* SECONDARY HERO (Quote)                            */
/* ═══════════════════════════════════════════════════ */
.bg-secondary-hero {
    background-color: #111;
    background-image: url('../assets/images/lavoro1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-overlay-gradient {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
}

.font-serif {
    font-family: 'Times New Roman', serif;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-red);
    opacity: 0.5;
}

/* ═══════════════════════════════════════════════════ */
/* ENGINEERING / PRECISION                           */
/* ═══════════════════════════════════════════════════ */
.grayscale-hover {
    transition: filter 0.5s ease;
}

.grayscale-hover:hover {
    filter: grayscale(20%);
}

/* ═══════════════════════════════════════════════════ */
/* CONTACT SECTION                                   */
/* ═══════════════════════════════════════════════════ */
.home-contact {
    background: linear-gradient(135deg, var(--dark-bg), #2a2a2a);
    color: white;
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.home-contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(136, 42, 39, 0.12) 0%, transparent 70%);
    z-index: 0;
}

.home-contact .container {
    position: relative;
    z-index: 1;
}

.form-control-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px;
    border-radius: 10px;
}

.form-control-dark:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-red);
    color: white;
    box-shadow: none;
}

.form-control-dark::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════════════════ */
/* MICRO INTERACTIONS                                */
/* ═══════════════════════════════════════════════════ */
.btn-hover-scale {
    transition: transform var(--duration-fast) ease, background var(--duration-fast);
}

.btn-hover-scale:hover {
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════ */
/* RESPONSIVE                                        */
/* ═══════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .trust-strip-grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .home-stats-bar {
        padding: 12px 16px;
        border-radius: 16px;
    }

    .home-stat {
        padding: 0 12px;
    }

    .home-stat-number {
        font-size: 1.4rem;
    }

    .home-stat-plus {
        font-size: 1.1rem;
    }

    .home-stat-label {
        font-size: 0.55rem;
    }

    .home-stat-divider {
        height: 28px;
    }

    .trust-strip-grid {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        padding: 0 20px;
    }

    .trust-strip-item {
        font-size: 0.8rem;
    }

    .comfort-card-header {
        padding: 20px 24px;
    }

    .comfort-card-body {
        padding: 20px 24px 24px;
    }

    .comfort-card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        border-radius: 12px;
    }

    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .counter-number {
        font-size: 2.2rem;
    }

    .counter-suffix {
        font-size: 1.5rem;
    }

    .counter-label {
        font-size: 0.72rem;
    }

    .hero-buttons .btn-hero,
    .hero-buttons .btn {
        width: 100%;
    }
}