/* ==========================================================================
   Find Your Gym / Contact Section
   ========================================================================== */
.contact-section {
    background-color: #ffffff;
    padding: 2.8rem 0; /* Reduced further to compress vertical height */
    color: #000000;
}

.contact-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f09433;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-subtitle::after {
    content: "";
    width: 60px;
    height: 2px;
    background-color: #f09433;
}

.contact-title {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 1.5rem; /* Reduced to compress height */
    color: #0b0b0b;
}

.contact-details-wrapper {
    margin-bottom: 1.2rem; /* Reduced to compress height */
}

.contact-info-block {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 0.8rem; /* Reduced to compress height */
    padding: 0.6rem 0.8rem; /* Reduced padding */
    border-radius: 12px;
    background: #f8f9fa;
    border: 1px solid #eeeeee;
    transition: all 0.3s ease;
}

.contact-info-block:hover {
    background: #ffffff;
    border-color: #dc2743;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(220, 39, 67, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2743;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-block:hover .contact-icon {
    background-color: #dc2743;
    color: #ffffff;
}

.contact-text-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.contact-text-value {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #111111;
    margin: 0;
    font-weight: 600;
}

/* Opening Hours */
.opening-hours-table {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem; /* Reduced to compress height */
    background-color: #f9f9f9;
}

.opening-hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem; /* Reduced padding */
    border-bottom: 1px solid #e0e0e0;
}

.opening-hours-row:last-child {
    border-bottom: none;
}

.opening-hours-day {
    font-weight: 700;
    color: #111;
}

.opening-hours-time {
    color: #dc2743;
    font-weight: 600;
}

/* Action Buttons */
.contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-btn-primary {
    background-color: #dc2743;
    color: #fff;
    border: 1px solid #dc2743;
}

.contact-btn-primary:hover {
    background-color: #b01f35;
    color: #fff;
}

.contact-btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    border: 1px solid #25D366;
}

.contact-btn-whatsapp:hover {
    background-color: #128C7E;
    color: #fff;
}

.contact-btn-outline {
    background-color: transparent;
    color: #0B132B;
    border: 1.5px solid #0B132B;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    transition: all 0.25s ease;
}

.contact-btn-outline:hover {
    background-color: #0B132B !important;
    border-color: #0B132B !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(11, 19, 43, 0.15);
}

/* Social Row Styling */
.contact-social-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* Removed padding-top and border-top as requested to move icons up */
}

.contact-social-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: #999999;
    letter-spacing: 1px;
}

.contact-social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1mm; /* Moved 1mm down on desktop */
}

.c-social-icon {
    width: 64px; /* Increased size further */
    height: 64px;
    min-width: 64px; /* Ensures perfect circle */
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 1px solid #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    font-size: 1.8rem; /* Increased size further */
    box-shadow: 0 0 0 rgba(0,0,0,0);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-decoration: none;
    transform: none !important;
    transition: color 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.3s,
                border-color 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.3s,
                box-shadow 0.55s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
}

