/*
Theme Name: Asimol Corporate
Theme URI: https://asimolglobalgroup.com/
Author: Asimol Global Group
Author URI: https://asimolglobalgroup.com/
Description: Lightweight custom block theme for Asimol Global Group. Trustworthy, international, investment-oriented corporate design with strong responsive styling, accessibility-first markup, and WooCommerce compatibility.
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.4
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asimol-corporate
Tags: block-patterns, block-styles, full-site-editing, custom-colors, custom-logo, custom-menu, e-commerce, accessibility-ready
*/

/* ---------------------------------------------------------------
   Asimol Corporate — custom frontend CSS
   Palette:
     Primary navy   #071A33
     Secondary navy #0D2B4D
     Brand teal     #078C8C
     Brand red      #D92332
     Warm gold      #C79A3B
     Soft bg        #F5F7FA
     Text           #17233B
     Muted text     #5E6B7F
--------------------------------------------------------------- */

:root {
	--asimol-navy: #071A33;
	--asimol-navy-2: #0D2B4D;
	--asimol-teal: #078C8C;
	--asimol-red: #D92332;
	--asimol-gold: #C79A3B;
	--asimol-soft: #F5F7FA;
	--asimol-text: #17233B;
	--asimol-muted: #5E6B7F;
	--asimol-radius: 14px;
	--asimol-shadow: 0 10px 30px rgba(7, 26, 51, 0.08);
	--asimol-shadow-lg: 0 18px 48px rgba(7, 26, 51, 0.14);
}

/* ---------- Base ---------- */

html {
	scroll-behavior: smooth;
}

