/*
Theme Name: Atryl
Theme URI: https://atryl.pe
Author: Angel Serón
Description: Tema personalizado para Atryl - Análisis Tributario y Legal, empresa especializada en la difusión del conocimiento jurídico y la consultoría tributaria. Este diseño refleja nuestro compromiso con la excelencia académica, la solidez técnica y la confianza, integrando 37 años de legado en derecho tributario con un enfoque estratégico y cercano para nuestros clientes.
Version: 1.0.0
License: GPL v2 or later
Text Domain: atryl
*/

/* ========== FUENTES PERSONALIZADAS ========== */
@font-face {
    font-family: 'Niagara Solid';
    src: url('assets/fonts/NiagaraSolid-Reg.woff2') format('woff2'),
         url('assets/fonts/NiagaraSolid-Reg.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

p { 
    margin-bottom: calc(var(--spacing) * 6) !important;
}

/* Home NO tiene estos estilos */
/* .home p,
.home .prose p,
.front-page .prose p {
    margin-bottom: inherit;
} */

/* Clases de fuentes */
.font-niagara {
    font-family: 'Niagara Solid', sans-serif;
}
.font-unica { 
    font-family: 'Unica One', sans-serif; 
}
.font-sora { 
    font-family: 'Sora', sans-serif; 
}

/* Títulos usan Niagara Solid */
h1, h2, h3 { 
    font-family: 'Niagara Solid', sans-serif; 
}

/* ========== TAMAÑOS PERSONALIZADOS ========== */
.size-18 {
    width: 4.5rem;
    height: 4.5rem;
}
/* .size-20 {
    width: 5rem;
    height: 5rem;
} */

/* ========== COLORES PERSONALIZADOS ========== */
.text-gold-400 {
    color: #bba16a;
}
.bg-gold-400 {
    background-color: #bba16a;
}
.hover\:text-gold-400:hover {
    color: #bba16a;
}
.hover\:bg-gold-400:hover {
    background-color: #bba16a;
}

/* Colores vino y rojo */
.bg-custom-vino {
    background-color: #911436;
}
.bg-custom-red {
    background-color: rgb(219, 0, 0);
}
.text-custom-red {
    color: rgb(219, 0, 0);
}
.border-custom-red {
    border-color: rgb(219, 0, 0);
}

/* Hover states para colores personalizados */
.hover\:bg-custom-red:hover {
    background-color: rgb(219, 0, 0);
}
.hover\:text-custom-red:hover {
    color: rgb(209, 2, 2);
}
.hover\:border-custom-red:hover {
    border-color: rgb(219, 0, 0);
}

/* ========== ANIMACIONES PERSONALIZADAS ========== */
/* Efecto Plus */
.plus-sign {
    display: inline-block;
    transition: transform 0.5s ease-in-out;
}
a:hover .plus-sign {
    transform: rotate(180deg);
}

/* Deslice AT */
.slide-right {
    animation: slide-right 1.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    opacity: 0;
}
@keyframes slide-right {
    0% {
        transform: translateX(-90%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Deslice h1 top cover */
.word {
    display: inline-block;
}
@keyframes fadeInLeftSlow {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInBottomSlow {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Desktop only */
@media (min-width: 768px) {
    .first-group {
        animation: fadeInLeftSlow 1.1s forwards;
    }
    .second-group {
        animation: fadeInBottomSlow 1.5s forwards;
    }
}

/* ========== EFECTO GALAXIA ========== */
.galaxy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}
.stars, .stars2, .stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.stars::after, .stars2::after, .stars3::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(2px 2px at 20px 30px, #fff, rgba(0, 0, 0, 0)), 
        radial-gradient(2px 2px at 40px 70px, #a96262, rgba(0, 0, 0, 0)), 
        radial-gradient(2px 2px at 90px 40px, #5d5bc7, rgba(0, 0, 0, 0)), 
        radial-gradient(2px 2px at 130px 80px, #c98c8c, rgba(0, 0, 0, 0)), 
        radial-gradient(2px 2px at 160px 120px, #b18989, rgba(0, 0, 0, 0));
    background-size: 200px 200px;
    animation: starsAnimation 25s linear infinite;
}
.stars2::after {
    animation-delay: -20s;
    background-size: 300px 300px;
    opacity: 0.4;
}
.stars3::after {
    animation-delay: -35s;
    background-size: 250px 250px;
    opacity: 0.2;
}
@keyframes starsAnimation {
    from { transform: translateY(0) translateX(0); }
    to { transform: translateY(-200px) translateX(-200px); }
}

/* Puntos destacados */
.highlight-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(5px 5px at 10% 20%, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(5px 5px at 30% 40%, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(5px 5px at 70% 30%, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(5px 5px at 80% 60%, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(5px 5px at 90% 70%, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(4px 4px at 15% 40%, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(4px 4px at 60% 20%, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(4px 4px at 75% 75%, rgba(255,255,255,0.9), rgba(0,0,0,0));
    animation: starsTwinkle 5s ease-in-out infinite alternate;
}
@keyframes starsTwinkle {
    0% { opacity: 0.2; transform: scale(0.95); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 0.2; transform: scale(1); }
}

/* ========== RESPONSIVE ========== */
@media (min-width: 1600px) {
    .cover-responsive {
        height: 107% !important;
    }
}

/* ========== UTILIDADES WORDPRESS ========== */
.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.alignfull {
    max-width: 100%;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}