/* ==============================================
   CSS RESET
   ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Pretendard', sans-serif;
    background: white;
}

/* ==============================================
   HERO SECTION
   ============================================== */
.social-hero {
    min-height: 40vh;
    background-image: url('../../images/aptech_SocialMedia.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 140px 30px 40px 30px;
    position: relative;
    overflow: hidden;
}

.social-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.social-hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.social-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 25px 0;
    letter-spacing: 1px;
    line-height: 1.1;
    word-break: keep-all;
    word-wrap: break-word;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.social-hero p {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    word-break: keep-all;
    word-wrap: break-word;
    color: white;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================================
   SOCIAL MEDIA SECTION
   ============================================== */
.social-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}

/* Background Decorative Elements */
.deco-circle-social {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(245, 143, 39, 0.2), rgba(90, 122, 115, 0.2));
    border-radius: 50%;
    opacity: 0.3;
}

.social-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header Section */
.social-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label-social {
    color: #f58f27;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.social-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.social-header p {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Social Cards Grid */
.social-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Social Card */
.social-card {
    height: 320px;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.social-card.linkedin {
    transition-delay: 0.1s;
    box-shadow: 0 10px 30px rgba(0, 119, 181, 0.3);
}

.social-card.youtube {
    transition-delay: 0.2s;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.social-card.facebook {
    transition-delay: 0.3s;
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.3);
}

.social-card.instagram {
    transition-delay: 0.4s;
    box-shadow: 0 10px 30px rgba(228, 64, 95, 0.3);
}

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

/* Card Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.linkedin-overlay {
    background: linear-gradient(135deg, rgba(0, 119, 181, 0.95) 0%, rgba(0, 160, 220, 0.9) 100%);
}

.youtube-overlay {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.95) 0%, rgba(255, 68, 68, 0.9) 100%);
}

.facebook-overlay {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.95) 0%, rgba(66, 165, 245, 0.9) 100%);
}

.instagram-overlay {
    background: linear-gradient(135deg, rgba(228, 64, 95, 0.95) 0%, rgba(247, 119, 55, 0.9) 50%, rgba(252, 175, 69, 0.9) 100%);
}

/* Card Pattern */
.card-pattern {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
}

.pattern-square {
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    transform: rotate(45deg);
}

.pattern-polygon {
    bottom: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 20% 100%);
}

.pattern-circle {
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.pattern-rounded {
    top: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    border-radius: 30px;
    transform: rotate(45deg);
}

/* Card Content */
.card-content {
    position: absolute;
    bottom: 40px;
    left: 30px;
    right: 30px;
    color: white;
}

.card-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.card-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.card-content p {
    font-size: 14px;
    margin: 0 0 20px 0;
    opacity: 0.9;
    line-height: 1.5;
    font-weight: 500;
}

.card-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* Card Hover Effect */
.social-card:hover {
    transform: translateY(0) scale(1.05);
    transition: all 0.3s ease;
}

/* ==============================================
   FOOTER STYLES
   ============================================== */
footer {
    background: #2d3436;
    color: white;
    padding: 60px 0 40px 0;
    font-family: 'Noto Sans KR', sans-serif;
}

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

.footer-main {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #636e72;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo-section img {
    height: 60px;
    margin-right: 25px;
    filter: brightness(1.2);
}

.footer-logo-section div {
    font-size: 14px;
    color: #b2bec3;
    line-height: 1.6;
    word-break: keep-all;
}

.footer-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: start;
}

.footer-info-grid article h4 {
    font-size: 16px;
    color: #f58f27;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.footer-info-grid article p {
    font-size: 14px;
    color: #b2bec3;
    line-height: 1.7;
    margin: 0;
    word-break: keep-all;
}

.contact-info {
    color: #ddd;
    margin-top: 8px;
    display: block;
}

.contact-info a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #f58f27;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 12px;
    color: #636e72;
    margin: 0;
    word-break: keep-all;
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */

@media (max-width: 1024px) {
    .social-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .social-hero {
        min-height: 35vh;
        padding: 100px 20px 30px 20px;
    }
    
    .social-hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .social-hero-content p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Social Section */
    .social-section {
        padding: 60px 0;
    }
    
    .social-container {
        padding: 0 15px;
    }
    
    .social-header h2 {
        font-size: 36px;
    }
    
    /* Social Cards - 2x2 Grid */
    .social-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
    }
    
    /* Make cards smaller on mobile */
    .social-card {
        height: 180px;
    }
    
    .card-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    
    .card-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .card-content h3 {
        font-size: 16px;
        margin: 0 0 6px 0;
    }
    
    .card-content p {
        font-size: 11px;
        margin: 0 0 12px 0;
        line-height: 1.3;
    }
    
    .card-cta {
        font-size: 11px;
    }
    
    /* Footer */
    footer {
        padding: 40px 0 30px 0;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-main {
        margin-bottom: 30px;
    }
    
    .footer-logo-section img {
        height: 40px;
        margin-right: 20px;
    }
    
    .footer-logo-section div {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .footer-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-info-grid article h4 {
        font-size: 14px;
    }
    
    .footer-info-grid article p {
        font-size: 12px;
        line-height: 1.6;
    }
    
    .footer-copyright p {
        font-size: 11px;
    }
}
