/*
Theme Name: Al-Amar Al-Raqi Contractors
Theme URI: https://www.alamaralraqi.com
Description: Bilingual (English / Arabic) website for Al-Amar Al-Raqi Contractors: Home, About, Services, Projects and Contact pages with the company's projects, gallery and branding. Activating the theme creates the pages and sets the home page.
Version: 1.1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: alamar-alraqi
*/

html { scroll-behavior: smooth; }
body { margin: 0; background: #0E0D0B; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: #6B563F; }
.alamar a { transition: opacity .25s, color .25s, background-color .25s; }
.alamar a:hover { opacity: .82; }
.alamar a:focus-visible, .alamar button:focus-visible, .alamar input:focus-visible,
.alamar select:focus-visible, .alamar textarea:focus-visible { outline: 2px solid #C9A45C; outline-offset: 3px; }
.alamar input:focus, .alamar select:focus, .alamar textarea:focus { outline: none; border-bottom-color: #C9A45C !important; }
.alamar form { position: relative; }
.alamar em { font-family: inherit; }

.alamar-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #0E0D0B; color: #F6F2EA; padding: 10px 16px; }
.alamar-skip:focus { left: 8px; }

.alamar header { position: sticky; top: 0; z-index: 50; }
.admin-bar .alamar header { top: 32px; }

.zoom img{transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.zoom:hover img{transform:scale(1.05)}
@media (max-width: 860px){
 .mosaic{grid-template-columns:repeat(1,minmax(0,1fr)) !important;grid-auto-rows:300px !important}
 .mosaic .tile{grid-column:auto !important;grid-row:auto !important}
 .gallery{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media (prefers-reduced-motion: reduce){.zoom img{transition:none}.zoom:hover img{transform:none}}


.alamar-content { background: #F6F2EA; }
.alamar-content > article, .alamar-content > h1 { max-width: 860px; margin: 0 auto; padding: 96px 32px 110px; font-size: 1.06rem; line-height: 1.85; color: #4A453E; display: block; }
.alamar-content h1 { font-family: 'Cormorant Garamond', 'Amiri', serif; font-weight: 500; font-size: 3rem; color: #0E0D0B; margin: 0 0 28px; }
[dir="rtl"] .alamar-content h1 { font-family: 'Amiri', serif; font-weight: 700; }

@media (max-width: 782px) {
	.admin-bar .alamar header { top: 0; position: relative; }
}
@media (max-width: 720px) {
	.alamar header nav { width: 100%; order: 3; gap: 4px 20px !important; }
	.alamar section > div[style*="padding-top: 1"] { padding-top: 76px !important; padding-bottom: 76px !important; }
	.alamar [style*="minmax(360px"], .alamar [style*="minmax(340px"], .alamar [style*="minmax(330px"] { grid-template-columns: 1fr !important; gap: 48px !important; }
	.alamar img[style*="height: 620px"], .alamar img[style*="height: 600px"], .alamar img[style*="height: 540px"] { height: 340px !important; }
	.alamar section[style*="min-height: 860px"] { min-height: 0 !important; }
	.alamar form { padding: 36px 24px !important; }
	.alamar [style*="grid-template-rows: 300px 240px"] { grid-template-rows: 220px 170px !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
