/*
  Alimie: bold photo hero, light pages, coral accents (website standard).
  Live parts (.rb-*) come from public/assets/css/rb-site.css; this file gives them the Alimie look.
  Customize changes var(--rb-brand) / var(--rb-font-heading) / var(--rb-font-body).
*/
:root {
  --rb-brand: #fc6060;
  --rb-on-brand: #ffffff;
  --rb-font-heading: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --rb-font-body: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --rb-text: #252525;
  --rb-muted: #6b6b6b;
  --rb-line: #ebebeb;
  --rb-surface: #ffffff;
  --rb-soft: #f7f7f7;
  --rb-card: #ffffff;
  --rb-radius: 12px;
  --rb-sticky-top: 80px;
  --al-dark: #111111;
  --al-wrap: 1200px;
  /* the hero headline gradient follows the brand colour (coral -> peach -> soft yellow by default) */
  --al-glow-a: color-mix(in srgb, var(--rb-brand) 62%, #ffffff);
  --al-glow-b: color-mix(in srgb, var(--rb-brand) 14%, #ffe89e);
}

body.al { font-family: var(--rb-font-body); font-size: 16px; line-height: 1.7; }
.al h1, .al h2, .al h3 { font-family: var(--rb-font-heading); font-weight: 600; line-height: 1.2; margin: 0; color: var(--rb-text); }
.al main a:not([class]) { color: var(--rb-brand); }
.al-wrap { width: 100%; max-width: var(--al-wrap); margin: 0 auto; padding: 0 24px; }
.al-wrap-wide { max-width: 1480px; }
.al-section { padding: 80px 0; }
.al-section-soft { background: var(--rb-soft); }
.al-banner + .al-section { padding-top: 48px; }
.al-center { text-align: center; }
.al-heading { margin-bottom: 36px; }
.al-heading h2 { font-size: 36px; }
.al-heading p { margin: 6px 0 0; color: var(--rb-muted); }
.al-heading:not(.al-center) h2::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--rb-brand); margin-top: 14px; }
.al-link { display: inline-flex; align-items: center; gap: 8px; color: var(--rb-brand); font-weight: 500; text-decoration: none; }
.al-link:hover { text-decoration: underline; }
.al-more { text-align: center; margin-top: 40px; }

