/* Hamasat Flowers design for OceanWP (loaded by the Hamasat Site plugin).
   Dark site like the old Flatsome one, brand purple from the logo instead of the old green.
   Small changes: Appearance > Customize > Additional CSS wins over this file. */
:root {
	--hm-bg: #111013;
	--hm-bg-2: #17151a;
	--hm-surface: #201d24;
	--hm-line: rgba(255, 255, 255, .09);
	--hm-text: #f4f2f6;
	--hm-muted: #bdb6c6;
	--hm-accent: #8a4bd2;
	--hm-accent-hover: #9b5fe0;
	--hm-accent-soft: #c4a0f2;
	--hm-radius: 16px;
	--hm-max: 1200px;
	--hm-font: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Site-wide (OceanWP) ---------- */
body,
#outer-wrap,
#wrap,
#main {
	background: var(--hm-bg);
	color: var(--hm-muted);
	font-family: var(--hm-font);
}
body { font-size: 16px; line-height: 1.7; }
h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3 {
	color: var(--hm-text);
	font-family: var(--hm-font);
	font-weight: 800;
	letter-spacing: -.01em;
}
a { color: var(--hm-accent-soft); }
a:hover, a:focus { color: #fff; }
::selection { background: var(--hm-accent); color: #fff; }

/* Top bar: contact line */
#top-bar-wrap {
	background: #0a090b;
	border-bottom: 1px solid var(--hm-line);
	color: var(--hm-muted);
	font-size: 13px;
}
#top-bar { padding: 8px 0; }
#top-bar-content a { color: var(--hm-muted); text-decoration: none; }
#top-bar-content a:hover { color: #fff; }
#top-bar-content .hm-sep { opacity: .35; margin: 0 10px; }

/* Header */
#site-header {
	background: rgba(17, 16, 19, .94);
	border-bottom: 1px solid var(--hm-line);
	position: sticky;
	top: 0;
	z-index: 100;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
#site-header.minimal-header #site-header-inner { height: 92px; }
#site-logo #site-logo-inner a img,
#site-header .custom-logo { max-height: 78px; width: auto; }
#site-navigation-wrap .dropdown-menu > li > a,
#site-navigation-wrap .dropdown-menu > li > a .text-wrap {
	color: var(--hm-text);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 92px;
}
#site-navigation-wrap .dropdown-menu > li > a:hover,
#site-navigation-wrap .dropdown-menu > li.current-menu-item > a { color: var(--hm-accent-soft); }
#site-navigation-wrap .dropdown-menu > li.hm-menu-cta > a {
	line-height: 1;
	margin: 26px 0 0 10px;
	padding: 13px 20px;
	border-radius: 999px;
	background: var(--hm-accent);
	color: #fff;
}
#site-navigation-wrap .dropdown-menu > li.hm-menu-cta > a .text-wrap { line-height: 1; color: #fff; }
#site-navigation-wrap .dropdown-menu > li.hm-menu-cta > a:hover { background: var(--hm-accent-hover); }
.oceanwp-mobile-menu-icon a,
.oceanwp-mobile-menu-icon a:hover { color: var(--hm-text); line-height: 92px; }
#mobile-dropdown { background: #18161b; border-top: 1px solid var(--hm-line); }
#mobile-dropdown ul li a { color: var(--hm-text); border-color: var(--hm-line); }
/* The one-page site has nothing to search, and its icon font is switched off for speed. */
#mobile-menu-search { display: none; }

/* Footer */
#footer, #footer-bottom { background: #0a090b; color: var(--hm-muted); }
#footer-bottom { border-top: 1px solid var(--hm-line); padding: 22px 0; font-size: 13px; }
#footer-bottom a { color: var(--hm-accent-soft); }

/* Inner pages (privacy, 404 ...) keep the dark look */
.page-header { background: var(--hm-bg-2); border-bottom: 1px solid var(--hm-line); }
.page-header .page-header-title { color: var(--hm-text); }
.site-breadcrumbs, .site-breadcrumbs a { color: var(--hm-muted); }

/* ---------- Landing page (front page) ---------- */
.home .page-header { display: none; }
.home #main #content-wrap,
.home #content-wrap.container {
	max-width: none;
	width: 100%;
	padding: 0;
}
.home .entry-content > * { margin-top: 0; margin-bottom: 0; }
.home article .entry { margin: 0; }

