/* ============================================
   DAHLIA Portfolio - Minimalismo Noir
   Design: Contraste absoluto, animações suaves
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow: hidden;
}

/* Container principal */
.container {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 20, 20, 0.8) 100%), 
                url('dahlia.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 20, 20, 0.8) 100%), url('dahlia.jpg');
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Conteúdo central */
.content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    animation: fadeInDown 1s ease-out;
}

/* Título */
.title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    letter-spacing: clamp(0.2em, 2vw, 0.5em);
    color: #ffffff;
    margin-bottom: clamp(2rem, 8vh, 4rem);
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
    animation: fadeInDown 1s ease-out;
}

/* Container dos botões */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 3vh, 2rem);
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Botão base */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    padding: clamp(0.875rem, 2vh, 1.25rem) clamp(1.5rem, 4vw, 2.5rem);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    border: 2px solid #ffffff;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

/* Efeito de brilho nos botões */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Estados do botão */
.btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(-1px);
}

/* Ícone SVG */
.icon {
    width: clamp(1rem, 3vw, 1.5rem);
    height: clamp(1rem, 3vw, 1.5rem);
    stroke: currentColor;
    fill: none;
}

/* Partículas flutuantes */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    animation: pulse 3s ease-in-out infinite;
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Responsividade - Tablet */
@media (min-width: 600px) {
    .contact-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn {
        width: auto;
        min-width: 200px;
    }
}

/* Responsividade - Desktop */
@media (min-width: 1024px) {
    .container {
        background-attachment: fixed;
        background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 20, 20, 0.8) 100%), url('dahlia.jpg');
    }

    .btn {
        min-width: 250px;
    }
}

/* Modo escuro (já está implementado por padrão) */
@media (prefers-color-scheme: dark) {
    body {
        background: #000000;
        color: #ffffff;
    }
}

/* Acessibilidade - Reduz movimento */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
