* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #e8f4f8 0%, #f5f1e8 50%, #fff5e6 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 0;
    color: #2c3e50;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
}

header {
    background: linear-gradient(135deg, #5dade2 0%, #58d68d 100%);
    color: white;
    padding: 60px 40px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.search-section {
    padding: 50px 40px;
    background: #ffffff;
    border-bottom: 2px solid #ecf0f1;
}

.search-box {
    display: flex;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

#destinationInput {
    flex: 1;
    padding: 18px 24px;
    font-size: 1rem;
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s;
    background: #ffffff;
    color: #2c3e50;
    font-family: inherit;
}

#destinationInput:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

#destinationInput::placeholder {
    color: #95a5a6;
}

#searchBtn {
    padding: 18px 40px;
    font-size: 1rem;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-family: inherit;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

#searchBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

#searchBtn:active {
    transform: translateY(0);
}

.loading {
    padding: 100px 40px;
    text-align: center;
}

.spinner {
    border: 3px solid #ecf0f1;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 24px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    color: #7f8c8d;
    font-size: 1rem;
}

.hidden {
    display: none;
}

.results {
    padding: 60px 40px;
    background: #ffffff;
}

.results h2 {
    color: #2c3e50;
    margin-bottom: 32px;
    font-size: 1.75rem;
    font-weight: 600;
    padding-bottom: 16px;
    border-bottom: 3px solid #3498db;
    letter-spacing: -0.3px;
    position: relative;
}

.results h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #2ecc71;
}

.weather-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 64px;
}

.weather-card {
    background: linear-gradient(135deg, #ecf0f1 0%, #ffffff 100%);
    padding: 24px 20px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #ecf0f1;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.weather-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

.weather-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
    border-color: #3498db;
}

.weather-card .date {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.weather-card .temp {
    font-size: 2rem;
    font-weight: 700;
    color: #3498db;
    margin: 12px 0;
    letter-spacing: -0.5px;
}

.weather-card .description {
    color: #7f8c8d;
    text-transform: capitalize;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.weather-card div[style] {
    font-size: 0.8rem;
    color: #95a5a6;
    margin-top: 8px;
}

.attractions-grid, .dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.attraction-card, .dish-card {
    background: #ffffff;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.attraction-card:hover, .dish-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.2);
    border-color: #3498db;
}

.attraction-card input[type="checkbox"], .dish-card input[type="checkbox"] {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 10;
    accent-color: #3498db;
}

.attraction-image, .dish-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    transition: transform 0.3s;
}

.attraction-card:hover .attraction-image,
.dish-card:hover .dish-image {
    transform: scale(1.05);
}

.attraction-content, .dish-content {
    padding: 24px;
}

.attraction-name, .dish-name {
    font-size: 1.35rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.attraction-description, .dish-description {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.attraction-links, .dish-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.link-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.3s;
    display: inline-block;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.link-btn.secondary {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.2);
}

.link-btn.secondary:hover {
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
}

.transport-section, .pandora-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 48px;
    border: 2px solid #ecf0f1;
    position: relative;
    overflow: hidden;
}

.transport-section::before,
.pandora-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #e67e22);
}

.transport-info, .pandora-info {
    line-height: 1.8;
    color: #2c3e50;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.transport-providers {
    margin-top: 20px;
}

.provider-link {
    display: inline-block;
    margin: 6px 12px 6px 0;
    padding: 10px 20px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.provider-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.pdf-section {
    text-align: center;
    padding: 60px 0;
    border-top: 2px solid #ecf0f1;
    margin-top: 64px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.pdf-button {
    padding: 18px 48px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.pdf-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.pdf-button:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    header {
        padding: 40px 24px 32px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .search-section {
        padding: 40px 24px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .results {
        padding: 40px 24px;
    }
    
    .results h2 {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
    
    .attractions-grid, .dishes-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 48px;
    }
    
    .weather-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
    }
    
    .transport-section, .pandora-section {
        padding: 24px;
    }
}
