/* ===========================================================
   Al-Mojal International — Theme Stylesheet
   Palette drawn from the logo: red ring, green palm, gold swords,
   charcoal accents, white base.
   =========================================================== */

:root {
    --amj-red: #C1272D;
    --amj-red-dark: #8f1c21;
    --amj-green: #1E7145;
    --amj-gold: #D4A017;
    --amj-charcoal: #1F2328;
    --amj-gray: #6B7280;
    --amj-bg-light: #F7F8FA;
    --amj-white: #FFFFFF;
    --amj-border: #E5E7EB;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--amj-charcoal);
    background: var(--amj-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--amj-charcoal);
    margin: 0 0 16px;
    line-height: 1.25;
}

a { color: var(--amj-red); text-decoration: none; }
a:hover { color: var(--amj-red-dark); }

img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-alt { background: var(--amj-bg-light); }
.section-title { text-align: center; margin-bottom: 12px; font-size: 34px; }
.section-subtitle { text-align: center; color: var(--amj-gray); max-width: 620px; margin: 0 auto 48px; }

.btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: all .2s ease;
    border: 2px solid transparent;
}
.btn-primary { background: var(--amj-red); color: var(--amj-white); }
.btn-primary:hover { background: var(--amj-red-dark); color: var(--amj-white); }
.btn-outline { background: transparent; border-color: var(--amj-white); color: var(--amj-white); }
.btn-outline:hover { background: var(--amj-white); color: var(--amj-red); }
.btn-gold { background: var(--amj-gold); color: var(--amj-white); }
.btn-gold:hover { opacity: .88; color: var(--amj-white); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 999;
    background: var(--amj-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1200px; margin: 0 auto; }
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo img { height: 58px; width: auto; }
.site-logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--amj-charcoal); line-height: 1.2; }
.site-logo-text span { display: block; font-size: 12px; font-weight: 500; color: var(--amj-gray); letter-spacing: 1px; }

.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--amj-charcoal); }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--amj-red); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--amj-charcoal); }

@media (max-width: 900px) {
    .main-nav { position: fixed; top: 86px; left: 0; right: 0; background: var(--amj-white); flex-direction: column; padding: 20px; box-shadow: 0 8px 16px rgba(0,0,0,0.08); display: none; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 18px; }
    .menu-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--amj-charcoal) 0%, var(--amj-red-dark) 100%);
    color: var(--amj-white);
    padding: 100px 0;
    text-align: center;
}
.hero h1 { color: var(--amj-white); font-size: 46px; max-width: 780px; margin: 0 auto 18px; }
.hero p { font-size: 18px; color: #f0d9da; max-width: 600px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
    background: var(--amj-white);
    border: 1px solid var(--amj-border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.card img { height: 190px; object-fit: cover; width: 100%; }
.card-body { padding: 22px; }
.card-body h3 { font-size: 18px; margin-bottom: 8px; }
.card-body p { color: var(--amj-gray); font-size: 14px; margin: 0; }
.card-tag { display: inline-block; background: var(--amj-bg-light); color: var(--amj-charcoal); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: 12px; }
.stat-row { display: flex; gap: 36px; margin-top: 28px; flex-wrap: wrap; }
.stat-row strong { display: block; font-size: 28px; color: var(--amj-red); font-family: var(--font-heading); }
.stat-row span { color: var(--amj-gray); font-size: 13px; }

/* ---------- Values / core icons row ---------- */
.icon-box { text-align: center; padding: 30px 20px; }
.icon-circle {
    width: 68px; height: 68px; border-radius: 50%;
    background: var(--amj-bg-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; font-size: 28px;
    border: 2px solid var(--amj-gold);
}

/* ---------- Testimonial ---------- */
.testimonial { background: var(--amj-charcoal); color: var(--amj-white); border-radius: 14px; padding: 48px; text-align: center; }
.testimonial p { font-size: 20px; font-style: italic; max-width: 700px; margin: 0 auto 20px; }
.testimonial strong { color: var(--amj-gold); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item .ic { width: 42px; height: 42px; border-radius: 8px; background: var(--amj-red); color: #fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
form.amj-form input, form.amj-form textarea, form.amj-form select {
    width: 100%; padding: 13px 14px; border: 1px solid var(--amj-border); border-radius: 8px;
    margin-bottom: 16px; font-family: var(--font-body); font-size: 15px;
}
form.amj-form textarea { min-height: 130px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer { background: var(--amj-charcoal); color: #cfd3d8; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 36px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
.site-footer h4 { color: var(--amj-white); font-size: 16px; margin-bottom: 18px; }
.site-footer a { color: #cfd3d8; }
.site-footer a:hover { color: var(--amj-gold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 13px; color: #8b9099; }
.social-row { display: flex; gap: 12px; margin-top: 14px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; background: #2b3036; display: flex; align-items: center; justify-content: center; }
.social-row a:hover { background: var(--amj-red); }

/* ---------- Breadcrumb / page header bar ---------- */
.page-banner { background: var(--amj-charcoal); color: var(--amj-white); padding: 56px 0; text-align: center; }
.page-banner h1 { color: var(--amj-white); margin-bottom: 6px; }
.page-banner p { color: #c9ccd1; margin: 0; }

/* ---------- Floating WhatsApp / Call buttons ---------- */
.amj-floating-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.amj-float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    transition: transform .2s ease;
}
.amj-float-btn:hover { transform: scale(1.08); }
.amj-float-whatsapp { background: #25D366; }
.amj-float-call { background: var(--amj-red); animation: amj-pulse 2.2s infinite; }
@keyframes amj-pulse {
    0% { box-shadow: 0 0 0 0 rgba(193,39,45,0.5), 0 6px 16px rgba(0,0,0,0.25); }
    70% { box-shadow: 0 0 0 12px rgba(193,39,45,0), 0 6px 16px rgba(0,0,0,0.25); }
    100% { box-shadow: 0 0 0 0 rgba(193,39,45,0), 0 6px 16px rgba(0,0,0,0.25); }
}
@media (max-width: 600px) {
    .amj-floating-buttons { bottom: 16px; right: 16px; }
    .amj-float-btn { width: 50px; height: 50px; }
}

/* ---------- Blog ---------- */
.blog-meta { font-size: 13px; color: var(--amj-gray); margin-bottom: 10px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 6px; background: var(--amj-bg-light); color: var(--amj-charcoal); font-weight: 600; }
.pagination .current { background: var(--amj-red); color: #fff; }
