/* SOCIAL SECTION */

/* Social Section Container */
.social {
    position: relative;
    width: 80%; /* Aligns with central column */
    height: calc(100vw * (350 / 3200)); /* Maintains 3200x350 ratio */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #000; /* Fallback color */
    box-sizing: border-box;
    overflow: hidden;
}

/* Video Background */
.social-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Overlay Container */
.social-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 3200px; /* Matches original width reference */
    padding: 0 calc(100vw * (20 / 3200)); /* Proportional padding */
    box-sizing: border-box;
}

/* Call-to-Action (CTA) */
.social-call-to-action {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    animation: pulse 3s infinite; /* Subtle dark blue pulsation */
}

.social-call-to-action img {
    width: calc(100vw * (883 / 3200));
    height: auto; /* Maintains correct aspect ratio */
    object-fit: contain;
    max-width: 883px; /* Restricts size on large screens */
}

.social-call-to-action:hover::after {
    content: attr(data-hover-text); /* Display hover text dynamically */
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-style: italic;
    font-size: calc(100vw * (24 / 3200));
    color: #fff;
    white-space: nowrap;
}

/* Pulsating animation */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 6px rgba(0, 0, 255, 0.5); /* Slight blue glow */
    }
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: calc(100vw * (20 / 3200)); /* Proportional spacing */
    flex: 0 0 auto;
}

.social-button {
    display: block;
    width: calc(100vw * (80 / 3200)); /* Scaled width */
    height: calc(100vw * (80 / 3200)); /* Scaled height */
    max-width: 80px; /* Ensures no exceeding native size */
    max-height: 80px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Drop-shadow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
}

.social-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Hover Effect for Buttons */
.social-button:hover {
    transform: scale(1.1); /* Slight zoom on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5); /* Enhanced shadow */
}

.social-button:hover::after {
    content: attr(data-hover-text); /* Display hover text dynamically */
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: calc(100vw * (20 / 3200));
    color: #fff;
    white-space: nowrap;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .social {
        width: 100%; /* Full width alignment on smaller screens */
    }

    .social-buttons {
        gap: calc(100vw * (10 / 3200)); /* Reduce spacing for smaller screens */
    }

    .social-button {
        width: calc(100vw * (60 / 3200));
        height: calc(100vw * (60 / 3200));
        max-width: 60px;
        max-height: 60px;
    }

    .social-call-to-action img {
        width: calc(100vw * (600 / 3200)); /* Smaller CTA image */
        max-width: 600px;
    }
}

@media (max-width: 480px) {
    .social-buttons {
        flex-direction: column; /* Stack buttons vertically */
    }

    .social-call-to-action img {
        width: calc(100vw * (400 / 3200));
        max-width: 400px;
    }
}
