/**
 * Stili per la Landing Page Google Ads
 *
 * @package Aryon_Theme
 */

/* ==========================================================================
   Layout Generale e Colori
   ========================================================================== */
.ads-landing-main {
    background-color: #ffffff;
}

.ads-section {
    padding: 4rem 1.5rem;
    border-bottom: 1px solid #f0f2f5;
}

.ads-section:last-child {
    border-bottom: none;
}

.ads-container {
    max-width: 1100px;
    margin: 0 auto;
}

.ads-section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #1e2a3b;
}

.ads-section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #5a677d;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* ==========================================================================
   Sezione Hero
   ========================================================================== */
.ads-hero {
    position: relative;
    padding: 6rem 1.5rem;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ads-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 95, 153, 0.85), rgba(0, 122, 204, 0.75));
    z-index: 1;
}

.ads-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.ads-hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.ads-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* ==========================================================================
   Sezione Progetti
   ========================================================================== */
.ads-projects-section {
    background-color: #f7f8fa;
}

.ads-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ads-project-card-link {
    text-decoration: none;
    color: inherit;
}

.ads-project-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ads-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(2, 108, 179, 0.15);
}

.ads-project-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.ads-project-card:hover .ads-project-image {
    transform: scale(1.05);
}

.ads-project-content {
    padding: 1.5rem;
}

.ads-project-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.ads-project-cta {
    font-weight: 600;
    color: #007acc;
}

.ads-all-projects-link {
    text-align: center;
    margin-top: 3rem;
}

/* ==========================================================================
   Sezione CTA Finale
   ========================================================================== */
.ads-final-cta {
    background: linear-gradient(45deg, #1e2a3b, #2c3e50);
    color: #fff;
    text-align: center;
}

/* ==========================================================================
   Pulsanti
   ========================================================================== */
.button-cta-vibrant {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #1e2a3b !important;
    background-color: #ffc107; /* Giallo vibrante */
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.button-cta-vibrant:hover {
    background-color: #ffca2c;
    transform: scale(1.05);
}

.button-secondary {
    display: inline-block;
    padding: 12px 30px;
    font-weight: bold;
    color: #1e2a3b !important;
    background-color: transparent;
    border: 2px solid #cdd5e0;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.button-secondary:hover {
    background-color: #fff;
    border-color: #1e2a3b;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media screen and (max-width: 768px) {
    .ads-hero h1 {
        font-size: 2.5rem;
    }
    .ads-hero-subtitle {
        font-size: 1.1rem;
    }
    .ads-section {
        padding: 3rem 1rem;
    }
}