/* =========================================================
   DIWALI THEME — Ruparel WestSky
   Remove after the festival: delete this file's <link> and
   the two blocks marked "DIWALI" in index.html.
   ========================================================= */

:root {
    --dw-marigold: #f7931e;
    --dw-saffron: #ffc93c;
    --dw-gold: #e8b64a;
    --dw-clay: #a8461a;
    --dw-leaf: #377a2b;
}

/* ---------- Marigold toran hanging under the nav ---------- */
.dw-toran {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 38px;
    pointer-events: none;
    z-index: 2;
    background-repeat: repeat-x;
    background-size: 46px 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='46' viewBox='0 0 56 46'%3E%3Cpath d='M0 3 Q28 9 56 3' stroke='%23b8860b' stroke-width='1.6' fill='none'/%3E%3Cpath d='M14 5 q5 9 0 17 q-5 -8 0 -17z' fill='%23377a2b'/%3E%3Cpath d='M14 6 v15' stroke='%23215018' stroke-width='.8'/%3E%3Cpath d='M42 5 q5 9 0 17 q-5 -8 0 -17z' fill='%23377a2b'/%3E%3Cpath d='M42 6 v15' stroke='%23215018' stroke-width='.8'/%3E%3Cpath d='M28 6 V40' stroke='%23b8860b' stroke-width='1'/%3E%3Ccircle cx='28' cy='12' r='5.6' fill='%23f7931e'/%3E%3Ccircle cx='28' cy='12' r='2.4' fill='%23c85a00'/%3E%3Ccircle cx='28' cy='22.5' r='5.6' fill='%23ffc93c'/%3E%3Ccircle cx='28' cy='22.5' r='2.4' fill='%23e08a00'/%3E%3Ccircle cx='28' cy='33' r='5.6' fill='%23f7931e'/%3E%3Ccircle cx='28' cy='33' r='2.4' fill='%23c85a00'/%3E%3Ccircle cx='28' cy='41.5' r='2' fill='%23d4322c'/%3E%3C/svg%3E");
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25));
}

/* ---------- Akash kandil (star lanterns) on both sides ---------- */
.dw-kandil {
    position: absolute;
    top: 100%;
    width: 84px;
    pointer-events: none;
    z-index: 3;
    transform-origin: 50% 0;
    animation: dw-swing 5s ease-in-out infinite;
}

.dw-kandil svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.dw-kandil--left { left: 4%; }
.dw-kandil--right { right: 4%; animation-delay: -2.5s; }

.dw-kandil .dw-glow {
    animation: dw-glow 2.4s ease-in-out infinite;
}

@keyframes dw-swing {
    0%, 100% { transform: rotate(3deg); }
    50% { transform: rotate(-3deg); }
}

@keyframes dw-glow {
    0%, 100% { opacity: .55; }
    50% { opacity: .9; }
}

/* ---------- Diya row above the footer ---------- */
.dw-diyas {
    background: #111;
    text-align: center;
    padding: 34px 16px 8px;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(232, 182, 74, .35);
}

.dw-diyas__row {
    display: flex;
    justify-content: center;
    gap: clamp(14px, 4vw, 40px);
    margin-bottom: 14px;
}

.dw-diya {
    position: relative;
    width: 38px;
    height: 34px;
}

/* clay bowl */
.dw-diya::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 15px;
    background: linear-gradient(#c4622d, #7e3410);
    border-top: 2px solid var(--dw-gold);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

/* flame */
.dw-diya::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 15px;
    width: 10px;
    height: 18px;
    margin-left: -5px;
    border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
    background: radial-gradient(circle at 50% 75%, #fff6c2 0 25%, #ffc93c 45%, #f7931e 80%);
    box-shadow: 0 0 12px 4px rgba(255, 180, 40, .45);
    transform-origin: 50% 100%;
    animation: dw-flicker 1.6s ease-in-out infinite;
}

.dw-diya:nth-child(2n)::after { animation-delay: -.5s; }
.dw-diya:nth-child(3n)::after { animation-delay: -1.1s; }

@keyframes dw-flicker {
    0%, 100% { transform: scale(1, 1) rotate(-2deg); }
    30% { transform: scale(.92, 1.08) rotate(2deg); }
    60% { transform: scale(1.04, .94) rotate(-1deg); }
}

.dw-diyas p {
    margin: 0;
    color: var(--dw-gold);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .5px;
}

/* ---------- Small festive touches on existing elements ---------- */
.enquire_floating {
    border-color: var(--dw-marigold) !important;
    box-shadow: 0 0 14px rgba(247, 147, 30, .45);
}

.fixed-footer-cust {
    border-top: 3px solid var(--dw-saffron) !important;
}

#main-modal .modal-content {
    box-shadow: 0 0 0 2px var(--dw-gold), 0 0 30px rgba(247, 147, 30, .35);
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    .dw-toran {
        height: 30px;
        background-size: 36px 30px;
    }
    .dw-kandil { width: 54px; }
    .dw-kandil--left { display: none; } /* keep one lantern on small screens */
    .dw-kandil--right { right: 3%; }
    .dw-diya:nth-child(n+6) { display: none; }
}

