﻿@font-face {
    font-family: 'avatrfont-bold';
    src: url('../../fonts/avatr/avatrfont-bold.ttf') format('truetype');
}

/* force mobile layout */
@media(min-width: 600px) {
    body {
        max-width: 420px;
        margin: 0 auto;
        max-width: 420px;
        margin: auto;
        font-family: avatrfont-light
    }
}

:root {
    --bg: #dbdcdd;
    --panel: #c3c6c6;
    --panel-dark: #b8bbbd;
    --accent: #0b4f7f;
    --txt: #111;
    --glass-shadow: 0 6px 0 rgba(255,255,255,0.6), 0 10px 18px rgba(0,0,0,0.08);
    font-family: 'Montserrat', Arial, sans-serif;
}

html, body {
    height: 100%;
    margin: 0
}

body {
    /*background:var(--bg);*/
    background-image: url('../../img/Images/Generalnformations/Background.png');
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: avatrfont-bold;
}

/* main card */
.frame {
    width: 90%;
    padding: 415px 20px 48px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    border-radius: 18px;
}

/* subtle repeating chevron pattern behind everything */
.pattern {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.08;
    background-image: radial-gradient(circle at 50% 50%, transparent 0, transparent 50%), url('./../../img/Images/Generalnformations/Background.png');
    background-size: cover;
    mix-blend-mode: overlay;
}

/* ===== LANGUAGE BUTTON (SAFE FIX) ===== */
.frame {
    position: relative; /* مهم جدًا */
}

.lang-wrap {
    position: relative;
    top: 60px;
    left: 276px;
    z-index: 9999;
    width: 20%;
}

.lang {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-direction: column;
}

    .lang img {
        width: 28px;
        height: auto;
    }

    .lang h3 {
        margin: 0;
        font-size: 14px;
        font-weight: 600;
    }

    .lang a {
        text-decoration: none;
        color: black;
    }


.logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px
}

.logo {
    width: 76%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12vh 0 6vh 0;
}

    .logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: translateY(-6px)
    }

h1 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    margin: 6px 0 0;
    font-size: 28px
}

p.subtitle {
    margin: 9px 0 7px;
    opacity: 0.7;
    letter-spacing: 0px
}

.divider {
    height: 2px;
    width: 40%;
    margin: 14px auto;
    background: linear-gradient(90deg,transparent,#9da0a0,transparent);
    border-radius: 2px
}

/* buttons list */
.btn-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 6px;
    MARGIN-BOTTOM: 35px;
}
/* ================= IMAGE BUTTON (GLOBAL) ================= */
.btn {
    width: 100%;
    max-width: 730px;
    height: 50px;
    background-image: url('../../img/images/generalnformations/button.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border: 0;
    padding: 0;
    margin: 0 auto;
    display: block;
    cursor: pointer;
    box-shadow: none;
    outline: none;
    BACKGROUND-COLOR: TRANSPARENT;
    /* إخفاء النص مع بقائه للـ JS / SEO */
    /* text-indent: -9999px; */
    overflow: hidden;
    transition: transform 0.15s ease, filter 0.15s ease;
    font-family: avatrfont-bold;
    color: black;
}

    /* ================= INTERACTION ================= */
    .btn:hover {
        filter: brightness(1.05);
    }

    .btn:active {
        transform: scale(0.985);
    }

/*.btn {
    background: linear-gradient(180deg,var(--panel),var(--panel-dark));
    border-radius: 8px;
    padding: 14px 12px;
    font-size: 16px;
    border: none;*/
/*box-shadow: var(--glass-shadow);*/
/*box-shadow: 20px 20px 60px #c5c5c5, 1px 0px 0px #ffffff;
    cursor: pointer;
    outline: none;
    transition: transform 220ms cubic-bezier(.2,.9,.2,1),box-shadow 220ms,filter 220ms;
    font-weight: 600;
    color: #111;
}

    .btn:active {
        transform: translateY(2px) scale(.996)
    }*/

/*.btn:hover {
        transform: translateY(-6px) scale(1.01);
        box-shadow: 0 20px 30px rgba(0,0,0,0.12);
        filter: brightness(1.02)
    }*/

/* location group separated */
.locations {
    margin-top: 22px
}

/* icons footer */
/* ===== ICONS CONTAINER ===== */
.icons {
    display: flex;
    gap: 22px;
    justify-content: center;
    margin-top: 30px;
}

/* ===== ICON BOX ===== */
.icon {
    width: 53px;
    /* height: 72px; */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

    /* ===== LINK RESET ===== */
    .icon a {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }



    /* ===== INTERACTION ===== */
    .icon:hover {
        background-color: rgba(0, 0, 0, 0.04);
    }

    .icon:active {
        transform: scale(0.94);
    }


/* modal/popup */
.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    z-index: 60
}

.modal {
    width: 320px;
    max-width: calc(100% - 40px);
    background: white;
    border-radius: 12px;
    padding: 18px;
    transform: translateY(20px) scale(.98);
    opacity: 0;
    transition: all 320ms cubic-bezier(.2,.9,.2,1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.18)
}

    .modal.open {
        transform: translateY(0) scale(1);
        opacity: 1;
        background: #d6d6d6;
    }

    .modal h3 {
        margin: 0 0 8px
    }

    .modal p {
        margin: 6px 0 14px;
        color: #444
    }

.close {
    background: transparent;
    border: 0;
    font-size: 20px;
    position: absolute;
    right: 12px;
    top: 10px;
    cursor: pointer
}

/* small animations */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.entry {
    animation: floatIn 420ms ease both
}

/* responsive tweak */
@media(min-width:900px) {
    body {
        background: #eee;
        display: none
    }
}

/* ===== ICON IMAGE ===== */
.SM {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem
}
/* The popup form - hidden by default */
.form-popup {
    display: contents;
    position: absolute;
    top: 554px;
    right: -285px;
    z-index: 9;
    text-align: center;
    border-radius: 16px;
    width: 100%;
}

.BtnTestDrive {
    border: solid 1px !important;
    margin: 40px 0 0 0;
    width: 100px;
    text-align: center !important;
    font-size: 18px;
    font-family: 'AlternateGothic2 BT';
    border-radius: 8px;
    background: #304a71;
    color: white;
}

.input {
    border: none;
    padding: 15px 0px 15px 12px;
    border-radius: 1rem;
    background: #e8e8e8;
    box-shadow: 20px 20px 60px #c5c5c5, 1px 0px 0px #ffffff;
    transition: 0.3s;
    width: 17rem;
    margin: 10px 0 10px 0;
}

    .input:focus {
        outline-color: #e8e8e8;
        background: #e8e8e8;
        box-shadow: inset 20px 20px 60px #c5c5c5, inset -20px -20px 60px #ffffff;
        transition: 0.3s;
    }
