/* ==========================================================================
   VELIYATH GOLD & DIAMONDS
   FRONTEND — FOOTER (HIGH-CONTRAST LUXURY EDITORIAL)
   ========================================================================== */


/* ==========================================================================
   SITE FOOTER (REFINED OBSIDIAN NOIR BACKDROP)
   ========================================================================== */

.site-footer {
    position: relative;
    width: 100%;
    margin-top: auto;

    /* Deep obsidian noir with ambient gold/maroon radial glow for contrast */
    background:
        radial-gradient(circle at 18% 20%, rgba(216, 184, 117, 0.09) 0%, transparent 32%),
        radial-gradient(circle at 85% 80%, rgba(125, 24, 54, 0.18) 0%, transparent 42%),
        #120509;

    color: var(--color-text-white, #ffffff);
    border-top: 1px solid rgba(216, 184, 117, 0.32);
}


/* ==========================================================================
   FOOTER MAIN LAYOUT
   ========================================================================== */

.site-footer-main {
    padding: clamp(60px, 6vw, 90px) 0 clamp(50px, 5vw, 75px);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(250px, 1.4fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr) minmax(230px, 1fr);
    gap: clamp(35px, 3.8vw, 60px);
}


/* ==========================================================================
   FOOTER BRAND & LOGO HIGHLIGHT TREATMENT
   ========================================================================== */

.site-footer-brand {
    max-width: 380px;
}

/* Logo container with soft backdrop to guarantee dark maroon text pops */
.site-footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(216, 184, 117, 0.45);
    border-radius: var(--radius-sm, 6px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    text-decoration: none;
    transition: transform var(--transition-normal, 0.25s ease), box-shadow var(--transition-normal, 0.25s ease);
}

.site-footer-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(216, 184, 117, 0.25);
}

.site-footer-logo img {
    display: block;
    width: clamp(155px, 12vw, 180px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.site-footer-description {
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(13.5px, 0.95vw, 15px);
    line-height: 1.82;
    font-weight: 400;
}

.site-footer-enquire {
    display: inline-flex;
}


/* ==========================================================================
   FOOTER TITLES
   ========================================================================== */

.site-footer-title {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 12px;
    color: var(--color-text-white, #ffffff);
    font-family: var(--font-heading, "Playfair Display", Georgia, serif);
    font-size: clamp(18px, 1.35vw, 21px);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.site-footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--color-gold, #b08d3c);
}


/* ==========================================================================
   FOOTER LINKS
   ========================================================================== */

.site-footer-links {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.site-footer-links a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(13px, 0.9vw, 14.5px);
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    transition: color var(--transition-normal, 0.25s ease), padding-left var(--transition-normal, 0.25s ease);
}

.site-footer-links a:hover {
    padding-left: 6px;
    color: var(--color-gold-light, #c7a85d);
}


/* ==========================================================================
   FOOTER CONTACT
   ========================================================================== */

.site-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.site-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(13px, 0.9vw, 14.5px);
    line-height: 1.6;
    text-decoration: none;
    transition: color var(--transition-normal, 0.25s ease);
}

.site-footer-contact-item:hover {
    color: var(--color-gold-light, #c7a85d);
}

.site-footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: var(--color-gold-light, #c7a85d);
}

.site-footer-contact-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================================
   OUTLINE GOLD BUTTON
   ========================================================================== */

.site-footer .btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border: 1px solid var(--color-gold, #b08d3c);
    border-radius: var(--radius-sm, 4px);
    background: transparent;
    color: var(--color-gold-light, #c7a85d);
    font-family: var(--font-body, "Inter", sans-serif);
    font-size: clamp(11.5px, 0.8vw, 13px);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color var(--transition-normal, 0.25s ease), color var(--transition-normal, 0.25s ease), border-color var(--transition-normal, 0.25s ease), transform var(--transition-normal, 0.25s ease);
}

.site-footer .btn-outline-gold:hover {
    background: var(--color-gold, #b08d3c);
    border-color: var(--color-gold, #b08d3c);
    color: #120509;
    transform: translateY(-2px);
}


/* ==========================================================================
   FOOTER BOTTOM
   ========================================================================== */

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
}

.site-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 20px;
}

.site-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: clamp(11.5px, 0.8vw, 13px);
    line-height: 1.5;
}

.site-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: clamp(11.5px, 0.8vw, 13px);
    text-decoration: none;
    transition: color var(--transition-normal, 0.25s ease);
}

.site-footer-bottom-links a:hover {
    color: var(--color-gold-light, #c7a85d);
}


/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */

.floating-whatsapp,
.floating-phone,
.back-to-top {
    position: fixed;
    z-index: var(--z-fixed, 1200);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-normal, 0.25s ease), opacity var(--transition-normal, 0.25s ease), visibility var(--transition-normal, 0.25s ease);
}

.floating-whatsapp {
    right: 22px;
    bottom: 22px;
    background: #25D366;
    color: #ffffff;
}

.floating-whatsapp:hover {
    color: #ffffff;
    transform: translateY(-4px) scale(1.04);
}

.floating-whatsapp svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.floating-phone {
    right: 22px;
    bottom: 84px;
    background: var(--color-primary, #7d1836);
    border: 1px solid rgba(216, 184, 117, 0.4);
    color: var(--color-text-white, #ffffff);
}

.floating-phone:hover {
    color: var(--color-text-white, #ffffff);
    transform: translateY(-4px) scale(1.04);
}

.floating-phone svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.back-to-top {
    right: 22px;
    bottom: 146px;
    opacity: 0;
    visibility: hidden;
    background: var(--color-gold, #b08d3c);
    border: 0;
    color: #120509;
    cursor: pointer;
    transform: translateY(10px);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.04);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1100px) {
    .site-footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 45px;
    }

    .site-footer-brand {
        max-width: 420px;
    }
}

@media (max-width: 850px) {
    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 35px;
    }

    .site-footer-brand {
        max-width: 100%;
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .site-footer-title {
        margin-bottom: 18px;
    }

    .site-footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
        text-align: center;
        gap: 10px;
    }

    .site-footer-bottom-links {
        justify-content: center;
        gap: 16px;
    }

    .floating-whatsapp,
    .floating-phone,
    .back-to-top {
        width: 46px;
        height: 46px;
        right: 16px;
    }

    .floating-whatsapp {
        bottom: 16px;
    }

    .floating-phone {
        bottom: 72px;
    }

    .back-to-top {
        bottom: 128px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer-links a,
    .site-footer-contact-item,
    .site-footer-bottom-links a,
    .site-footer .btn-outline-gold,
    .site-footer-logo,
    .floating-whatsapp,
    .floating-phone,
    .back-to-top {
        transition: none !important;
    }
}