/* ================================================================
   AL HANDSIA Widgets — assets/css/widgets.css
   All styles scoped to widget containers.
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --alh-primary:    #d4891a;
  --alh-primary-10: rgba(212,137,26,.10);
  --alh-fg:         #2a2520;
  --alh-muted:      #7a7068;
  --alh-bg:         #ffffff;
  --alh-surface:    #f8f6f3;
  --alh-border:     #e8e2da;
  --alh-dark:       #1f1c18;
  --alh-dark-fg:    #f5f2ee;
  --alh-radius:     .5rem;
  --alh-font-h:     'Inter', system-ui, sans-serif;
  --alh-font-b:     'Plus Jakarta Sans', system-ui, sans-serif;
  --alh-max-w:      1400px;
}

/* ── Shared container ── */
.alh-wrap { font-family: var(--alh-font-b); color: var(--alh-fg); }
.alh-inner { max-width: var(--alh-max-w); margin: 0 auto; padding: 0 2rem; }
.alh-section-header { text-align: center; margin-bottom: 3rem; }
.alh-section-header h2 { font-family: var(--alh-font-h); font-size: clamp(1.75rem,3vw,2.25rem); font-weight: 700; color: var(--alh-fg); margin-bottom: 1rem; }
.alh-section-header p  { max-width: 42rem; margin: 0 auto; color: var(--alh-muted); line-height: 1.6; }

/* ── Buttons ── */
.alh-btn { display: inline-flex; align-items: center; padding: .75rem 1.75rem; border-radius: var(--alh-radius); font-size: 1rem; font-weight: 500; font-family: var(--alh-font-b); text-decoration: none; transition: opacity .2s; cursor: pointer; border: none; }
.alh-btn-primary  { background: var(--alh-primary); color: #fff; }
.alh-btn-primary:hover { opacity: .9; }
.alh-btn-outline  { background: transparent; border: 1px solid rgba(245,242,238,.35); color: var(--alh-primary); }

/* ════ CAROUSEL ════ */
.alh-carousel { position: relative; width: 100%; overflow: hidden; background: var(--alh-dark); height: 70vh; min-height: 400px; }
.alh-carousel-slide { position: absolute; inset: 0; transition: opacity .7s ease; }
.alh-carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.alh-carousel-slide.active { opacity: 1; z-index: 1; }
.alh-carousel-slide.inactive { opacity: 0; z-index: 0; }
.alh-carousel-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(31,28,24,.6) 0%, transparent 50%, rgba(31,28,24,.3) 100%); z-index: 2; }
.alh-carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(255,255,255,.8); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.alh-carousel-btn:hover { background: #fff; }
.alh-carousel-prev { left: 1rem; }
.alh-carousel-next { right: 1rem; }
.alh-carousel-btn svg { width: 1.25rem; height: 1.25rem; }
.alh-carousel-dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: .5rem; align-items: center; }
.alh-dot { height: .625rem; border-radius: .3125rem; background: rgba(255,255,255,.6); border: none; cursor: pointer; transition: all .3s; }
.alh-dot.active { width: 2rem; background: var(--alh-primary); }
.alh-dot.inactive { width: .625rem; }

/* ════ HERO TEXT ════ */
.alh-hero-text-section { background: var(--alh-dark); padding: 4rem 0 5rem; text-align: center; }
.alh-hero-text-section h1 { font-family: var(--alh-font-h); font-size: clamp(2rem,5vw,3.5rem); font-weight: 800; color: var(--alh-dark-fg); margin-bottom: 1.5rem; line-height: 1.1; }
.alh-hero-text-section p  { font-size: 1.125rem; line-height: 1.7; color: rgba(245,242,238,.8); max-width: 48rem; margin: 0 auto 2rem; font-family: var(--alh-font-b); }
.alh-hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ════ HIGHLIGHTS ════ */
.alh-highlights-section { background: var(--alh-surface); border-bottom: 1px solid var(--alh-border); padding: 2.5rem 0; }
.alh-highlights-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem 2rem; }
@media(min-width:768px){ .alh-highlights-grid { grid-template-columns: repeat(4,1fr); } }
.alh-highlight-item { display: flex; align-items: center; gap: .75rem; font-size: .875rem; font-weight: 500; }
.alh-highlight-icon { display: flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--alh-primary-10); color: var(--alh-primary); flex-shrink: 0; }
.alh-highlight-icon svg { width: .875rem; height: .875rem; }

