/* ANTONELLACATANIA.NET - HOME PAGE */
/* ============================================
   HERO
   ============================================ */
.hero-section {
    background: var(--light);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.hero-highlight {
    color: var(--primary);
    position: relative;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.hero-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* Decorazione hero destra */
.hero-decoration {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.18;
}

.hero-circle--1 {
    width: 280px;
    height: 280px;
    background: var(--primary);
    top: 20px;
    right: 20px;
}

.hero-circle--2 {
    width: 180px;
    height: 180px;
    background: var(--secondary);
    bottom: 30px;
    left: 30px;
}

.hero-circle--3 {
    width: 120px;
    height: 120px;
    background: var(--accent);
    top: 40px;
    left: 60px;
    opacity: 0.25;
}

.hero-quote {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    padding: 1.5rem 1.8rem;
    box-shadow: 0 8px 30px rgba(196, 116, 138, 0.12);
    max-width: 300px;
}

.hero-quote p {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-section { padding: 3.5rem 0 3rem; }
    .hero-title { font-size: 1.9rem; }
    .hero-text { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero-actions .ms-3 { margin-left: 0 !important; }
}

/* ============================================
   INTRO
   ============================================ */
.intro-section {
    background: var(--light-alt);
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 0;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 0;
}

/* ============================================
   CATEGORIE
   ============================================ */
.categories-section {
    background: var(--light);
    padding: 5rem 0;
}

/* Layout fluid con immagine laterale */
.categories-fluid {
    padding-left: 0;
    padding-right: 0;
}

.categories-img-col {
    position: sticky;
    top: 0;
    align-self: flex-start;
    overflow: hidden;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1rem;
}

.categories-img-col .image-box-img {
    display: block;
    width: 100%;
}

.categories-img-col .image-box-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contenuto centrale: padding minimo, le card usano tutto lo spazio disponibile */
.categories-inner {
    padding: 0 2rem;
}

.section-header {
    margin-bottom: 1rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    text-decoration: none;
    color: var(--text-dark);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 14px 0 0 14px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(196, 116, 138, 0.14);
    border-color: var(--primary-light);
    color: var(--text-dark);
    text-decoration: none;
}

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

.category-card__icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.category-card__icon svg {
    width: 22px;
    height: 22px;
    fill: var(--primary);
}

.category-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.category-card__desc {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.category-card__count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.03em;
}

/* ============================================
   ULTIMI POST
   ============================================ */
.posts-section {
    background: var(--light-alt);
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}

.post-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(196, 116, 138, 0.12);
}

.post-card__image {
    height: 190px;
    overflow: hidden;
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-card__image img {
    transform: scale(1.04);
}

.post-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card__category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
}

.post-card__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.post-card__title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}

.post-card__title a:hover {
    color: var(--primary);
}

.post-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.post-card__date {
    font-size: 0.82rem;
    color: var(--text-light);
}

.post-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease;
}

.post-card__link:hover {
    color: var(--primary-dark);
    gap: 0.55rem;
}

.post-card__link svg {
    fill: currentColor;
}

/* ============================================
   CTA FINALE
   ============================================ */
.cta-section {
    background: var(--light);
    padding: 5rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 60%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.5;
}

.cta-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
}

.cta-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 2rem;
    position: relative;
}

@media (max-width: 768px) {
    .cta-box { padding: 2.5rem 1.5rem; }
    .cta-title { font-size: 1.5rem; }
    .categories-section,
    .posts-section,
    .cta-section { padding: 3.5rem 0; }
}
