/* Inner pages - Gallery & Services */

.page-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%);
    padding: clamp(3rem, 8vw, 4.5rem) 0;
    text-align: center;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 80% 30%, rgba(220, 38, 38, 0.08) 0%, transparent 40%);
    pointer-events: none;
}
.page-hero .container {
    position: relative;
    z-index: 1;
}
.page-hero .page-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fbbf24;
    margin-bottom: 0.75rem;
}
.page-hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
}
.page-hero p {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.page-hero .hero-divider {
    height: 4px;
    width: 70px;
    background: linear-gradient(90deg, #d4af37, #fbbf24);
    margin: 1.25rem auto 0;
    border-radius: 2px;
}

.page-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: #fff;
}
.page-section--alt {
    background: #f8fafc;
}

/* Override legacy .pages from style.css */
.pages {
    padding: 0;
    background: none;
}
.pages h1,
.pages h2 {
    font-size: inherit;
    background: none;
}

/* ── Gallery ── */
.gallery-page {
    background: #f8fafc;
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
}
.gallery-grid {
    margin-top: 0.5rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: clamp(200px, 28vw, 260px);
    margin-bottom: 30px;
    box-shadow: 0 8px 25px -5px rgba(15, 23, 42, 0.12);
    background: #0f172a;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}
.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25);
    border-color: rgba(212, 175, 55, 0.35);
}
#vlightbox1 .gallery-item a.vlightbox1 {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
}
.gallery-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.gallery-item:hover .gallery-img {
    transform: scale(1.08);
    opacity: 0.85;
}
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
    padding: 24px 16px 14px;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    text-align: center;
}
.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}
.gallery-text {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fbbf24;
}
.gallery-empty {
    background: #fff;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    color: #64748b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px dashed #cbd5e1;
}
.gallery-empty i {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
    display: block;
}
.custom-pagination {
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}
.custom-pagination .page-item {
    list-style: none;
}
.custom-pagination .page-link {
    color: #334155;
    border-radius: 10px;
    min-width: 42px;
    text-align: center;
    border: 1px solid #e2e8f0;
    padding: 8px 14px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: #fff;
}
.custom-pagination .page-link:hover {
    background: #fffbeb;
    border-color: #d4af37;
    color: #92400e;
    transform: translateY(-2px);
    text-decoration: none;
}
.custom-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #d4af37 0%, #aa8529 100%);
    border-color: #d4af37;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
    font-weight: 600;
}
.custom-pagination .page-item.disabled .page-link {
    opacity: 0.45;
    pointer-events: none;
    background: #f1f5f9;
}

/* ── Services ── */
.services-intro {
    max-width: 820px;
    margin: 0 auto 3rem;
    text-align: center;
}
.services-intro p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.85;
    margin-bottom: 1rem;
    text-align: center;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}
@media (min-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #fbbf24);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}
.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(212, 175, 55, 0.25);
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, #d4af37 0%, #aa8529 100%);
    border-color: #d4af37;
    transform: scale(1.08);
}
.service-icon i {
    font-size: 1.75rem;
    color: #991b1b;
    transition: color 0.3s ease;
}
.service-card:hover .service-icon i {
    color: #0f172a;
}
.service-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}
.service-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}
.services-note {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-radius: 16px;
    padding: clamp(1.5rem, 4vw, 2rem);
    border-left: 5px solid #d4af37;
    margin-top: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.services-note p {
    margin: 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
}
.services-note strong {
    color: #92400e;
}

/* ── About Us ── */
.about-page {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: #fff;
}
.about-page .about-text h2 {
    font-family: 'Cinzel', serif;
    color: #991b1b;
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    margin-bottom: 1rem;
}
.about-page .about-text p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.85;
    margin-bottom: 1.25rem;
    text-align: justify;
}
.why-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: #f8fafc;
}
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.why-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: 0 8px 25px -5px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px -8px rgba(15, 23, 42, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
}
.why-card i {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 1rem;
    display: block;
}
.why-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}
.why-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}
#about .pages p {
    background: none;
    padding: 0;
    color: inherit;
    text-align: inherit;
}

@media (max-width: 575px) {
    .gallery-item {
        height: 220px;
    }
    .gallery-text {
        font-size: 0.85rem;
    }
    .custom-pagination .page-link {
        min-width: 36px;
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}