/* ════ SERVICES ════ */
.alh-services-section { padding: 4rem 0 6rem; }
.alh-services-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media(min-width:768px){ .alh-services-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px){ .alh-services-grid { grid-template-columns: repeat(4,1fr); } }
.alh-svc-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--alh-radius); border: 1px solid var(--alh-border); background: var(--alh-bg); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.alh-svc-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px -5px rgba(0,0,0,.1); }
.alh-svc-card-img { height: 12rem; overflow: hidden; }
.alh-svc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.alh-svc-card:hover .alh-svc-card-img img { transform: scale(1.05); }
.alh-svc-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.alh-svc-icon { width: 2.5rem; height: 2.5rem; border-radius: var(--alh-radius); background: var(--alh-primary-10); display: flex; align-items: center; justify-content: center; margin-bottom: .75rem; color: var(--alh-primary); }
.alh-svc-icon svg { width: 1.25rem; height: 1.25rem; }
.alh-svc-card-body h3 { font-family: var(--alh-font-h); font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--alh-fg); }
.alh-svc-card-body p  { font-size: .875rem; color: var(--alh-muted); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.alh-svc-link { font-size: .875rem; font-weight: 500; color: var(--alh-primary); margin-top: auto; }

/* ════ STATS ════ */
.alh-stats-section { padding: 4rem 0 5rem; }
.alh-stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
@media(min-width:768px){ .alh-stats-grid { grid-template-columns: repeat(4,1fr); } }
.alh-stat { text-align: center; }
.alh-stat-val { font-family: var(--alh-font-h); font-size: clamp(2rem,5vw,3rem); font-weight: 800; margin-bottom: .5rem; }
.alh-stat-lbl { font-size: .875rem; font-weight: 500; }

/* ════ VALUES ════ */
.alh-values-section { padding: 4rem 0 6rem; }
.alh-values-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media(min-width:640px) { .alh-values-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px){ .alh-values-grid { grid-template-columns: repeat(3,1fr); } }
.alh-val-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; border: 1px solid var(--alh-border); border-radius: var(--alh-radius); transition: background .2s; }
.alh-val-card:hover { background: var(--alh-surface); }
.alh-val-icon { width: 2.5rem; height: 2.5rem; border-radius: var(--alh-radius); background: var(--alh-primary-10); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--alh-primary); }
.alh-val-card h3 { font-family: var(--alh-font-h); font-size: .875rem; font-weight: 600; color: var(--alh-fg); }
.alh-val-card p  { font-size: .8rem; color: var(--alh-muted); margin-top: .25rem; line-height: 1.5; }

/* ════ PARTNERS ════ */
.alh-partners-section { padding: 4rem 0 5rem; }
.alh-partners-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
@media(min-width:640px) { .alh-partners-grid { grid-template-columns: repeat(3,1fr); } }
@media(min-width:768px) { .alh-partners-grid { grid-template-columns: repeat(6,1fr); } }
.alh-partner { display: flex; align-items: center; justify-content: center; height: 6rem; border-radius: var(--alh-radius); border: 1px solid var(--alh-border); background: var(--alh-bg); padding: 1rem; text-align: center; font-size: .875rem; font-weight: 700; color: var(--alh-muted); text-decoration: none; transition: box-shadow .2s; }
.alh-partner:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.alh-partner img { max-height: 3rem; width: auto; }

