body {
    margin: 0;
    background: white;
    font-family: 'Almarai', sans-serif;
}

header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 0 5px 3px rgb(171 171 171 / 30%);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-mid{
    display: flex;
    align-items: center;
    gap: 60px;
}

.social-icons {
    display: flex;
    margin-right: 10px;
}

.social-icons a {
    display: inline-block;
    width: 24px; /* Adjusted size */
    height: 24px;
    background-size: cover;
    margin-left: 8px; /* Adjusted spacing */
}


.social-icons .fb-icon {
    background-image: url('images/facebook.png');
}

.social-icons .wa-icon {
   background-image: url('images/whatsapp.png');
}

.social-icons .ig-icon {
    background-image: url('images/instagram.png');
}

.social-icons .x-icon {
    background-image: url('x-icon.png');
}

.search-box {
    border: 1px solid #ccc;
    border-radius: 20px; /* Rounded ends */
    padding: 5px;
    margin-left: 10px;
}

.search-box input {
    border: none;
    outline: none;
    padding: 5px 10px; /* Corrected padding */
    font-size: 14px;
    background-color:transparent
}


.logo img {
    height: 60px;
    margin-left: 20px;
}

.header-mid nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.header-mid nav ul li {
    margin-left: 20px;
}

.header-mid nav ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1.1rem;
}

.header-mid nav ul li a:hover {
    color: #f7a332;
}

.widget h1{
    text-align: center;
    color: #03b2b4;
    font-family: "Finger Paint", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
}
.widget h1 span{
    color: #f7a332;
}

/* ///////////////////////////////////////////////////////////////////// */

/* حاوية البانر */
.slider-container {
    height: 450px;
    overflow: hidden;
    margin: 20px 25px;
    border-radius: 20px;
    position: relative;
}

.slider {
display: flex;
transition: transform 0.5s ease-in-out; /* تأثير الانتقال السلس */
}

.slide {
flex: 0 0 100%; /* كل صورة تأخذ عرض الحاوية */
}

.slide img {
width: 100%;
height: 100%;
object-fit: cover; /* لضمان احتواء الصورة دون تشويه */
}
  

.mid-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding: 5rem 2rem; */
}

.mid-section h1{
    text-align: center;
    color: #03b2b4;
    font-family: "Finger Paint", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 4rem;
    margin-bottom: 75px;
}
.mid-section h1 span{
    color: #f7a332;
}

