/* --- Pro Level Up Enhancements v3.2 (Clean Industrial-Yellow) --- */

:root {
    --clr-yellow-brand: #F4B400;
    /* Yellow Brand */
    --clr-nav-text: rgba(255, 255, 255, 0.9);
    --header-blur: blur(8px);
}

/* 0. Header Refinement */
header {
    background: rgba(15, 23, 42, 0.6);
    /* Slightly transparent */
    backdrop-filter: var(--header-blur);
    padding: 1rem 0;
    /* Reduced height (was 1.5rem) */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
    padding: 0.6rem 0;
    background: rgba(2, 6, 23, 0.95);
    /* Maintained scroll behavior */
}

/* Ensure Logo Size is Big (25% increase enforced) */
.logo img {
    height: 110px;
    /* Already increased previously, keeping it explicit */
}

/* 1. Navigation Links (Uniform & Clean) */
.nav-links {
    gap: 2.5rem;
    /* Adjusted spacing */
}

.nav-links a {
    color: var(--clr-nav-text) !important;
    /* Force White 90% */
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    /* Good contrast */
}

/* Hover Effect for ALL links */
.nav-links a:hover {
    color: var(--clr-yellow-brand) !important;
    text-shadow: 0 0 10px rgba(244, 180, 0, 0.4);
}

/* Remove Blue Underlines from default style if present, use yellow on hover */
.nav-links a::after {
    background-color: var(--clr-yellow-brand) !important;
    height: 2px;
    bottom: -4px;
}

/* 2. "CONTATTI" Special Styling (Industrial Minimal) */
.nav-links .nav-link-highlight {
    font-weight: 800 !important;
    /* Bold */
    color: var(--clr-yellow-brand) !important;
    /* Yellow Brand */
    border: none !important;
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.nav-links .nav-link-highlight:hover {
    filter: brightness(1.1);
    /* Brightness +10% */
    transform: none !important;
    /* No movement */
}

/* Override previous button styles if class persists or logic changes */
.nav-links .nav-btn-contact {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    color: var(--clr-yellow-brand) !important;
    padding: 0 !important;
    border-radius: 0 !important;
}


/* 1a. Animated Call Button Pulse (Keep existing pulse but ensure color match) */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 180, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(244, 180, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(244, 180, 0, 0);
    }
}

.btn-pulse {
    background: linear-gradient(135deg, #F4B400 0%, #d97706 100%);
    /* Updated Yellow */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* ... keep other props */
}

/* 2. Sleek Location Badge */
.location-badge {
    /* ... keep existing ... */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.5em;
    /* Relative to H1 */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4em 1.2em;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    margin-top: 1rem;
    width: fit-content;
}

.location-badge::before {
    content: "📍";
    font-size: 1.2em;
}

/* 4. Scroll Down Indicator (Keep existing) */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    animation: fadeIn 2s 1s forwards;
    z-index: 10;
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes scrollWheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 24px;
        opacity: 0;
    }
}

/* 5. Hero Text Refinement */
.hero-title-main {
    display: block;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    /* Deep shadow for contrast against any bg */
}

.hero-subtitle-text {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border-left: 3px solid var(--clr-yellow-brand);
    /* Accent Line Yellow */
    padding-left: 1.5rem;
    /* Indent text */
}

/* Glass Buttons Refined */
.btn-glass-pro {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-glass-pro:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}