/* ════ FORM ════ */
.alh-form-section { padding: 4rem 0 6rem; }
.alh-form-card { max-width: 42rem; margin: 0 auto; background: var(--alh-bg); border-radius: .75rem; padding: 3rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); border: 1px solid var(--alh-border); }
.alh-form-card h2 { font-family: var(--alh-font-h); font-size: 1.75rem; font-weight: 700; text-align: center; color: var(--alh-fg); margin-bottom: .5rem; }
.alh-form-subtitle { text-align: center; color: var(--alh-muted); margin-bottom: 2rem; }
.alh-form { display: flex; flex-direction: column; gap: 1rem; }
.alh-form input, .alh-form textarea {
    width: 100%; padding: .625rem .75rem;
    border: 1px solid var(--alh-border); border-radius: var(--alh-radius);
    font-size: .875rem; font-family: var(--alh-font-b);
    background: var(--alh-bg); color: var(--alh-fg); outline: none; transition: border-color .2s;
}
.alh-form input:focus, .alh-form textarea:focus { border-color: var(--alh-primary); }
.alh-form textarea { resize: vertical; }
.alh-form-submit { width: 100%; padding: .75rem; background: var(--alh-primary); color: #fff; border: none; border-radius: var(--alh-radius); font-size: 1rem; font-weight: 500; cursor: pointer; font-family: var(--alh-font-b); transition: opacity .2s; }
.alh-form-submit:hover { opacity: .9; }
.alh-form-submit:disabled { opacity: .6; cursor: not-allowed; }

/* ════ CONTACT ════ */
.alh-contact-section { padding: 4rem 0 6rem; }
.alh-contact-grid { display: grid; gap: 3rem; }
@media(min-width:1024px){ .alh-contact-grid { grid-template-columns: 1fr 1fr; } }
.alh-contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.alh-contact-row { display: flex; align-items: flex-start; gap: 1rem; }
.alh-contact-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;                    /* circle, not square */
  background: rgba(212,137,26,0.12);     /* orange tint bg */
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--alh-primary);             /* orange icon */
  transition: background .2s;
}
.alh-contact-icon:hover { background: rgba(212,137,26,0.22); }
.alh-contact-icon svg { width: 1.1rem; height: 1.1rem; }
.alh-contact-icon i { font-size: 1rem; color: var(--alh-primary); }
.alh-contact-row h3 { font-family: var(--alh-font-h); font-size: .875rem; font-weight: 600; color: var(--alh-fg); margin-bottom: .25rem; }
.alh-contact-row p, .alh-contact-row a { font-size: .875rem; color: var(--alh-muted); }
.alh-contact-row a { text-decoration: none; transition: color .2s; }
.alh-contact-row a:hover { color: var(--alh-primary); }
.alh-contact-phones { display: flex; flex-direction: column; gap: .25rem; }
.alh-map-embed { border-radius: var(--alh-radius); overflow: hidden; margin-top: .75rem; }
.alh-map-embed iframe { width: 100%; height: 200px; border: none; display: block; }
.alh-contact-form-wrap { background: var(--alh-surface); border-radius: .75rem; padding: 2.5rem; }
.alh-contact-form-wrap h2 { font-family: var(--alh-font-h); font-size: 1.5rem; font-weight: 700; color: var(--alh-fg); margin-bottom: .5rem; }
.alh-contact-form-wrap > p { color: var(--alh-muted); margin-bottom: 1.5rem; }

/* ════ ABOUT ════ */
.alh-about-story { padding: 4rem 0 6rem; }
.alh-about-grid { display: grid; gap: 3rem; align-items: center; }
@media(min-width:768px){ .alh-about-grid { grid-template-columns: 1fr 1fr; } }
.alh-about-grid h2 { font-family: var(--alh-font-h); font-size: 1.875rem; font-weight: 700; color: var(--alh-fg); margin-bottom: 1.5rem; }
.alh-about-grid p  { color: var(--alh-muted); margin-bottom: 1rem; line-height: 1.75; }
.alh-about-img { border-radius: .75rem; overflow: hidden; }
.alh-about-img img { width: 100%; height: auto; display: block; }
.alh-mission { padding: 4rem 0 5rem; text-align: center; }
.alh-mission h2 { font-family: var(--alh-font-h); font-size: 1.875rem; font-weight: 700; color: var(--alh-dark-fg); margin-bottom: 1.5rem; }
.alh-mission p  { max-width: 48rem; margin: 0 auto; font-size: 1.1rem; color: rgba(245,242,238,.8); line-height: 1.8; }

