@font-face{
    font-family: "Tajawal";
    src: url("../font/Tajawal-Regular.ttf") format("truetype");
}

:root{
    --white: #fff;
    --black: #000;
    --transformBG: #fffaf6;
    --border: rgba(0, 0, 0, 0.2);
    --primary: #811810;
    --primaryHover: rgb(129, 24, 16, 0.75);
    --secondery: #e0c96e;
    --seconderyHover: rgb(224, 201, 110, 0.75);
    --lightGrey: #f8f8f8;
}

body[data-theme="grey"]{
}

body[data-theme="dark"]{
}

*,
*:before,
*:after{
    font-family: "Tajawal", serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    display: grid;
    grid-template-areas:
        "header"
        "main"
        "footer";
    gap: 7px;
    direction: ltr;
    background-color: #fff;
}

body .socialfixed{
    position: fixed;
    bottom: -100px;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

body .socialfixed a{
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 22px;
    transition: 0.3s ease;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

body .socialfixed i{
    display: flex;
    justify-content: center;
    align-items: center;
}

body .socialfixed i{
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ألوان حسب كل شبكة */
body .socialfixed a.facebook{
    background: #1877f2;
}
body .socialfixed a.instagram{
    background: radial-gradient(
        circle at 30% 107%,
        #fdf497 0%,
        #fdf497 5%,
        #fd5949 45%,
        #d6249f 60%,
        #285aeb 90%
    );
}
body .socialfixed a.whatsapp{
    background: #25d366;
}
body .socialfixed a.tiktok{
    background: #000000;
}

/* hover */
body .socialfixed a:hover{
    filter: brightness(1.1);
    transform: scale(1.08);
}

/************************ HEADER ************************/
body header{
    grid-area: header;
    display: grid;
    grid-template-rows: auto auto;
    margin: 0;
    padding: 0;
}
body header .contact{
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    background-image: url(../images/wallpaper/header.png);
    padding: 10px 8%;
}
body header .contact p{
    width: 300px;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    margin: 0;
    animation: scroll 8s linear infinite;
}
@keyframes scroll{
    0%{ text-indent: 300px; }
    100%{ text-indent: -100%; }
}

body header .contact .boxes{
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}
body header .contact .boxes .box{
    display: inline-flex;
    gap: 5px;
    align-items: center;
}
body header .contact .boxes .box i{
    display: grid;
    align-items: center;
}
body header .contact .boxes .box a{
    color: var(--white);
    text-decoration: none;
    transition: 0.46s;
}
body header .contact .boxes .box a:hover{
    color: var(--white);
    text-decoration: underline;
    transition: 0.46s;
}
body header .contact .connect{
    border-radius: 8px;
    border: 1px solid var(--white);
    width: 160px;
    height: 45px;
    transition: 0.46s;
    display: inline-flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
body header .contact .connect:hover{
    background: var(--border);
    transition: 0.46s;
    cursor: pointer;
}
body header .galerie{
    display: grid;
    grid-template-columns: 180px auto 160px;
    height: auto;
    padding: 10px 8%;
    min-height: 90px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
body header .galerie figure{
    height: auto;
    display: grid;
    align-items: center;
}
body header .galerie figure img{
    height: auto;
    width: 180px;
}

body header .galerie .categories{
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    align-items: center;
    font-family: "Segoe UI", Arial, sans-serif;
}

body header .galerie .categories .categorie{
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    font-size: 15px;
    color: #333;
}

body header .galerie .categories .categorie:hover{
    color: var(--primaryHover);
}
body header .galerie .categories .categorie p{
    cursor: pointer;
}
body header .galerie .categories .categorie i{
    font-size: 12px;
    margin-top: 2px;
}

body header .galerie .categories .categorie .dropdown{
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    min-width: 230px;
    flex-direction: column;
    padding: 12px 0;
    z-index: 4;
    animation: fadeIn 0.25s ease;
    max-height: 500px;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
body header .galerie .categories .categorie .dropdown::-webkit-scrollbar{
    width: 0;
    height: 0;
}
body header .galerie .categories .categorie .dropdown .title{
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
    display: inline-block;
    margin-left: 10px;
}

body header .galerie .categories .categorie .dropdown .item{
    padding: 10px 18px;
    font-size: 14px;
    color: #444;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
}

body header .galerie .categories .categorie .dropdown .item:hover{
    background: var(--primaryHover);
    color: var(--white);
}

body header .galerie .categories .categorie:hover > .dropdown{
    display: flex !important;
}

body header .galerie .categories .categorie .dropdownGrid{
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    padding: 15px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    width: max-content;
    max-width: 70vw;
    animation: fadeIn 0.25s ease;
    box-sizing: border-box;
    max-height: 500px;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
body header .galerie .categories .categorie .dropdownGrid::-webkit-scrollbar{
    width: 0;
    height: 0;
}
body header .galerie .categories .categorie .dropdownGrid .title{
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
    display: inline-block;
}

body header .galerie .categories .categorie .dropdownGrid .item{
    padding: 8px 10px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    transition: all 0.25s ease;
}

body header .galerie .categories .categorie .dropdownGrid .item:hover{
    transform: translateX(3px);
}

body header .galerie .categories .categorie:hover > .dropdownGrid{
    display: grid !important;
}

body header .galerie .categories .categorie .dropdownGrid .item:hover{
    transform: translateX(3px);
}

body header .galerie .categories .categorie:hover > .dropdownGrid{
    display: grid !important;
}

@keyframes fadeIn{
    from{
        opacity: 0;
        transform: translateY(8px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

body header .galerie .functions{
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 15px;
}

body header .galerie .functions .pc{
    transition: 0.46s;
    width: 140px;
    height: 55px;
    display: grid;
    justify-items: center;
    align-content: center;
}
body header .galerie .functions .pc:hover{
    border-color: var(--primary);
    background-color: var(--primary);
    color: white;
    transition: 0.46s;
}
body header .galerie .functions .phone{
    display: none;
}
body header .galerie .functions .discovery{
    color: var(--black);
    cursor: pointer;
    transition: 0.46s ease;
    text-align: center;
    border-radius: 8px;
    width: 160px;
    height: 45px;
    display: inline-flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}
body header .galerie .functions a{
    text-decoration: none;
    color: var(--black);
    font-size: 20px;
}
body header .galerie .functions .discovery i{
    display: grid;
    justify-items: center;
    align-content: center;
    font-size: 24px;
}
/************************ MAIN ************************/
body main{
    grid-area: main;
    height: auto;
    margin: 10px 10px 25px 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

main .container{
    background: #fff;
    border-radius: 8px;
    padding: 30px 25px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    animation: fadeIn 0.6s ease;
}

main .brand{
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

main .brand .logo{
    width: 55px;
    min-width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 4px 10px var(--primaryHover);
}

main .brand h1{
    font-size: 22px;
    margin: 0;
    color: #333;
}

main .brand p.lead{
    font-size: 14px;
    color: #666;
    margin-top: 3px;
}

main .alert{
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

main .alert-error{
    background: #ffe6e6;
    color: #b30000;
    border: 1px solid #f5c2c7;
}

main form{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

main .field{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

main .field label{
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

main .field input,
main .field textarea,
main .field select{
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
}

main .field input:focus,
main .field textarea:focus,
main .field select:focus{
    border-color: var(--primary);
    box-shadow: 0 0 4px var(--primaryHover);
}

main .field select{
    appearance: none;
    background: #fff url("data:image/svg+xml;utf8,<svg fill='%23333' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 10px center;
    background-size: 16px;
    cursor: pointer;
}

main #roomsContainer h3{
    margin-top: 10px;
}

main #roomsContainer .field label{
    margin-top: 10px;
}

main .btn{
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease;
    width: 100%;
}

main .btn:hover{
    background: var(--primaryHover);
}

main .footer{
    margin-top: 20px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

main .footer a{
    color: var(--primary);
}

.helper{
    font-size: 12px;
    color: #b30000;
    min-height: 16px;
}

@keyframes fadeIn{
    from{ opacity: 0; transform: translateY(15px); }
    to{ opacity: 1; transform: translateY(0); }
}

/************************ FOOTER ************************/
body footer{
    grid-area: footer;
    background:#f8f9fb;
    color:var(--text);
    padding:12px 8%;
}

body footer .section-title{
    text-align:center;
    font-size:22px;
    margin:6px 0 16px;
    font-weight:800;
}


body footer .g-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:16px;
}
body footer .g-item{
    background:var(--white);
    border:1px solid var(--border);
    border-radius:10px;
    padding:14px;
    text-align:center;
}
body footer .g-icn{
    display:inline-flex;
    width:40px;height:40px;
    align-items:center;justify-content:center;
    border-radius:10px;
    background:rgba(0,0,0,.04);
    font-size:20px;margin-bottom:8px;
}
body footer .g-item h4{ margin:6px 0 4px; font-size:15px; font-weight:800; }
body footer .g-item p{ margin:0; color:var(--muted); font-size:13px; }

body footer .brandbar{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:18px;
    align-items:flex-start;
    padding:16px 0 6px;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    margin-bottom:18px;
}

body footer .brand .brand-logo{
    font-size:26px;
    font-weight:900;
    color:var(--primary);
    margin-bottom:6px;
}
body footer .brand p{ color:var(--muted); margin:0; }

body footer .socials{
    display: grid;
    justify-content: end;
}
body footer .socials .s-title{ font-size:14px; margin-bottom:6px; }
body footer .socials .s-row{ display:flex; gap:8px; }
body footer .socials .s-row a{
    width:36px;height:36px;border-radius:50%;display:inline-flex;
    align-items:center;justify-content:center;background:#fff;
    border:1px solid var(--border); text-decoration:none; color:#111; font-weight:800;
}
body footer .socials .s-icn{ display:flex; align-items: center; }
body footer .socials .s-icn i{ display:flex; align-items: center; }

body footer .socials .s-icn[aria-label="Facebook"] i{ color:#1877F2; }
body footer .socials .s-icn[aria-label="WhatsApp"] i{ color:#25D366; }

body footer .socials .s-icn[aria-label="Instagram"] i{
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
}
body footer .socials .s-icn[aria-label="TikTok"] i{
    color:#000;
    text-shadow:
        0 0 6px rgba(105,201,208,.35),
        0 0 6px rgba(238,29,82,.25);
}

body footer .linkcols{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin:18px 0;
}
body footer .linkcols .col h4{
    position:relative; margin:0 0 12px; font-weight:800; font-size:16px; padding-bottom:6px;
}
body footer .linkcols .col h4:after{
    content:""; position:absolute; left:0; bottom:0; width:56px; height:4px;
    background:var(--accent); border-radius:8px;
}
body footer .linkcols ul{ list-style:none; padding:0; margin:0; }
body footer .linkcols li{ margin:8px 0; }
body footer .linkcols a{
    color:var(--muted); text-decoration:none; transition:.2s ease;
}
body footer .linkcols a:hover{ color:var(--text); margin-left:5px; }

body footer .legalbar{
    background-image: url(../images/wallpaper/footer.png);
    color:var(--white);
    margin:0 -8%;
    padding:26px 8% 18px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
body footer .legalbar .lb-row{
    display:grid; gap:20px; grid-template-columns:1fr 1fr;
    align-items:start;
}
body footer .legalbar h3{ margin:0 0 10px; font-size:18px; font-weight:800; }
body footer .legalbar ul{ list-style:none; padding:0; margin:0; }
body footer .legalbar li{ margin:8px 0; }
body footer .legalbar a{ color:#d7d7d7; text-decoration:none; transition:.2s ease; }
body footer .legalbar a:hover{ color:#fff; }

body footer .legalbar p{ color:#d7d7d7; margin:6px 0; line-height:1.6; }
body footer .legalbar strong{ color:#fff; }

body footer .legalbar .lb-copy{
    grid-column:1 / -1; text-align:right; color:#b8b8b8; margin-top:6px;
}


@media (max-width: 1224px){
    /************************ MAIN ************************/
    body main .splide img{
        height: 450px;
    }
    body main .hotels .hotels-grid{ grid-template-columns: repeat(2, 1fr); }
    body footer .legalbar .lb-row{ grid-template-columns:1fr; }
    body footer .legalbar .lb-copy{ text-align:left; }
    body footer .brandbar{ grid-template-columns:1fr; }
    body footer .linkcols{ grid-template-columns:repeat(2,1fr);}
    body footer .g-grid{ grid-template-columns:repeat(3,1fr);}
}

@media (max-width: 768px){
    /************************ HEADER ************************/
    body header{
        grid-area: header;
        position: fixed;
        margin: 0px;
        padding: 0px;
        grid-template-rows: auto auto;
        align-items: center;
        min-height: 80px;
        width: 100%;
        background-color: var(--white);
        z-index: 3;
    }
    body header .contact{
        display: none;
    }
    body header .galerie{
        margin: 0px;
        padding: 0px;
        display: grid;
        align-items: center;
        grid-template-columns: auto auto;
        height: 80px;
        background-color: var(--white);
    }
    body header .galerie figure{
        z-index: 4;
        margin-left: 7px;
        display: grid;
        align-items: center;
        background-color: var(--white);
        height: 100%;
    }
    body header .galerie figure img{
        height: auto;
        width: 140px;
    }
    body header .galerie .categories{
        display: grid;
        position: absolute;
        background-color: var(--white);
        z-index: 3;
        width: 100%;
        right: 0;
        top: -1000px;
        transition: top 0.46s ease;
        justify-content: start;
        gap: 0px;
    }
    body header .galerie .categories .categorie{
        cursor: default;
        width: 100%;
        height: 55px;
        margin-left: 7px;
    }
    body header .galerie .categories .categorie:hover > .dropdown{
        display: none !important;
    }
    body header .galerie .categories .categorie.active > .dropdown{
        display: flex !important;
    }
    body header .galerie .categories .categorie:hover > .dropdownGrid{
        display: none !important;
    }
    body header .galerie .categories .categorie.active > .dropdownGrid{
        display: grid !important;
    }
    body header .galerie .functions{
        gap: 10px;
        z-index: 4;
        margin-right: 7px;
    }
    body header .galerie .functions .discovery{
        display: grid;
        font-size: 20px;
        height: 50px;
        width: 50px;
        justify-content: center;
        align-items: center;
    }
    body header .galerie .functions .discovery p{
        display: none;
    }
    body header .galerie .functions .discovery i{
        font-size: 20px;
        color: var(--black);
        transition: 0.46s;
    }
    body header .galerie .functions .discovery i:active{
        color: var(--primary);
        transition: 0.46s;
    }
    body header .galerie .functions .pc{
        display: none;
    }
    body header .galerie .functions .phone{
        display: grid;
        font-size: 20px;
        height: 50px;
        width: 50px;
        justify-content: center;
        align-items: center;
    }
    body header .galerie .functions .phone i{
        display: grid;
        justify-content: center;
        align-items: center;
        color: var(--black);
        transition: 0.46s;
    }
    body header .galerie .functions .phone i:active{
        color: var(--primary);
        transition: 0.46s;
    }
    /************************ MAIN ************************/
   body main{
        grid-area: main;
        height: auto;
        margin: 90px 10px 20px 10px;
        overflow: hidden;
    }

    /************************ FOOTER ************************/
    body footer .linkcols{ grid-template-columns:1fr;}
    body footer .g-grid{ grid-template-columns:repeat(2,1fr);}
}
