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

.general {
    width: 100%;
    height: auto;
}

header {
    width: 100%;
    height: 80px;
    background-color: #003366;
}
h1 {
    color: white;
    text-align: center;
    line-height: 80px;
    float: left;
}
nav {
    float: left;
    margin: 0 80px;
}

nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
}

nav ul li a:hover {
    text-decoration: none;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
}

.search {
    float: right;
    background-color: blue;
}

.main {
    display: flex;
    width: 100%;
    min-height: 500px;
    background-image: url('https://images.unsplash.com/photo-1483729558449-99ef09a8c325?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

aside {
    width: 5%;
    padding: 20px;
    position: relative;
    z-index: 2;
}

section {
    width: 80%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

section > * {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.6;
    font-family: Arial, Helvetica, sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

section button {
    background-color: #ff6b35;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 25px;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

section button:hover {
    background-color: #e55a2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Search Results Styles */
#searchResults {
    margin-top: 40px;
    width: 100%;
    max-width: 1000px;
}

#searchResults h3 {
    color: white;
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-family: Arial, Helvetica, sans-serif;
}

.results-header {
    color: white;
    font-size: 1.1em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    font-family: Arial, Helvetica, sans-serif;
}

.destination-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.destination-images {
    width: 300px;
    min-width: 300px;
    height: 200px;
}

.destination-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-info {
    padding: 20px;
    flex: 1;
    color: #333;
}

.destination-info h4 {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

.destination-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.destination-type {
    background-color: #ff6b35;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: bold;
}

.destination-location {
    color: #666;
    font-weight: 500;
}

.destination-rating {
    color: #ff6b35;
    font-weight: bold;
}

.destination-description {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #555;
}

.destination-activities,
.destination-visit {
    font-size: 0.9em;
    margin-bottom: 8px;
    color: #666;
}

.destination-activities strong,
.destination-visit strong {
    color: #003366;
}

.no-results {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    color: #333;
    text-align: left;
}

.no-results p {
    color: #333;
    font-size: 1.1em;
    margin-bottom: 15px;
    text-shadow: none;
}

.no-results ul {
    margin-left: 20px;
}

.no-results li {
    color: #666;
    margin-bottom: 5px;
    list-style: disc;
}

/* Responsive design for search results */
@media (max-width: 768px) {
    .destination-card {
        flex-direction: column;
    }
    
    .destination-images {
        width: 100%;
        min-width: auto;
        height: 250px;
    }
    
    .destination-meta {
        flex-direction: column;
        gap: 8px;
    }
}