/* ===========================
   CONTACT PAGE STYLES
   Stile coerente con il sito
   =========================== */

.contact-page {
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Cards */
.contact-card {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 3rem 2.5rem;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    min-height: 700px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    transition: height 0.4s ease;
}

.contact-card:hover::before {
    height: 100%;
}

.contact-card:hover {
    border-color: var(--white);
    box-shadow: 0 10px 50px rgba(255, 255, 255, 0.2);
}

/* Card Icon */
.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.card-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--white);
    stroke: var(--white);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-title {
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-align: center;
    position: relative;
    z-index: 5;
}

.card-subtitle {
    font-size: 0.95rem;
    color: var(--gray-light);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 5;
}

/* Discord Info */
.discord-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.discord-info {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 0;
    position: relative;
    z-index: 5;
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.server-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.server-details {
    flex: 1;
}

.server-name {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.server-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #b5bac1;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #747f8d;
}

.dot.online {
    background: #23a55a;
    box-shadow: 0 0 10px #23a55a;
}

.server-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #dbdee1;
}

.server-features {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.feature-item {
    font-size: 0.9rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.3);
}

.discord-cta {
    text-align: center;
    color: #808080;
    font-size: 0.85rem;
    margin-top: 2.5rem;
    margin-bottom: 0;
    position: relative;
    z-index: 5;
}

/* Email Section */
.email-address {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 1px;
    text-align: center;
    margin: 2rem 0 1rem;
}

.email-desc {
    text-align: center;
    color: var(--gray-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form textarea {
    resize: none;
    min-height: 120px;
}

.contact-form .btn {
    margin-top: 0.5rem;
    position: relative;
    z-index: 10;
}

.response-time {
    text-align: center;
    color: #808080;
    font-size: 0.85rem;
    margin-top: 1rem;
    position: relative;
    z-index: 5;
}

/* Discord Button Centered */
.contact-card .btn {
    display: block;
    margin: 1rem auto 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.response-time {
    text-align: center;
    color: #808080;
    font-size: 0.85rem;
    margin-top: 1rem;
    position: relative;
    z-index: 5;
}

/* Email and Discord Icon Improvements */
.card-icon svg {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.contact-card:hover .card-icon svg {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
}

/* Email Icon Specific - Custom Beautiful Design */
.contact-card:nth-child(2) .card-icon svg {
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
}

/* Discord Icon Specific - White with Glow */
.contact-card:nth-child(1) .card-icon svg {
    fill: #ffffff !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.contact-card:nth-child(1) .card-icon svg path {
    fill: #ffffff !important;
}

.contact-card:nth-child(1):hover .card-icon svg {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.7));
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 100px 0 60px;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .discord-header {
        flex-direction: column;
        text-align: center;
    }
    
    .server-icon {
        width: 60px;
        height: 60px;
    }
    
    .server-name {
        font-size: 1.2rem;
    }
    
    .server-stats {
        align-items: center;
    }
    
    .email-address {
        font-size: 1.2rem;
        word-break: break-all;
    }
}

/* ===========================
   SLIDER VOLUME - OVERRIDE
   Solo per pagina contact
   =========================== */

.nav-volume-slider {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 25px rgba(255, 255, 255, 0.4);
    background: linear-gradient(to right, 
        white 0%, 
        white var(--volume-percent), 
        rgba(255, 255, 255, 0.5) var(--volume-percent), 
        rgba(255, 255, 255, 0.5) 100%
    ) !important;
}

.nav-volume-slider::-webkit-slider-track {
    background: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-volume-slider::-moz-range-track {
    background: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-volume-slider::-webkit-slider-thumb {
    box-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.6) !important;
}

.nav-volume-slider::-moz-range-thumb {
    box-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.6) !important;
}

.nav-volume-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 1), 0 0 35px rgba(255, 255, 255, 0.7) !important;
}

.nav-volume-slider::-moz-range-thumb:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 1), 0 0 35px rgba(255, 255, 255, 0.7) !important;
}
