* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #004d7a;
    --secondary: #008793;
    --accent: #00bf72;
    --orange: #f77f00;
    --dark: #051923;
    --light: #f5f5f5;
    --text: #333;
    --gold: #d4af37;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
}

.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,77,122,0.85), rgba(0,135,147,0.85)), url('/images/hero/regalati_ischia_dimhotels.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 120px;
        background: linear-gradient(to top, white, transparent);
    }

.hero-content {
    max-width: 1200px;
    padding: 2rem;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.coupon-badge {
    display: inline-block;
    background: var(--orange);
    color: white;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(247,127,0,0.4);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    text-align: left;
}

.feature-item {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

    .feature-item:hover {
        transform: translateY(-5px);
        background: rgba(255,255,255,0.15);
    }

    .feature-item::before {
        content: "?";
        color: var(--accent);
        font-weight: bold;
        margin-right: 0.5rem;
        font-size: 1.2rem;
    }

.form-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    margin-top: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-title {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        color: var(--text);
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 0.75rem;
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(0,135,147,0.1);
        }

.date-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(0,191,114,0.3);
    }

    .btn-submit:active {
        transform: translateY(0);
    }

    .btn-submit:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.image-gallery {
    padding: 4rem 2rem;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 300px;
}

    .gallery-item:hover {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,77,122,0.9), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.hotels-section {
    padding: 4rem 2rem;
    background: var(--light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: var(--accent);
    }

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hotel-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

    .hotel-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

.hotel-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.hotel-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 1.5rem;
    position: relative;
}

.hotel-stars {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.hotel-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hotel-location {
    opacity: 0.9;
    font-size: 0.9rem;
}

.hotel-body {
    padding: 1.5rem;
}

.hotel-description {
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.hotel-coupon {
    background: linear-gradient(135deg, var(--orange), #ff9500);
    color: white;
    padding: 0.7rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(247,127,0,0.3);
}

.prices-section {
    padding: 4rem 2rem;
    background: white;
    position: relative;
    overflow: hidden;
}

    .prices-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, var(--accent), transparent);
        opacity: 0.1;
    }

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.price-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .price-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
        animation: rotate 20s linear infinite;
    }

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.price-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,77,122,0.4);
}

.month {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.price-detail {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

.services-section {
    padding: 4rem 2rem;
    background: var(--light);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-top: 3px solid var(--accent);
}

    .service-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.highlight-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

.highlight-content {
    max-width: 800px;
    margin: 0 auto;
}

.highlight-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.transport-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.transport-card {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.transport-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-address {
    margin-top: 1rem;
    opacity: 0.9;
}

.loading {
    display: none;
    text-align: center;
    color: var(--secondary);
    margin-top: 1rem;
}

.success-message {
    display: none;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    border-left: 4px solid var(--accent);
}

.error-message {
    display: none;
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    border-left: 4px solid #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    .date-group {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hotels-grid {
        grid-template-columns: 1fr;
    }

    .prices-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .transport-info {
        grid-template-columns: 1fr;
    }
}

/* Animazioni scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.p-2 {
    padding: 2rem;
}
/* Map Section */
.map-section {
    padding: 4rem 0;
    background: white;
}

#map {
    height: 500px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Leaflet custom styles */
.custom-popup {
    text-align: center;
}

    .custom-popup .hotel-popup-name {
        font-weight: bold;
        color: #008793;
        margin-bottom: 5px;
    }

    .custom-popup .hotel-popup-location {
        color: #666;
        font-size: 0.9em;
    }
/* Responsive */
@media (max-width: 768px) {
    #map {
        height: 350px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.map-section .container {
    max-width: 100%;
    padding: 0;
}