/* ============================================================
   AURA_STYLE.CSS — Layout principale Aura Mentis
   Palette ispirata al logo: bordeaux, rosso caldo, oro
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary:        #8B1A1A;   /* bordeaux scuro */
    --primary-dark:   #6B1212;   /* bordeaux più scuro */
    --primary-light:  #A52020;   /* rosso caldo */
    --gold:           #C8922A;   /* oro del logo */
    --gold-light:     #D9A840;   /* oro medio */
    --gold-pale:      #F5EED8;   /* oro saturo per accenti */
    --warm-bg:        #F6F4F1;   /* grigio pietra chiaro */
    --warm-bg-dark:   #ECEAE6;   /* grigio pietra medio */
    --text-dark:      #1A1A1A;   /* nero quasi puro */
    --text-mid:       #3A1A1A;   /* bordeaux testo scuro */
    --text-muted:     #6B6260;   /* grigio neutro */
    --border-light:   #E0DCDA;   /* bordo grigio freddo */
    --shadow-warm:    rgba(139, 26, 26, 0.07);
}

/* ---- BASE ---- */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: #ffffff;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

/* ---- NAVBAR ---- */
.navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 16px var(--shadow-warm);
    border-bottom: 1px solid var(--border-light) !important;
}

.navbar-brand span:first-child {
    color: var(--primary) !important;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem !important;
    font-weight: 700;
}
.navbar-brand span:last-child {
    color: var(--gold) !important;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem !important;
    font-weight: 400;
}

.navbar .nav-link {
    color: var(--text-mid) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
    letter-spacing: 0.02em;
}
.navbar .nav-link:hover {
    color: var(--primary) !important;
}
.navbar .nav-link.active {
    color: var(--primary) !important;
    border-bottom: 2px solid var(--gold);
}

/* ---- BOTTONI ---- */
.btn {
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.55rem 1.4rem;
    transition: all 0.25s;
    letter-spacing: 0.03em;
}

.btn-primary {
    background: var(--primary);
    border: none;
    color: white;
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(139, 26, 26, 0.25);
}
.btn-primary:focus {
    box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.2);
}

.btn-outline-primary {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-gold {
    background: var(--gold);
    border: none;
    color: white;
}
.btn-gold:hover {
    background: #B07820;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(200, 146, 42, 0.3);
}

/* ---- CARD ---- */
.card {
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-warm);
    transition: transform 0.25s, box-shadow 0.25s;
    background: #ffffff;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(139, 26, 26, 0.12);
}
.card-body {
    padding: 1.8rem;
}

/* ---- HERO SECTION ---- */
.hero-section {
    background: linear-gradient(150deg, #F6F4F1 0%, #ffffff 60%, #ECEAE6 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139,26,26,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.hero-section h1 {
    font-size: 3.5rem;
    color: var(--primary);
    font-weight: 700;
}
.hero-section .lead {
    color: var(--text-muted);
    font-size: 1.15rem;
}
.hero-section .h5 {
    color: var(--gold) !important;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 500;
}

/* ---- SECTION TITLE ---- */
.section-title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

/* ---- EXTERNAL LINK CARDS ---- */
.external-link-card {
    background: var(--warm-bg);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-light);
}
.external-link-card:hover {
    background: white;
    border-color: var(--gold);
    box-shadow: 0 24px 48px rgba(139, 26, 26, 0.1);
    transform: translateY(-4px);
}
.external-link-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.external-link-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.external-link-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ---- TEST CARD ---- */
.test-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
}
.test-card .test-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 1rem 1.5rem;
    color: white;
}
.test-card .test-header h5 {
    color: white;
    margin: 0;
}
.test-card .test-body {
    padding: 1.5rem;
}

