/* =========================================
   STANDARD PAGE STYLES (Services, Blog, etc.)
   ========================================= */
/* =========================================
   STANDARD PAGE HEADER (Fixed)
   ========================================= */
.page-header {
    background-color: var(--mirage-950);
    /* Fallback color */

    /* These ensure the inline style image looks good */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding-block: 80px;
    /* More height */
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* The Dark Overlay - Crucial for white text */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark Fade: 80% opacity dark blue */
    background: rgba(15, 23, 42, 0.85);
    z-index: -1;
    /* Puts it behind the text but over the image */
}

.page-title {
    color: var(--color-white);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
}

.breadcrumb {
    color: var(--mirage-100);
    font-size: 0.9rem;
    font-weight: 600;
}

.breadcrumb a {
    color: var(--mirage-100);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--whiskey-400);
}

.breadcrumb span {
    color: var(--whiskey-400);
    /* The current page is Gold */
}



/* 1. LAYOUT GRID */
.page-layout {
    display: grid;
    /* Main Content (2fr) - Sidebar (1fr) */
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    padding-block: var(--spacing-xl);
    align-items: start;
    /* Prevents sidebar from stretching */
}

/* 2. MAIN CONTENT AREA (Right Side) */
.content-area h2 {
    font-size: 1.8rem;
    color: var(--mirage-950);
    margin-bottom: var(--spacing-md);
    font-weight: 800;
}

.content-area h3 {
    font-size: 1.4rem;
    color: var(--mirage-900);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.content-area p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--mirage-700);
    margin-bottom: var(--spacing-md);
}

.content-area ul {
    margin-bottom: var(--spacing-md);
    padding-right: var(--spacing-md);
    /* Indent for RTL */
}

.content-area ul li {
    margin-bottom: 0.5rem;
    color: var(--mirage-800);
    position: relative;
    list-style: none;
    /* Remove default dots */
}

/* Premium Gold Bullet Points */
.content-area ul li::before {
    content: '•';
    color: var(--whiskey-400);
    /* Gold Bullet */
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    right: -20px;
    top: -5px;
    line-height: 1;
}

/* 3. IMAGE GALLERY GRID */
.service-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Images per row */
    gap: var(--spacing-md);
    margin-block: var(--spacing-lg);
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
    /* Zoom effect */
}

/* 4. SIDEBAR (Left Side) */
.sidebar {
    position: sticky;
    top: 100px;
    /* Sticks to top when scrolling */
}

.widget {
    background: var(--color-white);
    border: 1px solid var(--mirage-100);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.2rem;
    color: var(--mirage-950);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--whiskey-100);
}

/* Sidebar Menu Links */
.service-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-menu li {
    margin-bottom: 5px;
}

.service-menu a {
    display: block;
    padding: 10px 15px;
    color: var(--mirage-600);
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
    /* Prepare for hover effect */
}

.service-menu a:hover,
.service-menu a.active {
    background-color: var(--mirage-50);
    color: var(--mirage-950);
    border-right-color: var(--whiskey-400);
    /* Gold Active Line */
}

/* Sidebar CTA Box */
.sidebar-cta {
    background-color: var(--mirage-950);
    /* Dark Navy */
    color: var(--color-white);
    text-align: center;
    border: none;
}

.sidebar-cta h4 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.sidebar-cta p {
    color: var(--mirage-200);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

/* 5. RESPONSIVE */
@media (max-width: 992px) {
    .page-layout {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
    }

    .sidebar {
        position: static;
        /* No sticky on mobile */
        order: 2;
        /* Move sidebar to bottom */
    }

    .content-area {
        order: 1;
    }

    .service-gallery {
        grid-template-columns: 1fr;
        /* 1 Image per row on mobile */
    }
}
/* =========================
   BLOG STYLES (Paste at bottom of page.css)
   ========================= */

.blog-grid {
    display: grid;
    /* Responsive Grid: Cards will never be smaller than 280px */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    padding-block: 60px;
}

.blog-card {
    background: #fff;
    border-radius: 12px; /* Smooth corners */
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); /* Light shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.blog-img-box {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-img-box img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-title a {
    color: #1a202c; /* Dark text */
    text-decoration: none;
    transition: color 0.2s;
}

.blog-title a:hover {
    color: #d69e2e; /* Gold hover */
}

.blog-excerpt {
    color: #4a5568;
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more-btn {
    margin-top: auto;
    color: #d69e2e; /* Gold color */
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Pagination Styles */
.pagination-box {
    grid-column: 1 / -1; /* Make pagination span full width */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.pagination-btn {
    padding: 10px 20px;
    background-color: #1a202c; /* Dark background */
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s;
}

.pagination-btn:hover {
    background-color: #d69e2e; /* Gold hover */
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .blog-grid {
        gap: 20px;
        padding-block: 30px;
    }
    .page-title {
        font-size: 2rem;
    }
}