/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Animazioni avanzate */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-light: #64748b;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--light-color);
    font-weight: 400;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-logo h1 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.nav-logo span {
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: -0.25rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Hide hamburger menu on desktop */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    /* Reduce hero section padding on desktop */
    .hero {
        padding: 3rem 0 2rem !important;
    }
}

.hamburger:hover {
    background-color: rgba(99, 102, 241, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--gray-600);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    margin: 4rem 0;
}

.hero-description h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 3rem;
    font-weight: 700;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Services - New enhanced version */
.hero-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    justify-items: center;
}

.hero-service-card {
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hero-service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-service-image {
    position: relative;
    height: 120px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(6, 182, 212, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-service-card:hover .hero-service-image img {
    transform: scale(1.05);
}

.hero-service-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--white);
    z-index: 1;
}

.hero-service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(6, 182, 212, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.hero-service-card:hover .hero-service-overlay {
    opacity: 1;
}

.hero-service-icon {
    font-size: 2.5rem;
    color: var(--white);
    animation: bounce 0.6s ease;
}

.hero-service-content {
    padding: 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    color: var(--text-dark);
}

.hero-service-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hero-service-title {
    margin-bottom: 1rem;
}

.hero-service-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.hero-service-title a:hover {
    color: var(--primary-color);
}

.hero-service-description {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.hero-service-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    opacity: 1;
    visibility: visible;
    margin-top: auto;
}

.hero-service-button:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.hero-service-button span {
    transition: transform 0.3s ease;
}

.hero-service-button:hover span {
    transform: translateX(5px);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 600;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.cta-button {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--gray-100);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Hot Deals Section - Migliorato per coerenza con il resto del sito */
.hot-deals {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.hot-deals::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hot-deals .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.hot-deals h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hot-deals h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.hot-deals .section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

/* Offer Cards - Nuovo design coerente con il resto del sito */
.offer-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        var(--shadow-xl),
        0 25px 50px -12px rgba(99, 102, 241, 0.3);
    border-color: var(--primary-color);
}

.offer-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--danger-color), #ff6b6b);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 3;
    box-shadow: var(--shadow-md);
    animation: pulse 2s ease-in-out infinite;
}

.offer-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.offer-card:hover .offer-image img {
    transform: scale(1.1);
}

.offer-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--white);
    z-index: 1;
}

.offer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    padding: 2rem 1.5rem 1rem;
    z-index: 2;
}

.offer-destination {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.offer-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.offer-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.offer-details {
    margin-bottom: 1.5rem;
}

.offer-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.offer-duration,
.offer-dates,
.offer-includes,
.offer-departure {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}

.offer-duration .icon,
.offer-dates .icon,
.offer-includes .icon,
.offer-departure .icon {
    font-size: 1rem;
}

.offer-description {
    margin-bottom: 1.5rem;
}

.offer-description p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.offer-highlights {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.highlight {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.offer-card:hover .highlight {
    background: var(--primary-color);
    color: var(--white);
}

.offer-pricing {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.offer-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(6, 182, 212, 0.05));
    border-radius: var(--border-radius-lg);
}

.price-section {
    position: relative;
    z-index: 1;
}

.old-price {
    font-size: 1.1rem;
    color: var(--gray-400);
    text-decoration: line-through;
    display: block;
    margin-bottom: 0.5rem;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.price-note {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

.savings-badge {
    background: linear-gradient(135deg, var(--success-color), #16a34a);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 1rem;
    display: inline-block;
    box-shadow: var(--shadow-sm);
}

.offer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.offer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.offer-cta:hover::before {
    left: 100%;
}

.offer-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.cta-arrow {
    transition: transform 0.3s ease;
    font-size: 1.3rem;
}

.offer-cta:hover .cta-arrow {
    transform: translateX(5px);
}

/* Legacy deal-card styles for backward compatibility */
.deal-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-200);
}

.deal-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        var(--shadow-xl),
        0 25px 50px -12px rgba(99, 102, 241, 0.3);
}

.deal-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--danger-color), #ff6b6b);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

.deal-content {
    padding: 2rem;
}

.deal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.deal-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.deal-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.old-price {
    font-size: 1.1rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.new-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.deal-timer {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.timer-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    display: block;
    margin-bottom: 0.5rem;
}

.timer-display {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--danger-color);
    font-family: 'Courier New', monospace;
}

.timer-expired {
    color: var(--gray-500);
    font-style: italic;
    font-size: 1rem;
}

.deal-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.deal-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.deal-cta:hover::before {
    left: 100%;
}

.deal-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
}

