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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family: Arial,Helvetica,sans-serif;
    color: #2f2c2c;
    background: snow;
}

img {
    display: block;
    max-width: 100%;

    pointer-events: none;
    user-select: none;
}


header {
    position:fixed;
    top:0;left:0;width:100%;
    backdrop-filter:blur(10px);
    background:rgba(255,255,255,.35);
    z-index:100;
    transition:all .4s ease;
}


header.scrolled {
    padding: .4rem 0;
    background-image: linear-gradient(to left, #ffc9ad, #ffd1aa, #ffd9a9, #ffe2a8, #ffeba9, #ffebb3, #ffecbe, #ffedc8, #ffecdd, #fff0f3, #fff8ff, #ffffff);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    padding: 1rem;
    max-width: 1200px;
}

.logo {
    font-family: 'Zapfino','cursive';
    font-size: 26px;
    color: red;
}

.nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav a {
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    color: red;
}
.burger{
  width:28px;
  height:20px;
  display:none;
  flex-direction:column;
  justify-content:space-between;
  cursor:pointer;
  z-index:999;
}

.burger span{
  height:3px;
  width:100%;
  background:red;
  border-radius:2px;
  transition:.35s ease;

}


.burger.active span:nth-child(1){
  transform:translateY(10px) rotate(45deg);
}

.burger.active span:nth-child(2){
  opacity:0;
}

.burger.active span:nth-child(3){
  transform:translateY(-10px) rotate(-45deg);
}

@media(max-width:768px){
  .nav-links {
    display: none !important;
  }
  
  .burger {
    display: flex !important;
    margin-left: auto;
  }
  
  .mobile-menu.active {
    display: block;
  }
}

@media (max-width:768px) {
    .nav ul {
        position: fixed;
        top: 100px;
        right: -100%;
        flex-direction: column;
        width: 100%;
        padding: 2rem 0;
        text-align: center;
        background-image: linear-gradient(to left, #ffc9ad, #ffd1aa, #ffd9a9, #ffe2a8, #ffeba9, #ffebb3, #ffecbe, #ffedc8, #ffecdd, #fff0f3, #fff8ff, #ffffff);
        transition: .4s;
    }

    .nav ul.open {
        right: 0;
    }

    .burger {
        display: block;
    }
}


section{
  position:relative;
  padding:10rem 2rem;
  min-height:100vh;
  scroll-margin-top:120px;
}



.section-title{
  position:absolute;
  top:30px;
  left:50%;
  transform:translateX(-50%);
  font-size:25px;
  letter-spacing:5px;
  text-align:center;
  pointer-events:none;
}


.hero,
.rooms,
.contact{
  display:flex;
  align-items:center;
  justify-content:center;
}


.hero{
  background:url("img/SaraHday.jpg") center/cover no-repeat;
}

@media(max-width:768px){
  .hero{
    background-attachment:scroll;
  }
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.25);
}


.hero-content {
    position: relative;
    padding-top: 200px;
    padding-bottom: 250px;
    border-radius: 10px;
    text-align: center;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    width: 85%;
}


  .about{
    background:url('img/Keren_paint.png') center/cover;
    position:relative;
  }



.about-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:40px;
  max-width:1100px;
  width:100%;
  margin:0 auto; /* ← clé */
}

@media (max-width: 768px){
  .about{
    padding:60px 16px;
  }

  .about-cards{
    grid-template-columns:1fr;
  }
}