/* ---- FORM ---- */
.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid var(--border-light);
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #ffffff;
}
.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 146, 42, 0.15);
    outline: none;
}
.form-label {
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

/* ---- SEZIONE BG ALTERNATA ---- */
.bg-primary-light {
    background: var(--warm-bg) !important;
}
.bg-gold-pale {
    background: var(--gold-pale) !important;
}

/* ---- DIVIDERS ---- */
.divider-gold {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border: none;
    margin: 3rem 0;
}

/* ---- FOOTER ---- */
footer {
    color: var(--text-muted);
    font-size: 0.88rem;
    background: #ECEAE6 !important;
    border-top: 1px solid var(--border-light) !important;
}

/* ---- UTILITIES ---- */
.text-primary-aura {
    color: var(--primary) !important;
}
.text-gold {
    color: var(--gold) !important;
}
.border-primary-light {
    border-color: var(--border-light) !important;
}

/* ---- BADGE ---- */
.badge-aura {
    background: var(--gold-pale);
    color: var(--gold);
    border: 1px solid var(--gold-light);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--warm-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-light);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ---- ALERT ---- */
.alert-success {
    background: #F6F4F1;
    border-color: var(--gold-light);
    color: var(--primary-dark);
}
.alert-danger {
    background: #FDF5F5;
    border-color: #D4A0A0;
    color: var(--primary-dark);
}
/* ============================================================
   AURA_ADDITIONS.CSS — Aggiunte per layout editoriale v2
   Da appendere ad aura_style.css
   ============================================================ */

/* ---- FOTO CARD EDITORIALI (sezione percorsi) ---- */
.aura-photo-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}
.aura-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}
.aura-photo-card:hover .aura-photo-img {
    transform: scale(1.06);
}
.aura-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,10,10,0.82) 0%, rgba(28,10,10,0.1) 55%, transparent 100%);
    transition: opacity 0.4s;
}
.aura-photo-card:hover .aura-photo-overlay {
    opacity: 0.9;
}
.aura-photo-num {
    position: absolute;
    top: 1.2rem;
    left: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: rgba(200,146,42,0.22);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.aura-photo-text {
    position: absolute;
    bottom: 1.8rem;
    left: 2rem;
    right: 2rem;
}
.aura-photo-text h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    color: #ffffff;
    margin-bottom: 0.4rem;
    font-weight: 700;
}
.aura-photo-text p {
    color: rgba(255,255,255,0.72);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.6;
}

/* ---- HERO LOGO PULSE ---- */
@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(200,146,42,0.4)); }
    50%       { filter: drop-shadow(0 0 55px rgba(200,146,42,0.65)); }
}

/* ---- SCROLL REVEAL ---- */
.aura-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}
.aura-reveal.aura-from-left  { transform: translateX(-48px); }
.aura-reveal.aura-from-right { transform: translateX(48px); }
.aura-reveal.aura-zoom       { transform: scale(0.95); opacity: 0; }
.aura-reveal.aura-visible    { opacity: 1; transform: translateY(0) translateX(0) scale(1); }
[data-aura-delay="100"] { transition-delay: 0.12s; }
[data-aura-delay="200"] { transition-delay: 0.22s; }
[data-aura-delay="300"] { transition-delay: 0.32s; }




/* ============================================================
   AURA PHOTO CARDS — Effetti sezione "Per chi lavoriamo"
   Da aggiungere in fondo ad aura_style.css
   ============================================================ */

.aura-photo-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    /* Ombra calda bordeaux */
    box-shadow:
        0 8px 32px rgba(139, 26, 26, 0.18),
        0 2px 8px rgba(0, 0, 0, 0.10);
    transition:
        box-shadow 0.4s ease,
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Bordo sinistro oro — cresce all'hover */
.aura-photo-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 4px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--gold),
        var(--gold-light),
        transparent
    );
    border-radius: 0 2px 2px 0;
    z-index: 10;
    opacity: 0.85;
    transition: top 0.35s ease, bottom 0.35s ease, opacity 0.35s ease;
}

/* Hover: ombra profonda + salita + ring oro interno */
.aura-photo-card:hover {
    box-shadow:
        0 20px 56px rgba(139, 26, 26, 0.28),
        0 6px 20px rgba(0, 0, 0, 0.16),
        inset 0 0 0 1px rgba(200, 146, 42, 0.28);
    transform: translateY(-5px);
}

/* Bordo sx si estende */
.aura-photo-card:hover::before {
    top: 4%;
    bottom: 4%;
    opacity: 1;
}

/* Overlay doppio: sfumatura basso + tocco bordeaux a sinistra */
.aura-photo-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(28, 10, 10, 0.88) 0%, rgba(28, 10, 10, 0.12) 52%, transparent 100%),
        linear-gradient(to right, rgba(139, 26, 26, 0.14) 0%, transparent 40%);
    transition: opacity 0.4s ease;
}
.aura-photo-card:hover .aura-photo-overlay {
    opacity: 0.93;
}

/* Numero decorativo — si illumina all'hover */
.aura-photo-num {
    position: absolute;
    top: 1.2rem;
    left: 1.8rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(200, 146, 42, 0.22);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transition: color 0.4s ease, transform 0.4s ease;
}
.aura-photo-card:hover .aura-photo-num {
    color: rgba(200, 146, 42, 0.48);
    transform: scale(1.06);
}

/* Testo — sale leggermente all'hover */
.aura-photo-text {
    position: absolute;
    bottom: 1.8rem;
    left: 2.2rem;
    right: 2rem;
    transform: translateY(4px);
    transition: transform 0.4s ease;
}
.aura-photo-card:hover .aura-photo-text {
    transform: translateY(0);
}

/* Titolo con linea oro sottile */
.aura-photo-text h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(200, 146, 42, 0.45);
    display: inline-block;
}

/* Descrizione */
.aura-photo-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    margin: 0.5rem 0 0;
    line-height: 1.65;
    max-width: 340px;
}

/* Zoom immagine */
.aura-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.aura-photo-card:hover .aura-photo-img {
    transform: scale(1.07);
}