/* Reference-inspired editorial theme: soft mint, ink, deep teal and warm accents. */
:root {
  --ivory: #F5FAF8;
  --black-deep: #0B1517;
  --black-soft: #DDECEA;
  --black-card: #FFFFFF;
  --gold-primary: #0A5D61;
  --gold-bright: #F5B64A;
  --gold-dark: #063C3D;
  --white-warm: #45565A;
  --white-pure: #101A1C;
  --gold-gradient: linear-gradient(135deg, #063C3D, #0A5D61 65%, #F5B64A);
  --card-gradient: #FFFFFF;
  --card-gradient-hover: #F9FFFD;
  --shadow-soft: 0 16px 36px rgba(12, 52, 55, .09);
  --shadow-premium: 0 24px 58px rgba(12, 52, 55, .16);
}

body {
  background-color: #F5FAF8 !important;
  background-image:
    radial-gradient(circle at 8% 12%, rgba(10, 93, 97, .08), transparent 26%),
    radial-gradient(circle at 92% 30%, rgba(245, 182, 74, .10), transparent 22%),
    repeating-linear-gradient(135deg, rgba(10, 93, 97, .025) 0 1px, transparent 1px 120px),
    linear-gradient(180deg, #F8FCFB, #EEF7F5) !important;
  color: #45565A;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.page-hero h1 { color: #101A1C !important; }

.page-hero,
.founder,
.location,
.why-choose,
.services-cta,
.contact-map {
  background:
    radial-gradient(circle at 82% 10%, rgba(10, 93, 97, .10), transparent 34%),
    linear-gradient(135deg, #F8FCFB, #EAF5F2) !important;
  color: #45565A;
}

.page-hero { padding-top: 165px; }
.page-hero h1 span, .section-title span, .services-cta h2 span, .cta-banner h2 span { color: #0A5D61 !important; }
.breadcrumb { color: rgba(69, 86, 90, .65) !important; }
.breadcrumb a, .breadcrumb span { color: #0A5D61 !important; }

#navbar.scrolled {
  background: rgba(248, 252, 251, .88) !important;
  border-color: rgba(10, 93, 97, .18) !important;
  box-shadow: 0 8px 28px rgba(12, 52, 55, .10) !important;
}
#navbar.scrolled .nav-links a, #navbar.scrolled .nav-logo { color: #101A1C !important; }
#navbar.scrolled .nav-logo .logo-sub { color: rgba(69, 86, 90, .62) !important; }
.home-page #navbar:not(.scrolled) .nav-links a,
.home-page #navbar:not(.scrolled) .nav-logo { color: #101A1C !important; }
.home-page #navbar:not(.scrolled) .nav-logo .logo-sub { color: rgba(69, 86, 90, .62) !important; }
.home-page #navbar:not(.scrolled) .nav-links a:hover,
.home-page #navbar:not(.scrolled) .nav-links a.active { color: #0A5D61 !important; }

.card,
.service-card,
.service-full-card,
.why-card,
.value-card,
.testimonial-card,
.founder-card,
.contact-form-wrap,
.address-block,
.hours-table,
.email-btn,
.wa-btn {
  background: rgba(255, 255, 255, .92) !important;
  border-color: rgba(10, 93, 97, .14) !important;
  box-shadow: 0 14px 35px rgba(12, 52, 55, .08), inset 0 1px 0 #fff !important;
}

.service-card:hover,
.service-full-card:hover,
.why-card:hover,
.value-card:hover,
.testimonial-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(10, 93, 97, .38) !important;
}

.story-content p, .founder-content p, .location-content p,
.services-intro p, .service-full-card > p, .why-card p,
.services-cta p, .contact-info > p, .contact-form-wrap > p,
.section-subtitle, .service-card p, .testimonial-card p,
.cta-banner p { color: rgba(69, 86, 90, .78) !important; }

.btn { border-color: #0A5D61; color: #0A5D61; border-radius: 999px; }
.btn:hover { background: #0A5D61; color: #FFFFFF; }
.btn-solid { background: #0A5D61; color: #FFFFFF; }
.btn-solid:hover { background: #063C3D; color: #FFFFFF; }
.btn-wa { background: #16A765; border-color: #16A765; color: #FFFFFF; }
.btn-wa:hover { color: #16A765; background: #FFFFFF; }

.footer { background: linear-gradient(135deg, #063C3D, #0A5D61) !important; }
.footer h4, .footer-logo, .footer-slogan, .footer p, .footer a, .footer-contact li { color: rgba(255,255,255,.84) !important; }
.footer h4, .footer-logo, .footer-bottom span, .footer-slogan { color: #F5B64A !important; }

.marquee { background: #F5B64A !important; }
.marquee-item { color: #063C3D !important; }
.stats { background: linear-gradient(135deg, #063C3D, #0A5D61) !important; border-color: rgba(245,182,74,.38) !important; }
.stats .stat-label { color: rgba(255,255,255,.76); }
.stats .stat-number { color: #FFFFFF; }
.stats .stat-number .suffix { color: #F5B64A; }
.cta-banner { background: linear-gradient(135deg, #E8F4F1, #DDF0EC) !important; }

.home-page .hero {
  height: 88vh;
  min-height: 700px;
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(244, 250, 248, .98) 0 43%, rgba(244,250,248,.72) 56%, rgba(6,60,61,.12) 100%),
    radial-gradient(circle at 77% 45%, rgba(245,182,74,.26), transparent 26%),
    linear-gradient(135deg, #F7FCFA, #DDEDEA 54%, #0A5D61 55%, #063C3D 100%) !important;
}

.home-page .hero::before {
  display: none !important;
}
.home-page .hero::after { display: none !important; }
.home-page .hero-overlay { background: linear-gradient(90deg, transparent 0 48%, rgba(6,60,61,.12) 100%); }
.home-page .hero-content { width: min(720px, 42vw); max-width: 720px; margin: auto 0 auto 7.5%; padding: 0; }
.home-page .hero-content::before, .home-page .hero-content::after { left: 0; transform: none; width: 210px; background: #0A5D61; opacity: .30; }
.home-page .hero-content::before { top: -28px; }
.home-page .hero-content::after { bottom: -30px; }
.home-page .hero-arabic, .home-page .hero-badge { color: #0A5D61; }
.home-page .hero-badge { border-color: rgba(10,93,97,.28); border-radius: 999px; }
.home-page .hero-title { color: #101A1C !important; font-size: clamp(3rem, 4.2vw, 5.2rem); letter-spacing: -3px; }
.home-page .hero-slogan { color: #45565A; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.home-page .shimmer-text { background: none; -webkit-text-fill-color: #101A1C; }
.home-page .scroll-arrow { color: #0A5D61; left: 8%; transform: none; }
.home-page .hero-buttons { justify-content: flex-start; }

.hero-offer {
  position: absolute;
  z-index: 4;
  top: 18%;
  right: 9%;
  width: min(34vw, 460px);
  padding: 22px;
  border: 1px solid rgba(6,60,61,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 55px rgba(6,60,61,.16);
}
.offer-topline { display: flex; justify-content: space-between; align-items: center; color: #0A5D61; font: 700 .64rem var(--font-ui); letter-spacing: 1.6px; text-transform: uppercase; }
.offer-index { color: rgba(69,86,90,.48); }
.offer-visual { position: relative; aspect-ratio: 3 / 2; margin: 18px 0 20px; overflow: hidden; display: flex; align-items: end; padding: 18px; border-radius: 14px; background: linear-gradient(135deg, #E8F4F1 0 58%, #F5B64A 58% 100%); }
.offer-visual::before { content: ''; position: absolute; width: 180px; height: 180px; top: -70px; right: -22px; border-radius: 50%; background: #0A5D61; opacity: .94; }
.offer-visual::after { content: ''; position: absolute; left: 0; right: 0; bottom: 20px; height: 1px; background: rgba(6,60,61,.24); }
.offer-visual-word { position: relative; z-index: 1; color: #063C3D; font: 800 clamp(1.5rem, 4vw, 2.7rem) var(--font-display); letter-spacing: -.04em; }
.offer-swatch { position: absolute; z-index: 2; right: 39px; top: 35px; width: 44px; height: 64px; border-radius: 50% 50% 8px 8px; background: #F5B64A; border: 7px solid rgba(255,255,255,.72); }
.offer-visual.offer-theme-feature { background: linear-gradient(135deg, #F1EAF5 0 58%, #F5B64A 58% 100%); }
.offer-visual.offer-theme-feature::before { background: #063C3D; border-radius: 14px; width: 145px; height: 110px; top: 20px; right: 24px; }
.offer-visual.offer-theme-feature .offer-swatch { background: #F1EAF5; transform: rotate(45deg); border-radius: 5px; }
.offer-visual.offer-theme-flooring { background-image: linear-gradient(to top, rgba(6,32,33,.82) 0%, rgba(6,32,33,.25) 42%, rgba(6,32,33,0) 72%), url('../assets/images/flooring/hallway-grey.jpg'); background-size: cover; background-position: center 40%; }
.offer-visual.offer-theme-flooring::before { display: none; }
.offer-visual.offer-theme-flooring::after { display: none; }
.offer-visual.offer-theme-flooring .offer-swatch { display: none; }
.offer-visual.offer-theme-flooring .offer-visual-word { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.offer-slideshow { position: absolute; inset: 0; z-index: 0; border-radius: 14px; overflow: hidden; }
.offer-slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.offer-slideshow img.active { opacity: 1; }
.offer-visual.has-slideshow::before { content: ''; position: absolute; inset: 0; top: 0; right: 0; width: auto; height: auto; border-radius: 14px; opacity: 1; z-index: 1; background: linear-gradient(to top, rgba(6,32,33,.85) 0%, rgba(6,32,33,.2) 55%, rgba(6,32,33,0) 85%); }
.offer-visual.has-slideshow::after { display: none; }
.offer-visual.has-slideshow .offer-swatch { display: none; }
.offer-visual.has-slideshow .offer-visual-word { position: relative; z-index: 2; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.offer-tag { color: #0A5D61; font: 700 .64rem var(--font-ui); text-transform: uppercase; letter-spacing: 1.4px; }
.offer-copy h2 { margin: 8px 0 10px; color: #101A1C; font: 700 clamp(1.65rem, 3vw, 2.45rem) var(--font-display); line-height: .98; letter-spacing: -.035em; }
.offer-copy h2 em { color: #0A5D61; font-style: normal; }
.offer-copy p { max-width: 290px; margin-bottom: 18px; color: rgba(69,86,90,.72); font-size: 1rem; line-height: 1.45; }
.offer-link { display: inline-flex; align-items: center; gap: 8px; color: #0A5D61; font: 700 .68rem var(--font-ui); text-transform: uppercase; letter-spacing: 1.2px; }
.offer-link span { color: #F5B64A; font-size: 1.1rem; transition: transform .3s ease; }
.offer-link:hover span { transform: translate(4px, -3px); }
.hero-offer.is-swapping .offer-visual,
.hero-offer.is-swapping .offer-copy { opacity: .12; transform: translateY(8px); }
.offer-visual, .offer-copy { transition: opacity .24s ease, transform .24s ease; }

.hero-features { background: #FFFFFF !important; border-color: rgba(10,93,97,.12) !important; }
.hero-feature { border-color: rgba(10,93,97,.12); }
.hero-feature strong { color: #101A1C; }
.hero-feature small { color: rgba(69,86,90,.64); }
.feature-icon { color: #0A5D61; border-color: rgba(10,93,97,.36); }

.featured-spaces { background: rgba(255,255,255,.48) !important; }
.project-placeholder { background: linear-gradient(145deg, #F8FCFB, #DDEDEA) !important; border-color: rgba(10,93,97,.18) !important; }
.placeholder-title { color: #0A5D61; }
.placeholder-number, .placeholder-hint, .project-caption span { color: #0A5D61; }

.premium-orb { background: radial-gradient(circle, rgba(245,182,74,.18), transparent 68%); }

/* Compact footer: keeps the finish premium without taking over the page. */
.footer { padding-top: 48px !important; }
.footer-grid { gap: 34px; padding-bottom: 32px; }
.footer-brand .footer-logo { font-size: 1.72rem; margin-bottom: 6px; }
.footer-brand .footer-arabic { font-size: 1.1rem; margin-bottom: 8px; }
.footer-brand .footer-slogan { font-size: 1.02rem; margin-bottom: 10px; }
.footer-brand p { font-size: .96rem; line-height: 1.5; }
.footer-socials { gap: 10px; margin-top: 15px; }
.footer-socials a { width: 38px; height: 38px; }
.footer-col h4 { margin-bottom: 17px; padding-bottom: 9px; font-size: .86rem; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 1rem; }
.footer-contact li { gap: 10px; margin-bottom: 11px; font-size: .98rem; }
.footer-bottom { padding: 18px 0; }
.footer-bottom p { font-size: .75rem; }

.heading-dynamic {
  animation: headingReveal .85s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: var(--heading-delay, 0s);
}
@keyframes headingReveal {
  from { opacity: 0; transform: translateY(22px); letter-spacing: .08em; }
  to { opacity: 1; transform: translateY(0); letter-spacing: normal; }
}

/* Gallery: editorial portfolio treatment */
.gallery-section { padding-top: 74px; }
.gallery-section > .container > .text-center { max-width: 760px; margin: 0 auto 34px; }
.gallery-section .section-title { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -.04em; }
.portfolio-intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; margin: 0 auto 40px; padding: 26px 0; border-top: 1px solid rgba(10,93,97,.18); border-bottom: 1px solid rgba(10,93,97,.18); }
.portfolio-intro p { max-width: 520px; color: rgba(69,86,90,.74); font-size: 1.12rem; line-height: 1.65; }
.portfolio-meta { display: flex; justify-content: flex-end; gap: 26px; }
.portfolio-meta strong, .portfolio-meta span { display: block; }
.portfolio-meta strong { color: #0A5D61; font: 700 1.8rem var(--font-display); }
.portfolio-meta span { color: rgba(69,86,90,.62); font: 600 .62rem var(--font-ui); text-transform: uppercase; letter-spacing: 1px; }
.gallery-filters { justify-content: flex-start; gap: 9px; margin-bottom: 30px; }
.filter-btn { padding: 10px 18px; border-color: rgba(10,93,97,.20); color: #45565A; background: rgba(255,255,255,.56); }
.filter-btn.active { background: #0A5D61; border-color: #0A5D61; color: #fff; }
.masonry { columns: 3; column-gap: 18px; }
.masonry-item { margin-bottom: 18px; border-radius: 18px; border-color: rgba(10,93,97,.16) !important; background: #fff; }
.masonry-item img { filter: saturate(.82); transition: transform .65s cubic-bezier(.2,.8,.2,1), filter .65s ease; }
.masonry-item:hover img { transform: scale(1.055); filter: saturate(1.05); }
.masonry-overlay { padding: 24px; background: linear-gradient(to top, rgba(6,60,61,.94), rgba(6,60,61,.06) 72%, transparent); }
.masonry-overlay .cat-tag { color: #F5B64A; }
.masonry-overlay h4 { color: #fff; font-size: 1.6rem; }
.masonry-overlay .view-icon { background: #F5B64A; color: #063C3D; }
.lightbox { background: rgba(6,60,61,.96); }
.lightbox-content img { border: 8px solid rgba(255,255,255,.88); border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.34); }
.lightbox-close, .lightbox-nav { border-color: rgba(245,182,74,.64); color: #F5B64A; }
.lightbox-close:hover, .lightbox-nav:hover { background: #F5B64A; color: #063C3D; }

@media (max-width: 768px) {
  .portfolio-intro { grid-template-columns: 1fr; gap: 18px; }
  .portfolio-meta { justify-content: flex-start; }
  .gallery-filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; scrollbar-width: none; }
  .filter-btn { flex: 0 0 auto; }
  .masonry { columns: 2; column-gap: 12px; }
  .masonry-item { margin-bottom: 12px; border-radius: 12px; }
  .masonry-overlay { opacity: 1; padding: 14px; }
  .masonry-overlay h4 { font-size: 1.05rem; }
  .masonry-overlay .view-icon { width: 34px; height: 34px; top: 12px; right: 12px; font-size: .9rem; transform: scale(1); }
}

@media (min-width: 769px) and (max-width: 1600px) {
  .home-page .hero-content { width: min(620px, 43vw); margin-left: 6%; }
  .home-page .hero-title { font-size: clamp(3rem, 4.5vw, 4.7rem); letter-spacing: -2px; }
  .hero-offer { right: 4.5%; width: min(33vw, 430px); padding: 18px; }
  .offer-visual { aspect-ratio: 3 / 2; }
  .offer-copy h2 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); }
}

@media (max-width: 480px) {
  .masonry { columns: 1; }
  .page-hero { padding-top: 132px; padding-bottom: 54px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 2.3rem; }
  .home-page .hero-title { font-size: clamp(2.8rem, 15vw, 4.3rem); letter-spacing: -2px; }
  .home-page .hero-slogan { font-size: 1.22rem; }
  .home-page .hero-buttons .btn { width: 100%; max-width: 320px; }
  .portfolio-meta { gap: 18px; }
  .footer { padding-top: 38px !important; }
  .footer-grid { gap: 25px; padding-bottom: 24px; }
  .footer-brand .footer-logo { font-size: 1.5rem; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { padding: 15px 0; }
}

@media (max-width: 768px) {
  .home-page .hero { min-height: 620px; height: auto; padding: 150px 0 90px; flex-direction: column; }
  .home-page .hero-content { width: 100%; margin: auto; padding: 0 24px; text-align: center; }
  .home-page .hero-content::before, .home-page .hero-content::after { left: 50%; transform: translateX(-50%); }
  .home-page .hero-buttons { justify-content: center; }
  .hero-offer { position: relative; top: auto; right: auto; width: min(100% - 40px, 390px); margin: 38px auto 0; }
  .home-page .hero::after { width: 80vw; height: 42%; right: 10%; top: auto; bottom: 8%; opacity: .40; }
  .home-page .scroll-arrow { left: 50%; transform: translateX(-50%); }
}
