:root {
    --primary: #006db0;
    --secondary: #ff5a5f;
    --light: #fff5f3;
    --dark: #050d12;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
}

header {
    background-color: var(--dark);
    color: var(--dark);
    padding: 1rem;
    text-align: center;
}

nav {
    display: flex;
    justify-content: center;
    background-color: var(--light);
    padding: 1rem;
}

nav a {
    color: var(--dark);
    text-decoration: none;
    margin: 0 1rem;
    font-weight: bold;
}

nav a:hover {
    color: var(--primary);
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../../img/urlaub_portugal.webp');
    height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
}

section {
    padding: 3rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.container p {
    text-align: center;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

.caption {
    color: var(--dark);
}

.caption p {
    text-align: left;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

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

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

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

.gallery-item .caption {
    padding: 1rem;
    background-color: var(--light);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    margin: 1rem 0;
    color: var(--primary);
}

.cta {
    background-color: var(--primary);
    color: white;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e34b50;
}

.light {
    color: var(--light);
}

.dark {
    color: var(--dark);
}

footer {
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

.social {
    margin: 1rem 0;
}

.social a {
    color: white;
    margin: 0 0.5rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin: 0.5rem 0;
    }
}

.card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.card-image {
    height: 200px;
    background-color: #ccc;
    position: relative;
}

.special-offer {
    position: absolute;
    top: 20px;
    right: 0;
    background-color: #ff5a5f;
    color: white;
    padding: 8px 15px;
    font-weight: bold;
    border-radius: 5px 0 0 5px;
}

.card-content {
    padding: 25px;
}

.title {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.location {
    display: flex;
    align-items: center;
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.location svg {
    margin-right: 5px;
}

.features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #555;
    font-size: 14px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature svg {
    margin-bottom: 5px;
    color: #666;
}

.price-container {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.per-night {
    font-size: 14px;
    color: #777;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
}

.book-button {
    background-color: #0066ff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.book-button:hover {
    background-color: #0055dd;
}

.description {
    margin: 15px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.price-info {
    background-color: #0092c6;
    color: white;
    padding: 10px;
    margin: 15px 0;
    border-radius: 5px;
    font-weight: bold;
}

.price-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.price-item {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 5px;
    width: 300px;
}
       /* Layout und Container */
 .wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Flexbox Utilities */
.flex {
    display: flex;
    background: var(--dark);
}

.space-between {
    justify-content: space-between;
}

.row-center {
    align-items: center;
}

/* Header und Navigation */
header {
    background-color: var(--dark);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.primary-navigation {
    list-style: none;
    gap: 25px;
}

.primary-navigation a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 8px 0;
    position: relative;
}

.primary-navigation a:hover {
    opacity: 0.8;
}

.primary-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--light);
    transition: width 0.3s;
}

.primary-navigation a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.toggle-menu {
    display: none;
    background: var(--dark);
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger, 
.hamburger::before, 
.hamburger::after {
    content: '';
    display: block;
    background: var(--light);
    height: 3px;
    width: 25px;
    transition: all 0.3s ease;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(5px);
}

/* Hamburger Animation when open */
.toggle-menu[aria-expanded="true"] .hamburger {
    background: transparent;
}

.toggle-menu[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
}

.toggle-menu[aria-expanded="true"] .hamburger::after {
    transform: translateY(-3px) rotate(-45deg);
}

/* Responsive Menu */
@media (max-width: 768px) {
    .toggle-menu {
        display: block;
        z-index: 101;
    }
    
    .primary-navigation {
        position: fixed;
        inset: 0 0 0 30%;
        flex-direction: column;
        padding: min(30vh, 10rem) 2rem;
        background: var(--dark);
        transform: translateX(100%);
        transition: transform 0.3s ease-out;
        z-index: 100;
    }
    
    .primary-navigation[data-visible="true"] {
        transform: translateX(0);
    }
}

/* Logo */
.logo {
    color: var(--dark);
    font-size: 20px;
    font-weight: bold;
}
/*language button */
.custom-select-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    margin: 10px;
}

.custom-select-button {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: var(--dark);
    cursor: pointer;
    font-size: 0.9rem;
    justify-content: space-between;
}

.custom-select-button:hover {
    border-color: #999;
}

.arrow-down {
    border: solid var(--light);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 8px;
    transform: rotate(45deg);
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--dark);
    border: 1px solid #ccc;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
}

.custom-select-options.show {
    display: block;
}

.option {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.option:hover {
    background-color: #f0f0f0;
}

.flag {
    margin-right: 8px;
    font-size: 1rem;
}

.language-text {
    margin-bottom: 1rem;
    color: #666;
}