.hm-wrap { max-width: var(--hm-max); margin-left: auto; margin-right: auto; width: 100%; }
.hm-section { padding: clamp(64px, 9vw, 120px) 22px; background: var(--hm-bg); scroll-margin-top: 92px; }
.hm-products, .hm-services, .hm-partners { background: var(--hm-bg-2); }
.hm-section h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; margin: 0 0 18px; }
.hm-section h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.hm-section p { margin: 0 0 16px; }

.hm-eyebrow {
	color: var(--hm-accent-soft);
	font-size: 12px !important;
	font-weight: 800;
	letter-spacing: .2em;
	text-transform: uppercase;
	margin-bottom: 12px !important;
}
.hm-head { text-align: center; max-width: 720px; margin-bottom: 44px; }

/* Buttons */
.wp-block-buttons.hm-actions,
.hm-section .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hm-center { justify-content: center; margin-top: 40px !important; }
.hm-btn-primary .wp-block-button__link,
.hm-btn-ghost .wp-block-button__link {
	display: inline-block;
	border-radius: 999px;
	padding: 14px 26px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.hm-btn-primary .wp-block-button__link { background: var(--hm-accent); color: #fff; border: 1px solid var(--hm-accent); }
.hm-btn-primary .wp-block-button__link:hover { background: var(--hm-accent-hover); border-color: var(--hm-accent-hover); color: #fff; transform: translateY(-1px); }
.hm-btn-ghost .wp-block-button__link { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .32); }
.hm-btn-ghost .wp-block-button__link:hover { border-color: #fff; color: #fff; }

/* Hero */
.hm-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: min(86vh, 760px);
	padding: 110px 22px 90px;
	background: #0c0b0e;
}
.hm-hero-media { position: absolute !important; inset: 0; margin: 0 !important; z-index: -2; }
.hm-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hm-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(12, 11, 14, .94) 0%, rgba(12, 11, 14, .80) 42%, rgba(12, 11, 14, .35) 100%),
		linear-gradient(0deg, rgba(12, 11, 14, .85) 0%, rgba(12, 11, 14, 0) 40%);
}
.hm-hero h1 {
	font-size: clamp(36px, 5.4vw, 66px);
	line-height: 1.06;
	letter-spacing: -.02em;
	max-width: 15ch;
	margin: 0 0 20px;
	color: #fff;
}
.hm-lead { max-width: 58ch; font-size: clamp(16px, 1.5vw, 19px); color: #ddd6e6; }
ul.hm-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 30px 0 0; }
ul.hm-chips li {
	padding: 8px 15px;
	border: 1px solid var(--hm-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	color: var(--hm-text);
	font-size: 13.5px;
	line-height: 1.3;
}
ul.hm-chips li::before { content: "\2713"; color: var(--hm-accent-soft); margin-right: 8px; font-weight: 700; }

/* Split rows (about, trees) */
.wp-block-columns.hm-split {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(32px, 5vw, 76px);
	align-items: center;
	margin: 0 auto;
}
.wp-block-columns.hm-split-rev { grid-template-columns: .95fr 1.05fr; }
.hm-split > .wp-block-column { margin: 0 !important; flex-basis: auto !important; }
.hm-split-media figure { margin: 0; }
.hm-split-media img { width: 100%; height: auto; display: block; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.hm-intro .hm-split-media img { aspect-ratio: 1 / 1; object-fit: cover; }
.hm-duo { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px; }
.hm-duo figure { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 20px; }
.hm-duo img { height: 100%; object-fit: cover; border-radius: 20px; }
.hm-duo figure:nth-child(2) { margin-top: 56px; }

ul.hm-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 40px; padding: 26px 0 0; margin: 26px 0 0; border-top: 1px solid var(--hm-line); }
ul.hm-stats li { font-size: 14px; color: var(--hm-muted); line-height: 1.3; }
ul.hm-stats strong { display: block; color: #fff; font-size: 26px; font-weight: 800; margin-bottom: 4px; }

ul.hm-ticks { list-style: none; padding: 0; margin: 22px 0 0; }
ul.hm-ticks li { position: relative; padding: 0 0 10px 30px; color: var(--hm-text); }
ul.hm-ticks li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 1px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(138, 75, 210, .22);
	color: var(--hm-accent-soft);
	font-size: 12px;
	line-height: 20px;
	text-align: center;
	font-weight: 800;
}

/* Classic themes wrap every Group block's children in .wp-block-group__inner-container,
   so grid/flex rules for groups go on that inner div, not on the group itself. */
.hm-hero > .wp-block-group__inner-container { width: 100%; }

/* Product grid */
.hm-grid > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hm-grid figure {
	margin: 0 !important;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: var(--hm-radius);
	background: var(--hm-surface);
}
.hm-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.hm-grid figure:hover img { transform: scale(1.04); }

/* Service cards */
.wp-block-columns.hm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 auto; }
.hm-card {
	margin: 0 !important;
	background: var(--hm-surface);
	border: 1px solid var(--hm-line);
	border-radius: 20px;
	overflow: hidden;
	padding-bottom: 8px;
	transition: border-color .25s, transform .25s;
}
.hm-card:hover { border-color: rgba(196, 160, 242, .35); transform: translateY(-3px); }
.hm-card figure { margin: 0 0 20px !important; aspect-ratio: 4 / 3; overflow: hidden; }
.hm-card figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-card h3, .hm-card p { padding: 0 24px; }
.hm-more a { color: var(--hm-accent-soft); font-weight: 700; text-decoration: none; }
.hm-more a::after { content: " \2192"; }
.hm-more a:hover { color: #fff; }

/* Why us */
.wp-block-columns.hm-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0 auto; }
.hm-features > .wp-block-column { margin: 0 !important; padding-top: 20px; border-top: 2px solid var(--hm-accent); }
.hm-features p { font-size: 15px; }
ul.hm-sectors { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin-top: 56px !important; }
ul.hm-sectors li {
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid var(--hm-line);
	background: var(--hm-surface);
	color: var(--hm-text);
	font-size: 14px;
}

