/* Vashistha Gurukul — Premium Homepage Hero */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #101c2b;
    background-image:
        linear-gradient(
            90deg,
            rgba(9, 18, 31, 0.91) 0%,
            rgba(12, 23, 38, 0.82) 50%,
            rgba(12, 23, 38, 0.76) 100%
        ),
        url('/images/home/hero-shri-yantra.webp');
    background-position: center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    padding: 125px 24px;
    border-bottom: 1px solid rgba(204, 168, 93, 0.28);
}

.hero .eyebrow {
    color: #dfbd79;
}

.hero h1 {
    color: #fff9ee;
    text-shadow: 0 3px 25px rgba(0, 0, 0, 0.35);
}

.hero p {
    color: #e7e0d5;
}

@media (max-width: 700px) {
    .hero {
        padding: 95px 20px;
        background-position: center;
    }
}

/* Hero refinement — full-width cinematic presentation */
.hero.container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(9, 18, 31, 0.78) 0%,
            rgba(12, 23, 38, 0.69) 50%,
            rgba(12, 23, 38, 0.65) 100%
        ),
        url('/images/home/hero-shri-yantra.webp');
}

/* Premium Collection Cards */

.collection-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 42px;
    border: 1px solid rgba(201, 164, 104, 0.35);
    background-color: #101c2b;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-card:nth-child(1) {
    background-image:
        linear-gradient(
            180deg,
            rgba(9, 18, 31, 0.12) 0%,
            rgba(9, 18, 31, 0.60) 48%,
            rgba(9, 18, 31, 0.96) 100%
        ),
        url('/images/home/collections/spiritual-courses.webp');
}

.collection-card:nth-child(2) {
    background-image:
        linear-gradient(
            180deg,
            rgba(9, 18, 31, 0.12) 0%,
            rgba(9, 18, 31, 0.60) 48%,
            rgba(9, 18, 31, 0.96) 100%
        ),
        url('/images/home/collections/digital-library.webp');
}

.collection-card h3 {
    position: relative;
    z-index: 1;
    color: #fff9ee;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.25;
    margin-bottom: 16px;
}

.collection-card p {
    position: relative;
    z-index: 1;
    color: #e8e0d3;
    line-height: 1.75;
    margin-bottom: 22px;
}

.collection-card a {
    position: relative;
    z-index: 1;
    color: #d5ad6d;
    font-weight: 700;
    text-decoration: none;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(9, 18, 31, 0.18);
}

@media (max-width: 700px) {
    .collection-card {
        min-height: 330px;
        padding: 30px 24px;
    }
}

/* Collection image correction */

.collections .grid > .collection-card:nth-child(1) {
    background-image:
        linear-gradient(180deg, rgba(9,18,31,0.15), rgba(9,18,31,0.92)),
        url('/images/home/collections/spiritual-courses.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    color: #fff9ee !important;
}

.collections .grid > .collection-card:nth-child(2) {
    background-image:
        linear-gradient(180deg, rgba(9,18,31,0.15), rgba(9,18,31,0.92)),
        url('/images/home/collections/arcane-library.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    color: #fff9ee !important;
}

.collections .grid > .collection-card:nth-child(-n+2) h3 {
    color: #fff9ee !important;
}

.collections .grid > .collection-card:nth-child(-n+2) p {
    color: #e8e0d3 !important;
}

