﻿/* Importazione Font */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --primary-color: #800020; /* Bordeaux */
    --primary-dark: #5a0016;
    --second-color: #293986;
    --text-dark: #2c3e50;
    --bg-light: #f8f9fa;
    --gold-accent: #d4af37;
}
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Impedisce lo scroll laterale causato dalle animazioni che entrano da destra/sinistra */
    margin: 0;
    padding: 0;
    position: relative; /* Stabilizza il layout */
}
.navbar-custom {
    z-index: 1030; /* Bootstrap standard z-index per fixed-top */
}
[data-aos] {
    pointer-events: none; /* Evita click su elementi invisibili */
}

    [data-aos].aos-animate {
        pointer-events: auto;
    }

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden; /* Importante per le animazioni laterali */
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* --- Navbar --- */
.navbar-custom {
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); /* Ombra più morbida */
    padding: 5px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--primary-color) !important;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logonavbar {
    width: 50px; /* Ridotto leggermente per proporzione */
    height: auto;
    margin-right: 10px;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin-left: 15px;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

    /* Effetto sottolineatura animata menu */
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 5px;
        left: 0;
        background-color: var(--primary-color);
        transition: width 0.3s;
    }

    .nav-link:hover::after {
        width: 100%;
    }

/* --- MODERN BUTTON STYLE --- */
.btn-bordeaux {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 30px;
    border-radius: 50px; /* Pill shape */
    border: 2px solid var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(128, 0, 32, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

    .btn-bordeaux:hover {
        background-color: white;
        color: var(--primary-color);
        border-color: var(--primary-color);
        transform: translateY(-3px); /* Si alza leggermente */
        box-shadow: 0 10px 20px rgba(128, 0, 32, 0.25); /* L'ombra aumenta */
    }

/* Rimuovi conflitti generici */
.btn:focus, .btn:active {
    box-shadow: none !important;
}

/* --- Utilities & Sections --- */
.section-padding {
    padding: 90px 0;
}

.bg-bordeaux {
    background-color: var(--primary-color);
    color: white;
}

.text-bordeaux {
    color: var(--primary-color);
}

.line-dec {
    width: 70px;
    height: 3px;
    background-color: var(--gold-accent); /* Tocco oro sulla linea */
    margin: 20px 0 30px;
}

/* Cards Hover Effect */
.card {
    transition: all 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Footer */
footer {
    background-color: #111;
    color: #bbb;
    padding: 70px 0 20px;
}

    footer h5 {
        color: white;
        margin-bottom: 25px;
        font-family: 'Playfair Display', serif;
    }

    footer a {
        color: #bbb;
        text-decoration: none;
        transition: 0.3s;
    }

        footer a:hover {
            color: var(--gold-accent);
            padding-left: 5px;
        }
