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

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

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

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(270deg, #e5d7c6, #f2f2f1, #ddd3c3, #f2f2f1);
    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: #f2f2f1; 
    text-align: center; 
}

/* ---------------- Upcoming Workshops (Animated Gradient) ---------------- */
.upcoming-workshops {
    position: relative;
    padding: 4rem 1rem;
    background: linear-gradient(270deg, #ddd3c3, #e5d7c6, #f2f2f1, #ddd3c3);
    background-size: 800% 800%;
    animation: gradientBG 20s ease infinite, gradientHover 10s ease-in-out infinite alternate;
    text-align: center;
    color: #7a4b2b;
    transition: transform 0.3s ease;
}

.upcoming-workshops::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;
}

@keyframes gradientHover {
    0% { filter: brightness(0.98); }
    50% { filter: brightness(1.02); }
    100% { filter: brightness(0.98); }
}

.upcoming-workshops h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #b97c50;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.workshop-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    box-shadow: 0px 8px 25px rgba(0,0,0,0.18);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-card:hover {
    transform: scale(1.02);
    box-shadow: 0px 12px 35px rgba(0,0,0,0.22);
}

.workshop-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #b97c50;
    margin-bottom: 1rem;
}

.workshop-details {
    font-size: 1.1rem;
    color: #7a4b2b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.workshop-card .cta-button {
    font-size: 1.05rem;
    padding: 0.9rem 2rem;
}

/* ---------------- Responsive for Workshops ---------------- */
@media (max-width: 768px) {
    .workshop-name { font-size: 1.4rem; }
    .workshop-details { font-size: 1rem; }
}

@media (max-width: 480px) {
    .workshop-name { font-size: 1.25rem; }
    .workshop-details { font-size: 0.95rem; }
}


/* ---------------- Testimonials ---------------- */
.testimonials {
    position: relative;
    padding: 5rem 1rem;
    background-color: #f2f2f1;
    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-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; }

/* ---------------- Location Section ---------------- */
.where {
    position: relative;
    min-height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(270deg, #ddd3c3, #e5d7c6, #f2f2f1, #ddd3c3);
    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 Section ---------------- */
.about {
    position: relative;
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    background: linear-gradient(270deg, #f2f2f1, #e5d7c6, #f2f2f1);
    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: #cda785;
  color: #fff;
  padding: 2rem 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 {
  background-color: #b97c50;
  color: #fff;
}

.footer-top a.cta-button:hover {
  background-color: #a1643f;
}

footer p, footer a {
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
  transition: opacity 0.3s, color 0.3s;
}

footer a:hover {
  color: #ffecd1;
  opacity: 1;
}

footer p:last-child {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

#footer-copy {
  font-size: 0.85rem;
  color: #f4f4f3;
  margin-top: 24px;
  margin-bottom: 10px;
  display: block;
  text-align: center;
}

/* ---------------- Removed Airbnb block ---------------- */
/* (All .airbnb-experiences-logo related styling removed) */

.cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .cta-wrapper {
        justify-content: center;
        text-align: center;
    }
}

/* ---------------- 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; }
}

/* ---------------- Visitor Counter ---------------- */
.visitor-counter {
    display: block;
    text-align: center;
    font-size: 0.8em;
    color: #ffecd1;
    margin-top: 10px;
    min-height: 1em;
}

/* ---------------- Cookie Banner ---------------- */
#cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f4f4f3;
    color: #333;
    padding: 15px 20px;
    text-align: center;
    z-index: 99999;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.2);
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#cookie-consent button {
    padding: 8px 18px;
    background-color: #b45f1d;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

#cookie-consent button:hover {
    background-color: #9c4c14;
}

@media (max-width: 480px) {
    #cookie-consent {
        flex-direction: column;
        font-size: 13px;
        padding: 12px 15px;
        text-align: center;
    }

    #cookie-consent button {
        margin: 10px auto 0 auto;
    }

    .top-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }
    .logo { font-size: 1.8rem; }
    .lang-selector { gap: 0.3rem; }
    .lang-selector button { padding: 0.3rem 0.6rem; font-size: 0.85rem; }
}


/* ---------------- Booking Modal ---------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.3);
    position: relative;
    text-align: left;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    color: #b97c50;
    margin-bottom: 1rem;
}

.modal-content label {
    display: block;
    margin-top: 1rem;
    font-weight: 500;
}

.modal-content input {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.3rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.modal-content .cta-button {
    margin-top: 1.5rem;
    width: 100%;
}

/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #b97c50;
    font-weight: bold;
}

#booking-status {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: green;
}
