/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #fdf6f0;
    color: #333;
}

/* Header */
header {
    height: 70vh;
    background: url('image/Explore\ Japan.jpg') no-repeat center center/cover;
    position: relative;
}

header .overlay {
    background: rgba(0,0,0,0.4);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 2rem;
}

header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

header p {
    font-size: 1.5rem;
}

/* Navigation */
nav {
    background-color: #e63946;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0.5rem 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #f1faee;
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #e63946;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Cards */
.card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    margin: 1rem 0;
    color: #1d3557;
}

.card p {
    padding: 0 1rem 1rem;
    color: #555;
}

/* Travel Tips */
.tips {
    list-style: disc inside;
    max-width: 800px;
    margin: auto;
    font-size: 1.1rem;
    color: #333;
}

/* Gallery */
.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: #1d3557;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 3rem;
    }
    header p {
        font-size: 1.2rem;
    }
    nav ul {
        flex-direction: column;
    }
    nav li {
        margin: 0.5rem 0;
    }
}
