/* ================================
   SOCIALS SECTION
   Card Grid Layout
   Your style - modern, clean design
   ================================ */

.socials-section {
    padding: 80px 60px;
    background: #F9F2E7;
}

.socials-header {
    text-align: center;
    margin-bottom: 40px;
}

.socials-header h2 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #2C3E50;
    margin-bottom: 15px;
}

.socials-header p {
    font-size: 1.1rem;
    color: #5D6D7E;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Container */
.socials-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Social Card */
.social-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--social-color-start) 0%, var(--social-color-end) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-card:hover::before {
    opacity: 0.05;
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Social Icon */
.social-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--social-color-start), var(--social-color-end));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.social-card:hover .social-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.social-icon-wrapper svg {
    width: 35px;
    height: 35px;
    fill: #FFFFFF;
}

/* Content */
.social-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.social-card p {
    font-size: 0.88rem;
    color: #5D6D7E;
    line-height: 1.5;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-card:hover p {
    max-height: 80px;
    opacity: 1;
    margin-bottom: 15px;
}

/* Button */
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--social-color-start), var(--social-color-end));
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(10px);
}

.social-card:hover .social-btn {
    opacity: 1;
    transform: translateY(0);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.social-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Platform Specific Colors */
.social-card.youtube {
    --social-color-start: #FF0000;
    --social-color-end: #CC0000;
}

.social-card.twitter {
    --social-color-start: #1DA1F2;
    --social-color-end: #0d8bd9;
}

.social-card.linkedin {
    --social-color-start: #0077B5;
    --social-color-end: #005885;
}

.social-card.instagram {
    --social-color-start: #E4405F;
    --social-color-end: #C13584;
}

.social-card.github {
    --social-color-start: #333333;
    --social-color-end: #1a1a1a;
}

.social-card.email {
    --social-color-start: #E85D44;
    --social-color-end: #d44a31;
}

/* Decorative Glow Effect */
.social-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--social-color-start) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.social-card:hover::after {
    opacity: 0.1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .socials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .socials-section {
        padding: 80px 25px;
    }

    .socials-grid {
        gap: 20px;
    }

    .social-card {
        padding: 35px;
    }
}

@media (max-width: 600px) {
    .socials-grid {
        grid-template-columns: 1fr;
    }

    .social-card {
        padding: 40px 30px;
    }

    /* Always show description on mobile */
    .social-card p {
        max-height: 100px;
        opacity: 1;
        margin-bottom: 20px;
    }

    .social-btn {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .socials-section {
        padding: 60px 20px;
    }

    .social-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .social-icon-wrapper svg {
        width: 35px;
        height: 35px;
    }

    .social-card h3 {
        font-size: 1.35rem;
    }
}
