/* =========================================
   NAQSH — COMING SOON
   STYLE SHEET
========================================= */

/* =========================================
   ROOT VARIABLES
========================================= */

:root {
    --black: #050505;
    --charcoal: #616161;
    --platinum: #e6e7e8;
    --burgundy: #7c1425;

    --white-soft: rgba(230, 231, 232, 0.72);
    --white-faint: rgba(230, 231, 232, 0.14);
    --border: rgba(230, 231, 232, 0.18);

    --font-display: "Cormorant Garamond", serif;
    --font-body: "Inter", sans-serif;

    --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================
   RESET
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--platinum);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

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

.background-noise {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: 0.035;

    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.burgundy-glow {
    position: fixed;
    width: 550px;
    height: 550px;
    right: -250px;
    top: 25%;
    z-index: -1;

    background: radial-gradient(
        circle,
        rgba(74, 14, 24, 0.18) 0%,
        rgba(74, 14, 24, 0.07) 35%,
        transparent 70%
    );

    pointer-events: none;
}

/* =========================================
   PRELOADER
========================================= */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;

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

    background: var(--black);

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--platinum);
    margin-bottom: 30px;
}

.loader-line {
    width: 120px;
    height: 1px;
    background: rgba(230, 231, 232, 0.15);
    overflow: hidden;
}

.loader-line span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--platinum);
    animation: loading 1.8s ease forwards;
}

