:root {
    /* Colors */
    --color-primary: #0a4f96; /* Blu principale */
    --color-secondary: #0077b6; /* Blu chiaro */
    --color-accent: #fca311; /* Giallo/Arancio */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg-light: #f8fbff;
    --color-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --border-radius: 30px;
    --border-radius-sm: 16px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,119,182,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-yellow {
    color: var(--color-accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-primary:hover {
    background-color: #ffb700;
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: #0096c7;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 119, 182, 0.6);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(0, 119, 182, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 119, 182, 0);
    }
}

.btn-animated {
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlowHakuna {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 127, 0.6);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 0, 127, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 127, 0);
    }
}

.btn-animated-hakuna {
    animation: pulseGlowHakuna 2s infinite ease-in-out;
}

.btn-hakuna {
    background: linear-gradient(45deg, #ff007f, #fca311);
    color: var(--color-white);
    border: 2px solid var(--color-white);
    font-size: 1.1rem;
    padding: 14px 28px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-hakuna:hover {
    background: linear-gradient(45deg, #fca311, #ff007f);
    color: var(--color-white);
}

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

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-yellow {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    position: relative;
}



.nav-mobile-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1001;
}

/* Bottone "Altro" sempre visibile */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--color-primary);
    border-radius: 30px;
    padding: 8px 18px;
    cursor: pointer;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    line-height: 1;
}

.mobile-menu-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
}

.mobile-menu-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.menu-btn-label {
    font-size: 0.9rem;
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    z-index: 998;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    border-top: 2px solid rgba(0,119,182,0.1);
}

.nav-dropdown.active {
    max-height: 400px;
    opacity: 1;
}

.nav-dropdown-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 20px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.nav-dropdown-inner a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-primary);
    text-transform: uppercase;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-dropdown-inner a:hover,
.nav-dropdown-inner a.active {
    background-color: var(--color-bg-light);
    color: var(--color-secondary);
}

.nav-dropdown-inner a.active::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-secondary);
}


.nav-brand-cursive {
    font-family: 'Caveat', cursive;
    color: var(--color-secondary);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

@media (max-width: 1100px) {
    .nav-brand-cursive {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .nav-brand-cursive {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.8rem;
    }
    .nav-container {
        display: flex;
        justify-content: space-between;
        position: relative;
    }
    .nav-actions {
        display: none;
    }
    .nav-dropdown-inner {
        flex-direction: column;
        padding: 10px 20px;
    }
    .nav-dropdown-inner a {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        border-radius: 0;
    }
    .nav-dropdown-inner a:last-child {
        border-bottom: none;
    }
}

/* Fix sovrapposizione su smartphone */
@media (max-width: 600px) {
    .nav-container {
        justify-content: flex-start;
        gap: 0;
    }
    .nav-brand-cursive {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        font-size: 1.5rem;
        flex: 1;
        text-align: center;
        z-index: auto;
    }
    .nav-mobile-wrapper {
        flex-shrink: 0;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px; /* Space for navbar */
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-text-area {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-subtitle {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--color-white);
    color: var(--color-secondary);
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
    border: 1px solid rgba(0,119,182,0.1);
}

.hero-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-logo-img {
    width: 180px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0;
}

.hero h1 span {
    color: var(--color-accent);
    font-family: 'Caveat', cursive;
    font-size: 4rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Quick Services */
.quick-services {
    padding: 60px 0;
    background-color: var(--color-white);
    position: relative;
    z-index: 3;
}

.quick-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service-item {
    text-align: center;
    padding: 20px 10px;
    border-right: 1px solid #e2e8f0;
}

.service-item:last-child {
    border-right: none;
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    color: var(--color-secondary);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: transform 0.3s;
}

.service-item:hover .icon-circle {
    transform: scale(1.1);
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.service-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.service-item p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Activities Cards */
.activities {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Caveat', cursive;
    font-size: 3.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--color-primary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
    text-align: center;
}

.card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.card-body p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Banner Blue */
.banner-blue {
    background: linear-gradient(135deg, #0a4f96 0%, #0077b6 100%);
    padding: 80px 0;
    color: var(--color-white);
}

.banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-text h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.banner-features {
    display: flex;
    gap: 20px;
}

.banner-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 20px;
}

.wa-box {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 30px;
    color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.wa-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-wa {
    font-size: 3rem;
    color: #25D366;
}

.wa-header h4 {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.wa-header h3 {
    font-size: 1.3rem;
}

.wa-box .btn {
    width: 100%;
}

/* Reviews and Map */
.reviews-map {
    padding: 80px 0;
    background-color: var(--color-white);
}

.reviews-header {
    margin-bottom: 40px;
}

.reviews-header h2 {
    font-family: 'Caveat', cursive;
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--color-primary);
}

.reviews-map-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.reviews-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.review-card {
    flex: 1;
    min-width: 250px;
    background-color: var(--color-bg-light);
    padding: 24px;
    border-radius: var(--border-radius);
    border: 1px solid #eef2f6;
}

.stars {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.review-card p {
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.reviewer span {
    font-weight: 600;
    font-size: 0.9rem;
}

.reviews-dots {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
}

.dot.active {
    background-color: var(--color-secondary);
}

.map-card {
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.map-info {
    padding: 24px;
}

.map-info h3 {
    margin-bottom: 10px;
}

.map-info p {
    color: var(--color-text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.map-link {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.map-placeholder {
    flex-grow: 1;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #9ca3af;
    min-height: 200px;
}

/* Footer */
.site-footer {
    background-color: #0d47a1;
    color: var(--color-white);
    position: relative;
    padding-top: 40px;
}

.footer-wave {
    position: absolute;
    top: -40px; /* Adjusted to overlap slightly */
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 10;
}
.footer-wave svg {
    display: block;
    width: 100%;
    height: 60px; /* Thinner wave */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 40px 20px;
    flex-wrap: wrap;
}

.footer-col {
    margin-bottom: 0 !important;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
}

.logo-img-footer {
    max-width: 180px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.logo-img-footer:hover {
    transform: scale(1.05);
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a, .footer-col ul li {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--color-white);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-white);
}

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

.newsletter p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 10px 15px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-family: var(--font-body);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .quick-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .service-item {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-bg {
        width: 100%;
        opacity: 0.3;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .hero-content {
        text-align: center;
    }
    .hero-text-area {
        margin: 0 auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .banner-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .banner-features {
        flex-direction: column;
        align-items: center;
    }
    .reviews-map-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .quick-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-logo-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    .hero-logo-img {
        width: 130px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero h1 span {
        font-size: 3rem;
    }
    .section-header h2, .reviews-header h2 {
        font-size: 2.2rem;
        flex-direction: column;
        text-align: center;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        justify-content: center;
    }
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .quick-services-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
}

/* Partnership Section */
.partnership-section {
    padding: 80px 0;
    background-color: var(--color-white);
    border-bottom: 1px solid rgba(0,119,182,0.1);
}

.partnership-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: var(--color-bg-light);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,119,182,0.1);
}

.partnership-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.partnership-text p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .partnership-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
}

/* Partnerships Page Specific */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.partner-card {
    background: white;
    border-radius: var(--border-radius-sm);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.partner-logo {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.partner-card h3 {
    margin-bottom: 15px;
}

.partner-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}
