/* 
 * Arquivo de estilos modernos para a página principal
 * Baseado nas tendências de design web para 2025
 */

/* Novas variáveis de cores - Natureza Digital */
:root {
    --color-dark: #1e1b18;
    --color-secondary: #2e2a24;
    --color-primary: #8c7851;
    --color-accent: #d9b08c;
    --color-light: #f2f0eb;
    --border-radius: 0.75rem;
    --font-family: 'Outfit', 'Inter', sans-serif;
}

/* Estilos base */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-light);
    background-color: var(--color-dark);
    background-image: url('../img/subtle-pattern.png');
    background-blend-mode: overlay;
    background-attachment: fixed;
}

.container-custom {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.content-wrapper {
    background-color: rgba(30, 27, 24, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    padding: 2rem;
    border: 1px solid rgba(217, 176, 140, 0.1);
}

/* Cores e fundos */
.bg-dark {
    background-color: var(--color-dark);
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.bg-primary {
    background-color: var(--color-primary);
}

.text-light {
    color: var(--color-light);
}

.text-accent {
    color: var(--color-accent);
}

/* Cabeçalho */
header {
    background: linear-gradient(to bottom, var(--color-dark), var(--color-secondary));
    padding: 3rem 0;
    border-bottom: 1px solid rgba(217, 176, 140, 0.1);
}

.profile-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-accent);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

header p {
    color: rgba(242, 240, 235, 0.8);
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Títulos de seção */
.section-title {
    position: relative;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    letter-spacing: -0.03em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 4px;
}

/* Seções */
.section {
    padding: 2.5rem 0;
    margin-bottom: 2.5rem;
}

/* Banners */
.banner-card {
    display: block;
    overflow: hidden;
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
    position: relative;
}

.banner-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.banner-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.banner-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.banner-card .absolute {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    transition: opacity 0.4s ease;
}

/* Vídeos do YouTube */
.video-card {
    display: block;
    background-color: var(--color-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(217, 176, 140, 0.2);
}

.video-card img {
    transition: all 0.5s ease;
}

.video-card:hover img {
    filter: brightness(1.1);
}

.video-thumbnail::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(140, 120, 81, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid white;
    z-index: 1;
}

.video-card:hover .video-thumbnail::after {
    background-color: var(--color-accent);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1.25rem;
}

.video-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.1rem;
}

/* Links */
.link-card {
    display: block;
    padding: 1.25rem;
    background-color: var(--color-secondary);
    border-radius: var(--border-radius);
    margin-bottom: 1.25rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.2);
    background-color: rgba(140, 120, 81, 0.15);
    border-color: rgba(217, 176, 140, 0.2);
}

.link-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(217, 176, 140, 0.4) 0%, rgba(217, 176, 140, 0) 70%);
    opacity: 0;
    transform: scale(2);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.link-card:active::after {
    opacity: 1;
    transform: scale(0);
    transition: opacity 0s, transform 0.4s ease;
}

.link-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.link-icon {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.link-card:hover .link-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Redes sociais */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--color-primary);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.social-icon:hover {
    background-color: var(--color-accent);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.social-icon::before {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.social-icon:hover::before {
    opacity: 1;
    visibility: visible;
}

.socials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 600px;
}

/* Header social icons */
.header-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--color-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 0.35rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-social-icon:hover {
    background-color: var(--color-accent);
    transform: scale(1.1);
}

/* Rodapé */
footer {
    background: linear-gradient(to bottom, var(--color-secondary), var(--color-dark));
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(217, 176, 140, 0.1);
}

footer p {
    color: var(--color-light);
    opacity: 0.8;
    letter-spacing: 0.02em;
}

footer a.text-accent {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

footer a.text-accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

footer a.text-accent:hover::after {
    width: 100%;
}

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

.animate-entry {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.pulse {
    animation: pulse 3s infinite;
}

/* Responsividade */
@media (min-width: 768px) {
    .grid-cols-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .grid-cols-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .profile-photo {
        width: 110px;
        height: 110px;
    }
    
    .social-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .video-thumbnail::after {
        width: 45px;
        height: 45px;
    }
    
    .video-thumbnail::before {
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 14px solid white;
    }
}

/* Utilitários */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--color-accent);
    color: var(--color-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Efeito de parallax sutil no cabeçalho */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/subtle-pattern.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: translateZ(-1px) scale(2);
}
