/*
Theme Name: زهور آسيا
Theme URI: https://webcomeg.com
Author: شركة ويبكوم للبرمجة
Author URI: https://webcomeg.com
Description: ثيم احترافي فاخر لموقع زهور آسيا - تنسيق حدائق ولاندسكيب وبوكيهات ورد في جدة. تصميم وتطوير شركة ويبكوم للبرمجة.
Version: 1.8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zuhur-asia
Tags: one-page, custom-menu, rtl-language-support, business, garden, flowers
*/

/* ============================================
   زهور آسيا - ثيم ووردبريس احترافي v1.1
   جميع حقوق التصميم محفوظة لشركة ويبكوم للبرمجة - webcomeg.com
   ============================================ */

:root {
    --primary: #1b5e3b;
    --primary-mid: #2d7a4f;
    --primary-light: #3d9b68;
    --primary-soft: #e8f5ee;
    --accent: #c45c68;
    --accent-hover: #a84854;
    --gold: #c9a227;
    --bg: #ffffff;
    --bg-alt: #f6f9f7;
    --bg-dark: #0f2e1d;
    --text: #1a2e22;
    --text-muted: #5a6f63;
    --border: #e2ebe5;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 8px 30px rgba(27, 94, 59, 0.08);
    --shadow-lg: 0 20px 50px rgba(27, 94, 59, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 34px; border-radius: 60px; font-weight: 700; font-size: 0.98rem;
    border: 2px solid transparent; cursor: pointer; transition: var(--transition);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-mid), var(--primary));
    color: #fff; box-shadow: 0 8px 24px rgba(27, 94, 59, 0.25);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(27, 94, 59, 0.35); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-full { width: 100%; }

.top-bar { background: var(--bg-dark); color: #fff; font-size: 0.88rem; padding: 11px 0; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.contact-phones { display: flex; gap: 22px; }
.phone-link { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.92); font-weight: 600; }
.phone-link:hover { color: #a8e6c1; }
.top-location { display: flex; align-items: center; gap: 7px; opacity: 0.85; }

.main-header {
    background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
    position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 0 var(--border);
}
.main-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 50px; height: 50px;
    background: linear-gradient(145deg, var(--primary-mid), var(--primary));
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.35rem; box-shadow: 0 6px 16px rgba(27, 94, 59, 0.2);
}
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 1.35rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.logo-tagline { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}
.main-nav ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}
.main-nav a {
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text);
    white-space: nowrap;
    line-height: 1.3;
}
.main-nav a:hover,
.main-nav a.active {
    background: var(--primary-soft);
    color: var(--primary);
}
.header-cta {
    background: linear-gradient(135deg, var(--primary-mid), var(--primary));
    color: #fff;
    padding: 9px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 18px rgba(27, 94, 59, 0.22);
    white-space: nowrap;
    flex-shrink: 0;
}
.header-cta:hover { transform: translateY(-2px); }
.logo { flex-shrink: 0; }
.logo-name { font-size: 1.15rem; }
.logo-icon { width: 42px; height: 42px; font-size: 1.15rem; border-radius: 12px; }
.header-inner { gap: 12px; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 1001; }
.mobile-toggle span { width: 24px; height: 2.5px; background: var(--primary); border-radius: 3px; transition: var(--transition); }