/* ════ SERVICE DETAIL ════ */
.alh-detail-hero { position: relative; overflow: hidden; }
.alh-detail-hero-bg { position: absolute; inset: 0; }
.alh-detail-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.alh-detail-hero-overlay { position: absolute; inset: 0; background: rgba(31,28,24,.72); }
.alh-detail-hero-content { position: relative; z-index: 10; max-width: var(--alh-max-w); margin: 0 auto; padding: 5rem 2rem 6rem; }
.alh-back-link { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; color: rgba(245,242,238,.7); text-decoration: none; margin-bottom: 1rem; transition: color .2s; }
.alh-back-link:hover { color: var(--alh-dark-fg); }
.alh-back-link svg { width: 1rem; height: 1rem; }
.alh-detail-hero-content h1 { font-family: var(--alh-font-h); font-size: clamp(1.75rem,4vw,2.5rem); font-weight: 800; color: var(--alh-dark-fg); max-width: 44rem; line-height: 1.15; margin-top: .75rem; }
.alh-detail-content { padding: 4rem 0 5rem; }
.alh-detail-inner { max-width: 52rem; margin: 0 auto; padding: 0 2rem; }
.alh-detail-desc { font-size: 1.1rem; line-height: 1.75; color: var(--alh-muted); margin-bottom: 3rem; }
.alh-detail-h2 { font-family: var(--alh-font-h); font-size: 1.5rem; font-weight: 700; color: var(--alh-fg); margin-bottom: 1.5rem; }
.alh-features-grid { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-bottom: 3rem; }
@media(min-width:640px){ .alh-features-grid { grid-template-columns: repeat(2,1fr); } }
.alh-feature-item { display: flex; align-items: flex-start; gap: .75rem; border: 1px solid var(--alh-border); padding: 1rem; border-radius: var(--alh-radius); }
.alh-feature-item svg { width: 1.25rem; height: 1.25rem; color: var(--alh-primary); flex-shrink: 0; margin-top: .1rem; }
.alh-feature-item span { font-size: .875rem; color: var(--alh-fg); }
.alh-process-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
.alh-process-step { display: flex; align-items: flex-start; gap: 1rem; }
.alh-step-num { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--alh-primary); color: #fff; font-size: .8rem; font-weight: 700; flex-shrink: 0; font-family: var(--alh-font-h); }
.alh-process-step p { padding-top: .25rem; font-size: .875rem; color: var(--alh-muted); line-height: 1.6; }

/* ════ GALLERY ════ */
.alh-gallery-section { padding: 4rem 0 6rem; }
.alh-gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media(min-width:640px) { .alh-gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px){ .alh-gallery-grid { grid-template-columns: repeat(3,1fr); } }
.alh-gallery-btn { border: none; padding: 0; cursor: pointer; border-radius: var(--alh-radius); overflow: hidden; border: 1px solid var(--alh-border); display: block; width: 100%; background: none; }
.alh-gallery-btn img { aspect-ratio: 4/3; width: 100%; object-fit: cover; display: block; transition: transform .3s; }
.alh-gallery-btn:hover img { transform: scale(1.05); }

