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

body { font-family: 'Roboto', sans-serif; background-color: #f7f1ed; color: #333; }

header {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #f7f1ed;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(270deg, #f5e0c3, #f7f1ed, #ecd7b0, #f7f1ed);
    background-size: 800% 800%;
    animation: gradientBG 20s ease infinite;
    z-index: 0;
}
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.top-bar {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    z-index: 10;
}

.logo { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; letter-spacing: 4px; color: #b97c50; }
.lang-selector { display: flex; gap: 0.5rem; }
.lang-selector button {
    background: rgba(185,124,80,0.2);
    border: none; color: #b97c50;
    padding: 0.4rem 0.8rem; border-radius: 5px; cursor: pointer;
    transition: 0.3s;
}
.lang-selector button:hover { background: rgba(185,124,80,0.4); transform: scale(1.05); }

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: left;
    max-width: 1200px;
    padding: 0 1rem;
    z-index: 2;
    position: relative;
}

.hero-text {
    flex: 1;
    min-width: 280px;
    margin-right: 2rem;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: #b97c50;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #7a4b2b;
}

.cta-button {
    background-color: #b97c50;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}
.cta-button:hover { background-color: #a1643f; transform: scale(1.05); }

.hero-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.2);
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s;
}
.hero-image:hover {
    transform: scale(1.03);
    box-shadow: 0px 15px 40px rgba(0,0,0,0.25);
}

.book-now { padding: 3rem 1rem; background-color: #f7f1ed; text-align: center; }

.testimonials {
    position: relative;
    padding: 5rem 1rem;
    background-color: #f7f1ed;
    text-align: center;
}
.testimonials::before {
    content: "";
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background-image: url('https://www.transparenttextures.com/patterns/moroccan-flower.png');
    opacity: 0.05; z-index:0;
}
.testimonials h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #b97c50;
    margin-bottom: 3rem;
    position: relative;
    z-index:1;
}

/* Testimonial box width */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 700px;
    width: 90%;
    margin: 1.5rem auto;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}
.testimonial-card p { font-size: 1rem; line-height: 1.5; margin-bottom: 1rem; }
.testimonial-card h3 { font-family: 'Playfair Display', serif; color: #b97c50; }

.where {
    position: relative;
    min-height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(270deg, #ecd7b0, #f5e0c3, #f7f1ed, #ecd7b0);
    background-size: 800% 800%;
    animation: gradientBG 20s ease infinite;
    padding: 2rem 1rem;
    color: #7a4b2b;
    text-align: center;
}
.where::before {
    content: "";
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background-image: url('https://www.transparenttextures.com/patterns/moroccan-flower.png');
    opacity: 0.05; z-index:0;
}
.where h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #b97c50;
    position: relative;
    z-index:1;
}
.where p {
    font-size: 1.1rem;
    max-width: 90%;
    line-height: 1.5;
    position: relative;
    z-index:1;
}
.where a { color: #b97c50; text-decoration: underline; }
.where a:hover { color: #7a4b2b; }

.about {
    position: relative;
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    background: linear-gradient(270deg, #f7f1ed, #f5e0c3, #f7f1ed);
    background-size: 800% 800%;
    animation: gradientBG 20s ease infinite;
    color: #7a4b2b;
}
.about::before {
    content: "";
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background-image: url('https://www.transparenttextures.com/patterns/moroccan-flower.png');
    opacity: 0.05; z-index:0;
}
.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #b97c50;
    position: relative;
    z-index:1;
}
.about p {
    font-size: 1.1rem;
    max-width: 90%;
    line-height: 1.5;
    position: relative;
    z-index:1;
}

/* ---------- Footer ---------- */
footer {
  background-color: #b97c50;
  color: white;
  padding: 1rem 1rem;
  text-align: center;
}
.footer-top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.footer-top a.cta-button {
  position: relative;
  right: 0;
  top: 0;
  transform: none;
  background-color: #a1643f;
}
footer p, footer a { color: white; text-decoration: none; }
footer a:hover { color: #ffecd1; }
footer p:last-child { margin-top: 0.5rem; font-size: 0.85rem; }

/* ---------- CTA + Airbnb area ---------- */
.cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

/* Centers Book Now + Airbnb when space is limited */
@media (max-width: 1100px) {
    .cta-wrapper {
        justify-content: center;
        text-align: center;
    }
}

.airbnb-experiences-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}
.airbnb-experiences-logo span {
    font-size: 0.9rem;
    color: #777;
    font-weight: 500;
}
.airbnb-experiences-logo img {
    width: 80px;
    height: auto;
    filter: grayscale(100%) brightness(0.6);
    transition: filter 0.3s, opacity 0.3s;
}
.airbnb-experiences-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.airbnb-experiences-logo:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* ---------- Responsive Layout ---------- */
@media (max-width: 1024px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text { margin-right: 0; margin-bottom: 2rem; margin-top: 5rem; }
    .hero-text h1 { font-size: 2.4rem; }
    .hero-text p { font-size: 1.1rem; }
    .testimonial-card { max-width: 85%; }
}

@media (max-width: 768px) {
    .hero-text h1 { font-size: 2rem; }
    .hero-text p { font-size: 1rem; }
    .hero-image { max-width: 280px; height: auto; margin-bottom: 1.5rem; }
    .testimonials h2, .where h2, .about h2 { font-size: 1.8rem; }
    .cta-button { font-size: 1rem; padding: 0.8rem 1.5rem; }
    .testimonial-card { max-width: 95%; padding: 1.5rem; }
    .cta-wrapper { flex-direction: column; align-items: center; justify-content: center; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.6rem; }
    .hero-text p { font-size: 0.95rem; margin-bottom: 1.8rem; }
    .hero-image { max-width: 220px; }
    .cta-button { font-size: 0.95rem; padding: 0.7rem 1.2rem; }
    .top-bar { padding: 1rem; }
}
