/* jamilazoury.com - additions to the Twenty Nineteen theme stylesheet (twentynineteen.css) */

/* ---------- Footer links (all pages) ---------- */
.site-links { margin-top: 0.5em; }
.site-links a { margin-right: 1.25em; }

/* ---------- Contact form ---------- */
.contact-form p { margin: 0 0 1.1em; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 0.3em; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.contact-form .row label { font-weight: normal; font-size: 0.8em; color: #767676; margin: 0.3em 0 0; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea { width: 100%; }
.contact-form .req { color: #b22222; }
.contact-honey { position: absolute; left: -9999px; }
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }

/* ---------- Home: full-screen slider (replaces Revolution Slider) ---------- */
body.home { margin: 0; background: #111; overflow-x: hidden; }
.hero { position: relative; width: 100%; height: 100vh; min-height: 420px; overflow: hidden; background: #000; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* slide 1 */
.hero-shade { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); width: min(1096px, 86%); height: 22%; background: rgba(12,12,12,0.1); }
.hero-title {
	position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%); width: 92%; margin: 0;
	font-family: Montserrat, sans-serif; font-weight: 100; color: #fff; text-align: center;
	font-size: clamp(20px, 5.2vw, 100px); line-height: 1.1; letter-spacing: -0.06em;
	text-shadow: 0 1px 12px rgba(0,0,0,0.35);
	animation: title-in 2s cubic-bezier(.77,0,.18,1) backwards;
}
@keyframes title-in { from { opacity: 0; transform: translateX(-50%) rotateY(90deg); } to { opacity: 1; transform: translateX(-50%) rotateY(0); } }
.hero-side { position: absolute; top: 2.5%; right: 1.5%; width: clamp(150px, 17vw, 320px); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-video { width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; display: block; }
.hero-social { display: flex; gap: 8px; justify-content: center; }
.hero-social a { display: block; width: clamp(30px, 4.3vw, 82px); }
.hero-social img { display: block; width: 100%; height: auto; border-radius: 4px; }
.hero-audio { width: 100%; height: 34px; }

/* slide 2: YouTube video as background */
.slide-video { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100vh; min-width: 177.78vh; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.yt-logo { position: absolute; top: 2%; left: 50%; transform: translateX(-50%); width: clamp(110px, 12vw, 234px); }
.yt-logo img { width: 100%; height: auto; display: block; }

/* arrows + dots */
.hero-nav { position: absolute; bottom: 3%; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; z-index: 5; }
.hero-nav button { background: rgba(0,0,0,0.25); color: #fff; border: 0; border-radius: 50%; width: 40px; height: 40px; font-size: 22px; line-height: 40px; padding: 0; cursor: pointer; }
.hero-nav button:hover, .hero-nav button:focus-visible { background: rgba(0,0,0,0.6); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; font-size: 0; line-height: 0; background: rgba(255,255,255,0.45); }
.hero-dots button[aria-current="true"] { background: #fff; }

/* small footer links under the slider */
.home-footer { background: #111; color: #aaa; text-align: center; padding: 14px 16px; font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.home-footer a { color: #ddd; text-decoration: none; margin: 0 0.6em; }
.home-footer a:hover, .home-footer a:focus { color: #fff; text-decoration: underline; }

@media (max-width: 700px) {
	.hero { height: 100vh; height: 100svh; }
	.hero-side { width: 46%; }
	.hero-social a { width: 34px; }
	.hero-title { bottom: 16%; }
}
@media (prefers-reduced-motion: reduce) {
	.slide, .slide.is-active { transition: none; }
	.hero-title { animation: none; }
}