/* Buttons: rounded outline buttons in the brand colour */
.al .rb-btn { border-radius: 999px; border-width: 2px; font-weight: 500; padding: 10px 28px; min-height: 46px; }
.al .al-btn-line { background: transparent; color: #fff; border-color: var(--rb-brand); }
.al .al-btn-line:hover { background: var(--rb-brand); color: var(--rb-on-brand); filter: none; }
.al .al-btn-dark { color: var(--rb-text); }
.al .al-btn-white { background: #fff; color: var(--rb-brand); border-color: #fff; }
.al .al-btn-white:hover { background: transparent; color: #fff; filter: none; }

/* Header: over the photo at the top, dark once the page scrolls (js/alimie.js) */
.al-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; transition: background .25s, box-shadow .25s; }
.al-header.is-scrolled, .al-header:has(.rb-menu.is-open) { background: rgba(17, 17, 17, .95); box-shadow: 0 2px 20px rgba(0, 0, 0, .2); }
.al-header-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.al-header .rb-logo-name { color: #fff; font-weight: 700; font-size: 22px; }
.al-header .rb-logo-name::after, .al-footer-logo .rb-logo-name::after { content: "."; color: var(--rb-brand); }
/* logos are usually dark on transparent: a white backing keeps them readable on the dark header */
.al-header .rb-logo-img { height: 46px; background: #fff; border-radius: 8px; padding: 4px; }
.al-nav { margin-left: auto; display: flex; align-items: center; }
.al-header .rb-menu { gap: 30px; }
.al-header .rb-menu a { color: #fff; font-size: 15px; font-weight: 500; opacity: .9; }
.al-header .rb-menu a:hover, .al-header .rb-menu a.is-active { color: #fff; opacity: 1; border-bottom-color: var(--rb-brand); }
.al-header .rb-menu-toggle { color: #fff; }
.al-header-actions { display: flex; align-items: center; gap: 20px; }
.al-header-actions .rb-btn { min-height: 40px; padding: 7px 22px; font-size: 15px; }
.al-header .rb-account-login, .al-header .rb-account-btn { color: #fff; opacity: .9; }
.al-header .rb-account-login:hover { color: #fff; opacity: 1; }

/* Home hero */
.al-hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--al-dark) center / cover no-repeat; color: #fff; }
.al-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, .25) 100%); }
.al-hero.rb-no-hero { background: radial-gradient(900px 600px at 80% 30%, color-mix(in srgb, var(--rb-brand) 30%, transparent), transparent 70%), var(--al-dark); }
.al-hero-inner { position: relative; padding-top: 120px; padding-bottom: 100px; }
.al-hero-text { max-width: 660px; }
.al-hero h1 { font-size: clamp(44px, 7vw, 82px); font-weight: 700; line-height: 1.12; margin-bottom: 22px; background: linear-gradient(180deg, var(--al-glow-a), var(--al-glow-b)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--al-glow-a); }
.al-hero p { font-size: 17px; color: #fff; margin: 0 0 44px; max-width: 540px; }
.al-hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.al-hero-link { color: #fff; font-style: italic; text-decoration: underline; text-underline-offset: 4px; }
.al-hero-link:hover { color: var(--rb-brand); }

/* Inner page banner */
.al-banner { position: relative; min-height: 300px; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--al-dark) center / cover no-repeat; color: #fff; }
.al-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.al-banner.rb-no-hero { background: radial-gradient(800px 400px at 50% 0%, color-mix(in srgb, var(--rb-brand) 32%, transparent), transparent 70%), var(--al-dark); }
.al-banner-inner { position: relative; padding-top: 84px; padding-bottom: 28px; }
.al-banner h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); margin-bottom: 12px; }
.al-crumb { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.al-crumb a { color: #fff; text-decoration: none; }
.al-crumb a:hover { color: var(--rb-brand); }
.al-crumb i.fa-chevron-right { font-size: 10px; opacity: .7; }
.al-crumb span { color: var(--rb-brand); }

/* Portfolio */
.al .rb-tabs { justify-content: center; gap: 6px 34px; margin-bottom: 40px; }
.al .rb-tab { border: 0; border-radius: 0; background: transparent; padding: 4px 0; font-size: 17px; font-weight: 500; color: var(--rb-text); }
.al .rb-tab:hover { color: var(--rb-brand); }
.al .rb-tab.is-active { background: transparent; color: var(--rb-text); box-shadow: inset 0 -2px 0 var(--rb-brand); }
.al .rb-count { font-size: 12px; color: var(--rb-muted); opacity: 1; }
.al .rb-tabs-sticky { background: var(--rb-surface); }
.al-gallery .rb-grid { gap: 24px; grid-auto-rows: 280px; }
.al .rb-tile { border-radius: 0; }
.al .rb-tile::after { content: "+"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 46px; font-weight: 300; color: #fff; background: color-mix(in srgb, var(--rb-brand) 55%, transparent); opacity: 0; transition: opacity .25s; pointer-events: none; }
.al .rb-tile:hover::after { opacity: 1; }
.al .rb-tile-video::after { content: none; }
.al .rb-tile-caption { z-index: 1; }

/* Services */
.al .rb-service, .al .rb-service-card, .al .rb-review { border: 0; box-shadow: 0 4px 24px rgba(0, 0, 0, .07); border-radius: var(--rb-radius); }
.al .rb-service-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0, 0, 0, .1); }
.al .rb-service-title, .al .rb-service-card-title { font-family: var(--rb-font-heading); font-weight: 600; }
.al .rb-service-cta .rb-btn { background: transparent; color: var(--rb-brand); min-height: 36px; padding: 5px 18px; font-size: 14px; }
.al .rb-service-cta .rb-btn:hover { background: var(--rb-brand); color: var(--rb-on-brand); }
.al .rb-price { color: var(--rb-brand); }
.al .rb-cat-title { font-weight: 600; }
.al .rb-tabs-sticky .rb-tab { font-size: 15px; }

/* About, reviews, details */
.al-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }
.al-split > .al-card:only-child { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.al-split .rb-about p { color: #4a4a4a; }
.al-card { background: #fff; border-radius: var(--rb-radius); box-shadow: 0 4px 24px rgba(0, 0, 0, .07); padding: 28px; display: grid; gap: 22px; }
.al-card h3 { font-family: var(--rb-font-body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--rb-muted); font-weight: 500; margin-bottom: 8px; }
.al .rb-review { background: #fff; padding: 24px; }
.al .rb-review blockquote { font-style: italic; color: #4a4a4a; }
.al .rb-stars { color: var(--rb-brand); }

/* Follow */
.al-follow { padding: 72px 0; }
.al-follow .al-heading { margin-bottom: 26px; }
.al-follow .al-heading p { color: var(--rb-brand); }
.al-follow-social .rb-social { justify-content: center; gap: 14px; }
.al-follow-social .rb-social a { width: 52px; height: 52px; font-size: 19px; border-color: var(--rb-line); color: var(--rb-text); opacity: 1; }
.al-follow-social .rb-social a:hover { background: var(--rb-brand); border-color: var(--rb-brand); color: var(--rb-on-brand); }

/* Call to action band */
.al-cta { background: linear-gradient(135deg, var(--rb-brand), color-mix(in srgb, var(--rb-brand) 60%, #ffffff)); color: #fff; }
.al-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.al-cta h2 { color: #fff; font-size: 34px; }
.al-cta p { margin: 6px 0 0; opacity: .92; }

/* Footer */
.al-footer { padding: 34px 0 26px; border-top: 1px solid var(--rb-line); font-size: 14px; color: var(--rb-muted); }
.al-footer-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.al-copy { margin: 0; }
.al-footer-logo .rb-logo-name { color: var(--rb-text); font-weight: 700; font-size: 22px; }
.al-footer-social { justify-self: end; }
.al-footer-social .rb-social a { border: 0; width: 34px; height: 34px; color: var(--rb-text); }
.al-footer-social .rb-social a:hover { color: var(--rb-on-brand); }
.al-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rb-line); }
.al-footer-bottom .rb-contact-details { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.al-footer-bottom .rb-contact-details li { font-size: 14px; }
.al-footer .rb-powered { color: var(--rb-muted); }

@media (max-width: 1100px) and (min-width: 768px) {
  .al-header-row { gap: 16px; }
  .al-header .rb-menu { gap: 18px; }
  .al-header .rb-logo-name { max-width: 20vw; }
  .al-header-actions { gap: 12px; }
  .al-header-actions .rb-account-login { font-size: 0; }
  .al-header-actions .rb-account-login i { font-size: 18px; }
}
@media (max-width: 960px) {
  .al-split { grid-template-columns: 1fr; gap: 36px; }
  .al-gallery .rb-grid { gap: 14px; grid-auto-rows: 220px; }
}
@media (max-width: 767px) {
  :root { --rb-sticky-top: 64px; }
  .al-wrap { padding: 0 16px; }
  .al-header-row { height: 64px; gap: 8px; }
  .al-header .rb-logo-name { font-size: 18px; max-width: 50vw; }
  .al-header .rb-logo-img { height: 38px; padding: 3px; }
  .al-header-actions { gap: 2px; order: 2; }
  .al-header-actions .rb-btn { display: none; }
  .al-header .rb-account-login { font-size: 0; }
  .al-header .rb-account-login i { font-size: 18px; padding: 8px; }
  .al-nav { order: 3; margin-left: 0; }
  .al-header .rb-menu { background: rgba(17, 17, 17, .97); border-bottom: 0; padding: 4px 16px 12px; }
  .al-header .rb-menu a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .al-section { padding: 52px 0; }
  .al-banner + .al-section { padding-top: 28px; }
  .al-heading { margin-bottom: 24px; }
  .al-heading h2 { font-size: 28px; }
  .al-hero { min-height: 88vh; }
  .al-hero-inner { padding-top: 96px; padding-bottom: 56px; }
  .al-hero p { margin-bottom: 30px; font-size: 16px; }
  .al-hero-actions { gap: 20px; }
  .al-banner { min-height: 210px; }
  .al-banner-inner { padding-top: 76px; padding-bottom: 28px; }
  .al .rb-tabs { gap: 6px 22px; margin-bottom: 24px; }
  .al .rb-tab { font-size: 15px; }
  .al-gallery .rb-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 8px; }
  .al .rb-portfolio-featured .rb-grid { grid-template-columns: repeat(2, 1fr); }
  .al-more { margin-top: 28px; }
  .al-cta-row { flex-direction: column; align-items: flex-start; padding-top: 40px; padding-bottom: 40px; }
  .al-cta h2 { font-size: 27px; }
  .al-follow { padding: 52px 0; }
  .al-footer-row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .al-footer-logo { order: -1; max-width: 100%; }
  .al-footer-logo .rb-logo-name { white-space: normal; text-align: left; font-size: 20px; }
  .al-footer-social { justify-self: center; }
  .al-footer-bottom { flex-direction: column; text-align: center; }
  .al-footer-bottom .rb-contact-details { justify-content: center; }
}
