/*
 * Ported from the legacy Angular app's global src/styles.css.
 * Floating action buttons (.myBtn), the fullscreen overlay (.overlay) used by the
 * chakra / gallery lightboxes, and smooth scrolling.
 */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.myBtn {
    display: none; /* toggled to block when scrolled / on contact button */
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #d4b12d;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    opacity: 0.6;
    padding-bottom: 9px;
}

.myBtn:hover {
    background-color: #555;
}

.overlay {
    width: 100%;
    height: 0;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 0%;
    height: 100%;
    text-align: center;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    z-index: 101;
    cursor: pointer;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
    color: #f1f1f1;
}

/* Inner content pages already sit below the fixed header zone; trim their large
   section top padding so they don't leave an oversized gap under the navbar.
   (The home hero is unaffected — it doesn't use .about-area / .contact-area.) */
.about-area.pt-80 {
    padding-top: 30px;
}
.contact-area.pt-125 {
    padding-top: 45px;
}

/* Keep the 10 nav items on one line (no mid-phrase wrap like "About Guru"). */
@media (min-width: 992px) {
    .navbar .navbar-nav .nav-item {
        margin-right: 16px;
    }
    .navbar .navbar-nav .nav-item:last-child {
        margin-right: 0;
    }
    .navbar .navbar-nav .nav-item a {
        white-space: nowrap;
        font-size: 14px;
    }
}
@media (min-width: 1200px) {
    .navbar .navbar-nav .nav-item a {
        font-size: 14px;
    }
}

/* Meditation on Twin Hearts CTA widget. */
.meditation-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border: 1px solid #f0e2a8;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(212, 177, 45, 0.25);
    z-index: 98;
    overflow: hidden;
    transition: transform 0.5s ease;
}
/* Peeked: slide most of it off the left edge, leaving a small hover/tap handle. */
.meditation-notification.peeked {
    transform: translateX(calc(-100% + 46px));
    cursor: pointer;
}
.meditation-close-btn {
    position: absolute;
    top: 6px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: #999;
    cursor: pointer;
}
.meditation-close-btn:hover {
    color: #333;
}
.meditation-notification-content {
    padding: 18px 16px 16px;
    text-align: center;
}
.meditation-header {
    margin-bottom: 6px;
}
.meditation-heart {
    font-size: 26px;
}
.meditation-intro {
    font-size: 12px;
    color: #777;
    margin: 6px 0 0;
}
.meditation-title {
    color: #d4b12d;
    font-weight: 700;
    margin: 8px 0 6px;
    font-size: 18px;
}
.meditation-info-row {
    font-size: 14px;
    color: #555;
}
.meditation-highlight {
    font-size: 13px;
    color: #444;
    margin: 8px 0 12px;
}
.meditation-zoom-btn {
    display: block;
    background: #d4b12d;
    color: #fff !important;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 8px;
    text-decoration: none;
}
.meditation-zoom-btn:hover {
    background: #b9982a;
}
.meditation-donation {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f0e2a8;
}
.meditation-donation-title {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin: 0 0 8px;
}
.meditation-give-btn {
    display: inline-block;
    background: #fff;
    border: 1px solid #d4b12d;
    color: #d4b12d !important;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 8px;
    text-decoration: none;
}
.meditation-give-btn:hover {
    background: #d4b12d;
    color: #fff !important;
}

@media (max-width: 991px) {
    .meditation-notification {
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: auto;
    }
    /* On mobile, peek by sliding down off the bottom, leaving a small handle. */
    .meditation-notification.peeked {
        transform: translateY(calc(100% - 50px));
    }
}

/*
 * Chakra grid images gently rotate clockwise, then back anticlockwise,
 * continuously. Alternating start direction (even/odd) keeps neighbours
 * out of sync so the grid feels alive rather than uniform.
 */
@keyframes chakraSpinCW {
    0%   { transform: rotate(0deg); }
    50%  { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}
@keyframes chakraSpinCCW {
    0%   { transform: rotate(0deg); }
    50%  { transform: rotate(-360deg); }
    100% { transform: rotate(0deg); }
}
.chakra {
    transform-origin: center center;
    will-change: transform;
    animation: chakraSpinCW 10s ease-in-out infinite;
}
.chakra:nth-child(even),
.row > div:nth-child(even) .chakra {
    animation-name: chakraSpinCCW;
}
@media (prefers-reduced-motion: reduce) {
    .chakra {
        animation: none;
    }
}

/*
 * Footer: symmetric three-column layout (Brand · Essential Links · Get in Touch).
 * The legacy footer styles assume a two-column form layout, so a few overrides
 * keep the columns centred and balanced.
 */
.footer-brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.footer-brand-logos a {
    display: inline-flex;
}
/* Both logos render in an identical box so they share the same height + width,
   regardless of their different intrinsic aspect ratios. */
.footer-brand-logos img,
.footer-brand-logos a img {
    height: 90px;
    width: 150px;
    object-fit: contain;
}
/* Centre the social row (override legacy first-child indent). */
.footer-logo .footer-social {
    text-align: center;
}
.footer-logo .footer-social li:first-child {
    margin-left: 15px;
}
/* Get in Touch: centred icon + text rows. */
.footer-contact-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 12px;
    color: #646464;
    font-size: 16px;
}
.footer-contact-list li i {
    font-size: 18px;
    color: #d4b12d;
}
.footer-credit-links li a {
    font-size: 15px;
}