.hero {
    position: relative; min-height: 92vh; display: flex; align-items: center;
    background: var(--bg-dark); color: #fff; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1800&h=1000&fit=crop') center/cover;
    opacity: 0.3;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(115deg, rgba(15,46,29,0.92) 0%, rgba(27,94,59,0.75) 55%, rgba(45,122,79,0.55) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 100px 0 140px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.12); backdrop-filter: blur(10px);
    padding: 8px 18px; border-radius: 50px; font-size: 0.88rem; font-weight: 600;
    margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.18);
}
.hero-badge i { color: #a8e6c1; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); font-weight: 800; line-height: 1.25; margin-bottom: 22px; }
.hero h1 span {
    background: linear-gradient(90deg, #a8e6c1, #7dcea0);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { font-size: 1.12rem; opacity: 0.9; margin-bottom: 38px; max-width: 480px; line-height: 1.8; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-wave { position: absolute; bottom: -2px; left: 0; width: 100%; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
    display: inline-block; background: var(--primary-soft); color: var(--primary);
    padding: 7px 18px; border-radius: 50px; font-size: 0.84rem; font-weight: 700; margin-bottom: 14px;
}
.section-header h2 {
    font-size: clamp(1.9rem, 4vw, 2.55rem); font-weight: 800; color: var(--primary); margin-bottom: 14px;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

.stats-bar { background: var(--bg); padding: 0; margin-top: -50px; position: relative; z-index: 5; }
.stats-inner {
    background: linear-gradient(135deg, var(--primary), var(--primary-mid));
    border-radius: var(--radius); padding: 36px 20px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    box-shadow: var(--shadow-lg);
}
.stat-item { text-align: center; color: #fff; }
.stat-item .stat-num { font-size: 2.1rem; font-weight: 800; line-height: 1.1; margin-bottom: 4px; }
.stat-item .stat-label { font-size: 0.9rem; opacity: 0.88; font-weight: 500; }

.services { padding: 100px 0 90px; background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 36px 28px 32px; transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::after {
    content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    transform: scaleX(0); transform-origin: right; transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
    width: 68px; height: 68px; background: var(--primary-soft); border-radius: 16px;
    display: flex; align-items: center; justify-content: center; font-size: 1.55rem;
    color: var(--primary); margin-bottom: 24px; transition: var(--transition);
}
.service-card:hover .service-icon {
    background: linear-gradient(145deg, var(--primary-mid), var(--primary)); color: #fff; transform: scale(1.05);
}
.service-card h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.service-card p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.75; }

.gallery { padding: 100px 0; background: var(--bg-alt); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
    position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
    cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,46,29,0.88) 0%, transparent 55%);
    display: flex; align-items: flex-end; padding: 22px; opacity: 0; transition: opacity 0.35s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 700; font-size: 1.08rem; }

.about { padding: 100px 0; background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.about-content .section-label { margin-bottom: 14px; }
.about-content h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.35rem); font-weight: 800; color: var(--primary); margin-bottom: 20px;
}
.about-content p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.02rem; }
.about-features { margin-top: 28px; }
.about-features li { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-weight: 600; font-size: 1rem; }
.about-features i {
    width: 28px; height: 28px; background: var(--primary-soft); color: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0;
}
.about-image { position: relative; }
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.experience-badge {
    position: absolute; bottom: -24px; left: 28px;
    background: linear-gradient(145deg, var(--primary-mid), var(--primary));
    color: #fff; padding: 22px 30px; border-radius: 16px; text-align: center;
    box-shadow: 0 12px 30px rgba(27, 94, 59, 0.3);
}
.experience-badge .number { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1; }
.experience-badge .text { font-size: 0.85rem; opacity: 0.9; font-weight: 500; }

.contact { padding: 100px 0; background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
.info-card {
    display: flex; gap: 18px; background: var(--bg); padding: 22px 24px;
    border-radius: var(--radius-sm); margin-bottom: 16px; border: 1px solid var(--border); transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.info-icon {
    width: 52px; height: 52px; background: var(--primary-soft); border-radius: 14px;
    display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; flex-shrink: 0;
}
.info-card h4 { font-size: 1rem; margin-bottom: 4px; color: var(--text); font-weight: 700; }
.info-card p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.6; }
.info-card .phone-number { color: var(--primary); font-weight: 700; }
.info-card .phone-number:hover { color: var(--accent); }
.social-links { display: flex; gap: 12px; margin-top: 12px; }
.social-links a {
    width: 46px; height: 46px; background: var(--primary); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.15rem; transition: var(--transition);
}
.social-links a:hover { background: var(--primary-mid); transform: translateY(-4px); }

.contact-form {
    background: var(--bg); padding: 38px; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.93rem; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 12px;
    font-family: inherit; font-size: 0.98rem; transition: var(--transition); background: var(--bg-alt); color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary-mid); background: #fff;
    box-shadow: 0 0 0 4px rgba(45, 122, 79, 0.12);
}

