/* styles.css */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    color: #444;
    background-color: #f7f7f7;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
header {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 98%;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 2em;
    color: #333;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-left: 20px;
}

nav ul li:first-child {
    margin-left: 0;
}

nav a {
    color: #555;
    font-weight: bold;
}

nav a:hover {
    color: #007bff;
}

.language-switcher {
    margin-left: 20px;
}

.language-switcher button {
    background: none;
    border: 1px solid #ccc;
    padding: 8px 12px;
    margin-left: 5px;
    cursor: pointer;
    font-weight: bold;
    color: #555;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.language-switcher button:hover {
    background-color: #f0f0f0;
    border-color: #bbb;
}

.language-switcher button.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Hero Section */
.hero {
    background: url('img/hero.png') center center no-repeat; 
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 150px 20px;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); 
    z-index: 1;
}

.hero a.button {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.8;
}

.button {
    display: inline-block;
    background-color: #5cb85c;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #4cae4c;
    color: #fff;
}

/* Sections */
section {
    padding: 80px 20px;
    text-align: center;
}

section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

/* Accommodation Section */
#accommodation {
    background-color: #fff;
}

.accommodation-details {
    max-width: 800px;
    margin: 30px auto;
    text-align: left;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.accommodation-details h3 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 1rem;
}

.accommodation-details ul {
    list-style: disc;
    padding-left: 25px;
}

/* Location Section */
#location {
    background-color: #f7f7f7;
}

.location-details {
    max-width: 900px;
    margin: 30px auto;
    text-align: left;
}

.location-details h3 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 1rem;
}

.location-details ul {
    list-style: disc;
    padding-left: 25px;
}

.location-details ul li strong {
    font-weight: bold;
}

/* Gallery Section */
#gallery {
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding: 0 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* About Section */
#about {
    background-color: #f7f7f7;
}

.about-us-content {
    max-width: 800px;
    margin: 30px auto;
    text-align: left;
    line-height: 1.8;
}

.about-us-content p {
    margin-bottom: 1.8rem;
}

/* Contact Section */
#contact {
    background-color: #fff;
}

.contact-form {
    max-width: 700px;
    margin: 30px auto;
    text-align: left;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.contact-form h3 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 1rem;
}

.contact-form p {
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    position: sticky;
    bottom: 0;
    width: 100%;
}

footer p {
    margin-bottom: 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    header h1 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

    nav ul {
        margin-top: 10px;
    }

    nav ul li {
        margin: 0 10px;
    }

    .language-switcher {
        margin-left: 0;
        margin-top: 10px;
    }

    .hero {
        padding: 120px 20px;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1.1em;
    }

    section {
        padding: 60px 20px;
    }

    section h2 {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        padding: 0 10px;
    }
}