@font-face {
    font-family: 'Snell-BT-Regular';
    src: url('Snell-BT-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Nahar';
    src: url('A Nahar.ttf') format('opentype');
    font-display: swap;
}

.font-snell {
    font-family: 'Snell-BT-Regular';
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

body,
* {
    font-family: 'Nahar';
    font-size: 18px;
}

:root {
    --gold: #C9A96E;
    --gold-light: #D4B483;
    --gold-bright: #E8CC8A;
    --dark: #0a0a0a;
}

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

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {

    .parallax-section-1,
    .parallax-section-2 {
        background-attachment: scroll;
        /* یا initial */
    }
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--dark);
    color: white;
    overflow-x: hidden;
}

/* ══════ HERO ══════ */
.hero-bg {
    padding-top: 20%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.28) 40%, rgba(0, 0, 0, 0.55) 100%);
    min-height: 100vh;
    position: relative;
}

.vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

/* ══════ NAVBAR ══════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 2rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
    transition: background 0.4s;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
}

.hamburger {
    cursor: pointer;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    height: 1.5px;
    background: white;
    transition: all 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

.hamburger span:nth-child(1) {
    width: 22px;
}

.hamburger span:nth-child(2) {
    width: 28px;
}

.hamburger span:nth-child(3) {
    width: 16px;
}

.hamburger.open span:nth-child(1) {
    width: 22px;
    transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    width: 22px;
    transform: translateY(-6.5px) rotate(-45deg);
}

.logo-text {
    font-size: 0.82rem;
    color: white;
}

.lang-switcher {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    gap: 0.7rem;
}

.lang-switcher .active {
    color: white;
}

.lang-switcher span {
    cursor: pointer;
    transition: color 0.2s;
}

.lang-switcher span:hover {
    color: white;
}

/* ══════════════════════════════════════════
       LOGO HOVER EFFECT — Liquid Gold Shimmer
    ══════════════════════════════════════════ */
.logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo-wrap img {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.5s ease;
    filter: brightness(1) drop-shadow(0 0 0px transparent);
    transform-origin: center;
}

/* Gold halo ring that expands on hover */
.logo-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.18) 0%, rgba(201, 169, 110, 0.06) 50%, transparent 70%);
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.55s ease;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

/* Thin gold orbit ring */
.logo-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0) rotate(-30deg);
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.5);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s, opacity 0.6s ease;
    opacity: 0;
    pointer-events: none;
}

.logo-wrap:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.logo-wrap:hover::after {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
}

.logo-wrap:hover img {
    transform: scale(1.08) rotate(-3deg);
    filter: brightness(1.15) drop-shadow(0 0 12px rgba(201, 169, 110, 0.55));
}

/* Shimmer sweep overlay on logo */
.logo-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60px;
    height: 100%;
    background: linear-gradient(105deg, transparent 30%, rgba(201, 169, 110, 0.5) 50%, transparent 70%);
    transform: skewX(-15deg);
    opacity: 0;
    pointer-events: none;
    transition: none;
}

.logo-wrap:hover .logo-shimmer {
    animation: logoShimmerSweep 0.7s ease 0.1s forwards;
}

@keyframes logoShimmerSweep {
    0% {
        left: -60px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        left: calc(100% + 30px);
        opacity: 0;
    }
}

/* ══════ HERO TITLE ══════ */
.hero-title-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.6rem, 7vw, 6.5rem);
    line-height: 1.05;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
    transform-origin: center center;
    will-change: transform, filter, opacity;
    -webkit-text-stroke: 1px transparent;
    color: transparent;
    position: relative;
}

.handwrite-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.hero-title-text {
    font-size: clamp(2.6rem, 7vw, 6.5rem);
    line-height: 1.05;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
    transform-origin: center center;
    will-change: transform, filter, opacity;
    font-family: 'Snell-BT-Regular', 'Cormorant Garamond', serif;
    color: white;
    opacity: 0;
    transition: opacity 0.6s ease;
    white-space: nowrap;
}

.hero-title-text.revealed {
    opacity: 1;
}

.svg-title-text {
    font-family: 'Snell-BT-Regular', 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 7vw, 6.5rem);
    fill: none;
    stroke: white;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
}

@keyframes drawStroke {
    from {
        stroke-dashoffset: var(--stroke-len);
    }

    to {
        stroke-dashoffset: 0;
    }
}

.svg-title-text {
    stroke-dasharray: var(--stroke-len, 3000);
    stroke-dashoffset: var(--stroke-len, 3000);
    animation: drawStroke 22s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s forwards;
}

