/*
Theme Name: Jalalabad Enterprise
Theme URI: https://jalalabad-enterprise.example
Author: Jalalabad Enterprise
Author URI: https://jalalabad-enterprise.example
Description: A luxury gold, cinematic single-page corporate theme for Jalalabad Enterprise. Fully customizable via Appearance → Customize → Homepage Content — every section, icon (Font Awesome or uploaded image) and picture is editable. Built with Tailwind (CDN), GSAP animations, a parallax hero carousel and decorative gold SVG shapes.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jalalabad
Tags: business, one-page, custom-colors, custom-menu, custom-logo, featured-images, full-width-template
*/

/* ============================================================
   Jalalabad Enterprise — Luxury Gold / Cinematic theme
   ============================================================ */

:root {
  --gold: #c9a227;
  --gold-light: #e8c878;
  --gold-pale: #f3e2b0;
  --gold-deep: #9a7518;
  --grad: linear-gradient(120deg, #9a7518 0%, #c9a227 30%, #f3e2b0 50%, #c9a227 70%, #9a7518 100%);
  --ink: #0a0807;
}

* { -webkit-font-smoothing: antialiased; }
::selection { background: var(--gold); color: #0a0807; }
html { scroll-behavior: smooth; }
body { font-size: 18px; line-height: 1.7; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0807; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-deep), var(--gold)); border-radius: 10px; }

/* warm vignette behind everything */
body { position: relative; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(201,162,39,0.10), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(201,162,39,0.07), transparent 70%);
}

/* ============================================================
   SHARED
   ============================================================ */
.gold-text { color: var(--gold-light); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gold-text {
    background: var(--grad); background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: sheen 7s linear infinite;
  }
}
@keyframes sheen { to { background-position: 200% center; } }

.eyebrow {
  font-family: 'Outfit', sans-serif; font-weight: 500;
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
}
.section-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.1; color: #fff;
}