/* ---------- Respect reduced-motion settings ---------- */
@media (prefers-reduced-motion: reduce) {
    .dw-kandil,
    .dw-kandil .dw-glow,
    .dw-diya::after {
        animation: none;
    }
}


/* =========================================================
   DIWALI — SECTION ACCENTS (opt-in classes)
   .dw-section            on a <section>: makes it a positioning frame
   .dw-section--rangoli   colourful rangoli in two corners (light backgrounds)
   .dw-section--rangoli-gold  gold line rangoli (dark / maroon backgrounds)
   <div class="dw-garland"></div>  marigold string along a section's top edge
   <div class="dw-divider"><span class="dw-diya dw-diya--sm"></span></div>
                          small diya divider under a heading
   ========================================================= */

.dw-section {
    position: relative;
    overflow: hidden;
}

.dw-section > * {
    position: relative;
    z-index: 1;
}

.dw-section--rangoli::before,
.dw-section--rangoli::after,
.dw-section--rangoli-gold::before,
.dw-section--rangoli-gold::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

.dw-section--rangoli::before,
.dw-section--rangoli-gold::before { top: -80px; left: -80px; }

.dw-section--rangoli::after,
.dw-section--rangoli-gold::after { bottom: -80px; right: -80px; }

.dw-section--rangoli::before,
.dw-section--rangoli::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-100 -100 200 200'%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(0.0)' fill='%23c2185b'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(22.5)' fill='%23f7931e'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(45.0)' fill='%23c2185b'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(67.5)' fill='%23f7931e'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(90.0)' fill='%23c2185b'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(112.5)' fill='%23f7931e'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(135.0)' fill='%23c2185b'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(157.5)' fill='%23f7931e'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(180.0)' fill='%23c2185b'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(202.5)' fill='%23f7931e'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(225.0)' fill='%23c2185b'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(247.5)' fill='%23f7931e'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(270.0)' fill='%23c2185b'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(292.5)' fill='%23f7931e'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(315.0)' fill='%23c2185b'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(337.5)' fill='%23f7931e'/%3E%3Ccircle r='50' fill='none' stroke='%236a1b9a' stroke-width='2' stroke-dasharray='3 5'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(22.5)' fill='%23ffc93c'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(67.5)' fill='%23ffc93c'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(112.5)' fill='%23ffc93c'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(157.5)' fill='%23ffc93c'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(202.5)' fill='%23ffc93c'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(247.5)' fill='%23ffc93c'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(292.5)' fill='%23ffc93c'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(337.5)' fill='%23ffc93c'/%3E%3Ccircle cx='0.0' cy='-58.0' r='3' fill='%2300897b'/%3E%3Ccircle cx='29.0' cy='-50.2' r='3' fill='%2300897b'/%3E%3Ccircle cx='50.2' cy='-29.0' r='3' fill='%2300897b'/%3E%3Ccircle cx='58.0' cy='-0.0' r='3' fill='%2300897b'/%3E%3Ccircle cx='50.2' cy='29.0' r='3' fill='%2300897b'/%3E%3Ccircle cx='29.0' cy='50.2' r='3' fill='%2300897b'/%3E%3Ccircle cx='0.0' cy='58.0' r='3' fill='%2300897b'/%3E%3Ccircle cx='-29.0' cy='50.2' r='3' fill='%2300897b'/%3E%3Ccircle cx='-50.2' cy='29.0' r='3' fill='%2300897b'/%3E%3Ccircle cx='-58.0' cy='0.0' r='3' fill='%2300897b'/%3E%3Ccircle cx='-50.2' cy='-29.0' r='3' fill='%2300897b'/%3E%3Ccircle cx='-29.0' cy='-50.2' r='3' fill='%2300897b'/%3E%3Ccircle r='12' fill='%23c2185b'/%3E%3Ccircle r='5' fill='%2300897b'/%3E%3C/svg%3E");
    opacity: .22;
}