body {
	background-color: #ffffff;
	color: var(--asimol-text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

a {
	color: var(--asimol-teal);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

a:hover,
a:focus {
	color: var(--asimol-navy-2);
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid var(--asimol-gold);
	outline-offset: 2px;
	border-radius: 4px;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--asimol-navy);
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.15;
}

img {
	max-width: 100%;
	height: auto;
}

/* ---------- Skip link ---------- */

.asimol-skip-link {
	position: absolute;
	top: -60px;
	left: 16px;
	z-index: 100000;
	background: var(--asimol-navy);
	color: #ffffff;
	padding: 10px 18px;
	border-radius: 0 0 8px 8px;
	font-weight: 600;
	transition: top 0.2s ease;
}

.asimol-skip-link:focus {
	top: 0;
	color: #ffffff;
}

/* ---------- Header ---------- */

.asimol-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(160%) blur(8px);
	border-bottom: 1px solid rgba(7, 26, 51, 0.08);
	box-shadow: 0 2px 12px rgba(7, 26, 51, 0.05);
}

.asimol-site-header .wp-block-site-title a {
	color: var(--asimol-navy);
	font-weight: 800;
	text-decoration: none;
	letter-spacing: -0.02em;
}

.asimol-site-header .wp-block-navigation a {
	color: var(--asimol-navy-2);
	font-weight: 600;
	text-decoration: none;
	padding: 6px 2px;
}

.asimol-site-header .wp-block-navigation a:hover,
.asimol-site-header .wp-block-navigation a:focus {
	color: var(--asimol-teal);
}

.asimol-site-header .wp-block-navigation__responsive-container-open,
.asimol-site-header .wp-block-navigation__responsive-container-close {
	color: var(--asimol-navy);
}

.asimol-header-cta .wp-block-button__link {
	background-color: var(--asimol-teal);
	color: #ffffff;
	border-radius: 999px;
	padding: 10px 22px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 6px 16px rgba(7, 140, 140, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.asimol-header-cta .wp-block-button__link:hover,
.asimol-header-cta .wp-block-button__link:focus {
	background-color: var(--asimol-navy-2);
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(13, 43, 77, 0.3);
}

/* ---------- Buttons ---------- */

.wp-block-button__link,
.wp-element-button {
	border-radius: 999px;
	font-weight: 700;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(7, 26, 51, 0.18);
}

.asimol-btn-teal .wp-block-button__link {
	background-color: var(--asimol-teal);
	color: #ffffff;
}

.asimol-btn-teal .wp-block-button__link:hover,
.asimol-btn-teal .wp-block-button__link:focus {
	background-color: var(--asimol-navy-2);
	color: #ffffff;
}

.asimol-btn-outline .wp-block-button__link {
	background-color: transparent;
	color: #ffffff;
	border: 2px solid rgba(255, 255, 255, 0.85);
}

.asimol-btn-outline .wp-block-button__link:hover,
.asimol-btn-outline .wp-block-button__link:focus {
	background-color: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

.asimol-btn-outline-dark .wp-block-button__link {
	background-color: transparent;
	color: var(--asimol-navy);
	border: 2px solid var(--asimol-navy);
}

.asimol-btn-outline-dark .wp-block-button__link:hover,
.asimol-btn-outline-dark .wp-block-button__link:focus {
	background-color: var(--asimol-navy);
	color: #ffffff;
}

/* ---------- Hero ---------- */

.asimol-hero {
	background:
		radial-gradient(1100px 520px at 85% -10%, rgba(7, 140, 140, 0.28), transparent 60%),
		radial-gradient(900px 480px at -10% 110%, rgba(199, 154, 59, 0.18), transparent 55%),
		linear-gradient(150deg, var(--asimol-navy) 0%, var(--asimol-navy-2) 100%);
	color: #ffffff;
}

.asimol-hero h1,
.asimol-hero h2,
.asimol-hero h3 {
	color: #ffffff;
}

.asimol-hero p {
	color: rgba(255, 255, 255, 0.85);
}

.asimol-eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--asimol-gold) !important;
}

.asimol-hero-visual {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 20px;
	padding: clamp(20px, 4vw, 40px);
	box-shadow: var(--asimol-shadow-lg);
}

.asimol-metric {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--asimol-radius);
	padding: 16px 18px;
	text-align: center;
}

.asimol-metric strong {
	display: block;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	color: #ffffff;
	font-weight: 800;
}

.asimol-metric span {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.85rem;
}

/* ---------- Trust strip ---------- */

.asimol-trust-strip {
	background-color: var(--asimol-soft);
	border-top: 1px solid rgba(7, 26, 51, 0.06);
	border-bottom: 1px solid rgba(7, 26, 51, 0.06);
}

.asimol-trust-item {
	text-align: center;
	font-weight: 700;
	color: var(--asimol-navy-2);
	letter-spacing: 0.04em;
}

.asimol-trust-item .asimol-trust-icon {
	font-size: 1.6rem;
	display: block;
	margin-bottom: 6px;
	color: var(--asimol-teal);
}

/* ---------- Cards ---------- */

.asimol-card,
.wp-block-group.asimol-card {
	background: #ffffff;
	border: 1px solid rgba(7, 26, 51, 0.08);
	border-radius: var(--asimol-radius);
	box-shadow: var(--asimol-shadow);
	padding: clamp(22px, 3.5vw, 34px);
	height: 100%;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.asimol-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--asimol-shadow-lg);
}

.asimol-card h3 {
	margin-top: 0.35em;
}

.asimol-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: rgba(7, 140, 140, 0.1);
	color: var(--asimol-teal);
	font-size: 1.5rem;
}

.asimol-card--navy {
	background: linear-gradient(160deg, var(--asimol-navy) 0%, var(--asimol-navy-2) 100%);
	border-color: rgba(255, 255, 255, 0.1);
}

.asimol-card--navy h3,
.asimol-card--navy h4 {
	color: #ffffff;
}

.asimol-card--navy p {
	color: rgba(255, 255, 255, 0.82);
}

/* ---------- Section helpers ---------- */

.asimol-section-soft {
	background-color: var(--asimol-soft);
}

.asimol-section-navy {
	background: linear-gradient(150deg, var(--asimol-navy) 0%, var(--asimol-navy-2) 100%);
	color: #ffffff;
}

