/* RESET E VARIÁVEIS */
:root {
    --cor-primaria: #3d1f1f;
    --cor-secundaria: #8b2635;
    --cor-fundo: #fafafa;
    --cor-texto: #333;
    --cor-cinza: #666;
    --sombra: 0 5px 20px rgba(0,0,0,0.1);
    --transicao: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cor-fundo);
    color: var(--cor-texto);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--cor-primaria);
    line-height: 1.2;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease;
}

.hero-title span {
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--cor-cinza);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-line {
    width: 200px;
    height: 4px;
    background: var(--cor-primaria);
    margin: 0 auto;
    animation: expandWidth 1s ease 0.4s backwards;
}

/* SECTIONS */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--cor-primaria);
    margin-bottom: 40px;
    font-weight: 700;
}

.section-title span {
    font-weight: 300;
}

/* ABOUT SECTION */
.about {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.timeline {
    position: relative;
}

.timeline-item {
    margin-bottom: 30px;
    padding-left: 30px;
    border-left: 3px solid var(--cor-secundaria);
    padding-bottom: 20px;
}

.timeline-item h3 {
    color: var(--cor-secundaria);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-item p {
    color: var(--cor-cinza);
    line-height: 1.8;
}

.timeline-item strong {
    color: var(--cor-primaria);
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--sombra);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transicao);
}

.image-frame:hover img {
    transform: scale(1.05);
}

/* POSTS SECTION */
.posts {
    background: var(--cor-primaria);
    color: #fff;
}

.posts .section-title {
    color: #fff;
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.5rem;
    transition: var(--transicao);
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon.whatsapp:hover { background: #25D366; }
.social-icon.instagram:hover { background: #E4405F; }
.social-icon.tiktok:hover { background: #000; }
.social-icon.kwai:hover { background: #FF5A38; }

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transicao);
    background: #fff;
    padding: 15px;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.post-image {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.post-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transicao);
}

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 31, 31, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transicao);
}

.post-card:hover .post-overlay {
    opacity: 1;
}

.post-overlay span {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px solid #fff;
    padding: 10px 30px;
    border-radius: 30px;
}

/* PHOTOGRAPHY SECTION */
.photography {
    background: #fff;
}

.photography .section-title {
    text-align: center;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
    margin-top: 50px;
}

.photo-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--sombra);
}

.photo-item.large {
    grid-row: span 2;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicao);
}

.photo-item:hover img {
    transform: scale(1.1);
}

/* FOOTER */
.footer {
    background: var(--cor-primaria);
    color: #fff;
    padding: 60px 0 30px;
    text-align: center;
}

.footer h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    transition: var(--transicao);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--cor-secundaria);
    transform: translateY(-3px);
}

.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

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

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 200px;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .photo-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .photo-item.large {
        grid-row: span 1;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* BARRA SUPERIOR */
.top-bar {
    background: var(--cor-primaria);
    color: #fff;
    padding: 12px 0;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--cor-secundaria);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: var(--transicao);
    font-size: 0.85rem;
}

.top-bar-item:hover {
    color: #fff;
}

.top-bar-item i {
    color: var(--cor-secundaria);
    font-size: 1rem;
}

.top-bar-item.location {
    justify-content: center;
}

.login-btn {
    background: rgba(255,255,255,0.1);
    padding: 6px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.login-btn:hover {
    background: var(--cor-secundaria);
    color: #fff;
    transform: translateY(-2px);
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
    
    .top-bar-item {
        justify-content: center;
    }
    
    .top-bar-item.location {
        order: -1; /* Localização vem primeiro no mobile */
        margin-bottom: 5px;
    }
}

/* BOTÕES DE SCROLL PAGE-UP/PAGE-DOWN */
.scroll-buttons {
    position: fixed;
    right: 25px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--cor-primaria);
    color: #fff;
    border: 2px solid var(--cor-secundaria);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(61, 31, 31, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-btn:hover {
    background: var(--cor-secundaria);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(139, 38, 53, 0.5);
}

.scroll-btn:active {
    transform: scale(0.95);
}

.scroll-top:hover {
    background: #10b981;
    border-color: #059669;
}

.scroll-bottom:hover {
    background: #3b82f6;
    border-color: #2563eb;
}

@media (max-width: 768px) {
    .scroll-buttons {
        right: 15px;
        bottom: 20px;
    }
    
    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}