@font-face {
    font-family: 'font';
    src: url('/assets/fonts/ubuntu.ttf');
    font-weight: 100;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: font, Arial, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #121212, black);
    color: white;
    overflow-x: hidden;
}

html {
    scroll-behavior: auto !important;
}

/* Fixare vizibilitate conținut peste particule */
.contact-hero {
    position: relative;
    min-height: 100vh;
    padding: 8rem 2rem 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

#particles-resources {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1; /* În spatele conținutului */
    pointer-events: none;
}

.contact-wrapper {
    position: relative;
    z-index: 3; /* Forțat deasupra canvas-ului */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Stil titlu cu efect Decrypt / Glow fin argintiu */
.decrypted {
    color: white;
    background: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    font-size: 4rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(45deg, white, whitesmoke);
    background-clip: text;
}

@keyframes particleGlow {
    0% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
        filter: brightness(1);
    }
    100% {
        text-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
        filter: brightness(1.1);
    }
}

.char {
    display: inline-block;
    transition: color 0.2s ease;
    background: linear-gradient(45deg, white, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.contact-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid-ul de Carduri */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    width: 100%;
    padding: 0 1rem;
}

/* Card design nou: Alb-Negru, opac și minimalist */
.contact-card {
    background: rgba(20, 20, 20, 0.6); /* Mai închis și opac */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15); /* Bordură fină albă */
    border-radius: 16px;
    padding: 3rem 2rem;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.contact-card.no-link {
    cursor: default;
}

/* Sclipirea de tip glitch/neon a fost scoasă complet (fără ::before) */

/* Hover elegant fără reflexii sau culori electrice */
.contact-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 30, 30, 0.85); /* Devine o idee mai opac/deschis */
    border-color: rgba(255, 255, 255, 0.6); /* Bordura se aprinde în alb curat */
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1); /* Umbră soft albă, discretă */
}

/* SVG icon adaptat la stilul monocrom */
.card-icon {
    color: #ffffff; /* Schimbat din cyan în alb */
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
    transition: transform 0.3s ease;
}

.contact-card:hover .card-icon {
    transform: scale(1.05);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.contact-card p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    word-break: break-all;
    margin-bottom: 0;
}

/* Animație hover link-uri social media din footer rămâne neschimbată */
.social-link.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 10px 30px rgba(214, 36, 159, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .decrypted {
        font-size: 2.8rem;
    }
    .contact-grid {
        gap: 2rem;
    }
}