/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #85B6FF;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #2c3e50;
}

ul {
    list-style: none;
}

/* Header styles */
header {
    background-color: #FC5628;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    font-weight: 500;
    padding: 0.5rem;
    transition: color 0.3s;
}

nav ul li a:hover, 
nav ul li a.active {
    color: #3498db;
}

/* Hero section */
.hero {
    background-color: #82DB34;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}
.hero img {
    text-align: right;
	max-width: 80px;
}

/* Map section */
.map-section {
    padding: 3rem 0;
}

.map-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    background-color: #F0FCFC;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

#map {
    flex: 1;
    min-width: 300px;
    height: 1000px;
    position: relative;
}

#map svg {
    width: 100%;
    height: 100%;
}

#map path {
    stroke: #666;
    stroke-width: 1;
    fill: #F5CA8E;
    transition: fill 0.3s ease;
    cursor: pointer;
}

#map path:hover {
    fill: #FF9B1C;
}

#country-info {
    flex: 1;
    min-width: 300px;
    padding: 1rem;
    background-color: #FFE5C4;
    border-radius: 8px;
    min-height: 200px;
}

#country-info h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Country details page */
.country-details {
    padding: 3rem 0;
}

.back-button {
    margin-bottom: 2rem;
}

.back-button a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #FF6600;
    color: white;
    border-radius: 4px;
    transition: background-color 0.4s;
}

.back-button a:hover {
    background-color: #FF9B1C;
}

#country-detail-content {
    background-color: #FFE5C4;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.country-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.country-header img {
    width: 80px;
    height: auto;
    margin-right: 1.5rem;
}

.tour-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tour-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.tour-card .price {
    color: #3498db;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 1rem 0;
}

.tour-card .button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #3498db;
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.tour-card .button:hover {
    background-color: #2980b9;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Footer styles */
footer {
    background-color: #FC5628;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-section a {
    color: #ddd;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive styles */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0 0.5rem;
    }
    
    .map-container {
        flex-direction: column;
    }
    
    #map, #country-info {
        width: 100%;
    }
    
    .footer-section {
        flex: 100%;
        padding-right: 0;
    }
}