/* ════ LIGHTBOX ════ */
.alh-lightbox { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; background: rgba(31,28,24,.93); padding: 1rem; }
.alh-lightbox-img { max-height: 85vh; max-width: 90vw; border-radius: var(--alh-radius); object-fit: contain; }
.alh-lb-close, .alh-lb-prev, .alh-lb-next { position: absolute; background: none; border: none; color: rgba(245,242,238,.8); cursor: pointer; transition: color .2s; }
.alh-lb-close:hover, .alh-lb-prev:hover, .alh-lb-next:hover { color: var(--alh-dark-fg); }
.alh-lb-close { top: 1rem; right: 1rem; }
.alh-lb-close svg { width: 2rem; height: 2rem; }
.alh-lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.alh-lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.alh-lb-prev svg, .alh-lb-next svg { width: 2.5rem; height: 2.5rem; }
.alh-lb-counter { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); font-size: .875rem; color: rgba(245,242,238,.7); font-family: var(--alh-font-b); }

/* ════ TOAST ════ */
.alh-notify { position: fixed; bottom: 2rem; right: 2rem; z-index: 99999; padding: .75rem 1.25rem; border-radius: var(--alh-radius); font-size: .875rem; font-weight: 500; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.2); max-width: 20rem; animation: alhSlideIn .3s ease-out; font-family: var(--alh-font-b); }
.alh-notify-success { background: #16a34a; }
.alh-notify-error   { background: #dc2626; }
@keyframes alhSlideIn { from{opacity:0;transform:translateY(1rem);}to{opacity:1;transform:translateY(0);} }

/* ════ CAPS LIST ════ */
.alh-caps-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media(min-width:640px) { .alh-caps-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px){ .alh-caps-grid { grid-template-columns: repeat(3,1fr); } }
.alh-cap-item { display: flex; align-items: center; gap: .75rem; border: 1px solid var(--alh-border); background: var(--alh-bg); padding: 1rem; border-radius: var(--alh-radius); }
.alh-cap-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--alh-primary); flex-shrink: 0; }
.alh-cap-item span { font-size: .875rem; font-weight: 500; color: var(--alh-fg); }

/* ════ PAGE HERO (dark banner for inner pages) ════ */
.alh-page-hero { padding: 4rem 0 5rem; text-align: center; }
.alh-page-hero h1 { font-family: var(--alh-font-h); font-size: clamp(2rem,5vw,3rem); font-weight: 800; color: var(--alh-dark-fg); margin-bottom: 1rem; }
.alh-page-hero p  { max-width: 42rem; margin: 0 auto; color: rgba(245,242,238,.7); font-size: 1.05rem; line-height: 1.6; }

/* ════ CONTACT INFO ONLY (redesigned) ════ */
.alh-contact-info-only { padding: 0; }
.alh-contact-heading { font-family: var(--alh-font-h); font-size: 1.5rem; font-weight: 700; color: var(--alh-fg); margin-bottom: 2rem; }
.alh-contact-row-body h3 { font-family: var(--alh-font-h); font-size: .875rem; font-weight: 600; color: var(--alh-fg); margin-bottom: .25rem; }
.alh-contact-row-body p, .alh-contact-row-body a { font-size: .875rem; color: var(--alh-muted); text-decoration: none; }
.alh-contact-row-body a:hover { color: var(--alh-primary); }
.alh-contact-phones { display: flex; flex-direction: column; gap: .3rem; }
/* Phone links are orange by default (matching Lovable design) */
.alh-contact-phones a { font-size: .875rem; color: var(--alh-primary); text-decoration: none; transition: opacity .2s; font-weight: 500; }
.alh-contact-phones a:hover { opacity: .75; }
.alh-contact-email { font-size: .875rem; color: var(--alh-primary); text-decoration: none; transition: opacity .2s; font-weight: 500; }
.alh-contact-email:hover { opacity: .75; }

/* ════ ABOUT SPLIT WIDGETS ════ */
.alh-about-stats-wrap { background: #f8f6f3; }
.alh-mission-wrap { background: #1f1c18; }

/* ════ VALUES ICON FIX ════ */
.alh-val-icon { color: var(--alh-primary); }
.alh-val-icon svg, .alh-val-icon i { color: inherit; font-size: 1.1rem; }
