:root {
    --vermelho: #B22222;
    --vermelho-escuro: #8B1A1A;
    --amarelo: #F4B400;
    --areia: #F6F1E6;
    --bege: #E8DCC7;
    --marrom: #6F5E45;
}

/* RESET */

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

/* BODY */

body {
    background: var(--areia) url("img01.gif");
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    color: var(--marrom);
}

/* TITULOS */

h1,
h2,
h3 {
    color: var(--vermelho);
}

h2 {
    margin-bottom: 1em;
    text-transform: uppercase;
    font-size: 1.2em;
    letter-spacing: 1px;
}

/* TEXTOS */

p,
blockquote,
ul {
    margin-bottom: 1.5em;
}

a {
    color: var(--vermelho);
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    color: var(--vermelho-escuro);
}

/* HEADER */

#header {
    height: 230px;
    padding-left: 330px;
    background:
        linear-gradient(rgba(178, 34, 34, 0.85), rgba(139, 26, 26, 0.9)),
        url("img02.jpg") no-repeat;
    background-size: cover;
    color: white;
}

#logo {
    background: url("img01.jpg") no-repeat;
    padding: 90px 0 40px 20px;
}

#logo h1 {
    font-size: 3em;
    letter-spacing: -.05em;
    color: #fff;
}

#logo h2 {
    font-style: italic;
    font-size: 1em;
    color: #F6F1E6;
}

/* WRAPPER */

#wrapper {
    margin-right: 100px;
    background: url("img05.jpg") repeat-y 330px 0;
    display: flex;
}

/* SIDEBAR */

#sidebar {
    width: 330px;
    flex-shrink: 0;
}

/* MENU */

#menu ul {
    list-style: none;
}

#menu a {
    display: block;
    height: 45px;
    padding: 16px 0 0 30px;
    background: url("img04.jpg") repeat-x;
    font-size: 1.1em;
    color: var(--marrom);
    border-left: 4px solid transparent;
    transition: 0.3s;
}

#menu a:hover {
    color: var(--vermelho);
    border-left: 4px solid var(--vermelho);
    background: var(--bege);
}

/* TESTIMONIAL */

#testimonial {
    padding: 30px;
    font-size: 0.95em;
}

#testimonial blockquote {
    border-left: 3px solid var(--amarelo);
    padding-left: 12px;
    font-style: italic;
}

/* CONTENT */

#content {
    padding: 30px;
    flex: 1;
}

/* IMAGENS */

.image-right,
.foto {
    float: right;
    margin-left: 20px;
    border: 2px solid var(--amarelo);
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* CARDS DE PROJETOS */

.project {
    background: #ffffffcc;
    padding: 25px;
    margin-bottom: 35px;
    border-left: 6px solid var(--vermelho);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    border-radius: 6px;
}

.project:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.project h3 {
    margin-bottom: 15px;
    font-size: 1.2em;
    color: var(--vermelho);
}

.project-info p {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* HEMEROTECA */

#welcome {
    background: rgba(255, 255, 255, 0.92);
    padding: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
}

#welcome h2 {
    border-bottom: 3px solid var(--amarelo);
    display: inline-block;
    padding-bottom: 6px;
}

#welcome ul {
    list-style: none;
    margin-top: 25px;
    padding: 0;
}

#welcome ul li {
    background: #ffffff;
    margin-bottom: 12px;
    padding: 14px 18px;
    border-left: 5px solid var(--vermelho);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    border-radius: 4px;
}

#welcome ul li:hover {
    transform: translateX(4px);
}

/* FOOTER */

#footer {
    margin-top: 60px;
    padding: 40px 30px;
    background: linear-gradient(135deg, var(--vermelho-escuro), var(--vermelho));
    color: #F6F1E6;
}

#footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    margin-bottom: 12px;
    color: var(--amarelo);
    font-size: 1.05em;
}

.footer-column p,
.footer-column a {
    color: #F6F1E6;
    font-size: 0.95em;
}

.footer-column a:hover {
    color: var(--amarelo);
}

#footer-bottom {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.85em;
}

/* RESPONSIVO */

@media(max-width:900px) {

    #wrapper {
        flex-direction: column;
        margin-right: 0;
    }

    #sidebar {
        width: 100%;
    }

    #header {
        padding-left: 0;
        height: auto;
    }

    #logo {
        background: none;
        text-align: center;
    }

    #menu a {
        text-align: center;
    }

    .image-right,
    .foto {
        float: none;
        display: block;
        margin: 20px auto;
    }

    #footer-content {
        flex-direction: column;
        text-align: center;
    }

}
.social-icon{
display:inline-flex;
align-items:center;
justify-content:center;
width:42px;
height:42px;
margin-right:10px;
border-radius:50%;
color:#fff;
transition:all 0.3s ease;
box-shadow:0 4px 10px rgba(0,0,0,0.15);
}

.social-icon svg{
width:20px;
height:20px;
}

/* YouTube */
.social-icon.youtube{
background:#FF0000;
}

.social-icon.youtube:hover{
background:#cc0000;
transform:translateY(-3px) scale(1.05);
}

/* Facebook */
.social-icon.facebook{
background:#1877F2;
}

.social-icon.facebook:hover{
background:#0d5fd3;
transform:translateY(-3px) scale(1.05);
}

/* TIMELINE ANIMADA */

#timeline {
    position: relative;
    padding: 40px 20px 40px 60px;
}

.timeline-line {
    position: absolute;
    left: 25px;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--vermelho);
}

.timeline-container {
    position: relative;
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    position: absolute;
    left: -38px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--amarelo);
    border: 3px solid var(--vermelho);
    border-radius: 50%;
}

.timeline-content {
    background: #ffffff;
    padding: 18px 22px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.timeline-date {
    display: block;
    font-weight: bold;
    color: var(--vermelho);
    margin-bottom: 8px;
}

#tv-page {
    background: #ffffff;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

#tv-page select {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    border: 2px solid var(--vermelho);
    border-radius: 6px;
    background: #fff;
}