.main-footer { background: var(--bg-dark); color: #fff; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.6); }
.footer-brand p { margin-top: 16px; opacity: 0.75; font-size: 0.94rem; line-height: 1.7; }
.footer-links h4, .footer-services h4, .footer-contact h4 {
    font-size: 1.08rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; font-weight: 700;
}
.footer-links h4::after, .footer-services h4::after, .footer-contact h4::after {
    content: ''; position: absolute; bottom: 0; right: 0; width: 36px; height: 3px;
    background: var(--primary-light); border-radius: 2px;
}
.footer-links ul li, .footer-services ul li { margin-bottom: 11px; }
.footer-links a { opacity: 0.75; }
.footer-links a:hover { opacity: 1; color: #a8e6c1; }
.footer-services li { opacity: 0.75; }
.footer-contact p { margin-bottom: 13px; opacity: 0.85; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.footer-contact .phone-number { color: #a8e6c1; font-weight: 700; }
.footer-contact .phone-number:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    font-size: 0.9rem; opacity: 0.8;
}
.design-credit a { color: #a8e6c1; font-weight: 700; }
.design-credit a:hover { color: #fff; text-decoration: underline; }

.whatsapp-float {
    position: fixed; bottom: 28px; left: 28px; width: 60px; height: 60px;
    background: #25d366; color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); z-index: 998; transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5); }

.back-to-top {
    position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px;
    background: var(--primary); color: #fff; border: none; border-radius: 50%;
    font-size: 1.05rem; cursor: pointer; opacity: 0; visibility: hidden;
    transition: var(--transition); z-index: 997; box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-mid); transform: translateY(-3px); }

@media (max-width: 1200px) {
    .main-nav a { padding: 6px 8px; font-size: 0.8rem; }
    .header-cta { padding: 8px 14px; font-size: 0.8rem; }
    .logo-name { font-size: 1.1rem; }
}

@media (max-width: 1100px) {
    .main-nav a { padding: 5px 7px; font-size: 0.75rem; }
    .header-cta { padding: 8px 12px; font-size: 0.75rem; }
    .logo-name { font-size: 1.02rem; }
    .logo-tagline { display: none; }
    .logo-icon { width: 38px; height: 38px; font-size: 1rem; }
}

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 980px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 290px;
        height: 100vh;
        background: #fff;
        box-shadow: -8px 0 40px rgba(0,0,0,0.12);
        padding: 90px 28px 30px;
        transition: var(--transition);
        z-index: 999;
        display: block;
        justify-content: flex-start;
        flex: none;
    }
    .main-nav.active { right: 0; }
    .main-nav ul {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: stretch;
        white-space: normal;
        gap: 4px;
    }
    .main-nav a {
        display: block;
        padding: 13px 16px;
        font-size: 1.05rem;
        white-space: normal;
    }
    .mobile-toggle { display: flex; }
    .header-cta { display: none; }
}

@media (max-width: 900px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-content { padding: 70px 0 120px; }
    .top-bar-content { justify-content: center; text-align: center; }
    .contact-phones { justify-content: center; flex-wrap: wrap; }
    .stats-bar { margin-top: -30px; }
    .whatsapp-float { bottom: 22px; left: 18px; width: 54px; height: 54px; font-size: 1.5rem; }
    .back-to-top { bottom: 22px; right: 18px; }
}

@media (max-width: 560px) {
    .services-grid, .gallery-grid { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: 1fr 1fr; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; }
    .contact-form { padding: 26px 20px; }
}

/* ========== Service Button ========== */
.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    padding: 11px 20px;
    background: #25d366;
    color: #fff !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    width: 100%;
}
.service-btn:hover {
    background: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* ========== Areas ========== */
.areas {
    padding: 100px 0;
    background: var(--bg);
}
.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.area-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}
.area-item i {
    color: var(--primary);
    font-size: 0.9rem;
}
.area-item:hover {
    background: var(--primary-soft);
    border-color: transparent;
    transform: translateY(-2px);
}

/* ========== FAQ ========== */
.faq {
    padding: 100px 0;
    background: var(--bg-alt);
}
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}
.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.active {
    box-shadow: var(--shadow);
    border-color: transparent;
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    text-align: right;
}
.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px;
}
.faq-answer p {
    padding: 0 22px 20px;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.8;
}

/* ========== Map ========== */
.map-section {
    padding: 80px 0 0;
    background: var(--bg);
}
.map-wrap {
    margin-top: 20px;
    line-height: 0;
    border-radius: 0;
    overflow: hidden;
}
.map-wrap iframe {
    display: block;
    width: 100%;
    min-height: 380px;
}

@media (max-width: 1024px) {
    .areas-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .areas-grid { grid-template-columns: 1fr; }
}

