/* ==========================================================================
   GuruGhar Estate - Premium Footer Redesign Styles
   ========================================================================== */

:root {
    --f-bg: #1a191e;                    /* Deep obsidian luxury charcoal background */
    --f-dark: #302f35;                  /* Slate charcoal accent matching founders section */
    --f-gold: #d4af37;                  /* Premium brand luxury gold */
    --f-gold-glow: rgba(212, 175, 55, 0.25);
    
    --f-text: #ffffff;                  /* Off-white text */
    --f-text-muted: #bcbcbf;            /* Soft muted sub-text */
    --f-border: rgba(212, 175, 55, 0.15); /* Gold-tinted border overlay */
    
    --f-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer {
    background-color: var(--f-bg);
    background-image: linear-gradient(180deg, #1e1d23 0%, #131216 100%);
    color: var(--f-text);
    font-family: 'Outfit', 'Poppins', sans-serif;
    position: relative;
    padding-top: 140px;                 /* Extra space at top to breathe with overlay CTA */
    margin-top: 100px;
    border-top: 3px solid var(--f-gold);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================================================
   PREMIUM CONSULTATION CTA STRIP
   ========================================================================== */
.footer-cta-strip {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1320px;
    background: linear-gradient(90deg, #302f35 0%, #1e1d23 100%);
    border: 1px solid var(--f-border);
    border-top: 2px solid var(--f-gold);
    border-radius: 12px;
    padding: 35px 50px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.08);
    z-index: 10;
    box-sizing: border-box;
}

.footer-cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.footer-cta-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}

.footer-cta-text p {
    color: var(--f-text-muted);
    font-size: 14.5px;
    margin: 0;
    font-weight: 300;
}

/* Tactile skewed gold button */
.footer-cta-btn {
    display: inline-block;
    background-color: var(--f-gold);
    color: #1a191e;
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 4px;
    border: 1px solid var(--f-gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
    transition: var(--f-transition);
    white-space: nowrap;
}

.footer-cta-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.footer-cta-btn:hover {
    background-color: transparent;
    color: var(--f-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

.footer-cta-btn:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   FOUR-COLUMN LAYOUT GRID
   ========================================================================== */
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.3fr;
    gap: 50px;
    padding-bottom: 70px;
}

/* COL 1: BRANDING & PROFILE */
.footer-brand-wrap {
    margin-bottom: 22px;
}

.footer-logo {
    max-height: 75px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.tagline {
    font-family: 'Playfair Display', serif;
    color: var(--f-gold);
    font-size: 19px;
    font-style: italic;
    font-weight: 600;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

.desc {
    color: var(--f-text-muted);
    font-size: 14.5px;
    line-height: 1.8;
    margin: 0 0 28px 0;
    font-weight: 300;
}

/* Tactile Social Buttons */
.social-icons-wrapper {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border: 1px solid var(--f-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.02);
    text-decoration: none;
    font-size: 15px;
    transition: var(--f-transition);
}

.social-icon:hover {
    background: var(--f-gold);
    border-color: var(--f-gold);
    color: #1a191e;
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(212, 175, 55, 0.35);
}

/* COLS 2 & 3 & 4: GENERAL STRUCTURE */
.col-title {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 32px 0;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    letter-spacing: 0.5px;
}

.col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--f-gold);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-col:hover .col-title::after {
    width: 100%;
}

/* NAVIGATION & PRESENCE LINKS */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--f-text-muted);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--f-transition);
}

.footer-links a i {
    font-size: 11px;
    color: var(--f-gold);
    opacity: 0.7;
    transition: var(--f-transition);
}

.footer-links a:hover {
    color: var(--f-gold);
    padding-left: 6px;
}

.footer-links a:hover i {
    transform: translateX(3px);
    opacity: 1;
}

/* COL 4: SYNC'D CONTACT INFO & MAP */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-list li:last-child {
    margin-bottom: 0;
}

.contact-list i {
    color: var(--f-gold);
    font-size: 16px;
    margin-top: 5px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-info-block a {
    color: var(--f-text-muted);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 300;
    transition: var(--f-transition);
}

.contact-info-block a:hover {
    color: var(--f-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.contact-info-block.text-block {
    color: var(--f-text-muted);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 300;
}

.contact-info-block strong {
    color: #ffffff;
    font-weight: 600;
}

/* Integrated Google Map Frame */
.footer-map-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--f-border);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--f-transition);
}

.footer-map-wrapper iframe {
    filter: grayscale(10%) contrast(105%);
    transition: var(--f-transition);
}

.footer-map-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--f-gold-glow);
    border-color: var(--f-gold);
}

/* ==========================================================================
   BOTTOM COPYRIGHT STRIP
   ========================================================================== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text {
    margin: 0;
    color: #9c9ca0;
    font-size: 13.5px;
    font-weight: 300;
}

/* Tech credit links */
.mineib-credit {
    margin: 0;
    font-size: 13.5px;
    color: #9c9ca0;
    font-weight: 300;
}

.mineib-link {
    position: relative;
    color: var(--f-gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--f-transition);
    display: inline-block;
}

.mineib-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1.5px;
    bottom: -3px;
    left: 0;
    background: linear-gradient(90deg, var(--f-gold), #ffffff, var(--f-gold));
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.mineib-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.mineib-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
    animation: footerGradientMove 2s linear infinite;
}

@keyframes footerGradientMove {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* ==========================================================================
   BACK TO TOP FLOATING BUTTON
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--f-gold);
    color: #1a191e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 17px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: var(--f-transition);
    transform: translateY(20px);
    z-index: 1000;
    border: 2px solid transparent;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--f-bg);
    color: var(--f-gold);
    border-color: var(--f-gold);
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

/* ==========================================================================
   RESPONSIVENESS & MOBILE COLLAPSE
   ========================================================================== */

/* Tablet & Smaller Desktops */
@media screen and (max-width: 1200px) {
    .footer-cta-strip {
        padding: 30px 40px;
        width: calc(100% - 60px);
    }
    
    .footer-cta-text h3 {
        font-size: 23px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px 40px;
    }
}

/* Tablet (Portrait) */
@media screen and (max-width: 992px) {
    .footer-cta-strip {
        position: relative;
        top: 0;
        transform: none;
        left: 0;
        width: 100%;
        margin-bottom: 60px;
    }
    
    .footer {
        padding-top: 80px;
    }
}

/* Small Tablets & Large Mobile Screens */
@media screen and (max-width: 768px) {
    .footer-cta-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 45px;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto;
    }
    
    .desc {
        margin: 0 auto 28px auto;
    }
    
    .social-icons-wrapper {
        justify-content: center;
    }
    
    .col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
    
    .contact-list li {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .contact-list i {
        margin-top: 0;
    }
    
    .contact-info-block {
        align-items: center;
        text-align: center;
    }
    
    .footer-map-wrapper {
        max-width: 320px;
        margin: 15px auto 0 auto;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 15px;
    }
}
