/* 1. ROOT & BASICS */
:root {
    --color-pistacchio: #93C572;
    --color-oro: #D4AF37;
    --color-antracite: #1A1A1A;
    --color-crema: #F9F7F2;

    --font-heading2: 'Lavishly Yours', cursive;
    --font-heading: 'Fira Sans', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    background-color: var(--color-crema);
    color: var(--color-antracite);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* 2. NAVBAR (Solida) */
.bedda-nav {
    background-color: var(--color-antracite) !important;
    padding: 1.0rem 0;
    height: 90px;
    z-index: 1100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo-main {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-main:hover {
    transform: scale(1.02);
}

.nav-link {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin: 0 15px;
}

.nav-link:hover,
.active-link {
    color: #ffffff !important;
}

/* Container del menu a tendina */
.dropdown-menu {
    background-color: var(--color-antracite);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    margin-top: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 0;
}

/* Stile delle singole voci */
.dropdown-item {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.75rem;

    letter-spacing: 0.2em;
    font-weight: 500;
    text-transform: uppercase;
    padding: 15px 25px;
    transition: all 0.3s ease;
    background: transparent;
}

/* Hover sulle voci del menu */
.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    padding-left: 30px;
}


.dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
}

/* Colore oro per il link attivo */
.nav-link.active,
.dropdown-item.active {
    color: var(--color-oro) !important;
    font-weight: 700 !important;
    background-color: transparent !important;
}

/* 3. HERO SECTION */
.hero-section {
    padding-top: 120px;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-logo-huge {
    display: flex;
    align-items: baseline;
    justify-content: center;
    animation: fadeIn 1.5s ease-in-out;
}

.logo-part-1 {
    font-family: var(--font-heading2);
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 500;
    color: var(--color-antracite);
}

.logo-part-2 {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 100;
    color: var(--color-pistacchio);
    letter-spacing: -2px;
}

/* 4. RECIPE CARDS */
.bedda-luxury-card {
    background: transparent;
    border: none;
    animation: fadeIn 0.8s ease-in-out;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: all 0.8s ease;
}

.bedda-luxury-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Macro Overlay */
.macro-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(26, 26, 26, 0.95);
    display: flex;
    align-items: center;
    justify-content: space-around;
    transition: bottom 0.5s ease;
}

.bedda-luxury-card:hover .macro-overlay {
    bottom: 0;
}

.v-detail {
    text-align: center;
    color: #fff;
}

.v-detail span {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.v-detail small {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: #888;
}

/* Recipe Info */
.recipe-number {
    font-family: var(--font-heading);
    letter-spacing: 0.4em;
    font-size: 0.65rem;
    color: var(--color-oro);
    margin: 20px 0 10px;
    display: block;
}

.recipe-title {
    font-family: var(--font-heading);
    color: var(--color-antracite);
    font-size: 1.8rem;
    font-weight: 300;
}

.read-more {
    text-decoration: none;
    color: var(--color-oro);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 5px;
    transition: 0.3s ease;
}

.read-more:hover {
    color: var(--color-pistacchio);
    border-color: var(--color-pistacchio);
    padding-right: 15px;

}

.go-to {
    text-decoration: none;
    color: var(--color-pistacchio);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-pistacchio);
    padding-bottom: 5px;
    transition: 0.3s ease;
}

.go-to:hover {
    color: var(--color-oro);
    border-color: var(--color-oro);
    padding-right: 15px;
}

/* 5. FOOTER */
.bedda-footer {
    background-color: var(--color-antracite);
    padding: 100px 0 40px;
    color: white;
}

.footer-logo {
    font-family: var(--font-heading2);
    font-size: 2.5rem;
}

.footer-logo span {
    color: var(--color-pistacchio);
    font-family: var(--font-heading);
}

.footer-mission {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 20px 0;
}

/* Social Icons Style */
.social-links a {
    color: white;
    font-size: 1.2rem;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--color-pistacchio);
}

.footer-title {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--color-pistacchio);
}

/* Newsletter */
.newsletter-box {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
}

.newsletter-box input {
    background: transparent;
    border: none;
    color: white;
    font-size: 0.8rem;
    width: 100%;
    outline: none;
}

.newsletter-box button {
    background: transparent;
    border: none;
    color: var(--color-oro);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Legal & Copyright */
.copyright,
.legal-link {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

/* 6. ANIMATIONS & RESPONSIVE */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--color-antracite);
        padding: 20px;
        margin-top: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}