:root {
    --pt-red: #FF0000;
    --pt-yellow: #FFFF00;
    --pt-dark-red: #8b0000;
}

.navbar {
    background: #000000 !important;
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--pt-yellow) !important;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem !important;
}

.nav-link:hover {
    color: var(--pt-yellow) !important;
}

.nav-item {
    margin: 0 0.25rem;
}

.hero{
    background: linear-gradient(rgba(255,0,0,.7),rgba(255,0,0,.8)),
    url('https://images.unsplash.com/photo-1540910419892-4a36d2c3266c?w=1920') center/cover;
    color:white;
    padding:100px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,.5);
}

.btn-pt-yellow {
    background: var(--pt-yellow);
    color: var(--pt-dark-red);
    font-weight: 700;
    border: none;
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-pt-yellow:hover {
    background: #e6e600;
    color: var(--pt-dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,0,0.4);
}

.section-title{
    font-weight: 800;
    margin-bottom:40px;
    color: var(--pt-dark-red);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--pt-yellow);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Convocatorias destacadas */
.convocatorias-section {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    padding: 80px 0;
}

.carousel-item {
    min-height: 350px;
}

.convocatoria-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(255,0,0,0.15);
    border-left: 5px solid var(--pt-red);
    height: 100%;
}

.convocatoria-badge {
    background: var(--pt-yellow);
    color: var(--pt-dark-red);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

/* Noticias */
.noticia-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.noticia-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.noticia-date {
    color: var(--pt-red);
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-outline-pt {
    border-color: var(--pt-red);
    color: var(--pt-red);
    font-weight: 600;
}

.btn-outline-pt:hover {
    background: var(--pt-red);
    border-color: var(--pt-red);
    color: white;
}

/* Redes Sociales */
.redes-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.tweet-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #e1e8ed;
    height: 100%;
}

.tweet-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.tweet-avatar {
    width: 50px;
    height: 50px;
    background: var(--pt-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
}

.tweet-name {
    font-weight: 700;
    color: #14171a;
    margin: 0;
}

.tweet-handle {
    color: #657786;
    font-size: 0.9rem;
    margin: 0;
}

.tweet-content {
    color: #14171a;
    line-height: 1.6;
}

.tweet-footer {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e1e8ed;
}

.tweet-action {
    color: #657786;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.facebook-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.facebook-header {
    background: #1877f2;
    color: white;
    padding: 15px 20px;
}

.facebook-content {
    padding: 20px;
}

.facebook-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.facebook-footer {
    padding: 15px 20px;
    border-top: 1px solid #e4e6eb;
}

/* Principios */
.principios-section {
    background: linear-gradient(135deg, var(--pt-dark-red) 0%, var(--pt-red) 100%);
    color: white;
    padding: 80px 0;
}

.principio-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.principio-section .section-title::after {
    background: white;
    margin: 15px auto 0;
}

/* Contacto */
footer {
    background: var(--pt-dark-red);
    color: white;
}

footer a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

footer a:hover {
    color: var(--pt-yellow);
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--pt-yellow);
    color: var(--pt-dark-red);
}

.text-justify{
    text-align: justify;
}
