:root {
    --primary-color: #004e98;
    /* Deep Blue - Sea */
    --secondary-color: #2a8a4b;
    /* Forest Green - Mountains */
    --accent-color: #ff9f1c;
    /* Sun/Highlight */
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --footer-bg: #1a1a1a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    /* Default 1rem = 16px, ridotto su schermi piccoli */
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(14px, 1rem, 18px);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Typography */
h1,
h2,
h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
}

h2 {
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-top: 3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Header & Nav - Bootstrap handles this now */

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?q=80&w=1920&auto=format&fit=crop');
    /* Placeholder landscape */
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 10vw, 3.5rem);
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.75rem 1.875rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin-top: 2rem;
    transition: transform 0.2s, background 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cta-button:hover {
    background: #e68a00;
    transform: translateY(-2px);
}

/* Demo Disclaimer */
.demo-banner {
    background-color: #ffd700;
    color: #333;
    text-align: center;
    padding: 0.75rem;
    font-weight: bold;
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    border-bottom: 2px solid #e0c000;
}

/* Common Container - Bootstrap handles this now */

/* Destinations */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.destination-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.destination-card:hover {
    transform: translateY(-5px);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    color: var(--primary-color);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 0.5rem;
}

.card-badge {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    font-size: clamp(0.65rem, 1vw, 0.8rem);
    text-transform: uppercase;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: #aaa;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.2rem;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

/* Responsive */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .tables-section {
        grid-template-columns: 1fr;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-item {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }
}