@keyframes loading {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

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

.navbar {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100px;

    padding: 0 6vw;

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

    z-index: 50;
}

/* LOGO */

.brand-logo {
    display: flex;
    align-items: center;
    gap: 13px;

    transition: var(--transition);
}

.brand-logo:hover {
    opacity: 0.7;
}

.brand-arabic {
    font-family: var(--font-display);
    font-size: 25px;
    line-height: 1;
}

.brand-divider {
    width: 1px;
    height: 22px;
    background: var(--charcoal);
}

.brand-name {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.32em;
}

/* NAV RIGHT */

.nav-right {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-status {
    color: var(--charcoal);
    font-size: 9px;
    letter-spacing: 0.25em;
}

/* MENU BUTTON */

.menu-button {
    width: 42px;
    height: 42px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;

    background: none;
    border: none;
    cursor: pointer;
}

.menu-button span {
    display: block;
    height: 1px;
    background: var(--platinum);

    transition: var(--transition);
}

.menu-button span:first-child {
    width: 25px;
}

.menu-button span:last-child {
    width: 16px;
}

.menu-button:hover span:first-child {
    width: 16px;
}

.menu-button:hover span:last-child {
    width: 25px;
}

/* =========================================
   SIDE MENU
========================================= */

.side-menu {
    position: fixed;
    top: 0;
    right: 0;

    width: min(430px, 100%);
    height: 100vh;

    padding: 120px 60px 50px;

    background: #090909;

    border-left: 1px solid var(--border);

    z-index: 200;

    transform: translateX(100%);

    transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.side-menu.active {
    transform: translateX(0);
}

.menu-close {
    position: absolute;
    top: 32px;
    right: 50px;

    width: 40px;
    height: 40px;

    color: var(--platinum);
    background: none;
    border: none;

    font-size: 30px;
    font-weight: 200;

    cursor: pointer;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.menu-links a {
    display: flex;
    align-items: center;
    gap: 20px;

    font-family: var(--font-display);
    font-size: 38px;

    transition: var(--transition);
}

.menu-links a span {
    color: var(--charcoal);
    font-family: var(--font-body);
    font-size: 9px;
    letter-spacing: 0.2em;
}

.menu-links a:hover {
    color: var(--charcoal);
    padding-left: 10px;
}

.menu-footer {
    position: absolute;
    bottom: 50px;
    left: 60px;
    right: 60px;

    display: flex;
    justify-content: space-between;

    color: var(--charcoal);

    font-size: 9px;
    letter-spacing: 0.2em;
}

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

.hero {
    position: relative;

    min-height: 100vh;

    padding: 150px 6vw 80px;

    display: grid;
    grid-template-columns: 50px minmax(400px, 1fr) minmax(320px, 0.65fr);

    gap: 5vw;

    align-items: center;
}

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

.hero-index {
    height: 160px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    color: var(--charcoal);

    font-size: 9px;
    letter-spacing: 0.15em;
}

.index-line {
    width: 1px;
    height: 75px;

    background: linear-gradient(
        to bottom,
        transparent,
        var(--charcoal),
        transparent
    );
}

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

.hero-content {
    max-width: 700px;
}

/* EYEBROW */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 35px;

    color: var(--charcoal);

    font-size: 9px;
    letter-spacing: 0.3em;
}

.eyebrow-line {
    width: 35px;
    height: 1px;
    background: var(--charcoal);
}

/* TITLE */

.hero-title-wrapper {
    position: relative;
}

.arabic-title {
    margin-bottom: -5px;

    font-family: var(--font-display);
    font-size: clamp(45px, 6vw, 82px);

    font-weight: 400;

    color: var(--platinum);

    opacity: 0.95;

    animation: titleReveal 1s 0.5s both;
}

.hero h1 {
    font-family: var(--font-body);

    font-size: clamp(70px, 12vw, 165px);

    font-weight: 300;

    letter-spacing: 0.14em;
    line-height: 0.88;

    margin-left: -7px;

    color: var(--platinum);

    animation: titleReveal 1s 0.7s both;
}

.title-line {
    width: 100%;
    height: 1px;

    margin-top: 30px;

    background: linear-gradient(
        to right,
        var(--platinum),
        rgba(230, 231, 232, 0.1)
    );

    animation: lineReveal 1.2s 1s both;
}

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

.hero-message {
    margin-top: 35px;
}

.coming-soon {
    color: var(--platinum);

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

    letter-spacing: 0.45em;

    margin-bottom: 15px;
}

.description {
    max-width: 410px;

    color: var(--white-soft);

    font-family: var(--font-display);

    font-size: 20px;
    line-height: 1.45;
}

/* =========================================
   COUNTDOWN
========================================= */

.countdown {
    display: flex;
    align-items: center;

    margin-top: 42px;

    gap: 20px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.countdown-number {
    font-family: var(--font-display);

    font-size: 31px;
    font-weight: 400;

    color: var(--platinum);
}

.countdown-label {
    color: var(--charcoal);

    font-size: 7px;

    letter-spacing: 0.2em;
}

.countdown-separator {
    color: var(--white-soft);

    font-family: var(--font-display);

    font-size: 22px;

    margin-top: -15px;
}

/* =========================================
   NOTIFICATION FORM
========================================= */

.notify-section {
    margin-top: 45px;
}

.notify-heading {
    margin-bottom: 13px;

    color: var(--charcoal);

    font-size: 9px;

    letter-spacing: 0.15em;
}

.input-wrapper {
    width: min(440px, 100%);

    display: flex;

    border-bottom: 1px solid var(--charcoal);

    transition: var(--transition);
}

.input-wrapper:focus-within {
    border-color: var(--platinum);
}

.input-wrapper input {
    width: 100%;

    padding: 14px 0;

    background: transparent;

    border: none;
    outline: none;

    color: var(--platinum);

    font-size: 11px;
    letter-spacing: 0.04em;
}

.input-wrapper input::placeholder {
    color: var(--charcoal);
}

.input-wrapper button {
    flex-shrink: 0;

    padding: 14px 5px;

    color: var(--platinum);

    background: transparent;

    border: none;

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

    letter-spacing: 0.25em;

    cursor: pointer;

    transition: var(--transition);
}

.input-wrapper button:hover {
    color: var(--burgundy);
}

.form-message {
    margin-top: 10px;

    font-size: 9px;

    color: var(--charcoal);
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-frame {
    position: relative;

    width: min(420px, 100%);
    aspect-ratio: 0.75;

    border: 1px solid var(--border);

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

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(74, 14, 24, 0.22),
            transparent 42%
        ),
        #080808;

    animation: visualReveal 1.2s 0.5s both;
}

/* CORNERS */

.frame-corner {
    position: absolute;

    width: 25px;
    height: 25px;

    border-color: var(--platinum);
    border-style: solid;
}

.corner-top-left {
    top: -1px;
    left: -1px;

    border-width: 1px 0 0 1px;
}

.corner-top-right {
    top: -1px;
    right: -1px;

    border-width: 1px 1px 0 0;
}

.corner-bottom-left {
    bottom: -1px;
    left: -1px;

    border-width: 0 0 1px 1px;
}

.corner-bottom-right {
    bottom: -1px;
    right: -1px;

    border-width: 0 1px 1px 0;
}

/* VISUAL CONTENT */

.visual-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    gap: 5px;
}

.visual-small {
    color: var(--charcoal);

    font-size: 7px;

    letter-spacing: 0.5em;
}

.visual-arabic {
    margin: 15px 0;

    font-family: var(--font-display);

    font-size: clamp(65px, 8vw, 105px);

    color: var(--platinum);

    line-height: 1;
}

.vertical-text {
    position: absolute;

    right: 15px;
    top: 50%;

    transform: rotate(90deg) translateX(50%);

    transform-origin: right center;

    color: var(--charcoal);

    font-size: 7px;

    letter-spacing: 0.3em;
}

/* =========================================
   ABOUT
========================================= */

.about-section {
    min-height: 70vh;

    padding: 150px 12vw;

    display: grid;
    grid-template-columns: 100px 1fr;

    gap: 5vw;

    align-items: center;

    border-top: 1px solid rgba(230, 231, 232, 0.08);
}

.section-number {
    color: var(--charcoal);

    font-size: 9px;
    letter-spacing: 0.2em;
}

.about-content {
    max-width: 800px;
}

.section-label {
    margin-bottom: 30px;

    color: var(--burgundy);

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

    letter-spacing: 0.35em;
}

.about-content h2 {
    max-width: 700px;

    font-family: var(--font-display);

    font-size: clamp(45px, 7vw, 90px);

    font-weight: 400;

    line-height: 0.95;
}

.about-content h2 em {
    color: var(--charcoal);
    font-style: normal;
}

.about-text {
    max-width: 480px;

    margin-top: 40px;

    color: var(--white-soft);

    font-family: var(--font-display);

    font-size: 21px;

    line-height: 1.5;
}

/* =========================================
   FOOTER
========================================= */

.footer {
    position: relative;

    padding: 70px 6vw 30px;

    border-top: 1px solid rgba(230, 231, 232, 0.08);
}

/* FOOTER BRAND */

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-arabic {
    font-family: var(--font-display);

    font-size: 32px;
}

.footer-name {
    font-size: 12px;

    letter-spacing: 0.35em;
}

/* FOOTER CENTER */

.footer-center {
    position: absolute;

    left: 50%;
    top: 80px;

    transform: translateX(-50%);
}

.footer-center p {
    color: var(--charcoal);

    font-family: var(--white-faint);

    font-size: 18px;

    white-space: nowrap;
}

/* SOCIAL */

.footer-social {
    display: flex;
    justify-content: flex-end;

    gap: 25px;

    margin-top: -20px;
}

.footer-social a > svg {
    color: var(--charcoal);

    transition: var(--transition);
}

.footer-social a:hover > svg{
    color: var(--platinum);
}

/* FOOTER BOTTOM */

.footer-bottom {
    display: flex;
    justify-content: space-between;

    margin-top: 80px;
    padding-top: 20px;

    border-top: 1px solid rgba(230, 231, 232, 0.08);

    color: var(--charcoal);

    font-size: 9px;

    letter-spacing: 0.2em;
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes lineReveal {
    from {
        transform: scaleX(0);
        transform-origin: left;
    }

    to {
        transform: scaleX(1);
        transform-origin: left;
    }
}

@keyframes visualReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* =========================================
   RESPONSIVE — TABLET
========================================= */

@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 30px 1fr;

        gap: 35px;

        padding-top: 140px;
    }

    .hero-visual {
        grid-column: 2;

        justify-content: flex-start;

        margin-top: 50px;
    }

    .visual-frame {
        width: min(380px, 75vw);
    }

}

/* =========================================
   RESPONSIVE — MOBILE
========================================= */

@media (max-width: 650px) {
    .navbar {
        height: 80px;
        padding: 0 25px;
    }

    .nav-status {
        display: none;
    }

    .brand-arabic {
        font-size: 22px;
    }

    .brand-name {
        font-size: 11px;
    }

    .hero {
        min-height: auto;

        padding: 125px 25px 80px;

        display: block;
    }

    .hero-index {
        display: none;
    }

    .hero-content {
        width: 100%;
    }

    .eyebrow {
        font-size: 7px;
        letter-spacing: 0.22em;

        margin-bottom: 25px;
    }

    .eyebrow-line {
        width: 25px;
    }

    .arabic-title {
        font-size: 48px;
    }

    .hero h1 {
        font-size: clamp(55px, 18vw, 100px);

        letter-spacing: 0.08em;

        margin-left: -3px;
    }

    .title-line {
        margin-top: 22px;
    }

    .hero-message {
        margin-top: 28px;
    }

    .coming-soon {
        font-size: 8px;
        letter-spacing: 0.3em;
    }

    .description {
        font-size: 18px;
    }

    .countdown {
        gap: 12px;

        margin-top: 35px;
    }

    .countdown-number {
        font-size: 25px;
    }

    .countdown-label {
        font-size: 6px;
    }

    .countdown-separator {
        font-size: 18px;
    }

    .notify-section {
        margin-top: 38px;
    }

    .hero-visual {
        margin-top: 70px;
    }

    .visual-frame {
        width: 85vw;

        max-width: 350px;
    }

    .visual-arabic {
        font-size: 75px;
    }

    .about-section {
        min-height: auto;

        padding: 100px 25px;

        display: block;
    }

    .section-number {
        margin-bottom: 40px;
    }

    .about-content h2 {
        font-size: 48px;
    }

    .about-text {
        font-size: 18px;

        margin-top: 30px;
    }

    .footer {
        padding: 55px 25px 25px;
    }

    .footer-center {
        position: static;

        transform: none;

        margin-top: 35px;
    }
    
    .footer-center p {
        white-space: normal;
    }

    .footer-social {
        align-items: flex-start;
        
        flex-direction: column;

        margin-top: 30px;
    }

    .footer-bottom {
        margin-top: 55px;

        flex-direction: column;

        gap: 12px;
    }

    .side-menu {
        padding-left: 35px;
        padding-right: 35px;
    }

    .menu-close {
        right: 25px;
    }

    .menu-links a {
        font-size: 32px;
    }

    .menu-footer {
        left: 35px;
        right: 35px;
    }

}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {
    .hero {
        padding-left: 20px;
        padding-right: 20px;
    }

    .countdown {
        gap: 8px;
    }

    .countdown-number {
        font-size: 22px;
    }

    .countdown-label {
        font-size: 5px;
    }

    .countdown-separator {
        font-size: 15px;
    }
}
