/* =====================================================================
   JOLCHOBI STUDIO — DESIGN SYSTEM STYLESHEET
   This file is shared across ALL pages (Home, About, Services, Gallery,
   Packages, Contact). Keep component classes below consistent when
   building new pages — see /design-system.md for the full class guide.
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root{
  --bg:#0d0d0d;
  --bg-soft:#151515;
  --card:#1a1a1a;
  --gold:#D4A94A;
  --gold-soft:#e6c578;
  --text:#f2ede3;
  --text-muted:#a8a29a;
  --border:#2a2a2a;

  --container-width: 1440px;   /* master content width for all pages */
  --section-pad: 100px;        /* vertical section rhythm */
  --section-pad-mobile: 80px;
  --radius: 6px;
}

/* ---------- Reset ---------- */
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{background:var(--bg);color:var(--text);font-family:'Poppins',sans-serif;overflow-x:hidden;}
h1,h2,h3,.display{font-family:'Playfair Display',serif;}
.script{font-family:'Great Vibes',cursive;}
a{text-decoration:none;color:inherit;}
img{display:block;max-width:100%;}
ul{list-style:none;}

/* ---------- Layout Utility ---------- */
/* .container: use this INSIDE every section on every page for consistent
   1440px max-width alignment. Sections themselves stay full-bleed. */
.container{width:100%;max-width:var(--container-width);margin:0 auto;padding:0 5vw;}