/* ══════════════════════════════════════════
       CTA BUTTON — Luxury Gold Beam Effect
    ══════════════════════════════════════════ */
.cta-btn {
    position: relative;
    background: transparent;
    color: white;
    padding: 0.95rem 2.6rem;
    cursor: pointer;
    border: 1px solid var(--gold);

    /* Elegant border using pseudo-elements */
}



/* ══════════════════════════════════════════
       SCROLL ARROW — Concentric Pulse Rings
    ══════════════════════════════════════════ */
.scroll-arrow-wrap {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeUp 0.9s ease 0.7s both;
}

.scroll-arrow {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* The actual visible ring */
.scroll-arrow .arrow-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    transition: border-color 0.3s ease;
}

/* Pulse rings — 3 of them at different delays */
.scroll-arrow .pulse-1,
.scroll-arrow .pulse-2,
.scroll-arrow .pulse-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.6);
    animation: arrowPulseRing 2.4s ease-out infinite;
    pointer-events: none;
}

.scroll-arrow .pulse-2 {
    animation-delay: 0.8s;
}

.scroll-arrow .pulse-3 {
    animation-delay: 1.6s;
}

@keyframes arrowPulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

/* Arrow icon floats up and down */
.scroll-arrow .arrow-icon {
    position: relative;
    z-index: 2;
    animation: arrowFloat 2s ease-in-out infinite;
}

@keyframes arrowFloat {

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

    50% {
        transform: translateY(5px);
    }
}

/* On hover — rings become gold, icon highlights */
.scroll-arrow:hover .arrow-ring {
    border-color: var(--gold);
}

.scroll-arrow:hover .arrow-icon stroke {
    stroke: var(--gold);
}

/* Thin vertical line above arrow — breath animation */
.scroll-line {
    width: 1px;
    height: 28px;
    background: linear-gradient(to bottom, transparent, rgba(201, 169, 110, 0.6));
    animation: scrollLineBreath 2s ease-in-out infinite;
}

@keyframes scrollLineBreath {

    0%,
    100% {
        opacity: 0.4;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.15);
    }
}

/* ══════ SIDEBAR ══════ */
.sidebar-right {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.sidebar-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.58rem;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.2rem 0.65rem;
    cursor: pointer;
    transition: background 0.3s;
}

.sidebar-label:hover {
    background: rgba(0, 0, 0, 0.7);
}

.sidebar-chat {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.58rem;
    color: white;
    background: var(--gold);
    padding: 1.5rem 0.65rem;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-chat:hover {
    background: var(--gold-light);
}

/* ══════ MENU OVERLAY ══════ */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    pointer-events: none;
}

.menu-overlay.open {
    pointer-events: all;
}

.menu-panel {
    width: 42%;
    min-width: 280px;
    max-width: 580px;
    background: #0a0a0a;
    padding: 6.5rem 3rem 3rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(-100%);
    transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: all;
}

.menu-blur {
    flex: 1;
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1617650728698-fff28aa9e6be?w=1920&q=80') center center / cover no-repeat;
    filter: blur(5px);
    transform: translateX(60px);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s ease;
    cursor: pointer;
    pointer-events: none;
}

.menu-overlay.open .menu-panel {
    transform: translateX(0);
}

.menu-overlay.open .menu-blur {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
}

.nav-links {
    display: flex;
    flex-direction: column;
}

.nav-link {
    font-size: clamp(1.1rem, 2vw, 1.65rem);
    text-transform: uppercase;
    color: white;
    cursor: pointer;
    padding: 0.78rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    opacity: 0;
    transform: translateX(-18px);
    transition: color 0.25s, opacity 0.4s ease, transform 0.4s ease;
}

.nav-link:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-link.active {
    color: var(--gold);
}

.nav-link:hover {
    color: var(--gold);
}

.menu-overlay.open .nav-link {
    opacity: 1;
    transform: translateX(0);
}

.menu-overlay.open .nav-link:nth-child(1) {
    transition-delay: 0.12s;
}

.menu-overlay.open .nav-link:nth-child(2) {
    transition-delay: 0.18s;
}

.menu-overlay.open .nav-link:nth-child(3) {
    transition-delay: 0.24s;
}

.menu-overlay.open .nav-link:nth-child(4) {
    transition-delay: 0.30s;
}

.menu-overlay.open .nav-link:nth-child(5) {
    transition-delay: 0.36s;
}

.menu-overlay.open .nav-link:nth-child(6) {
    transition-delay: 0.42s;
}

.menu-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 1.5rem 0;
}