/* ========== Gallery: إخفاء الزائد + زر المزيد ========== */
.gallery-item.gallery-extra {
    display: none;
}
.gallery-grid.show-all .gallery-item.gallery-extra {
    display: block;
}
.gallery-more-wrap {
    text-align: center;
    margin-top: 36px;
}
.gallery-more-wrap .btn {
    min-width: 200px;
}
.gallery-overlay {
    justify-content: space-between;
    align-items: flex-end;
}
.gallery-overlay i {
    color: #fff;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========== Lightbox ========== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 18, 0.94);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}
.lightbox img {
    max-width: min(92vw, 1100px);
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    transform: scale(0.92);
    transition: transform 0.3s ease;
}
.lightbox.active img {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 18px;
    left: 22px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: background 0.25s ease;
    z-index: 2;
}
.lightbox-close:hover {
    background: rgba(255,255,255,0.28);
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.25s ease;
    z-index: 2;
}
.lightbox-prev { right: 18px; }
.lightbox-next { left: 18px; }
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.28);
}
.lightbox-caption {
    position: absolute;
    bottom: 24px;
    right: 0;
    left: 0;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
@media (max-width: 600px) {
    .lightbox-prev, .lightbox-next {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    .lightbox-prev { right: 8px; }
    .lightbox-next { left: 8px; }
}

.more-count {
    opacity: 0.85;
    font-weight: 600;
    margin-right: 4px;
}

/* ========== Page Hero ========== */
.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-mid));
    color: #fff;
    padding: 70px 0 60px;
    text-align: center;
}
.page-hero-inner h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin: 12px 0 10px;
}
.page-hero .section-label {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.breadcrumb-nav {
    opacity: 0.9;
    font-size: 0.92rem;
}
.breadcrumb-nav a { color: #d8f3e0; }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav span { margin: 0 6px; opacity: 0.7; }
.service-hero-icon {
    width: 70px; height: 70px; margin: 0 auto 12px;
    background: rgba(255,255,255,0.15); border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
}
.post-meta-top { opacity: 0.9; font-size: 0.95rem; }
.post-meta-top .dot { margin: 0 8px; }

/* ========== Service Single ========== */
.service-single { padding: 70px 0; background: var(--bg); }
.service-single-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 36px;
    align-items: start;
}
.service-featured {
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
}
.service-featured img { width: 100%; height: auto; }
.entry-content { font-size: 1.05rem; line-height: 1.9; color: var(--text); }
.entry-content p { margin-bottom: 16px; }
.entry-content h2, .entry-content h3 { color: var(--primary); margin: 24px 0 12px; }

.service-cta-box {
    margin-top: 32px;
    background: var(--primary-soft);
    border-radius: var(--radius);
    padding: 26px;
}
.service-cta-box h3 { color: var(--primary); margin-bottom: 8px; }
.service-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.btn-dark {
    background: var(--bg-dark);
    color: #fff;
    border-radius: 50px;
    padding: 14px 28px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-dark:hover { background: #163d28; color: #fff; }

.sidebar-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
}
.sidebar-card h4 {
    color: var(--primary);
    margin-bottom: 14px;
    font-size: 1.1rem;
}
.sidebar-line {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.sidebar-line i { color: var(--primary); margin-top: 3px; }
.sidebar-line a { color: var(--primary); font-weight: 700; }
.sidebar-services li { margin-bottom: 10px; }
.sidebar-services a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
}
.sidebar-services a:hover { color: var(--primary); }
.sidebar-services i { color: var(--primary); width: 18px; }

.service-actions { margin-top: 18px; display: grid; gap: 10px; }
.service-link {
    text-align: center;
    font-weight: 700;
    color: var(--primary);
    padding: 8px;
}
.service-link:hover { text-decoration: underline; }
.service-card h3 a { color: inherit; }
.service-card h3 a:hover { color: var(--primary); }

/* ========== Blog ========== */
.blog-list { padding: 70px 0 90px; background: var(--bg-alt); }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--primary-soft); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-thumb-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 2rem;
}
.blog-card-body { padding: 20px 20px 24px; }
.blog-card-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.blog-card-title { font-size: 1.15rem; margin-bottom: 10px; line-height: 1.45; }
.blog-card-title a { color: var(--text); }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 14px; }
.blog-read-more { color: var(--primary); font-weight: 700; font-size: 0.92rem; }
.blog-read-more i { margin-right: 4px; }
.blog-pagination { margin-top: 40px; text-align: center; }
.blog-pagination .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.blog-pagination a, .blog-pagination span {
    display: inline-block; padding: 8px 14px; border-radius: 8px;
    background: var(--bg); border: 1px solid var(--border); font-weight: 600;
}
.blog-pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

.blog-single { padding: 50px 0 80px; }
.container.narrow { max-width: 860px; }
.blog-featured {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 28px;
}
.blog-featured img { width: 100%; height: auto; }
.blog-article { background: var(--bg); padding: 10px 0 20px; }
.blog-nav { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.blog-nav span { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.no-posts { text-align: center; padding: 40px 20px; color: var(--text-muted); }

@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .service-single-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
    .service-cta-actions { flex-direction: column; }
    .service-cta-actions .btn { width: 100%; justify-content: center; }
}
