/*
Theme Name: Scrap Car Buyer
Theme URI: https://scrapcarsuae.com
Author: MD Ibrahim
Description: Custom conversion-focused theme for Scrap Car Buyer Sharjah.
Version: 1.0.0
Text Domain: scrapcars
*/

/* Custom Base Styles */
body { font-family: 'Inter', sans-serif; color: #1F2328; background-color: #F7F7F5; }
h1, h2, h3, h4, h5, h6, .font-heading { font-family: 'Archivo', sans-serif; }

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
    .reveal.active { opacity: 1; transform: translateY(0); }
    .delay-100 { transition-delay: 100ms; }
    .delay-200 { transition-delay: 200ms; }
    .delay-300 { transition-delay: 300ms; }
}

/* Utilities */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.btn-hover-fx { transition: background-color 0.2s ease, transform 0.1s ease; }
.btn-hover-fx:active { transform: scale(0.97); }
.card-hover { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); }

/* WP Admin Bar Fix */
.admin-bar #main-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #main-header { top: 46px; } }

/* WP Native Editor Styles */
.wp-editor-content p { margin-bottom: 1.5rem; line-height: 1.7; color: #4A5057; }
.wp-editor-content h2 { font-family: 'Archivo', sans-serif; font-size: 1.75rem; font-weight: 700; color: #1F2328; margin-top: 2.5rem; margin-bottom: 1rem; }
.wp-editor-content h3 { font-family: 'Archivo', sans-serif; font-size: 1.25rem; font-weight: 700; color: #1F2328; margin-top: 2rem; margin-bottom: 0.75rem; }
.wp-editor-content ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1.5rem; color: #4A5057; }
.wp-editor-content a { color: #2E9E5B; font-weight: 600; }
.wp-editor-content img { border-radius: 0.5rem; margin: 1.5rem 0; }

/* WP Menu Styles */
.desktop-nav ul { display: flex; gap: 1.5rem; }
.desktop-nav a { transition: color 0.2s; }
.desktop-nav a:hover { color: #2E9E5B !important; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-nav a { display: block; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); transition: opacity 0.2s; }
.mobile-nav a:hover { opacity: 0.8; }
.mobile-nav li:last-child a { border-bottom: none; color: #2E9E5B; padding-bottom: 0; }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { transition: opacity 0.2s; }
.footer-nav a:hover { opacity: 0.8; }