/* ===== AL AZAZI  PREMIUM LAW FIRM CSS ===== */

/* --- GLOBAL RESET & BASE --- */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* --- HIDE WORDPRESS FOOTER CREDIT --- */
.powered-by-wordpress, .site-info, footer .wp-block-site-title + *, .has-powered-by a[href*="wordpress"], a[href*="wordpress.com"]:not(.wp-block-navigation-item__content) { display: none !important; }
footer a[href*="wordpress.org"], footer a[href*="wordpress.com"] { display: none !important; }
.wp-block-template-part footer p:last-child { display: none !important; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: 'Inter', sans-serif; letter-spacing: -0.02em; }
h1 { font-weight: 200 !important; }
h2 { font-weight: 300 !important; }

/* --- ANIMATIONS --- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes lineGrow { from { width: 0; } to { width: 80px; } }
@keyframes countUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

/* --- SCROLL REVEAL --- */
.wp-block-group, .wp-block-columns, .wp-block-cover, .wp-block-media-text, .wp-block-image { animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.wp-block-column:nth-child(1) { animation-delay: 0.05s; }
.wp-block-column:nth-child(2) { animation-delay: 0.15s; }
.wp-block-column:nth-child(3) { animation-delay: 0.25s; }
.wp-block-column:nth-child(4) { animation-delay: 0.35s; }

/* --- COVER BLOCKS (HERO SECTIONS) --- */
.wp-block-cover { transition: none; }
.wp-block-cover .wp-block-cover__inner-container { animation: fadeIn 1.2s ease both; animation-delay: 0.3s; }
.wp-block-cover__background { transition: opacity 0.6s ease; }

/* --- NAVIGATION --- */
.wp-block-navigation a { position: relative; transition: color 0.3s ease; }
.wp-block-navigation a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: #C9A96E; transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.wp-block-navigation a:hover::after { width: 100%; }
.wp-block-navigation a:hover { color: #C9A96E !important; }

/* --- BUTTONS --- */
.wp-block-button__link { transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important; letter-spacing: 0.12em !important; font-size: 13px !important; font-weight: 500 !important; text-transform: uppercase !important; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: #C9A96E !important; color: #fff !important; border-color: #C9A96E !important; }

/* --- CARD HOVER EFFECTS --- */
.wp-block-column .wp-block-group { transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.wp-block-column .wp-block-group:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(10,25,47,0.12) !important; }

/* --- SEPARATOR STYLING --- */
.wp-block-separator { transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1); }

/* --- IMAGES --- */
.wp-block-image img, .wp-block-media-text__media img { transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease; }
.wp-block-image:hover img, .wp-block-media-text:hover .wp-block-media-text__media img { transform: scale(1.03); }

/* --- COVER PARALLAX --- */
.wp-block-cover.has-parallax { background-attachment: fixed; }

/* --- QUOTE STYLING --- */
.wp-block-quote { border-left: 3px solid #C9A96E !important; padding-left: 30px !important; }
.wp-block-quote p { font-style: italic; font-size: 20px !important; line-height: 1.7 !important; }

/* --- FOOTER CLEANUP --- */
footer.wp-block-template-part { border-top: 1px solid rgba(255,255,255,0.1); }

/* --- RESPONSIVE --- */
@media (max-width: 782px) {
	h1 { font-size: 36px !important; }
	h2 { font-size: 28px !important; }
	.wp-block-cover { min-height: 70vh !important; }
	.wp-block-columns { gap: 20px !important; }
}
}