/* Featured Destinations */
.featured-destinations {
    padding: 6rem 0;
    background: var(--white);
}

.featured-destinations h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--gray-900);
    font-weight: 700;
    position: relative;
}

.featured-destinations h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.destination-card {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 300px;
    background: var(--gray-200);
    cursor: pointer;
    transform-style: preserve-3d;
}

.destination-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.destination-card:hover::before {
    opacity: 1;
}

.destination-card:hover {
    transform: translateY(-15px) rotateX(5deg) scale(1.02);
    box-shadow: 
        var(--shadow-xl),
        0 25px 50px -12px rgba(99, 102, 241, 0.3),
        0 0 0 1px rgba(99, 102, 241, 0.1);
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 3rem 2rem 2rem;
}

.destination-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.destination-info p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-color);
}

/* Guide Cards - Enhanced version for featured destinations */
.guide-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(229, 231, 235, 0.8);
    height: 100%;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.guide-card img,
.guide-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    flex-shrink: 0;
}

.guide-card:hover img,
.guide-card:hover .guide-image img {
    transform: scale(1.05);
}

.guide-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--gray-800);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}


.guide-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.guide-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
    line-height: 1.3;
}

.guide-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.guide-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.guide-duration,
.guide-budget {
    font-size: 0.85rem;
    color: var(--gray-700);
    font-weight: 500;
}

.guide-highlights {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.highlight {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.guide-card:hover .highlight {
    background: var(--primary-color);
    color: var(--white);
}

/* Travel Services Section */
.travel-services {
    padding: 6rem 0;
    background: var(--white);
}

.travel-services h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--gray-200);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--white);
    z-index: 1;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(6, 182, 212, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    color: var(--white);
    animation: bounce 0.6s ease;
}

.service-content {
    padding: 2rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-align: center;
}

.service-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.service-button:hover::before {
    left: 100%;
}

.service-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.service-button span {
    transition: transform 0.3s ease;
}

.service-button:hover span {
    transform: translateX(5px);
}

/* Features Section */
.why-choose-us {
    padding: 6rem 0;
    background: var(--gray-100);
}

.why-choose-us h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--gray-900);
    font-weight: 700;
    position: relative;
}

.why-choose-us h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        var(--shadow-xl),
        0 20px 40px -12px rgba(99, 102, 241, 0.25);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--white) 0%, rgba(99, 102, 241, 0.02) 100%);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.feature:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    animation-play-state: paused;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-weight: 600;
}

.feature p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 1rem;
}

/* Search Section */
.search-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
    border: 1px solid var(--gray-200);
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-icon {
    color: var(--gray-400);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: var(--primary-color);
}

.search-results {
    margin-top: 2rem;
    display: none;
}

.no-results {
    text-align: center;
    color: var(--gray-500);
    font-style: italic;
    padding: 2rem;
}

/* Forms */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1.5rem;
    align-items: end;
    margin: 3rem 0;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

/* Info Boxes */
.info-box {
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
    position: relative;
}

.primary-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.warning-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.success-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Features Section */
.features-section {
    margin: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
}

/* Process Section */
.process-section {
    margin: 4rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

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

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 1rem;
}

/* Coverage Section */
.coverage-section {
    margin: 4rem 0;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.region-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.region-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.region-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.region-card li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

/* Pricing Section */
.pricing-section {
    margin: 4rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.price-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

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

.price-card.featured {
    border-color: var(--primary-color);
    position: relative;
}

.price-card.featured::before {
    content: "Più Popolare";
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
}

.price-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.price-header h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
}

.price-features {
    padding: 2rem;
}

.price-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.price-features li {
    margin-bottom: 0.75rem;
    color: var(--gray-700);
    padding-left: 1.5rem;
    position: relative;
}

.price-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Compatibility Section */
.compatibility-section {
    margin: 4rem 0;
}

.compatibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.device-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.device-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.device-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.device-card p {
    color: var(--gray-600);
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 4rem 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button .arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
    transform: translateX(5px);
}

/* Form avanzato per ricerca voli */
.form-grid.advanced {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.form-grid.advanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="plane" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" fill="rgba(255,255,255,0.1)" font-size="12">✈</text></pattern></defs><rect width="100" height="100" fill="url(%23plane)"/></svg>');
    pointer-events: none;
}

.form-grid.advanced label {
    color: white;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.form-grid.advanced input,
.form-grid.advanced select {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--gray-800);
    backdrop-filter: blur(10px);
}

.form-grid.advanced input:focus,
.form-grid.advanced select:focus {
    border-color: rgba(255, 255, 255, 0.8);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.form-grid.advanced button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.form-grid.advanced button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.form-simple {
    display: flex;
    gap: 1.5rem;
    align-items: end;
    flex-wrap: wrap;
    margin: 3rem 0;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.form-simple label {
    flex: 1;
    min-width: 280px;
}

label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

input[type="text"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

button[type="submit"] {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

button[type="submit"]:hover::before {
    left: 100%;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Results Sections */
.results {
    margin: 3rem 0;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.results h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 600;
}

/* Month Grid for Offers */
.month-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.month-card {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.month-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: background 0.3s ease;
}

.month-card:hover::after {
    background: rgba(0, 0, 0, 0.6);
}

.month-card span {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.month-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.month-card:hover::before {
    left: 100%;
}

.month-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

/* Guide Cards */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

    .guides-grid.centered-results {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        gap: 2rem;
    }

.guides-grid .guide-card {
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transform: translateY(0);
    min-width: 320px;
    max-width: 400px;
    width: 100%;
}

.guides-grid .guide-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.guides-grid .guide-card img {
    height: clamp(220px, 40vh, 280px);
    object-fit: cover;
}

.guides-grid .guide-content {
    padding: 2rem;
}

.guides-grid .guide-content h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.6rem);
    margin-bottom: 1rem;
}

.guides-grid .guide-content p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.guides-grid .guide-meta {
    gap: 1.25rem;
}

.guides-grid .guide-duration,
.guides-grid .guide-budget {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-weight: 600;
}

.guide-category {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Guide Tips */
.guide-tips {
    background: var(--white);
    padding: 4rem 0;
    margin-top: 4rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

.guide-tips h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--gray-900);
    font-weight: 700;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.tip-card {
    text-align: center;
    padding: 2rem;
    background: var(--gray-100);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.tip-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.tip-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-weight: 600;
}

.tip-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
    margin: 3rem 0 2rem;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

/* Guide Article Styles */
.guide-article {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin: 2rem 0;
}

.guide-header {
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.guide-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.guide-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.guide-intro img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.guide-summary h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.guide-summary p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.guide-meta-list {
    list-style: none;
    margin-bottom: 2rem;
}

.guide-meta-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0.9;
}

.guide-meta-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.guide-toc {
    background: var(--gray-100);
    padding: 2rem;
    margin: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
}

.guide-toc h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-weight: 600;
}

.guide-toc ol {
    list-style: none;
    counter-reset: toc-counter;
}

.guide-toc li {
    counter-increment: toc-counter;
    margin-bottom: 0.5rem;
}

.guide-toc a {
    color: var(--gray-700);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 2rem;
}

.guide-toc a::before {
    content: counter(toc-counter);
    position: absolute;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.guide-toc a:hover {
    color: var(--primary-color);
}

.guide-section {
    padding: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.guide-section:last-child {
    border-bottom: none;
}

.guide-section h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    font-weight: 600;
}

.attraction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Tips Grid - Layout orizzontale più compatto */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.tip-box {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.tip-box h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    font-weight: 600;
}

.tip-box p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.tip-box p:last-child {
    margin-bottom: 0;
}

.attraction-card {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.attraction-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.attraction-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
    font-weight: 600;
}

.attraction-card p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.image-grid img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.image-grid img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Single image in grid - make it larger and centered */
.image-grid:has(img:only-child) {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 2rem auto;
}

.image-grid:has(img:only-child) img {
    height: 520px;
}

/* Two images - side by side */
.image-grid:has(img:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

/* Three or more images - standard grid */
.image-grid:has(img:nth-child(3)) {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Mobile optimization */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .image-grid img {
        height: 260px;
    }
    
    .image-grid:has(img:only-child) img {
        height: 340px;
    }
}

/* Photo Gallery Styles */
.photo-gallery {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius-lg);
}

.photo-gallery h4 {
    color: white;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.gallery-item {
    margin: 0;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

/* Hide gallery items with missing images */
.gallery-item:has(img[style*="display: none"]) {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.gallery-item figcaption {
    padding: 1.2rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-color);
    background: white;
    font-size: 0.95rem;
}

/* Mobile optimization for gallery */
@media (max-width: 768px) {
    .photo-gallery {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item img {
        height: 280px;
    }
    
    .gallery-item figcaption {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

.transport-options,
.food-section,
.panorama-list,
.tips-section {
    margin: 2rem 0;
}

/* FAQ Section Styles */
.faq-container {
    margin: 2rem 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gray-50);
    transition: background 0.3s ease;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-item[open] .faq-question {
    background: var(--primary-color);
    color: var(--white);
}

.faq-item[open] .faq-question::after {
    color: var(--white);
}

.faq-answer {
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    animation: fadeIn 0.3s ease;
}

.faq-answer p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--gray-700);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.transport-item,
.panorama-item,
.tip-item {
    background: var(--gray-100);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.food-list {
    list-style: none;
    margin: 1rem 0;
}

.food-list li {
    background: var(--gray-100);
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.food-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.food-list a:hover {
    color: var(--primary-dark);
}

/* Footer */
footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 1rem;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1200;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: 15px;
        left: auto;
        flex-direction: column;
        width: 280px;
        max-width: calc(100vw - 30px);
        text-align: left;
        padding: 1rem;
        gap: 0.5rem;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        transform: translateX(calc(100% + 15px));
        opacity: 0;
        visibility: hidden;
        transition: all 0.25s ease;
        z-index: 1300;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        color: #374151;
        font-weight: 500;
        font-size: 0.95rem;
        transition: all 0.2s ease;
        text-decoration: none;
    }
    
    .nav-menu .nav-link:hover {
        background: #f3f4f6;
        color: #6366f1;
    }
    
    .nav-menu .nav-link.active {
        background: #eef2ff;
        color: #6366f1;
        font-weight: 600;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .breadcrumb {
        margin: 2rem 0 1.5rem;
    }
    
    .guide-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .destinations-grid,
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-card {
        margin-bottom: 1rem;
    }
    
    .guide-content {
        padding: 1.25rem;
    }
    
    .guide-content h3 {
        font-size: 1.1rem;
    }
    
    .guide-meta {
        gap: 0.75rem;
    }
    
    .guide-highlights {
        gap: 0.4rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .hero-service-image {
        height: 100px;
    }
    
    .hero-service-content {
        padding: 1rem;
    }
    
    .hero-service-title a {
        font-size: 1.1rem;
    }
    
    .hero-service-description {
        font-size: 0.85rem;
    }
    
    .hero-service-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .attraction-grid {
        grid-template-columns: 1fr;
    }
    
    /* Tips Cards Mobile Optimization */
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tip-card {
        display: flex;
        flex-direction: column;
        min-height: 280px;
        padding: 1.5rem;
    }
    
    .tip-image {
        flex-shrink: 0;
        margin-bottom: 1rem;
    }
    
    .tip-image img {
        max-height: 60px;
        width: auto;
        object-fit: contain;
    }
    
    .tip-content {
        flex: 1;
        margin-bottom: 1rem;
    }
    
    .tip-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .tip-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        color: var(--gray-600);
    }
    
    .tip-button {
        margin-top: auto;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        font-weight: 600;
        text-align: center;
        border-radius: 8px;
        transition: all 0.3s ease;
        align-self: stretch;
    }
    
    /* Destinazioni in Evidenza Mobile Optimization */
    .destinations-grid-8 {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    
    .destinations-grid-8 .guide-card {
        display: flex;
        flex-direction: column;
        min-height: 320px;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        border: 1px solid rgba(229, 231, 235, 0.8);
    }
    
    .destinations-grid-8 .guide-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        flex-shrink: 0;
    }
    
    .destinations-grid-8 .guide-content {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        flex: 1;
    }
    
    .destinations-grid-8 .guide-content h3 {
        font-size: 1.2rem;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 0;
        color: var(--gray-900);
    }
    
    .destinations-grid-8 .guide-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: var(--gray-600);
        margin-bottom: 0;
        flex: 1;
    }
    
    .destinations-grid-8 .guide-meta {
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
        margin-bottom: 0;
    }
    
    .destinations-grid-8 .guide-meta span {
        background: rgba(99, 102, 241, 0.08);
        color: var(--primary-color);
        padding: 0.4rem 0.8rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
    }
    
    .destinations-grid-8 .read-more {
        margin-top: auto;
        padding: 0.75rem 1.5rem;
        background: var(--primary-color);
        color: var(--white);
        text-decoration: none;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.9rem;
        text-align: center;
        transition: all 0.3s ease;
        align-self: stretch;
    }
    
    .destinations-grid-8 .read-more:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .breadcrumb {
        margin: 1.5rem 0 1rem;
        font-size: 0.8rem;
    }
    
    .featured-destinations,
    .why-choose-us,
    .travel-services {
        padding: 4rem 0;
    }
    
    .services-grid {
        gap: 1.5rem;
    }
    
    .hero-services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .hero-service-image {
        height: 100px;
    }
    
    .hero-service-content {
        padding: 1rem;
    }
    
    .hero-service-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-service-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .service-image {
        height: 180px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .guide-section {
        padding: 1.5rem;
    }
    
    .category-title {
        font-size: 1.2rem;
        padding: 0.8rem 1rem;
    }
    
    .guide-category {
        margin: 2rem 0 1rem 0;
    }
    
    .form-simple {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--gray-300);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hidden { display: none; }
.visible { display: block; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* Fix for fixed header covering sections */
.guide-section {
    scroll-margin-top: 100px;
}

/* Alternative solution for older browsers */
.guide-section::before {
    content: "";
    display: block;
    height: 100px;
    margin-top: -100px;
    visibility: hidden;
}

/* Stili per il sistema di filtri avanzati */
.filters-container {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.filters-header h3 {
    color: var(--gray-800);
    font-size: 1.1rem;
    font-weight: 600;
}

.reset-filters-btn {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-300);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-filters-btn:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.filters-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-group {
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 1rem;
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

/* Range sliders */
.price-range {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.range-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-200);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.range-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Checkboxes e radio buttons */
.airlines-checkboxes,
.stops-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-700);
    cursor: pointer;
    padding: 0.25rem 0;
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

/* Time inputs */
.time-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.time-range input[type="time"] {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.time-range span {
    color: var(--gray-500);
    font-weight: 500;
}

/* Duration slider */
.duration-slider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.duration-slider input[type="range"] {
    flex: 1;
}

.duration-slider span {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
}

/* Sort section */
.sort-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.sort-section select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background: white;
    color: var(--gray-700);
}

/* Input styles per date e select */
input[type="date"],
input[type="time"],
select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

input[type="date"]:focus,
input[type="time"]:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Responsive filters */
@media (max-width: 768px) {
    .filters-container {
        margin-bottom: 2rem;
    }

    .filters-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .time-range {
        flex-direction: column;
    }

    .duration-slider {
        flex-direction: column;
        text-align: center;
    }
}

/* Tips Section */
.tips-section {
    padding: 2rem 0;
    background: var(--white);
}

.tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.tip-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.tip-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tip-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.tip-content {
    flex: 1;
    padding: 0 1.5rem;
}

.tip-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.tip-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

.tip-button {
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tip-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Banner Sobrio Occasioni Voli */
.flight-deals-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    margin: 4rem 0 2rem 0;
    padding: 2rem 0;
}

.monthly-deals-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 2;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.banner-icon {
    font-size: 3rem;
    animation: float 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.banner-text {
    flex: 1;
    color: white;
    text-align: center;
}

.banner-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.banner-text p {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.banner-cta {
    background: rgba(255, 255, 255, 0.95);
    color: #ee5a24;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.banner-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.banner-cta:hover::before {
    left: 100%;
}

.banner-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.banner-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.banner-cta:hover .banner-arrow {
    transform: translateX(5px);
}

.banner-highlight {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ffd700;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
    animation: pulse 2s ease-in-out infinite;
    transform: rotate(-5deg);
}

/* Responsive Design per Banner */
@media (max-width: 768px) {
    .monthly-deals-banner {
        margin-top: 70px;
    }
    
    .banner-container {
        padding: 1rem;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .banner-icon {
        font-size: 2.5rem;
    }
    
    .banner-text h3 {
        font-size: 1.5rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
    
    .banner-cta {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .banner-highlight {
        position: static;
        transform: none;
        margin-bottom: 1rem;
        align-self: center;
    }
}

/* Nuovi Stili per Banner Sobrio e Voli in Evidenza */
.banner-content-simple {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.banner-text-simple {
    flex: 1;
}

.banner-text-simple h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.banner-text-simple p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

.banner-btn-simple {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.banner-btn-simple:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sezione Voli in Evidenza */
.featured-flights {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    display: inline-block;
    transition: color 0.3s ease;
}

.section-link:hover {
    color: var(--primary-dark);
}

.flights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.flight-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.flight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.flight-route {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.flight-airline {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.flight-info {
    margin-bottom: 1rem;
}

.flight-leg {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.flight-leg span:first-child {
    color: var(--text-light);
    font-weight: 500;
}

.flight-leg span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

.flight-duration {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.flight-baggage {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.flight-baggage span:first-child {
    color: var(--text-light);
    font-weight: 500;
}

.baggage-icons {
    display: flex;
    gap: 0.3rem;
}

.baggage-icon {
    font-size: 1.1rem;
}

.flight-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.flight-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.flight-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Nuovi layout per le sezioni della home */

/* Layout per 8 card voli in 2 file da 4 */
.flights-grid-8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Variante compatta per le card voli in homepage */
.deal-card.compact {
    padding: 0.9rem;
    border-radius: var(--border-radius-lg);
}

.flights-grid-8 .deal-route {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.deal-card.compact .deal-airline {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.deal-card.compact .deal-flight-info .flight-leg {
    font-size: 0.9rem;
}

.deal-card.compact .deal-details .deal-price {
    font-size: 1.2rem;
}

/* Layout per 8 destinazioni */
.destinations-grid-8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.guide-card-compact {
    padding: 1rem;
}

.guide-card-compact h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.guide-card-compact p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.guide-card-compact .guide-meta {
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
}

.guide-card-compact .read-more {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

/* Layout per 2 offerte del momento */
.deals-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.deals-grid-2 .offer-card {
    max-width: none;
}

.deals-grid-2 .offer-content h3 {
    font-size: 1.2rem;
}

.deals-grid-2 .offer-description p {
    font-size: 0.9rem;
}

.deals-grid-2 .offer-highlights {
    font-size: 0.85rem;
}

/* Piccole card offerte per homepage */
.offer-card.small {
    padding: 0.9rem;
    font-size: 0.9em;
    border-radius: var(--border-radius-lg);
}

.offer-card.small .offer-content h3 {
    font-size: 1.05rem;
}

.offer-card.small .offer-description p {
    font-size: 0.85rem;
}

.offer-card.small .offer-highlights {
    font-size: 0.8rem;
}

.offer-card.small .offer-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Orari volo nelle offerte */
.offer-times {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--gray-700);
}

/* Badge airline/date chips per voli */
.flight-card .chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.8rem;
    font-weight: 600;
}

.flight-card .chip.primary {
    background: rgba(99,102,241,0.12);
    color: var(--primary-color);
}

.flight-card.compact .flight-route {
    font-size: 1.05rem;
}

.flight-card.compact .flight-price {
    font-size: 1.4rem;
}

.flight-card .leg-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flight-card .leg-time .time {
    font-weight: 700;
    color: var(--gray-900);
}

.flight-card .leg-time .date {
    color: var(--gray-600);
}

/* Responsive Design per Nuove Sezioni */
@media (max-width: 1200px) {
    .flights-grid-8 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .destinations-grid-8 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .flights-grid-8 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .destinations-grid-8 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .deals-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .banner-content-simple {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .flights-grid,
    .flights-grid-8 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .destinations-grid,
    .destinations-grid-8 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .deals-grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .flight-card {
        padding: 1.2rem;
    }
}

/* Responsive Design specifico per le Offerte del Momento */
@media (max-width: 1200px) {
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .offer-info-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .hot-deals {
        padding: 4rem 0;
    }
    
    .hot-deals h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hot-deals h2::after {
        width: 60px;
        height: 3px;
    }
    
    .hot-deals .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .deals-grid {
        gap: 2rem;
    }
    
    .offer-image {
        height: 160px;
    }
    
    .offer-content {
        padding: 1.5rem;
    }
    
    .offer-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .offer-info-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .offer-pricing {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .current-price {
        font-size: 2.2rem;
    }
    
    .offer-cta {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .offer-badge {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hot-deals {
        padding: 3rem 0;
    }
    
    .hot-deals h2 {
        font-size: 2rem;
    }
    
    .deals-grid {
        gap: 1.5rem;
    }
    
    .offer-image {
        height: 140px;
    }
    
    .offer-content {
        padding: 1.25rem;
    }
    
    .offer-content h3 {
        font-size: 1.2rem;
    }
    
    .offer-description p {
        font-size: 0.9rem;
    }
    
    .offer-pricing {
        padding: 1rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .offer-cta {
        padding: 0.9rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .highlight {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
}