.dw-section--rangoli-gold::before,
.dw-section--rangoli-gold::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-100 -100 200 200'%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(0.0)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(22.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(45.0)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(67.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(90.0)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(112.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(135.0)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(157.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(180.0)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(202.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(225.0)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(247.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(270.0)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(292.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(315.0)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-74' rx='9' ry='20' transform='rotate(337.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Ccircle r='50' fill='none' stroke='%23e8b64a' stroke-width='2' stroke-dasharray='3 5'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(22.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(67.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(112.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(157.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(202.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(247.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(292.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Cellipse cx='0' cy='-32' rx='10' ry='16' transform='rotate(337.5)' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Ccircle cx='0.0' cy='-58.0' r='3' fill='%23ffc93c'/%3E%3Ccircle cx='29.0' cy='-50.2' r='3' fill='%23ffc93c'/%3E%3Ccircle cx='50.2' cy='-29.0' r='3' fill='%23ffc93c'/%3E%3Ccircle cx='58.0' cy='-0.0' r='3' fill='%23ffc93c'/%3E%3Ccircle cx='50.2' cy='29.0' r='3' fill='%23ffc93c'/%3E%3Ccircle cx='29.0' cy='50.2' r='3' fill='%23ffc93c'/%3E%3Ccircle cx='0.0' cy='58.0' r='3' fill='%23ffc93c'/%3E%3Ccircle cx='-29.0' cy='50.2' r='3' fill='%23ffc93c'/%3E%3Ccircle cx='-50.2' cy='29.0' r='3' fill='%23ffc93c'/%3E%3Ccircle cx='-58.0' cy='0.0' r='3' fill='%23ffc93c'/%3E%3Ccircle cx='-50.2' cy='-29.0' r='3' fill='%23ffc93c'/%3E%3Ccircle cx='-29.0' cy='-50.2' r='3' fill='%23ffc93c'/%3E%3Ccircle r='12' fill='none' stroke='%23e8b64a' stroke-width='1.6'/%3E%3Ccircle r='5' fill='%23ffc93c'/%3E%3C/svg%3E");
    opacity: .35;
}

/* marigold string along the top edge of a section */
.dw-section > .dw-garland {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    z-index: 2;
    pointer-events: none;
    background-repeat: repeat-x;
    background-size: 36px 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='46' viewBox='0 0 56 46'%3E%3Cpath d='M0 3 Q28 9 56 3' stroke='%23b8860b' stroke-width='1.6' fill='none'/%3E%3Cpath d='M14 5 q5 9 0 17 q-5 -8 0 -17z' fill='%23377a2b'/%3E%3Cpath d='M14 6 v15' stroke='%23215018' stroke-width='.8'/%3E%3Cpath d='M42 5 q5 9 0 17 q-5 -8 0 -17z' fill='%23377a2b'/%3E%3Cpath d='M42 6 v15' stroke='%23215018' stroke-width='.8'/%3E%3Cpath d='M28 6 V40' stroke='%23b8860b' stroke-width='1'/%3E%3Ccircle cx='28' cy='12' r='5.6' fill='%23f7931e'/%3E%3Ccircle cx='28' cy='12' r='2.4' fill='%23c85a00'/%3E%3Ccircle cx='28' cy='22.5' r='5.6' fill='%23ffc93c'/%3E%3Ccircle cx='28' cy='22.5' r='2.4' fill='%23e08a00'/%3E%3Ccircle cx='28' cy='33' r='5.6' fill='%23f7931e'/%3E%3Ccircle cx='28' cy='33' r='2.4' fill='%23c85a00'/%3E%3Ccircle cx='28' cy='41.5' r='2' fill='%23d4322c'/%3E%3C/svg%3E");
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25));
}

/* diya divider under headings */
.dw-divider {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    max-width: 240px;
    margin: 4px auto 22px;
}

.dw-divider::before,
.dw-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    margin-bottom: 5px;
    background: linear-gradient(to right, transparent, var(--dw-gold));
}

.dw-divider::after {
    background: linear-gradient(to left, transparent, var(--dw-gold));
}

.dw-diya--sm {
    flex: none;
    width: 26px;
    height: 24px;
}

.dw-diya--sm::before { height: 10px; border-top-width: 1.5px; }

.dw-diya--sm::after {
    bottom: 10px;
    width: 7px;
    height: 13px;
    margin-left: -3.5px;
    box-shadow: 0 0 9px 3px rgba(255, 180, 40, .4);
}

@media (max-width: 767px) {
    .dw-section--rangoli::before,
    .dw-section--rangoli::after,
    .dw-section--rangoli-gold::before,
    .dw-section--rangoli-gold::after {
        width: 140px;
        height: 140px;
    }
    .dw-section--rangoli::before,
    .dw-section--rangoli-gold::before { top: -50px; left: -50px; }
    .dw-section--rangoli::after,
    .dw-section--rangoli-gold::after { bottom: -50px; right: -50px; }
}

/* pull the diya divider up under headings that carry their own bottom margin */
.sub-head + .dw-divider { margin-top: -22px; }

/* diya strip in brand maroon (Stardom) */
.dw-diyas--maroon {
    background: #8f0812;
    border-top: 0;
}