.about-card{
  background:rgba(255,255,255,.18);
  backdrop-filter:blur(12px);
  border-radius:22px;
  padding:32px 24px;
  text-align:center;
  color:#1f1f1f;
  transition:.35s ease;
  box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.about-card img{
  margin:0 auto 18px;
  max-width:120px;
}

.about-card h3{
  margin-bottom:12px;
  font-size:20px;
  letter-spacing:2px;
}

.about-card p{
  font-size:14px;
  line-height:1.6;
}

.about-card:hover{
  transform:translateY(-10px);
}


.masonry{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  max-width:1200px;
  margin:0 auto;
}

.masonry img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  border-radius:16px;
  cursor:pointer;
  transition:.35s ease;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

@media(max-width:900px){
  .masonry{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:520px){
  .masonry{
    grid-template-columns:1fr;
  }
}


.room-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:32px;
  max-width:900px;
  width:100%;
  margin:0 auto;
}

.room{
  background:#e8dcc8;
  border-radius:20px;
  padding:28px 22px;
  text-align:center;
  box-shadow:0 18px 35px rgba(0,0,0,.15);
  transition:.35s ease;
}



.rooms{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:center;
  padding:80px 20px;
  background:#f4efe7;
}


.room i{
  font-size:34px;
  margin-bottom:12px;
}

.room h4{
  margin-bottom:10px;
  letter-spacing:1px;
}

.room img{
  margin:14px auto;
  max-width:64px;
}

.room p{
  font-size:14px;
  line-height:1.5;
}

.room:hover{
  transform:translateY(-8px);
}

@media (max-width: 768px){
  .room-grid{
    grid-template-columns:1fr;
  }
}







.room-photos{
  margin-top:60px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  max-width:1100px;
  width:100%;
  margin-left:auto;
  margin-right:auto;
}



@media (max-width:900px){
  .room-photos{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:520px){
  .room-photos{
    grid-template-columns:1fr;
  }
}




.sh img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  border-radius:16px;
  cursor:pointer;
  transition:.35s ease;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

.sh img:hover{
  transform:translateY(-8px);
}






.masonry img,
.room-photos img {
  pointer-events: none;
}






.masonry div::after,
.room-photos .sh::after {
  content: "© SARA Hotel";
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
}

.masonry div,
.sh {
  position: relative;
}


.contact-wrapper{
  display:flex;
  align-items:center;
  justify-content:center;
   gap:clamp(40px, 6vw, 90px);
  flex-wrap:wrap;
}



.iphone-float {
    animation: float 5s ease-in-out infinite;
}


.iphone {
    margin-right:40px;
    width: 280px;
    height: 560px;
    padding: 10px;
    border-radius: 40px;
    background: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,.4);
}



.iphone-screen {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: #111 url(img/Vue_ciel.jpg) center/cover no-repeat;
}



.iphone-header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    font-size: 14px;
    color: #fff;
    background: rgba(0,0,0,.5);
}



.iphone-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.iphone-content img {
    display: block;
    width: 100%;
    border-radius: 10px;
}



.iphone-icons {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 60px;
    font-size: 22px;
    color: #fff;
    background: #000;
}


@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


@media (max-width:768px) {
    .iphone {
        width: 240px;
        height: 480px;
    }
}

@media (max-width:480px) {
    .iphone {
        width: 220px;
        height: 440px;
    }
}



.contact-map{

  width:675px;
  height:550px;
  border-radius:18px;
  overflow:hidden;
  box-shadow:20px 20px 50px rgba(3, 3, 3, 0.35);

}

.contact-map iframe{
  width:100%;
  height:100%;
  padding:10px;
  border:5px 5px 5px inset;
}


@media(max-width:1024px){
  .contact-wrapper{
    gap:40px;
  }
}

@media(max-width:900px){
  .contact-wrapper{
    flex-direction:column;
  }

  .contact-map{
    width:100%;
    max-width:520px;
    height:450px;
  }
}


footer {
    padding: 3rem 1rem;
    color: black;
    background: #020024;
background-image: linear-gradient(to right, #ffc9ad, #ffd1aa, #ffd9a9, #ffe2a8, #ffeba9, #ffebb3, #ffecbe, #ffedc8, #ffecdd, #fff0f3, #fff8ff, #ffffff);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 2rem;
    margin: auto;
    max-width: 1100px;
}

footer h6 {
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

footer hr {
    margin: 2rem 0;
    border-color: rgb(153, 11, 11);
}


.reveal {
    opacity: 0;
    transition: .8s;
    transform: translateY(40px);
}

.reveal.active {
    opacity: 1;
    transform: none;
}