.mid-section-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card{
    display: flex;
    background: white;
    max-width: 240px;
    padding: 45px 70px;
    border-radius: 1em;
    box-shadow: 0 0 40px rgb(0 0 0 / 11%);
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card a{
    text-decoration: none;
}

.card h3{
    color: #01519e;
}

.card img{
    width: 100px;
    height: 100px;
}

.card:hover{
    background-color: #03b2b4;
}
.card:hover h3{
    color: white;
}
.whatsapp{
    margin-top: 40px;
    border: 1px solid #198754;
    border-radius: 6px;
    padding: 10px;
}
.whatsapp a{
    text-decoration: none;
    color: #198754;
}
.whatsapp:hover{
    background-color: #198754;
}
.whatsapp:hover a{
    color: white;
}
/* ////////////////////////////////////// */

.container-article {
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.container-article h1 {
    color: #03b2b4;
    font-size: 3rem;
    font-weight: bold;
}

.hotels {
    display: none;
}

.hotels.active {
    display: flex;
    gap: 45px;
}

.hotel {
    max-width: 300px;;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.hotel img{
    width: 300px;
    height: 300px;
    border-radius: 20px;
}

.details{
    background: #157c5a;
    padding: 11px;
    border-radius: 12px;
}
.details a{
    color: white;
    text-decoration: none;
}

.navigation {
    min-width: 300px;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.navigation button {
    background-color: #157c5a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.navigation button:hover {
    background-color: #409679;
}

.navigation button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.location{
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

/* ///////////hotel info//////////// */

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.container h1{
    color: #444;
}
.hotel-slider {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}
.hotel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.hotel-slides img {
    max-width: 500px;
    border-radius: 10px;
    display: none; /* إخفاء جميع الصور بشكل افتراضي */
}
.hotel-slides img.active {
    display: block; /* عرض الصورة النشطة فقط */
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 0 5px 5px 0;
}
.next {
    right: 0;
    border-radius: 5px 0 0 5px;
}
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.dots {
    text-align: center;
    margin-top: 20px;
}
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.dot.active, .dot:hover {
    background-color: #717171;
}
/* ///////////////////////// */
.hotel-info-con{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin: 0 8rem;
}



.hotel-name h1{
    text-align: right;
    color: #03b2b4;
    font-family: "Finger Paint", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem;
}
.hotel-name h1 span{
    color: #f7a332;
}

.carousel {
    position: relative;
    max-width: 640px;
    /* margin-right: 8rem; */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.carousel img {
    width: 100%;
    height: 400px; /* الارتفاع المحدد */
    object-fit: cover; /* لضبط الصورة داخل الأبعاد */
    display: none;
}
.carousel img.active {
    display: block;
}
.carousel-buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.carousel-buttons button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}
.description {
    max-width: 600px;
    /* margin-right: 8rem; */
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.description h2 {
    color: #004080;
}


.form-container {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1)
}

h2 {
  text-align: center;
    margin-bottom: 20px;
  color: #29B4AA;
}

.form-group {
    margin-bottom: 15px;
}

input, textarea {
  width: calc(100% - 20px);
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 1rem; /* Adjust for better readability */
  text-align: right;
  outline: none; /* Remove focus outline */
  resize: none; /* Prevent textarea resizing */
}

input::placeholder, textarea::placeholder {
    color: #999;
  }

.submit-button {
    background-color: #29B4AA; /* Green submit button */
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin-left: auto; /* Push button to the right */
    margin-right: auto;
    text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  }

.whatsapp-icon {
  width: 16px;
  height: 16px;
  }

.know{
    margin: 3rem;
}
.know h1{
    color: #03b2b4;
}

.know-content{
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    gap: 30px;
}

.know-content img{
    width: 600px;
    border-radius: 20px;
}
.know-content p{
    font-size: 2rem;
}
.header-mid nav ul li {
    margin-left: 20px;
}
.header-mid nav ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1.1rem;
}
.header-mid nav ul li a:hover {
    color: #f7a332;
}
body {
    margin: 0;
    background: white;
    font-family: 'Almarai', sans-serif;
}
header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 0 5px 3px rgb(171 171 171 / 30%);
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}
.header-left {
    display: flex;
    align-items: center;
}
.header-mid{
    display: flex;
    align-items: center;
    gap: 60px;
}
.social-icons {
    display: flex;
    margin-right: 10px;
}
.social-icons a {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    margin-left: 8px;
}
.social-icons .fb-icon {
    background-image: url('images/facebook.png');
}
.social-icons .wa-icon {
   background-image: url('images/whatsapp.png');
}
.social-icons .ig-icon {
    background-image: url('images/instagram.png');
}
  .social-icons .x-icon {
    background-image: url('images/x-icon.png');
}
.search-box {
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px;
    margin-left: 10px;
}
.search-box input {
    border: none;
    outline: none;
    padding: 5px 10px;
    font-size: 14px;
    background-color:transparent
}
.logo img {
    height: 60px;
    margin-left: 20px;
}
.header-mid nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}
.header-mid nav ul li {
    margin-left: 20px;
}
.header-mid nav ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1.1rem;
}
.header-mid nav ul li a:hover {
    color: #f7a332;
}
.widget h1{
    text-align: center;
    color: #03b2b4;
    font-family: "Finger Paint", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
}
.widget h1 span{
    color: #f7a332;
}
.about-container {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    font-family: 'Almarai', sans-serif;
    line-height: 1.6;
}
.about-container h2 {
 text-align: center;
  color: #03b2b4;
   margin-bottom: 20px;
}
.about-content {
    margin-bottom: 30px;
}

/* قواعد الاستجابة للأجهزة الصغيرة */
@media (max-width: 768px) {
    /* تقليل الهوامش والعرض الإجمالي للعناصر */
    .header {
        flex-direction: column;
        width: 100%;
        padding: 10px;
    }

    .header-mid {
        flex-direction: column;
        gap: 20px;
    }

    .social-icons {
        margin: 0 auto;
    }

    .slider-container {
        height: 250px;
        margin: 10px 15px;
    }

    .mid-section h1 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .mid-section-content {
        grid-template-columns: 1fr; /* عمود واحد */
        gap: 1.5rem;
    }

    .card {
        max-width: 100%;
        padding: 30px 20px;
    }

    .hotel {
        max-width: 100%;
    }

    .hotel img {
        width: 100%;
        height: auto;
    }

    .hotel-info-con {
        flex-direction: column;
        margin: 0 1rem;
    }

    .carousel img {
        height: 250px;
    }

    .about-container {
        width: 95%;
        padding: 15px;
    }

    .know-content {
        flex-direction: column;
    }

    .know-content img {
        width: 100%;
    }

    .description {
        max-width: 100%;
        padding: 15px;
    }
}

/* قواعد لشاشات أصغر من 480px */
@media (max-width: 480px) {
    .header-left {
        justify-content: center;
    }

    .search-box {
        width: 90%;
        margin: 10px auto;
    }

    .logo img {
        height: 40px;
    }

    .mid-section h1 {
        font-size: 1.5rem;
    }

    .card img {
        width: 80px;
        height: 80px;
    }

    .carousel img {
        height: 200px;
    }

    input, textarea {
        font-size: 0.9rem; /* تحسين النصوص للشاشات الصغيرة */
    }

    .submit-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}