.asimol-section-navy h2,
.asimol-section-navy h3 {
	color: #ffffff;
}

.asimol-section-navy p {
	color: rgba(255, 255, 255, 0.82);
}

/* Restore readable colors for cards placed inside navy sections */
.asimol-section-navy .asimol-card h3,
.asimol-section-navy .asimol-card h4 {
	color: var(--asimol-navy);
}

.asimol-section-navy .asimol-card p {
	color: var(--asimol-muted);
}

/* Titles inside navy sections always readable */
.asimol-section-navy .wp-block-post-title,
.asimol-section-navy .wp-block-query-title,
.asimol-section-navy h1 {
	color: #ffffff !important;
}

.asimol-divider-gold {
	width: 64px;
	height: 4px;
	border-radius: 2px;
	background: var(--asimol-gold);
	border: none;
	margin: 0.5em 0 1.2em;
}

.asimol-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--asimol-teal);
	color: #ffffff;
	font-weight: 800;
	font-size: 1.1rem;
}

/* ---------- Lists ---------- */

.asimol-check-list {
	list-style: none;
	padding-left: 0;
}

.asimol-check-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 10px;
}

.asimol-check-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--asimol-teal);
	font-weight: 800;
}

/* ---------- Contact CTA ---------- */

.asimol-contact-cta {
	background:
		radial-gradient(700px 320px at 90% 0%, rgba(199, 154, 59, 0.22), transparent 60%),
		linear-gradient(150deg, var(--asimol-navy) 0%, var(--asimol-navy-2) 100%);
	color: #ffffff;
	border-radius: 20px;
}

.asimol-contact-cta h2 {
	color: #ffffff;
}

.asimol-contact-cta a.asimol-contact-link {
	color: #ffffff;
	font-weight: 700;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	text-decoration: none;
	border-bottom: 2px solid var(--asimol-gold);
}

.asimol-contact-cta a.asimol-contact-link:hover,
.asimol-contact-cta a.asimol-contact-link:focus {
	color: var(--asimol-gold);
}

/* ---------- Footer ---------- */

.asimol-site-footer {
	background-color: var(--asimol-navy);
	color: rgba(255, 255, 255, 0.82);
}

.asimol-site-footer h2,
.asimol-site-footer h3,
.asimol-site-footer h4,
.asimol-site-footer .wp-block-heading {
	color: #ffffff;
}

.asimol-site-footer a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
}

.asimol-site-footer a:hover,
.asimol-site-footer a:focus {
	color: var(--asimol-gold);
}

.asimol-site-footer .wp-block-navigation a {
	color: rgba(255, 255, 255, 0.82);
}

.asimol-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- Content / articles ---------- */

.wp-block-post-title a {
	color: var(--asimol-navy);
	text-decoration: none;
}

.wp-block-post-title a:hover,
.wp-block-post-title a:focus {
	color: var(--asimol-teal);
}

.wp-block-post-terms a,
.wp-block-post-date {
	color: var(--asimol-muted);
}

.wp-block-query-pagination a {
	text-decoration: none;
	font-weight: 600;
}

.wp-block-query-pagination .page-numbers {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 8px;
	border: 1px solid rgba(7, 26, 51, 0.15);
	color: var(--asimol-navy-2);
}

.wp-block-query-pagination .page-numbers.current {
	background: var(--asimol-navy);
	color: #ffffff;
	border-color: var(--asimol-navy);
}

/* ---------- Forms & search ---------- */

.wp-block-search__input,
input[type="search"],
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
	border: 1px solid rgba(7, 26, 51, 0.2);
	border-radius: 10px;
	padding: 10px 14px;
	background: #ffffff;
	color: var(--asimol-text);
}

.wp-block-search__button,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button {
	background: var(--asimol-teal);
	color: #ffffff;
	border: none;
	border-radius: 10px;
	font-weight: 700;
	padding: 10px 20px;
}