.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(30,24,18,0.75), rgba(14,11,8,0.85));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(201,162,39,0.18);
  box-shadow: 0 18px 60px rgba(0,0,0,0.55), inset 0 1px 0 rgba(232,200,120,0.08);
}
/* shimmering gold hairline frame */
.gold-frame { position: relative; }
.gold-frame::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(201,162,39,0.6), transparent 40%, transparent 60%, rgba(201,162,39,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* ---------- Uploaded icon images (override Font Awesome icons) ---------- */
.icon-img { display: inline-block; object-fit: contain; vertical-align: middle; width: 1.5rem; height: 1.5rem; }
.feature .icon-img { width: 2.2rem; height: 2.2rem; flex-shrink: 0; }
.lux-icon .icon-img { width: 1.6rem; height: 1.6rem; }
.industry .icon-img { width: 1.6rem; height: 1.6rem; }

/* ---------- Decorative gold shapes (asset SVGs, gold-tinted) ---------- */
.shape {
  position: absolute; z-index: -1; pointer-events: none; user-select: none;
  /* recolor the blue source art to luxury gold + soft glow */
  filter: sepia(1) saturate(5) brightness(1.05) hue-rotate(-6deg)
          drop-shadow(0 0 18px rgba(201,162,39,0.22));
  opacity: 0.5;
  animation: shapeFloat 14s ease-in-out infinite;
}
@keyframes shapeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

.shape-hero {
  top: 0; right: -90px; width: min(860px, 68vw); opacity: 0.55;
  filter: sepia(1) saturate(4.5) brightness(0.95) hue-rotate(-6deg)
          drop-shadow(0 0 22px rgba(201,162,39,0.28));
}
.shape-cta    { right: 0; bottom: -20px; width: min(560px, 60%); opacity: 0.45; }
.shape-about  { top: -20px; right: -30px; width: 190px; opacity: 0.4; }
.shape-svc    { top: 40px; left: -50px; width: 300px; opacity: 0.3; animation-duration: 18s; }
.shape-stats  { top: -40px; right: -20px; width: 260px; opacity: 0.35; }
.shape-lead   { top: -30px; right: -40px; width: 260px; opacity: 0.35; animation-duration: 16s; }
.shape-foot-l { bottom: 0; left: -30px; width: 200px; opacity: 0.3; }
.shape-foot-r { top: -30px; right: -20px; width: 170px; opacity: 0.3; }

@media (max-width: 768px) {
  .shape-about, .shape-svc, .shape-stats, .shape-lead, .shape-foot-l, .shape-foot-r { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold, .btn-outline {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.8rem 1.7rem; border-radius: 2px; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
}
.btn-gold {
  color: #0a0807; border: 1px solid transparent;
  background: var(--grad); background-size: 200% auto;
  box-shadow: 0 10px 30px -8px rgba(201,162,39,0.6);
}
.btn-gold:hover { background-position: right center; transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(232,200,120,0.7); }
.btn-outline { color: var(--gold-light); border: 1px solid rgba(201,162,39,0.5); background: transparent; }
.btn-outline:hover { background: rgba(201,162,39,0.1); border-color: var(--gold); color: #fff; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar.scrolled {
  background: rgba(10,8,7,0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,162,39,0.16);
}
/* Uploaded custom logo (WordPress) — constrain size in the navbar */
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { height: 52px; width: auto; max-width: 190px; object-fit: contain; }
#navbar.scrolled .custom-logo { height: 46px; }

.emblem-logo {
  position: relative; width: 2.9rem; height: 2.9rem; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 18px -4px rgba(201,162,39,0.7), inset 0 0 12px -6px rgba(201,162,39,0.8);
}
.emblem-logo::after {
  content: ''; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid rgba(201,162,39,0.35);
}
.emblem-logo span {
  font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 0.95rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-link { position: relative; transition: color 0.25s; }
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link::after {
  content: ''; position: absolute; left: 50%; bottom: -8px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.3s, left 0.3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; left: 0; }

/* ============================================================
   HERO
   ============================================================ */
#home .eyebrow { display: inline-block; }

/* ============================================================
   FEATURE STRIP
   ============================================================ */
.feature {
  display: flex; align-items: center; gap: 1rem; padding: 1.4rem 1.5rem;
  background: rgba(14,11,8,0.6); transition: background 0.3s;
}
.feature:hover { background: rgba(201,162,39,0.06); }
.feature i {
  font-size: 1.5rem; color: var(--gold); width: 2.6rem; text-align: center; flex-shrink: 0;
}
.feature .ft { font-family: 'Cormorant Garamond', serif; font-weight: 600; color: #fff; font-size: 1.05rem; }
.feature .fd { font-size: 0.78rem; color: #8a8175; }

/* ============================================================
   ABOUT / IMAGE FRAME
   ============================================================ */
.img-frame {
  position: relative; border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(201,162,39,0.25);
  box-shadow: 0 30px 70px -25px rgba(0,0,0,0.8);
}
.img-frame img { width: 100%; height: 26rem; object-fit: cover; transition: transform 0.7s; }
.img-frame:hover img { transform: scale(1.05); }
.img-badge {
  position: absolute; bottom: -1.5rem; right: -1rem; z-index: 5;
  display: flex; flex-direction: column; gap: 0.1rem; text-align: center;
  padding: 1.1rem 1.4rem; border-radius: 4px;
  background: linear-gradient(160deg, #1e1812, #100d0a);
  border: 1px solid rgba(201,162,39,0.4);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.8);
}

/* ============================================================
   CHECK LIST
   ============================================================ */
.check { display: flex; align-items: center; gap: 0.65rem; color: #cfc6b8; font-size: 0.92rem; }
.check i { color: var(--gold); }

/* ============================================================
   LUXURY SERVICE CARDS
   ============================================================ */
.lux-card {
  position: relative; padding: 2rem 1.8rem; border-radius: 6px; overflow: hidden;
  background: linear-gradient(160deg, rgba(28,22,16,0.7), rgba(13,10,7,0.8));
  border: 1px solid rgba(201,162,39,0.14);
  box-shadow: 0 16px 50px -22px rgba(0,0,0,0.8);
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.lux-card::after {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: var(--grad); transition: width 0.5s;
}
.lux-card:hover { transform: translateY(-8px); border-color: rgba(201,162,39,0.4); box-shadow: 0 30px 60px -25px rgba(201,162,39,0.4); }
.lux-card:hover::after { width: 100%; }
.lux-icon {
  width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center;
  margin-bottom: 1.3rem; font-size: 1.4rem; color: var(--gold-light);
  border: 1px solid rgba(201,162,39,0.35);
  background: radial-gradient(circle at 30% 30%, rgba(201,162,39,0.18), transparent 70%);
  transition: transform 0.4s, background 0.4s;
}
.lux-card:hover .lux-icon { transform: rotateY(180deg); background: radial-gradient(circle at 30% 30%, rgba(201,162,39,0.35), transparent 70%); }
.lux-card h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.3rem; color: #fff; margin-bottom: 1rem; }
.lux-card ul { margin-bottom: 1.4rem; }
.lux-card ul li { position: relative; padding-left: 1.1rem; font-size: 0.88rem; color: #9a9184; margin-bottom: 0.45rem; }
.lux-card ul li::before { content: '\2014'; position: absolute; left: 0; color: var(--gold); }
.lux-card .learn { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); transition: gap 0.3s; }
.lux-card .learn:hover { gap: 0.8rem; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { position: relative; overflow: hidden; border-block: 1px solid rgba(201,162,39,0.18); }
.stats-band::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(160deg, rgba(201,162,39,0.12), transparent 60%),
    radial-gradient(80% 100% at 50% 0%, rgba(201,162,39,0.08), transparent),
    #0d0a07;
}
.stats-band::after {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(201,162,39,0.05) 1px, transparent 1px);
  background-size: 100% 32px;
}

/* ============================================================
   LEADERSHIP ROLE CARDS
   ============================================================ */
.role-card {
  padding: 1.1rem; border-radius: 4px; text-align: left;
  background: rgba(201,162,39,0.05); border: 1px solid rgba(201,162,39,0.18);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.role-card i { font-size: 1.2rem; color: var(--gold); }
.role-card .rt { font-weight: 600; color: #fff; font-size: 0.88rem; margin-top: 0.5rem; }
.role-card .rd { font-size: 0.72rem; color: #8a8175; }
.role-card:hover { transform: translateY(-4px); border-color: var(--gold); background: rgba(201,162,39,0.1); }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industry {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 1.2rem 0.5rem; border-radius: 4px;
  background: rgba(201,162,39,0.04); border: 1px solid rgba(201,162,39,0.12);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.industry i { font-size: 1.5rem; color: var(--gold); }
.industry span { font-size: 0.76rem; color: #cfc6b8; text-align: center; }
.industry:hover { transform: translateY(-5px); border-color: var(--gold); background: rgba(201,162,39,0.1); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.1rem; color: #b8ad9c; transition: color 0.3s; }
.brand i { color: var(--gold); }
.brand:hover { color: #fff; }
.marquee-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.4); background: rgba(13,10,7,0.9); color: var(--gold);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.marquee-arrow:hover { background: var(--grad); color: #0a0807; box-shadow: 0 0 20px -4px rgba(201,162,39,0.6); }
.marquee-arrow.left-0 { left: 0; } .marquee-arrow.right-0 { right: 0; }

/* ============================================================
   CTA
   ============================================================ */
.cta-card {
  position: relative; overflow: hidden; border-radius: 10px; padding: 3.5rem;
  background: linear-gradient(150deg, rgba(30,24,18,0.9), rgba(10,8,7,0.95));
  border: 1px solid rgba(201,162,39,0.3);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.9);
}
.ribbon-cta path { stroke-width: 2; }
.contact-item {
  display: flex; align-items: center; gap: 0.95rem; padding: 1.1rem 1.2rem; border-radius: 4px;
  background: rgba(201,162,39,0.05); border: 1px solid rgba(201,162,39,0.16);
  transition: transform 0.3s, border-color 0.3s;
}
.contact-item:hover { transform: translateY(-3px); border-color: var(--gold); }
.contact-item > i {
  width: 2.7rem; height: 2.7rem; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%;
  font-size: 1rem; color: var(--gold-light); border: 1px solid rgba(201,162,39,0.35);
  background: radial-gradient(circle, rgba(201,162,39,0.18), transparent 70%);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-title { font-family: 'Cormorant Garamond', serif; color: #fff; font-weight: 600; margin-bottom: 1.1rem; font-size: 1.05rem; }
.footer-list { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-list a, .footer-list li { color: #8a8175; font-size: 0.88rem; transition: color 0.25s; }
.footer-list a:hover { color: var(--gold); }
.social {
  width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.3); color: var(--gold);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.social:hover { background: var(--grad); color: #0a0807; box-shadow: 0 0 18px -4px rgba(201,162,39,0.6); }

/* ============================================================
   HERO PARALLAX CAROUSEL
   ============================================================ */
.hero-parallax { overflow: hidden; will-change: transform; }
.hero-carousel { position: absolute; inset: 0; }
.hslide {
  position: absolute; inset: -6%;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease;
}
.hslide.is-active { opacity: 0.65; animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16); } }

.hero-dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 0.6rem; }
.hero-dots button {
  width: 30px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.25);
  cursor: pointer; transition: background 0.3s;
}
.hero-dots button.on { background: var(--grad); }

/* ============================================================
   WEAVE / GEOMETRIC PATTERNS (subtle backgrounds only)
   ============================================================ */
.pattern-weave {
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, rgba(201,162,39,0.06) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-45deg, rgba(201,162,39,0.06) 0 1px, transparent 1px 14px);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 100%);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 1rem;
}
.g-item {
  position: relative; overflow: hidden; border-radius: 6px;
  border: 1px solid rgba(201,162,39,0.18);
}
.g-item.g-tall { grid-row: span 2; }
.g-item.g-wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.g-item:hover img { transform: scale(1.1); }
.g-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,8,7,0.9), transparent 55%);
  opacity: 0.7; transition: opacity 0.4s;
}
.g-item:hover::after { opacity: 0.95; }
.g-item figcaption {
  position: absolute; left: 1rem; bottom: 0.9rem; z-index: 2;
  display: flex; flex-direction: column; transform: translateY(8px); opacity: 0.9;
  transition: transform 0.4s, opacity 0.4s;
}
.g-item:hover figcaption { transform: translateY(0); opacity: 1; }
.g-cat { font-family: 'Outfit', sans-serif; font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }
.g-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.25rem; color: #fff; }
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .g-item.g-wide { grid-column: span 2; }
  .g-item.g-tall { grid-row: span 1; }
}

/* ============================================================
   MAP / LOCATION
   ============================================================ */
.map-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: stretch; }
.map-frame {
  position: relative; border-radius: 8px; overflow: hidden; min-height: 460px;
  border: 1px solid rgba(201,162,39,0.25); box-shadow: 0 30px 70px -28px rgba(0,0,0,0.8);
}
.map-frame iframe {
  width: 100%; height: 100%; min-height: 460px; border: 0; display: block;
  filter: grayscale(0.5) invert(0.9) hue-rotate(180deg) brightness(0.9) contrast(0.95);
}
.map-card { border-radius: 8px; padding: 2.2rem; display: flex; flex-direction: column; }
.map-card .contact-item { width: 100%; }
@media (max-width: 900px) { .map-wrap { grid-template-columns: 1fr; } }

/* ============================================================
   MOTION SAFETY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ribbon path { stroke-dashoffset: 0; }
}
