/*
Theme Name: Alesnad Aldaemah
Theme URI: https://lovable.dev/projects/b404bc2f-c756-4ca0-9c10-9bde5c99db1b
Author: Alesnad Aldaemah
Description: A WordPress theme based on the Pixel Perfect Lovable website for Alesnad Aldaemah Supporting Oil Services.
Version: 1.3.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: al-esnad
*/

/* The source site's compiled design system is in assets/site.css. */
.project-card { min-width: 0; overflow: hidden; }
.project-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-deep); }
.project-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.project-copy { border-top: 2px solid var(--accent); }
@media (min-width: 640px) and (max-width: 1023px) { .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html:not(.has-reveal) .reveal { opacity: 1; transform: none; }
.site-header.is-solid { background: oklch(0.18 0.075 272 / 0.95); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.site-header-inner { min-height: 100px; padding-block: 8px; }
.site-brand { min-width: 0; }
.site-brand-mark { flex: none; width: 70px; height: 84px; }
.site-brand-mark img { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.site-language-switch { min-height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); padding: .55rem .85rem; color: var(--navy-foreground); font-size: .8rem; font-weight: 700; line-height: 1; text-decoration: none; transition: border-color .2s, color .2s; }
.site-language-switch:hover, .site-language-switch:focus-visible { border-color: var(--accent); color: var(--accent); }
.site-language-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.site-language-switch--desktop { display: none; }
.site-mobile-menu .site-language-switch--mobile { display: inline-flex; min-width: 7rem; margin-bottom: 1.25rem; padding: .7rem 1rem; text-align: center; }
.site-footer-logo { flex: none; width: 66px; height: 80px; }
.site-footer-logo img { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.contact-link { color: inherit; overflow-wrap: anywhere; text-underline-offset: .2em; }
.contact-link:hover { color: var(--accent); text-decoration: underline; }
.contact-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.site-header .custom-logo { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.site-header .custom-logo-link { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.site-mobile-menu[hidden] { display: none !important; }
.site-header nav .site-nav-menu { display: flex; align-items: center; gap: 2rem; }
.site-header .site-nav-menu a { position: relative; color: oklch(0.97 0.006 265 / .85); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: color .2s; }
.site-header .site-nav-menu a:hover, .site-header .site-nav-menu a:focus-visible { color: var(--accent); }
.site-mobile-menu a { display: block; padding: 1rem 0; color: var(--navy-foreground); font-size: .875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.site-mobile-menu .btn-base { display: flex; justify-content: center; padding: .95rem 1.6rem; }
.site-mobile-menu li + li { border-top: 1px solid rgba(255,255,255,.06); }
.site-mobile-menu .site-nav-menu, .site-header .site-mobile-menu .site-nav-menu { display: block; }
.site-header .site-mobile-menu .site-nav-menu a { color: var(--navy-foreground); }
.site-footer .site-nav-menu { display: grid; gap: .75rem; }
.site-footer .site-nav-menu a { color: var(--steel); font-size: .875rem; transition: color .2s; }
.site-footer .site-nav-menu a:hover { color: var(--navy-foreground); }
.site-nav-toggle[aria-expanded="true"] .line-1 { transform: translateY(7px) rotate(45deg); }
.site-nav-toggle[aria-expanded="true"] .line-2 { opacity: 0; }
.site-nav-toggle[aria-expanded="true"] .line-3 { transform: translateY(-7px) rotate(-45deg); }
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; top: 1rem; left: 1rem; z-index: 100; padding: .7rem 1rem; color: #fff; background: #162044; }
.alesnad-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; opacity: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; }
.alesnad-notice { margin-top: 1.25rem; border-left: 2px solid var(--accent); background: var(--muted); padding: .85rem 1rem; color: var(--navy); font-size: .875rem; }
.alesnad-notice.is-error { border-color: #b91c1c; color: #991b1b; }
body.admin-bar .site-header { top: 32px; }
.wp-content { min-height: 65vh; padding-top: 9rem; padding-bottom: 6rem; }
.wp-content h1 { color: var(--navy); font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 800; line-height: 1.1; }
.wp-content h2 { margin-top: 2.5rem; color: var(--navy); font-size: 1.8rem; font-weight: 800; }
.wp-content h3 { margin-top: 2rem; color: var(--navy); font-size: 1.4rem; font-weight: 700; }
.wp-content p, .wp-content li { line-height: 1.8; color: var(--muted-foreground); }
.wp-content p { margin-top: 1rem; }
.wp-content ul, .wp-content ol { margin: 1rem 0 1rem 1.5rem; }
.wp-content ul { list-style: disc; }
.wp-content ol { list-style: decimal; }
.wp-content a:not(.btn-base) { color: var(--primary); text-decoration: underline; }
.wp-content img { max-width: 100%; height: auto; }
.wp-content article + article { margin-top: 2.5rem; border-top: 1px solid var(--border); padding-top: 2.5rem; }
.wp-content .entry-meta { margin-top: .75rem; color: var(--muted-foreground); font-size: .875rem; }
.wp-content .post-navigation { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; }
.wp-content .alignwide { max-width: 84rem; }
.wp-content .alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
html[lang="ar"] { --font-sans: "Cairo", sans-serif; --font-display: "Cairo", sans-serif; }
html[lang="ar"] body, html[lang="ar"] button, html[lang="ar"] input, html[lang="ar"] select, html[lang="ar"] textarea, html[lang="ar"] .font-display { font-family: "Cairo", sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4, html[lang="ar"] .eyebrow, html[lang="ar"] .btn-base, html[lang="ar"] .site-nav-menu a, html[lang="ar"] .site-footer h2, html[lang="ar"] .site-footer dt { letter-spacing: normal !important; text-transform: none; }
html[lang="ar"] .site-header .site-nav-menu a { font-size: .86rem; }
html[lang="ar"] .site-brand .text-steel, html[lang="ar"] .site-footer .text-steel { letter-spacing: normal; text-transform: none; }
html[lang="ar"] .site-brand .text-steel { font-size: .72rem; }
html[lang="ar"] .site-language-switch { direction: ltr; font-family: "Cairo", sans-serif; }
html[lang="ar"] .wp-content ul, html[lang="ar"] .wp-content ol { margin-left: 0; margin-right: 1.5rem; }
html[lang="ar"] blockquote { border-left: 0; border-right: 2px solid var(--accent); }
html[lang="ar"] a[href^="mailto:"], html[lang="ar"] a[href^="tel:"] { display: inline-block; direction: ltr; unicode-bidi: isolate; }
html[lang="ar"] input[type="email"], html[lang="ar"] input[type="tel"] { direction: ltr; text-align: left; }
@media (min-width: 1280px) { .site-language-switch--desktop { display: inline-flex; } }
@media (max-width: 1279px) { .site-desktop-nav, .header-contact-cta, .site-language-switch--desktop { display: none !important; } .site-nav-toggle { display: flex !important; } .site-mobile-menu:not([hidden]) { display: block !important; } }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 640px) { .site-header-inner { min-height: 86px; padding-block: 7px; } .site-brand-mark { width: 58px; height: 72px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }
