/* Wojoh Plus Studio — static site in the Artale look (Italiana / Jost / Noto Kufi Arabic). */
:root {
	--bg: #171616;
	--black: #000;
	--white: #fff;
	--accent: #9e7eb5; /* light purple from the logo */
	--muted: rgba(255, 255, 255, .72);
	--line: rgba(255, 255, 255, .18);
	--latin: 'Italiana', serif;
	--body: 'Jost', sans-serif;
	--arabic: 'Noto Kufi Arabic', sans-serif;
	--gutter: clamp(16px, 4vw, 60px);
	--ease: cubic-bezier(.19, 1, .22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--white);
	font: 400 18px/1.8 var(--body);
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
.ar { font-family: var(--arabic); direction: rtl; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header: logo in the middle, Instagram on the left, menu button on the right. */
.header {
	position: fixed; inset: 0 0 auto; z-index: 30;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	padding: 26px var(--gutter);
	transition: background .5s, padding .5s;
}
.header.is-solid { background: rgba(23, 22, 22, .92); padding-block: 14px; }
.logo { grid-column: 2; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__name { font: 400 clamp(32px, 3.4vw, 46px)/1 var(--latin); letter-spacing: .01em; }
.logo__sub { font: 400 11px/1 var(--body); letter-spacing: .32em; margin-top: 8px; text-transform: uppercase; }
.header__ig { grid-column: 1; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; font: 400 13px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; transition: color .3s; }
.header__ig:hover { color: var(--accent); }
.header__ig svg { width: 20px; height: 20px; }
.menu-btn { grid-column: 3; justify-self: end; width: 44px; height: 44px; padding: 0 6px; background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.menu-btn span { display: block; height: 1px; background: var(--white); transition: width .4s var(--ease); }
.menu-btn span:nth-child(2) { width: 75%; margin-left: auto; }
.menu-btn:hover span:nth-child(2) { width: 100%; }

/* Full-screen menu */
.fullmenu {
	position: fixed; inset: 0; z-index: 50; background: var(--black);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s;
}
.fullmenu.is-open { opacity: 1; visibility: visible; }
.fullmenu .logo { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); }
.fullmenu__close { position: absolute; top: 30px; right: var(--gutter); width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.fullmenu__close::before, .fullmenu__close::after { content: ''; position: absolute; left: 8px; right: 8px; top: 50%; height: 1px; background: var(--white); transform: rotate(45deg); }
.fullmenu__close::after { transform: rotate(-45deg); }
.fullmenu nav { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fullmenu nav a { font: 400 clamp(34px, 4.4vw, 52px)/1.35 var(--latin); overflow: hidden; display: block; }
.fullmenu nav a span { display: block; transform: translateY(105%); transition: transform 1s var(--ease), color .3s; }
.fullmenu.is-open nav a span { transform: none; }
.fullmenu.is-open nav a:nth-child(2) span { transition-delay: .08s; }
.fullmenu.is-open nav a:nth-child(3) span { transition-delay: .16s; }
.fullmenu.is-open nav a:nth-child(4) span { transition-delay: .24s; }
.fullmenu nav a:hover span, .fullmenu nav a[aria-current] span { color: var(--accent); }
.fullmenu__ig { margin-top: 34px; font: 400 13px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; color: var(--muted); }
.fullmenu__ig:hover { color: var(--white); }
.fullmenu__ig svg { width: 18px; height: 18px; }

/* Background slideshow with Ken Burns zoom (as on the Elementor hero). */
.slideshow { position: absolute; inset: 0; overflow: hidden; background: var(--black); }
.slideshow__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slideshow__slide.is-active { opacity: 1; z-index: 1; }
.slideshow__slide picture, .slideshow__slide img { width: 100%; height: 100%; }
.slideshow__slide img { object-fit: cover; transform: scale(1); }
.slideshow__slide.is-zoom img { transform: scale(1.3); transition: transform 20s linear; }
.shade { position: absolute; inset: 0; z-index: 2; background: rgba(0, 0, 0, .4); }

/* Home: one screen, no scrolling. */
.page-home { height: 100vh; height: 100dvh; overflow: hidden; }
.hero { position: relative; height: 100vh; height: 100dvh; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero__content { position: relative; z-index: 3; padding: 90px var(--gutter) 40px; }
.hero__kicker { font: 400 clamp(14px, 1.3vw, 18px)/1.6 var(--arabic); letter-spacing: 2px; margin-bottom: clamp(10px, 2vh, 24px); }
.hero__title { font: 200 clamp(34px, 6.4vw, 110px)/1.45 var(--arabic); }
.hero__title .line { display: block; }
.hero__links { display: flex; justify-content: center; gap: clamp(28px, 4vw, 64px); margin-top: clamp(30px, 6vh, 70px); }

/* Words rise from below, one after another (the theme's "animated text"). */
.blast { overflow: hidden; display: inline-block; vertical-align: top; padding-bottom: .08em; }
.blast > span { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform 1.4s var(--ease), opacity 1.4s var(--ease); }
.is-ready .blast > span { transform: none; opacity: 1; }

.arrow-link { display: inline-flex; align-items: center; gap: 10px; font: 400 clamp(22px, 2.2vw, 34px)/1.2 var(--latin); transition: color .3s; }
.arrow-link svg { width: .9em; height: .9em; color: var(--accent); transition: transform .5s var(--ease); }
.arrow-link:hover { color: var(--accent); }
.arrow-link:hover svg { transform: translate(4px, -4px); }

.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-ready .fade-up.is-in, .is-ready .hero .fade-up { opacity: 1; transform: none; transition-delay: var(--d, 0s); }

/* Page heading (portfolio) */
.page-head { padding: clamp(150px, 20vh, 220px) var(--gutter) clamp(40px, 6vw, 80px); text-align: center; }
.page-head__kicker { font: 400 14px/1.6 var(--arabic); letter-spacing: 2px; color: var(--muted); margin-bottom: 14px; }
.page-head__title { font: 400 clamp(48px, 8vw, 120px)/1.05 var(--latin); }
.page-head__sub { font: 200 clamp(18px, 2vw, 26px)/1.8 var(--arabic); color: var(--muted); margin-top: 20px; }

/* Portfolio grid */
.gallery { padding: 0 var(--gutter) clamp(70px, 10vw, 140px); columns: 3 320px; column-gap: clamp(14px, 2.2vw, 40px); max-width: 1900px; margin: 0 auto; }
.gallery a { display: block; position: relative; overflow: hidden; margin-bottom: clamp(14px, 2.2vw, 40px); break-inside: avoid; cursor: zoom-in; background: #222; }
.gallery img { width: 100%; transition: transform 1.6s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }

/* Contact: full screen photo with the details */
.contact { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; text-align: center; }
.contact .slideshow img { filter: grayscale(1); }
.contact__content { position: relative; z-index: 3; padding: 140px var(--gutter) 70px; max-width: 1100px; }
.contact__title { font: 400 clamp(46px, 7.5vw, 120px)/1.05 var(--latin); }
.contact__text { font: 200 clamp(17px, 1.7vw, 24px)/1.9 var(--arabic); margin-top: 24px; color: rgba(255,255,255,.9); }
.contact__list { list-style: none; padding: 0; margin: clamp(34px, 5vh, 56px) 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact__list a {
	display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 28px;
	border: 1px solid rgba(255,255,255,.55); font: 400 15px/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
	transition: background .4s, color .4s, border-color .4s;
}
.contact__list a:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.contact__list svg { width: 20px; height: 20px; }

/* Footer (portfolio and contact pages) */
.footer { border-top: 1px solid var(--line); padding: 34px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font: 400 13px/1.4 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.footer a { display: inline-flex; align-items: center; gap: 10px; color: var(--white); transition: color .3s; }
.footer a:hover { color: var(--accent); }
.footer svg { width: 18px; height: 18px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.96); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb img { max-width: calc(100vw - 160px); max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); width: auto; height: auto; transition: opacity .3s; }
.lb img.is-loading { opacity: .2; }
.lb button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; font: 400 15px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; padding: 12px; }
.lb button:hover { color: var(--accent); }
.lb__close { top: 20px; right: var(--gutter); }
.lb__prev { left: var(--gutter); top: 50%; transform: translateY(-50%); }
.lb__next { right: var(--gutter); top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font: 400 13px/1 var(--body); letter-spacing: .2em; color: var(--muted); }

@media (max-width: 767px) {
	.header { padding: 18px var(--gutter); }
	.header__ig span { display: none; }
	.logo__sub { font-size: 9px; }
	.fullmenu .logo { top: 18px; }
	.fullmenu__close { top: 20px; }
	.hero__title { font-size: clamp(24px, 7.2vw, 40px); }
	.gallery { columns: 2; column-gap: 10px; }
	.gallery a { margin-bottom: 10px; }
	.contact__list a { width: 100%; justify-content: center; }
	.footer { justify-content: center; text-align: center; }
	.lb img { max-width: 100vw; max-height: calc(100dvh - 140px); }
	.lb__prev, .lb__next { top: auto; bottom: 10px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01s !important; transition-delay: 0s !important; }
	.slideshow__slide.is-zoom img { transform: none; }
}

/* Logo image, address and contact details */
.logo img { width: auto; height: clamp(58px, 6vw, 84px); }
.header.is-solid .logo img { height: clamp(48px, 4.6vw, 64px); transition: height .5s; }
.fullmenu .logo img { height: clamp(58px, 6vw, 84px); }
.contact__address { margin-top: 14px; font: 300 clamp(15px, 1.4vw, 19px)/1.8 var(--arabic); }
.contact__address a { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.contact__address a:hover { color: var(--accent); border-color: var(--accent); }
.contact__address svg, .footer__info svg { width: 18px; height: 18px; flex: none; }
.contact__list a[dir="ltr"] { letter-spacing: .12em; }
.footer { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.footer__info { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.footer__info .ar { font: 300 14px/1.6 var(--arabic); letter-spacing: 0; text-transform: none; }

/* Floating WhatsApp button (all pages) */
.wa-float {
	position: fixed; right: 24px; bottom: 24px; z-index: 40;
	width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
	background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.35);
	opacity: 0; transform: translateY(20px) scale(.9);
	transition: opacity .8s var(--ease) 1.4s, transform .8s var(--ease) 1.4s;
}
.is-ready .wa-float { opacity: 1; transform: none; }
.wa-float:hover { transform: scale(1.08); transition-delay: 0s; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wa-ring 2.4s ease-out infinite; }
@keyframes wa-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
@media (max-width: 767px) { .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; } .wa-float svg { width: 28px; height: 28px; } }
.contact__address a { display: inline; }
.contact__address svg { display: inline-block; vertical-align: -3px; margin-left: 8px; }
@media (max-width: 767px) { .contact__list li { width: 100%; } }

/* Arabic everywhere (the site is right to left). Italiana has no Arabic letters,
   so headings, menu and links use the hero's Noto Kufi Arabic; no letter spacing on Arabic. */
.fullmenu nav a { font: 200 clamp(30px, 3.6vw, 46px)/1.7 var(--arabic); }
.arrow-link { font: 300 clamp(19px, 1.8vw, 26px)/1.4 var(--arabic); }
.arrow-link svg { transform: scaleX(-1); }
.arrow-link:hover svg { transform: scaleX(-1) translate(4px, -4px); }
.page-head__title { font: 200 clamp(38px, 6vw, 88px)/1.4 var(--arabic); }
.contact__title { font: 200 clamp(38px, 6vw, 92px)/1.4 var(--arabic); }
.header__ig, .contact__list a, .footer, .lb button, .lb__count { font-family: var(--arabic); letter-spacing: 0; text-transform: none; }
.header__ig { font-size: 14px; }
.contact__list a { font-size: 16px; font-weight: 300; }
.contact__list a[dir="ltr"], .footer a[dir="ltr"] { font-family: var(--body); letter-spacing: .12em; }
.footer { font-size: 14px; }
.fullmenu__close { right: auto; left: var(--gutter); }
.lb__close { right: auto; left: var(--gutter); }
.lb__prev { left: auto; right: var(--gutter); }
.lb__next { right: auto; left: var(--gutter); }
.lb__count { font-family: var(--body); direction: ltr; }
/* Nothing may push the page sideways (the zooming photo overflows its box in right-to-left layouts). */
html, body { overflow-x: clip; }
.hero, .contact, .slideshow { overflow: clip; }
