/* ============================================================
   VD About Us V2 Page Widget — about-us-v2.css
   ============================================================ */

/* ── GLOBALS ── */
.vd-about-v2-wrapper {
    font-family: 'Baloo Bhai 2', cursive, sans-serif;
    color: #333;
    background-color: #faf7f2;
    overflow: hidden;
}
.vd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.vd-about-v2-section-header {
    text-align: center;
    margin-bottom: 50px;
}
.vd-about-v2-section-title {
    font-size: 38px;
    color: #7A191A;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.vd-about-v2-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #7A191A, #E9B855);
    margin: 0 auto;
    border-radius: 2px;
}

/* ── HERO ── */
.vd-about-v2-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 150px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #501d1d; /* Fallback */
}
.vd-about-v2-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(122,25,26,0.92) 0%, rgba(122,25,26,0.5) 100%);
    z-index: 1;
}
.vd-about-v2-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px 50px;
    animation: vd-fade-up 1s ease forwards;
    max-width: 900px;
}
@keyframes vd-fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.vd-about-v2-hero-title {
    font-size: 56px;
    font-weight: 800;
    margin: 0 0 20px 0;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
    letter-spacing: 2px;
}
.vd-about-v2-hero-desc {
    font-size: 24px;
    color: #E9B855;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1.6;
}

/* ── SAINTS GRID ── */
.vd-about-v2-saints {
    padding: 80px 0;
    background: #fff;
}
.vd-about-v2-saints-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.vd-about-v2-saint-card {
    background: #faf7f2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(233,184,85,0.2);
    transition: all 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.vd-about-v2-saint-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(122,25,26,0.1);
    border-color: #E9B855;
}
.vd-about-v2-saint-img {
    width: 100%;
    aspect-ratio: 1;
    background: #fff;
    border-bottom: 4px solid #E9B855;
    overflow: hidden;
}
.vd-about-v2-saint-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.vd-about-v2-saint-card:hover .vd-about-v2-saint-img img {
    transform: scale(1.1);
}
.vd-about-v2-saint-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #7A191A;
    opacity: 0.2;
}
.vd-about-v2-saint-info {
    padding: 25px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.vd-about-v2-saint-name {
    font-size: 18px;
    color: #7A191A;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.4;
}
.vd-about-v2-saint-btn {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(122,25,26,0.05);
    color: #7A191A;
    border: 1px solid #7A191A;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: auto;
}
.vd-about-v2-saint-btn:hover {
    background: #7A191A;
    color: #fff;
}

/* ── SPLIT LAYOUTS (VISAMAN & PALIYAD) ── */
.vd-about-v2-visaman {
    padding: 80px 0;
    background: #faf7f2;
}
.vd-about-v2-paliyad {
    padding: 80px 0;
    background: #fff;
}
.vd-about-v2-split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}
.vd-about-v2-split-layout.reverse {
    flex-direction: row-reverse;
}
.vd-about-v2-split-content {
    flex: 1;
}
.vd-about-v2-split-title {
    font-size: 40px;
    color: #7A191A;
    font-weight: 800;
    margin-bottom: 25px;
}
.vd-about-v2-split-text {
    font-size: 17px;
    color: #555;
    line-height: 1.9;
}
.vd-about-v2-split-text p {
    margin-bottom: 20px;
}
.vd-about-v2-split-media {
    flex: 1;
    position: relative;
    min-height: 400px;
}
.vd-about-v2-main-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
}
.vd-about-v2-img-placeholder {
    width: 100%;
    height: 400px;
    background: #e8e0d1;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}
.vd-about-v2-ornament-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid #E9B855;
    border-radius: 20px;
    z-index: 1;
}
.vd-about-v2-split-layout.reverse .vd-about-v2-ornament-bg {
    right: auto;
    left: -20px;
}

/* OVERLAPPING IMAGES (PALIYAD) */
.vd-about-v2-split-media.overlapping {
    display: flex;
    position: relative;
    min-height: 500px;
}
.vd-about-v2-img-large {
    width: 80%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}
.vd-about-v2-img-large-placeholder {
    width: 80%;
    height: 400px;
    background: #e8e0d1;
    border-radius: 20px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}
.vd-about-v2-img-small {
    width: 50%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(122,25,26,0.3);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    border: 8px solid #fff;
}
.vd-about-v2-img-small-placeholder {
    width: 50%;
    height: 300px;
    background: #d4cbb8;
    border-radius: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    border: 8px solid #fff;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .vd-about-v2-saints-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .vd-about-v2-split-layout {
        gap: 40px;
    }
}
@media (max-width: 768px) {
    .vd-about-v2-hero-title {
        font-size: 42px;
    }
    .vd-about-v2-hero-desc {
        font-size: 20px;
    }
    .vd-about-v2-saints-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vd-about-v2-split-layout, .vd-about-v2-split-layout.reverse {
        flex-direction: column;
        gap: 50px;
    }
    .vd-about-v2-split-media, .vd-about-v2-split-media.overlapping {
        width: 100%;
        min-height: 350px;
    }
    .vd-about-v2-img-large, .vd-about-v2-img-large-placeholder {
        width: 90%;
        height: 300px;
    }
    .vd-about-v2-img-small, .vd-about-v2-img-small-placeholder {
        height: 200px;
    }
}
@media (max-width: 480px) {
    .vd-about-v2-saints-grid {
        grid-template-columns: 1fr;
    }
    .vd-about-v2-hero-title {
        font-size: 32px;
    }
    .vd-about-v2-split-title {
        font-size: 32px;
    }
}