/* ---------- Buttons (reuse everywhere) ---------- */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 26px;font-size:.82rem;font-weight:500;letter-spacing:.5px;
  border-radius:4px;transition:all .3s ease;white-space:nowrap;
}
.btn-gold{background:var(--gold);color:#1a1305;}
.btn-gold:hover{background:var(--gold-soft);}
.btn-outline{border:1px solid var(--text-muted);color:var(--text);}
.btn-outline:hover{border-color:var(--gold);color:var(--gold);}
.btn-gold svg, .btn-outline svg{width:14px;height:14px;}

/* =====================================================================
   HEADER / NAVIGATION (shared on every page)
   ===================================================================== */
header{
  position:fixed;top:0;left:0;right:0;z-index:200;
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 5vw;
  background:rgba(13,13,13,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(212,169,74,.15);
}
.logo{display:flex;align-items:center;gap:10px;font-family:'Playfair Display',serif;}
.logo svg{width:30px;height:30px;flex-shrink:0;}
.logo-text{line-height:1.1;}
.logo-text .main{font-size:1.15rem;font-weight:700;letter-spacing:1px;color:var(--text);}
.logo-text .sub{font-size:.6rem;letter-spacing:4px;color:var(--gold);display:block;}

nav ul{display:flex;gap:32px;}
nav a{font-size:.86rem;color:var(--text-muted);transition:color .3s;position:relative;}
nav a:hover, nav a.active{color:var(--gold);}
nav a.active::after{content:'';position:absolute;left:0;right:0;bottom:-6px;height:2px;background:var(--gold);}

.head-right{display:flex;align-items:center;gap:20px;}
.icon-btn{
  width:38px;height:38px;border:1px solid var(--border);border-radius:50%;
  display:flex;align-items:center;justify-content:center;color:var(--gold);font-size:.9rem;
  transition:border-color .3s;
}
.icon-btn:hover{border-color:var(--gold);}

.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px;z-index:210;}
.nav-toggle span{width:24px;height:2px;background:var(--text);}

/* =====================================================================
   HERO / PAGE BANNER
   Fixed height 980px on desktop (960–1000px range as specified).
   Reuse `.hero` + `.hero-bg` + `.hero-content` for inner page banners
   too (About/Services/etc.) — just swap the background image + text.
   ===================================================================== */
.hero{
  position:relative;height:980px;display:flex;align-items:center;
  overflow:hidden;
}
.hero-bg{
  position:absolute;inset:0;z-index:0;
  background:
    linear-gradient(90deg, rgba(13,13,13,.92) 20%, rgba(13,13,13,.55) 55%, rgba(13,13,13,.25) 100%),
    url('https://images.unsplash.com/photo-1606216794074-735e91aa2c92?q=80&w=1800&auto=format&fit=crop') center 25%/cover no-repeat;
}
.hero .container{position:relative;z-index:1;}
.hero-content{max-width:640px;}
.hero-eyebrow{font-size:.78rem;letter-spacing:4px;text-transform:uppercase;color:var(--gold-soft);margin-bottom:18px;}
.hero h1{font-size:clamp(2.4rem,5.4vw,4rem);font-weight:700;line-height:1.15;color:#fff;}
.hero h1 .script-accent{font-family:'Great Vibes',cursive;color:var(--gold);font-size:1.5em;font-weight:400;display:inline-block;margin-left:10px;}
.hero p{margin-top:22px;color:var(--text-muted);font-size:1rem;line-height:1.8;max-width:480px;}
.cta-row{margin-top:36px;display:flex;gap:18px;flex-wrap:wrap;}

.hero-arrows{position:absolute;top:50%;transform:translateY(-50%);z-index:2;
  width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;
  border:1px solid rgba(255,255,255,.2);}
.hero-arrows.left{left:20px;} .hero-arrows.right{right:20px;}
.hero-dots{position:absolute;bottom:30px;left:5vw;display:flex;gap:8px;z-index:2;}
.hero-dots span{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.35);}
.hero-dots span.active{background:var(--gold);}

/* Simpler inner-page banner variant (About/Services/Contact/etc will use this) */
.page-banner{height:420px;}
.page-banner .hero-content{max-width:100%;text-align:center;margin:0 auto;}
.page-banner .hero-eyebrow{justify-content:center;}

/* =====================================================================
   FLOATING CONTACT ICONS (shared on every page)
   ===================================================================== */
.floating-icons{position:fixed;right:26px;bottom:110px;z-index:150;display:flex;flex-direction:column;gap:14px;}
.floating-icons a{
  width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.35);font-size:1.3rem;
}
.fi-wa{background:#25D366;color:#fff;}
.fi-call{background:var(--gold);color:#1a1305;}

/* =====================================================================
   SECTION COMMON PATTERN (reuse `.section-head` + `.eyebrow` everywhere)
   ===================================================================== */
section{padding:var(--section-pad) 0;}
.section-head{text-align:center;max-width:600px;margin:0 auto 50px;}
.eyebrow{font-size:.78rem;letter-spacing:3px;text-transform:uppercase;color:var(--gold);margin-bottom:14px;}
.section-head h2{font-size:clamp(1.9rem,3.6vw,2.6rem);font-weight:700;color:#fff;position:relative;display:inline-block;padding-bottom:16px;}
.section-head h2::after{content:'';position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:60px;height:2px;background:var(--gold);}

/* =====================================================================
   SERVICE CARDS (reuse on Services page)
   ===================================================================== */
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;}
.service-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:transform .35s ease, border-color .35s ease;}
.service-card:hover{transform:translateY(-8px);border-color:var(--gold);}
.service-photo{position:relative;height:170px;overflow:hidden;}
.service-photo img{width:100%;height:100%;object-fit:cover;}
.service-icon{
  position:absolute;bottom:-26px;left:24px;width:52px;height:52px;border-radius:50%;
  background:var(--bg);border:2px solid var(--gold);display:flex;align-items:center;justify-content:center;
  font-size:1.3rem;color:var(--gold);
}
.service-body{padding:40px 24px 26px;}
.service-body h3{font-size:1.15rem;font-weight:600;color:#fff;margin-bottom:10px;font-family:'Poppins',sans-serif;}
.service-body p{font-size:.88rem;color:var(--text-muted);line-height:1.7;margin-bottom:16px;}
.view-more{font-size:.82rem;color:var(--gold);display:inline-flex;align-items:center;gap:6px;font-weight:500;}
.view-more svg{width:13px;height:13px;transition:transform .3s;}
.service-card:hover .view-more svg{transform:translateX(4px);}

/* =====================================================================
   GALLERY / PORTFOLIO GRID (reuse on Gallery & Portfolio pages)
   ===================================================================== */
.filter-tabs{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:44px;}
.filter-tabs button{
  background:var(--card);border:1px solid var(--border);color:var(--text-muted);
  padding:10px 22px;border-radius:30px;font-size:.82rem;font-family:'Poppins',sans-serif;cursor:pointer;
  transition:all .3s ease;
}
.filter-tabs button.active,.filter-tabs button:hover{background:var(--gold);color:#1a1305;border-color:var(--gold);}
.gallery-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;}
.gallery-grid figure{aspect-ratio:1/1;overflow:hidden;border-radius:var(--radius);}
.gallery-grid img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.gallery-grid figure:hover img{transform:scale(1.08);}
.gallery-cta{text-align:center;margin-top:44px;}

/* =====================================================================
   ABOUT SECTION / STAT BOXES (reuse on About page)
   ===================================================================== */
.about-wrap{display:grid;grid-template-columns:.85fr 1.5fr;gap:50px;align-items:center;}
.about-text h2{font-size:clamp(1.9rem,3.2vw,2.5rem);font-weight:700;color:#fff;margin-bottom:20px;}
.about-text p{color:var(--text-muted);line-height:1.85;margin-bottom:26px;font-size:.96rem;}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.stat-box{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:26px 16px;text-align:center;transition:border-color .3s;}
.stat-box:hover{border-color:var(--gold);}
.stat-box .stat-icon{color:var(--gold);font-size:1.6rem;margin-bottom:10px;}
.stat-box h4{font-family:'Playfair Display',serif;font-size:1.9rem;color:#fff;font-weight:700;}
.stat-box span{font-size:.78rem;color:var(--text-muted);}

/* =====================================================================
   TESTIMONIALS (reuse anywhere client feedback is shown)
   ===================================================================== */
.testi-wrap{position:relative;display:flex;align-items:center;gap:20px;}
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;flex:1;}
.testi-card{background:var(--card);border:1px solid var(--border);border-radius:8px;padding:32px 26px;}
.testi-top{display:flex;align-items:center;gap:14px;margin-bottom:14px;}
.testi-top img{width:54px;height:54px;border-radius:50%;object-fit:cover;}
.testi-top h4{font-size:1rem;color:#fff;font-family:'Poppins',sans-serif;font-weight:600;}
.stars{color:var(--gold);font-size:.85rem;margin-top:3px;}
.testi-card p{color:var(--text-muted);font-size:.9rem;line-height:1.75;}
.testi-nav{
  width:42px;height:42px;flex-shrink:0;border-radius:50%;border:1px solid var(--border);
  background:transparent;color:var(--text);cursor:pointer;transition:border-color .3s;
  display:flex;align-items:center;justify-content:center;
}
.testi-nav:hover{border-color:var(--gold);color:var(--gold);}
@media (max-width:900px){ .testi-nav{display:none;} }

/* =====================================================================
   PACKAGES / PRICING CARDS (ready for the future Packages page)
   ===================================================================== */
.package-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.package-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:36px 30px;text-align:center;transition:transform .35s ease, border-color .35s ease;}
.package-card:hover{transform:translateY(-8px);border-color:var(--gold);}
.package-card.featured{border-color:var(--gold);position:relative;}
.package-card .badge{position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:var(--gold);color:#1a1305;font-size:.72rem;padding:5px 16px;border-radius:20px;letter-spacing:1px;text-transform:uppercase;}
.package-card h3{font-size:1.2rem;color:#fff;margin-bottom:10px;}
.package-card .price{font-family:'Playfair Display',serif;font-size:2.2rem;color:var(--gold);margin-bottom:20px;}
.package-card .price span{font-size:.8rem;color:var(--text-muted);font-family:'Poppins',sans-serif;}
.package-card ul{margin-bottom:26px;text-align:left;}
.package-card ul li{color:var(--text-muted);font-size:.88rem;padding:8px 0;border-bottom:1px solid var(--border);}

/* =====================================================================
   CONTACT FORM BLOCK (reuse on Contact page as a bigger standalone form)
   ===================================================================== */
.contact-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;}
.contact-info-list li{display:flex;align-items:center;gap:12px;color:var(--text-muted);font-size:.92rem;margin-bottom:20px;}
.contact-info-list li svg{width:18px;height:18px;color:var(--gold);flex-shrink:0;}

/* =====================================================================
   FOOTER (shared on every page)
   ===================================================================== */
footer{background:var(--bg-soft);border-top:1px solid var(--border);padding:80px 0 0;}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1.2fr 1.2fr 1.3fr;gap:40px;padding-bottom:60px;}
.footer-brand p{color:var(--text-muted);font-size:.88rem;line-height:1.7;margin:16px 0 20px;}
.footer-social{display:flex;gap:12px;}
.footer-social a{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.85rem;color:#fff;}
.fs-fb{background:#3b5998;} .fs-ig{background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);}
.fs-yt{background:#FF0000;} .fs-wa{background:#25D366;}
footer h5{font-size:.95rem;color:#fff;margin-bottom:20px;letter-spacing:.5px;}
footer .flinks li{margin-bottom:12px;}
footer .flinks a{color:var(--text-muted);font-size:.88rem;transition:color .3s;}
footer .flinks a:hover{color:var(--gold);}
.fcontact li{display:flex;align-items:center;gap:12px;color:var(--text-muted);font-size:.86rem;margin-bottom:18px;line-height:1.4;}
.fcontact li svg{width:16px;height:16px;flex-shrink:0;color:var(--gold);}
.fcontact li span{flex:1;}
.map-box{margin-top:6px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);height:120px;}
.map-box iframe{width:100%;height:100%;border:0;filter:grayscale(1) invert(.9) contrast(.85);}
.footer-form input,.footer-form textarea{
  width:100%;background:var(--card);border:1px solid var(--border);border-radius:5px;
  padding:11px 14px;color:var(--text);font-family:'Poppins',sans-serif;font-size:.85rem;
  margin-bottom:12px;outline:none;transition:border-color .3s;
}
.footer-form input:focus,.footer-form textarea:focus{border-color:var(--gold);}
.footer-form textarea{min-height:70px;resize:vertical;}
.footer-form button{width:100%;justify-content:center;border:none;cursor:pointer;}
.footer-bottom{border-top:1px solid var(--border);padding:22px 0;display:flex;justify-content:space-between;color:var(--text-muted);font-size:.82rem;flex-wrap:wrap;gap:10px;}
.footer-bottom .heart{color:var(--gold);}

/* =====================================================================
   RESPONSIVE — keep breakpoints identical across every new page
   ===================================================================== */
@media (max-width: 1080px){
  .service-grid{grid-template-columns:repeat(2,1fr);}
  .gallery-grid{grid-template-columns:repeat(3,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .package-grid{grid-template-columns:1fr;max-width:420px;margin:0 auto;}
  .contact-form-grid{grid-template-columns:1fr;}
}
@media (max-width: 900px){
  nav{
    position:fixed;top:0;right:-100%;height:100vh;width:min(78vw,320px);
    background:var(--bg-soft);flex-direction:column;padding:110px 40px;transition:right .4s ease;
    border-left:1px solid var(--border);
  }
  nav.open{right:0;}
  nav ul{flex-direction:column;gap:26px;}
  .nav-toggle{display:flex;}
  .head-right .btn-outline{display:none;}
  .hero{height:auto;padding:150px 0 70px;}
  .page-banner{padding:130px 0 60px;}
  .about-wrap,.testi-grid{grid-template-columns:1fr;}
  .stat-grid{grid-template-columns:1fr 1fr;}
  section{padding:var(--section-pad-mobile) 0;}
  .floating-icons{bottom:80px;right:16px;}
}
@media (max-width: 640px){
  .service-grid{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr;gap:36px;}
  .head-right .icon-btn{display:none;}
}