.social-icons {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: white;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.social-icon:hover {
    opacity: 1;
}

/* ══════ ABOUT SECTION ══════ */
#about {
    background: #0a0a0a;
    padding: 7rem 1.5rem 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.about-logo {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-logo.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-text {
    max-width: 620px;
    font-size: 0.82rem;
    line-height: 1.95;
    color: rgba(255, 255, 255, 0.72);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.about-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-text p+p {
    margin-top: 1.2rem;
}

.partners-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 2rem;
    opacity: 0;
    transition: opacity 0.8s ease 0.4s;
}

.partners-label.visible {
    opacity: 1;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem 3.5rem;
    margin-top: 0.5rem;
    max-width: 1100px;
    width: 100%;
}

.partner-logo {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease, filter 0.3s;
    filter: brightness(0.45) grayscale(1);
    cursor: pointer;
}

.partner-logo:hover {
    filter: brightness(1) grayscale(0);
}

.partner-logo.visible {
    opacity: 1;
    transform: translateY(0);
}

.partner-name {
    font-size: clamp(0.9rem, 1.8vw, 1.4rem);
    text-transform: uppercase;
    white-space: nowrap;
}

/* ══════ ANIMATIONS ══════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceDown {

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

    50% {
        transform: translateY(7px);
    }
}

/* ══════ PARALLAX SECTIONS ══════ */
.parallax-section-1 {
    position: relative;
    height: 100vh;
    background: url('/benz.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.parallax-section-1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    opacity: 0;
    transition: none;
    z-index: 1;
}

.parallax-section-1::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
    z-index: 2;
    pointer-events: none;
}

.parallax-section-1 .overlay-dark {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 1;
    transition: opacity 0.05s linear;
}

.parallax-section-1 .slogan-wrap {
    position: relative;
    z-index: 3;
    padding-right: 3rem;
    text-align: right;
}

.parallax-section-2 {
    position: relative;
    height: 100vh;
    background: url('/bmw.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.parallax-section-2::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.parallax-section-2 .slogan-wrap {
    position: relative;
    z-index: 2;
    padding-right: 3rem;
    text-align: right;
}

.slogan-eyebrow {
    font-size: clamp(0.6rem, 1.2vw, 0.85rem);
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.slogan-main {
    font-size: clamp(2rem, 4.5vw, 4.5rem);
    line-height: 1.15;
    color: white;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    direction: rtl;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
}

.slogan-sub {
    font-size: clamp(0.75rem, 1.4vw, 1rem);
    color: rgba(255, 255, 255, 0.6);
    direction: rtl;
    margin-top: 1.2rem;
    line-height: 1.8;
    max-width: 380px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}

.slogan-line {
    width: 0;
    height: 1.5px;
    background: var(--gold);
    margin-bottom: 1.5rem;
    transition: width 0.8s ease;
}

.slogan-wrap.visible .slogan-eyebrow,
.slogan-wrap.visible .slogan-main,
.slogan-wrap.visible .slogan-sub {
    opacity: 1;
    transform: translateX(0);
}

.slogan-wrap.visible .slogan-line {
    width: 50px;
}

/* ══════ FIND US ══════ */
@keyframes mapPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

#findus {
    position: relative;
    background: #0a0a0a;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 340px;
    border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.findus-left {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.findus-right {
    position: relative;
    overflow: hidden;
}

.map-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d1a1f 0%, #0a1215 30%, #061218 60%, #040e12 100%);
    z-index: 0;
}

.map-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0a0a0a 0%, rgba(10, 10, 10, 0.6) 30%, transparent 60%);
    z-index: 2;
}

.map-pin-wrap {
    position: absolute;
    top: 45%;
    left: 55%;
    z-index: 10;
    transform: translate(-50%, -100%);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    transform: translate(-50%, -50%);
    animation: mapPulse 2.2s ease-out infinite;
}

.directions-btn {
    display: inline-block;
    width: fit-content;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.9rem 2.2rem;
    transition: background 0.3s, color 0.3s;
    cursor: pointer;
}

.directions-btn:hover {
    background: var(--gold);
    color: #0a0a0a;
}

/* Footer */
.site-footer {
    background: #060606;
    border-top: 1px solid rgba(201, 169, 110, 0.12);
    padding: 4rem 4rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-col-title {
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: block;
}

.footer-nav-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.footer-nav-link:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-link {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-link:hover {
    color: var(--gold);
}

@media (max-width: 900px) {
    #findus {
        grid-template-columns: 1fr;
    }

    .findus-right {
        min-height: 260px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .findus-left {
        padding: 3rem 2rem;
    }

    .site-footer {
        padding: 3rem 2rem 2rem;
    }
}