@media (min-width: 740px) {
    .c-social-icon::before {
        content: '';
        position: absolute;
        inset: -1px;
        border-radius: 50%;
        opacity: 0;
        z-index: 1;
        pointer-events: none;
        transition: opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
    }

    .c-social-icon:hover {
        transform: none !important; /* Button does not move */
        color: #ffffff !important;
        border-color: transparent !important;
        transition: color 0.08s ease 0s, border-color 0.08s ease 0s, box-shadow 0.08s ease 0s;
    }

    .c-social-icon:hover::before {
        opacity: 1;
        transition: opacity 0.08s ease 0s;
    }

    .c-social-icon i {
        position: relative;
        z-index: 2;
        pointer-events: none;
        transition: color 0.5s ease 0.3s, filter 0.55s ease 0.3s;
    }

    .c-social-icon:hover i {
        color: #ffffff !important;
        filter: none !important;
        transition: color 0.08s ease 0s;
    }

    /* Clean contact icon hover states - zero glow */
    .c-social-icon:hover,
    .c-social-icon.c-icon-ig:hover,
    .c-social-icon.c-icon-wa:hover,
    .c-social-icon.c-icon-yt:hover,
    .c-social-icon.c-icon-mail:hover,
    .c-social-icon.c-icon-gmap:hover,
    .c-social-icon.c-icon-call:hover {
        box-shadow: none !important;
    }

    .c-social-icon.c-icon-ig::before { background: linear-gradient(45deg, #f09433 0%, #e6683c 20%, #dc2743 40%, #cc2366 60%, #833ab4 80%, #405de6 100%); }
    .c-social-icon.c-icon-wa::before { background: #25D366; }
    .c-social-icon.c-icon-yt::before { background: #FF0000; }
    .c-social-icon.c-icon-mail::before, .c-social-icon.c-icon-gmap::before { background: conic-gradient(from 45deg, #EA4335 0deg 90deg, #4285F4 90deg 180deg, #34A853 180deg 270deg, #FBBC05 270deg 360deg); }
    .c-social-icon.c-icon-call::before { background: #007BFF; }
}

/* Map */
.contact-map {
    width: 100%;
    height: 100%;
    min-height: 250px; /* Reduced by an additional 25% */
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    pointer-events: none; /* Prevents scroll trapping */
}

@media (max-width: 739.98px) {
    .contact-title { font-size: 2.5rem; text-align: center; }
    .contact-subtitle { justify-content: center; }
    .contact-map { margin-top: -3rem; min-height: 280px; position: relative; z-index: 1; } /* Extended 2cm upwards without affecting page height */
    
    /* Mobile Action Buttons: Side-by-side row (Get Directions on left, JOIN THE ELITE on right) */
    .contact-actions-row,
    .contact-section .contact-info-block ~ .d-flex {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }
    
    .contact-section .contact-btn {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 0.65rem 0.4rem !important;
        font-size: clamp(0.72rem, 3.2vw, 0.82rem) !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: 8px !important;
        gap: 0.35rem !important;
    }
    
    .contact-section {
        overflow-x: hidden !important;
    }
    .contact-actions-wrapper {
        width: 100% !important;
        overflow: hidden !important;
    }
    .contact-social-row {
        justify-content: center !important;
        width: 100% !important;
        margin-bottom: 2rem !important;
    }
    .contact-social-icons {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: clamp(6px, 1.8vw, 10px) !important;
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: nowrap !important;
        margin-top: 0 !important;
    }
    
    /* Permanent colors on mobile (matching hover state) with complete edge-to-edge coloring */
    .c-social-icon { 
        width: clamp(38px, 11vw, 48px) !important; 
        height: clamp(38px, 11vw, 48px) !important; 
        min-width: clamp(38px, 11vw, 48px) !important;
        max-width: 48px !important;
        font-size: clamp(1.1rem, 3.2vw, 1.4rem) !important;
        color: #ffffff !important; 
        border: none !important;
        border-width: 0 !important;
        border-color: transparent !important;
        outline: none !important;
        border-radius: 50% !important;
        background-clip: border-box !important;
        -webkit-background-clip: border-box !important;
        background-origin: border-box !important;
        overflow: hidden !important;
        box-shadow: none !important;
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        vertical-align: middle !important;
        line-height: 1 !important;
    }
    .c-social-icon::before {
        display: none !important;
    }
    .c-social-icon:hover,
    .c-social-icon:active,
    .c-social-icon:focus {
        transform: none !important;
        border: none !important;
        border-width: 0 !important;
        outline: none !important;
    }
    .c-social-icon i {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        font-size: inherit !important;
        vertical-align: middle !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .c-social-icon.c-icon-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 20%, #dc2743 40%, #cc2366 60%, #833ab4 80%, #405de6 100%) !important; }
    .c-social-icon.c-icon-wa { background: #25D366 !important; }
    .c-social-icon.c-icon-yt { background: #FF0000 !important; }
    .c-social-icon.c-icon-mail, .c-social-icon.c-icon-gmap { background: conic-gradient(from 45deg, #EA4335 0deg 90deg, #4285F4 90deg 180deg, #34A853 180deg 270deg, #FBBC05 270deg 360deg) !important; }
    .c-social-icon.c-icon-call { background: #007BFF !important; }
}


/* ==========================================================================
   Contact Page Hero (Clean Heading Directly Below Floating Header)
   ========================================================================== */
.contact-page-hero {
    padding-top: 96px;
    padding-bottom: 12px;
    text-align: center;
}

.contact-hero-inner {
    max-width: 840px;
    margin: 0 auto;
}

.contact-hero-eyebrow {
    margin: 0 0 8px 0;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #6C8293;
    text-transform: uppercase;
}

.contact-hero-title {
    margin: 0;
    color: #0B132B;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(30px, 3.8vw, 46px);
    line-height: 1.15;
    font-weight: 800;
}

@media (max-width: 739.98px) {
    .contact-page-hero {
        padding-top: 86px;
        padding-bottom: 8px;
    }
}