.wp-block-search__button:hover,
.wp-block-search__button:focus {
	background: var(--asimol-navy-2);
}

/* ---------- WooCommerce compatibility ---------- */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .button,
.woocommerce button.single_add_to_cart_button,
.woocommerce a.added_to_cart,
.woocommerce #place_order {
	background-color: var(--asimol-teal);
	color: #ffffff;
	border-radius: 999px;
	font-weight: 700;
	padding: 12px 26px;
	border: none;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce .button:hover,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce a.added_to_cart:hover,
.woocommerce #place_order:hover,
.woocommerce a.button:focus,
.woocommerce button.button:focus,
.woocommerce input.button:focus {
	background-color: var(--asimol-navy-2);
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(13, 43, 77, 0.28);
}

.woocommerce span.onsale {
	background-color: var(--asimol-red);
	border-radius: 8px;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
	border-top-color: var(--asimol-teal);
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before {
	color: var(--asimol-teal);
}

.woocommerce ul.products li.product {
	border: 1px solid rgba(7, 26, 51, 0.08);
	border-radius: var(--asimol-radius);
	padding: 14px;
	box-shadow: var(--asimol-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-3px);
	box-shadow: var(--asimol-shadow-lg);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: var(--asimol-navy);
	font-weight: 700;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--asimol-teal);
	font-weight: 700;
}

.woocommerce .star-rating span::before,
.woocommerce .stars a {
	color: var(--asimol-gold);
}

.woocommerce .quantity .qty {
	border-radius: 10px;
	border: 1px solid rgba(7, 26, 51, 0.2);
	padding: 8px 10px;
}

.woocommerce table.shop_table {
	border-radius: var(--asimol-radius);
	border: 1px solid rgba(7, 26, 51, 0.1);
}

.woocommerce .woocommerce-breadcrumb {
	color: var(--asimol-muted);
}

.woocommerce .woocommerce-breadcrumb a {
	color: var(--asimol-teal);
}

.woocommerce-pagination ul.page-numbers li .page-numbers {
	border-radius: 8px;
	border: 1px solid rgba(7, 26, 51, 0.15);
	color: var(--asimol-navy-2);
}

.woocommerce-pagination ul.page-numbers li .page-numbers.current {
	background: var(--asimol-navy);
	color: #ffffff;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.asimol-hero .wp-block-columns {
		flex-wrap: wrap;
	}

	.asimol-hero .wp-block-column {
		flex-basis: 100% !important;
	}
}

@media (max-width: 781px) {
	.wp-block-columns {
		gap: 20px;
	}

	.asimol-site-header .wp-block-group {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.asimol-metric {
		padding: 12px 10px;
	}
}

@media (max-width: 600px) {
	h1 {
		font-size: clamp(1.9rem, 7vw, 2.6rem);
	}

	h2 {
		font-size: clamp(1.5rem, 5.5vw, 2rem);
	}

	.asimol-hero-visual {
		padding: 20px;
	}

	.asimol-header-cta .wp-block-button__link {
		padding: 8px 16px;
		font-size: 0.9rem;
	}

	.woocommerce ul.products li.product {
		padding: 10px;
	}
}

/* ---------- Accessibility helpers ---------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Supporting page content ---------- */

.asimol-page-intro .asimol-lead,
.asimol-lead {
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	line-height: 1.6;
	color: var(--asimol-navy-2);
	font-weight: 500;
}

.asimol-service-list,
.asimol-contact-panel {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin: 32px 0 40px;
}

.asimol-service-list .asimol-card,
.asimol-contact-panel .asimol-card {
	margin: 0;
}

.asimol-text-link {
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid var(--asimol-gold);
}

@media (max-width: 720px) {
	.asimol-service-list,
	.asimol-contact-panel {
		grid-template-columns: 1fr;
	}
}

/* Footer contact links wrap cleanly */
.asimol-site-footer a[href^="mailto:"], .asimol-site-footer a[href^="tel:"] {
	overflow-wrap: normal;
	word-break: keep-all;
}
