/* ============================================
   HOME.CSS - Stili specifici Homepage
   ============================================ */

/* Stile body specifico per l'homepage */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* HERO SECTION - Background Responsive */
#hero-original {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Mobile First - 480px */
#hero-original {
    background-image: url('../img/fcatania480.webp');
}

/* Tablet - 768px */
@media (min-width: 481px) {
    #hero-original {
        background-image: url('../img/fcatania768.webp');
    }
}

/* Desktop Small - 1024px */
@media (min-width: 769px) {
    #hero-original {
        background-image: url('../img/fcatania1024.webp');
    }
}

/* Desktop Medium - 1366px */
@media (min-width: 1025px) {
    #hero-original {
        background-image: url('../img/fcatania1366.webp');
    }
}

/* Desktop Large - 1920px */
@media (min-width: 1367px) {
    #hero-original {
        background-image: url('../img/fcatania1920.webp');
    }
}

/* Desktop XL - 2560px (4K) */
@media (min-width: 1921px) {
    #hero-original {
        background-image: url('../img/fcatania2560.webp');
    }
}

/* Hero Content Container */
.hero-content {
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo-home {
    max-width: 700px;
    width: 100%;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
}

/* Heading */
.hero-content h1 {
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #hero-original {
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .logo-home {
        max-width: 90%;
    }
}

/* ============================================
   STILI SPECIFICI HOMEPAGE
   ============================================ */

/* Hero Brutale (sezione specifica dell'homepage) */
#hero-brutal {
    position: relative;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    min-height: calc(100vh + 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 98, 0, 0.03) 2px,
            rgba(255, 98, 0, 0.03) 4px
        );
    pointer-events: none;
}

.hero-content-center {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    animation: slideDown 0.6s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-primary {
    background: var(--primary);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: #ff7a1f;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 98, 0, 0.3);
}

/* Proof Bar */
.proof-bar {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 1.5rem;
    z-index: 3;
    margin-top: auto;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
}

.proof-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Il Problema Section */
.problems-grid {
    margin-top: 3rem;
}

.problem-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(255, 98, 0, 0.05);
}

.problem-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.problem-card p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.problem-solution {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 98, 0, 0.1);
    border-radius: 15px;
}

.problem-solution .lead {
    font-size: 1.5rem;
    margin: 0;
}

/* FC Framework Showcase */
.comparison-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.comparison-card.before {
    border-left: 5px solid var(--danger);
}

.comparison-card.after {
    border-left: 5px solid var(--secondary);
}

.comparison-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-list {
    list-style: none;
    padding: 0;
}

.comparison-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list .bad,
.comparison-list .good {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Case Study Box */
.case-study-box {
    background: linear-gradient(135deg, rgba(255, 98, 0, 0.08) 0%, rgba(255, 98, 0, 0.02) 100%);
    border: 2px solid rgba(255, 98, 0, 0.2);
    border-radius: 15px;
    padding: 3rem;
    margin: 4rem 0;
}

.case-study-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.case-study-box h3 i {
    color: var(--primary);
    font-size: 2rem;
}

.case-study-box > p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.case-study-box a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.case-study-box a:hover {
    color: #ff7a1f;
    border-bottom-color: #ff7a1f;
}

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

.case-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.case-stat strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.case-stat span {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: 0.8;
}

/* Features Grid */
.features-grid {
    margin-top: 4rem;
}

.feature-box {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 0.95rem;
    opacity: 0.7;
    margin: 0;
}

/* Framework Note */
.framework-note {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 2rem;
    background: rgba(255, 98, 0, 0.05);
    border-radius: 10px;
    margin: 0;
}

/* Skills Section */
.skills-grid {
    margin-top: 3rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(255, 98, 0, 0.05);
}

.skill-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.skill-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.skill-card > p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.skill-card ul {
    list-style: none;
    padding: 0;
}

.skill-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.skill-card ul li::before {
    content: "\25b8";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Portfolio NDA */
.nda-explanation {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.nda-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.nda-badge i {
    font-size: 1.5rem;
}

.nda-explanation .lead {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.nda-explanation p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Filosofia */
.filosofia-content {
    max-width: 1000px;
    margin: 0 auto;
}

.filosofia-quote {
    background: rgba(255, 255, 255, 0.05);
    border-left: 5px solid var(--primary);
    padding: 2.5rem 3rem;
    margin-bottom: 4rem;
}

.filosofia-quote p {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.principle {
    text-align: center;
}

.principle i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.principle h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.principle p {
    font-size: 1rem;
    opacity: 0.9;
}

/* CTA Finale */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #ff7a1f 100%);
    color: white;
    padding: 5rem 0;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-upwork,
.btn-fiverr {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 3px solid white;
}

.btn-upwork {
    background: white;
    color: #14a800;
}

.btn-upwork:hover {
    background: #14a800;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-fiverr {
    background: white;
    color: #1dbf73;
}

.btn-fiverr:hover {
    background: #1dbf73;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-note {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-note a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.cta-note a:hover {
    opacity: 0.8;
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
