/* Detail Contact Module - Black Full Width Banner */

/* Main container - full width black banner */
.detail-contact-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #000;
    padding: 4rem 0;
    margin-top: 0;
    margin-bottom: 0;
    clear: both;
    display: block;
    flex-shrink: 0;
}

/* Inner container for content centering */
.detail-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Contact title */
.detail-contact-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-align: center;
}

/* Contact intro text */
.detail-contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    white-space: pre-line;
    font-size: 1.1rem;
}

/* Social icons container - 3x2 grid to match index layout */
.detail-contact-icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(60px, 1fr));
    justify-items: center;
    align-items: center;
    gap: 1rem 2rem;
    max-width: 300px;
    margin: 0 auto;
}

/* Social icon link */
.detail-contact-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem;
    border-radius: 12px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.82);
    opacity: 0.82;
    transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.detail-contact-icon-link:hover,
.detail-contact-icon-link:focus-visible {
    color: rgba(255, 255, 255, 0.98);
    opacity: 1;
    transform: translateY(-2px);
}

/* Social icon SVG */
.detail-contact-icon {
    width: 29px;
    height: 29px;
    display: block;
    fill: currentColor;
    stroke: none;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.detail-contact-icon * {
    fill: currentColor;
    stroke: none;
}

.detail-contact-icon-link:hover .detail-contact-icon,
.detail-contact-icon-link:focus-visible .detail-contact-icon {
    opacity: 1;
}

/* Email trigger specific styling */
.detail-contact-icon-link.detail-contact-email-trigger {
    cursor: pointer;
}

/* Email Modal Styles (reused from index but with new class names) */
.detail-contact-email-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1.5rem;
}

.detail-contact-email-modal.open {
    display: flex;
}

.detail-contact-email-content {
    background: rgba(15, 15, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.75rem;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.detail-contact-email-content h3 {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.detail-contact-email-address {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.95);
    word-break: break-word;
}

.detail-contact-modal-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.detail-contact-modal-action-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.detail-contact-modal-action-btn:hover,
.detail-contact-modal-action-btn:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

.detail-contact-modal-close-btn {
    align-self: center;
    margin-top: 0.5rem;
    padding: 0.3rem 0.9rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    cursor: pointer;
}

.detail-contact-modal-close-btn:hover,
.detail-contact-modal-close-btn:focus-visible {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .detail-contact-section {
        padding: 3rem 0;
        margin-top: 4rem;
    }
    
    .detail-contact-container {
        padding: 0 1.5rem;
    }
    
    .detail-contact-title {
        font-size: 2rem;
    }
    
    .detail-contact-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .detail-contact-icons {
        grid-template-columns: repeat(3, minmax(60px, 1fr));
        gap: 1rem 1.5rem;
        max-width: 300px;
    }
}

@media (max-width: 420px) {
    .detail-contact-icons {
        grid-template-columns: repeat(2, minmax(60px, 1fr));
        gap: 1.5rem;
    }
    
    .detail-contact-section {
        padding: 2.5rem 0;
    }
}

