/* 04-container-layout.css - Container Wrapper and Social Icons */

/* === Container Wrapper === */
#homepage-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
}

/* Desktop: Container with the gray from about.html detail-card */
.homepage-container {
    min-width: 896px;
    max-width: 960px;
    margin: 0 auto 2rem auto; /* Added bottom margin to prevent clipping */
    padding: 0 2rem 2rem 2rem; /* Added bottom padding to extend container */
    background: #1a1a1a; /* Same gray as about.html detail-card */
    border-radius: 12px;
    box-shadow: 
      0 8px 25px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* === Social Media Icons - Enhanced with Golden Glow === */
.homepage-socials {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.5rem 0;
}

.homepage-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: rgba(46, 46, 46, 0.8);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 
      0 4px 15px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.homepage-socials a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 200, 100, 0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.homepage-socials img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain;
    object-position: center;
    border-radius: 4px;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.homepage-socials a:hover {
    transform: scale(1.15) translateY(-3px);
    border-color: rgba(255, 200, 100, 0.8);
    box-shadow: 
      0 0 30px rgba(255, 200, 100, 0.5),
      0 0 60px rgba(255, 180, 80, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.homepage-socials a:hover::before {
    transform: translateX(100%);
}

.homepage-socials a:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.1);
}

/* LinkedIn specific hover color */
.homepage-socials a[href*="linkedin"]:hover {
    background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
    border-color: #0a66c2;
    box-shadow: 
      0 0 30px rgba(10, 102, 194, 0.5),
      0 0 60px rgba(10, 102, 194, 0.3);
}

/* Discord specific hover color */
.homepage-socials a[href*="discord"]:hover {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    border-color: #5865f2;
    box-shadow: 
      0 0 30px rgba(88, 101, 242, 0.5),
      0 0 60px rgba(88, 101, 242, 0.3);
}

/* GitHub specific hover color */
.homepage-socials a[href*="github"]:hover {
    background: linear-gradient(135deg, #21293c 0%, #0d1117 100%);
    border-color: #21293c;
    box-shadow: 
      0 0 30px rgba(33, 41, 60, 0.5),
      0 0 60px rgba(33, 41, 60, 0.3);
}

/* Instagram specific hover color */
.homepage-socials a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    border-color: #e1306c;
    box-shadow: 
      0 0 30px rgba(225, 48, 108, 0.5),
      0 0 60px rgba(225, 48, 108, 0.3);
}

.popup {
    transition: opacity 0.3s ease;
}