/* ========================================
   GENERAL
   ======================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    background: #f8f5ef;

    /* يسمح للصفحات الطويلة بالـ Scroll */
    overflow-x: hidden;
    overflow-y: auto;
}


/* ========================================
   NAVBAR
   ======================================== */

nav {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 90px;

    display: flex;
    align-items: center;

    padding: 0 38px;

    z-index: 10;
}


/* ========================================
   LOGO
   ======================================== */

.logo {
    font-family: 'Playfair Display', Georgia, serif;

    font-size: 29px;
    font-weight: 500;

    letter-spacing: 1px;

    color: #111111;

    line-height: 1;

    display: flex;
    align-items: center;

    cursor: pointer;
}


/* ========================================
   NAV LINKS
   ======================================== */

.nav-links {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;

    gap: 55px;
}


.nav-links a {
    position: relative;

    display: flex;
    align-items: center;

    text-decoration: none;

    color: #111111;

    font-family: 'Playfair Display', Georgia, serif;

    font-size: 18px;
    font-weight: 500;

    line-height: 1;

    padding: 8px 10px;

    background: transparent;

    transition: color 0.3s ease;
}


/* Line under Home */

.nav-links a.active::after {
    content: "";

    position: absolute;

    left: 10px;
    right: 10px;
    bottom: 0;

    height: 1px;

    background: #111111;
}


.nav-links a:hover {
    color: rgba(255, 255, 255, 0.75);
}


/* ========================================
   PROFILE ICON
   ======================================== */

.profile {
    margin-left: auto;

    width: 36px;
    height: 36px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;

    border: none;

    text-decoration: none;

    cursor: pointer;
}


.profile svg {
    width: 27px;
    height: 27px;

    fill: none;

    stroke: #111111;

    stroke-width: 1.3;

    stroke-linecap: round;
    stroke-linejoin: round;

    display: block;

    transition: stroke 0.3s ease;
}


.profile:hover svg {
    stroke: rgba(255, 255, 255, 0.75);
}


/* ========================================
   HERO
   ======================================== */

.hero {
    position: relative;

    width: 100%;
    height: 100vh;

    overflow: hidden;

    background: #1d1a19;
}


/* ========================================
   BACKGROUND IMAGE
   ======================================== */

.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image: url("images/homebage.png");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    filter:
        brightness(0.82)
        saturate(0.72)
        contrast(0.94);

    transform: scale(1.002);

    z-index: 0;
}


/* ========================================
   EXTRA COLOR LAYER
   ======================================== */

.hero::after {
    content: "";

    position: absolute;

    inset: 0;

    background: rgba(45, 48, 60, 0.10);

    pointer-events: none;

    z-index: 1;
}


/* ========================================
   HERO CONTENT
   ======================================== */

.hero-content {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 2;
}


/* ========================================
   MAIN TITLE
   ======================================== */

.hero h1 {
    position: absolute;

    left: 6.2%;
    top: 30%;

    margin: 0;

    font-family: 'Playfair Display', Georgia, serif;

    font-size: clamp(42px, 3.8vw, 58px);

    font-weight: 500;

    line-height: 1.10;

    letter-spacing: 0.3px;

    color: #ffffff;

    opacity: 1;

    text-shadow: none;
}


/* ========================================
   EXPLORE BUTTON
   ======================================== */

.explore-button {
    position: absolute;

    left: 46%;
    top: 53%;

    transform: translate(-50%, -50%);

    min-width: 230px;
    min-height: 42px;

    padding: 11px 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(190, 183, 177, 0.62);

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 30px;

    color: #ffffff;

    text-decoration: none;

    font-family: 'Plus Jakarta Sans', Arial, sans-serif;

    font-size: 12px;

    font-weight: 500;

    letter-spacing: 0;

    backdrop-filter: blur(5px);

    -webkit-backdrop-filter: blur(5px);

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.10);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.explore-button:hover {
    background: rgba(170, 163, 158, 0.72);

    transform:
        translate(-50%, -50%)
        scale(1.02);
}


/* ========================================
   LOCATION
   ======================================== */

.location {
    position: absolute;

    right: 30px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    align-items: center;

    gap: 5px;

    color: #ffffff;

    font-family: 'Plus Jakarta Sans', Arial, sans-serif;

    font-size: 11px;

    font-weight: 400;

    line-height: 1;

    letter-spacing: 0.15px;

    white-space: nowrap;

    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}


/* ========================================
   LOCATION PIN
   ======================================== */

.location-pin {
    width: 11px;
    height: 11px;

    fill: none;

    stroke: #ffffff;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;

    flex-shrink: 0;
}


/* ========================================
   RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 900px) {

    nav {
        padding: 0 25px;
    }


    .logo {
        font-size: 25px;
    }


    .nav-links {
        gap: 25px;
    }


    .nav-links a {
        font-size: 15px;
    }


    .profile {
        width: 32px;
        height: 32px;
    }


    .profile svg {
        width: 24px;
        height: 24px;
    }


    .hero h1 {
        left: 6%;

        top: 30%;

        font-size: clamp(38px, 6vw, 52px);
    }


    .explore-button {
        left: 46%;

        min-width: 205px;

        padding: 11px 25px;
    }
}


/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 600px) {

    nav {
        height: 70px;

        padding: 0 18px;
    }


    .logo {
        font-size: 22px;
    }


    .nav-links {
        gap: 8px;
    }


    .nav-links a {
        font-size: 12px;

        padding: 6px;
    }


    .profile {
        width: 30px;
        height: 30px;
    }


    .profile svg {
        width: 23px;
        height: 23px;
    }


    .hero h1 {
        left: 7%;

        top: 29%;

        font-size: 38px;
    }


    .explore-button {
        left: 50%;

        top: 54%;

        min-width: 190px;

        min-height: 39px;

        padding: 10px 20px;

        font-size: 11px;
    }


    .location {
        right: 15px;

        font-size: 9px;

        font-weight: 400;

        letter-spacing: 0.1px;

        gap: 4px;
    }


    .location-pin {
        width: 9px;
        height: 9px;
    }
}