/* Partners */
.hm-logos > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); justify-content: center; gap: 20px; }
.hm-logos figure {
	margin: 0 !important;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	border-radius: 18px;
	border: 1px solid var(--hm-line);
	background: var(--hm-surface);
	transition: border-color .2s;
}
.hm-logos figure:hover { border-color: rgba(196, 160, 242, .35); }
.hm-logos figure a { display: block; width: 100%; height: 100%; }
.hm-logos img { width: 100%; height: 100%; object-fit: contain; }
.hm-logos figure:first-child img { transform: scale(1.5); }
.hm-logos figure:last-child { background: #f4f2f6; }

/* Call to action */
.hm-cta-box {
	text-align: center;
	padding: clamp(40px, 6vw, 72px) 24px;
	border-radius: 28px;
	border: 1px solid rgba(196, 160, 242, .22);
	background:
		radial-gradient(120% 140% at 50% 0%, rgba(138, 75, 210, .35) 0%, rgba(138, 75, 210, 0) 60%),
		linear-gradient(135deg, #24163a 0%, #151018 100%);
}
.hm-cta-box p { max-width: 560px; margin-left: auto; margin-right: auto; color: #ddd6e6; }
.hm-cta-box .hm-actions { justify-content: center; }

/* Keyboard focus */
.hm-section a:focus-visible,
.hm-hero a:focus-visible { outline: 2px solid var(--hm-accent-soft); outline-offset: 3px; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.hm-grid > .wp-block-group__inner-container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wp-block-columns.hm-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
	#site-header.minimal-header #site-header-inner { height: 70px; }
	#site-logo #site-logo-inner a img,
	#site-header .custom-logo { max-height: 50px; }
	.oceanwp-mobile-menu-icon a { line-height: 70px; }
	#top-bar-content { text-align: center; font-size: 12px; }
	#top-bar-content .hm-tag,
	#top-bar-content .hm-sep-tag { display: none; }
	.hm-hero { min-height: 0; padding: 72px 18px 64px; }
	.hm-hero::after { background: linear-gradient(0deg, rgba(12, 11, 14, .95) 10%, rgba(12, 11, 14, .72) 100%); }
	.hm-section { padding: 64px 18px; scroll-margin-top: 70px; }
	.wp-block-columns.hm-split,
	.wp-block-columns.hm-split-rev { grid-template-columns: 1fr; }
	.hm-split-rev .hm-split-media { order: 2; }
	.hm-grid > .wp-block-group__inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.wp-block-columns.hm-cards { grid-template-columns: 1fr; }
	.wp-block-columns.hm-features { grid-template-columns: 1fr; gap: 22px; }
	.hm-actions .wp-block-button { flex: 1 1 100%; }
	.hm-actions .wp-block-button__link { display: block; text-align: center; }
	.hm-logos > .wp-block-group__inner-container { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.hm-logos figure { padding: 10px; border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.hm-grid img, .hm-card, .hm-btn-primary .wp-block-button__link { transition: none; }
}
