/* Estilos Gerais */
:root {
    --primary-color: #3a7d44; /* Verde médio */
    --primary-color-rgb: 58, 125, 68; /* Verde médio em RGB */
    --secondary-color: #2c5530; /* Verde escuro */
    --accent-color: #8fb996; /* Verde claro */
    --light-color: #f8f5f2; /* Branco off-white */
    --dark-color: #4a4845; /* Cinza escuro */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    text-align: center;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Header */
.site-header {
    padding: 20px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.site-header::before,
.site-header::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%233a7d44" opacity="0.1"><path d="M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.3;
    z-index: 0;
}

.site-header::before {
    left: 30px;
    top: 10px;
    transform: rotate(-15deg);
}

.site-header::after {
    right: 30px;
    top: 10px;
    transform: rotate(15deg);
}

.names {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.names::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.date {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.countdown {
    font-size: 1.1rem;
}

.days {
    font-weight: 700;
    color: var(--primary-color);
}

/* Menu de navegação elegante e fixo */
#main-nav {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    position: relative;
}

#main-nav.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px 0;
    animation: slideDown 0.3s forwards;
    z-index: 1030;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#main-nav::before,
#main-nav::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="8" viewBox="0 0 24 8"><path fill="%233a7d44" d="M12,0L0,8h24L12,0z"/></svg>');
    background-repeat: repeat-x;
    background-size: 24px 8px;
    left: 0;
}

#main-nav::before {
    top: -8px;
}

#main-nav::after {
    bottom: -8px;
    transform: rotate(180deg);
}

#main-nav.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.navbar {
    margin-top: 0;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--dark-color);
    margin: 0 15px;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 10px 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link i {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.nav-link i::before {
    position: relative;
    z-index: 2;
}

.nav-link i::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: all 0.3s ease;
}

.nav-link:hover i::after {
    width: 28px;
    height: 28px;
}

.nav-link:hover i {
    transform: scale(1.2);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:hover::before {
    width: 50%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Estilo para link ativo */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after,
.nav-link.active::before {
    width: 50%;
}

.nav-link.active i {
    transform: scale(1.2);
}

.nav-link.active i::after {
    width: 28px;
    height: 28px;
}

/* Adicionar separador decorativo entre itens do menu */
.nav-item:not(:last-child)::after {
    content: "♥";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    opacity: 0.5;
    font-size: 0.8rem;
}

@media (max-width: 992px) {
    .nav-item:not(:last-child)::after {
        display: none;
    }
    
    .nav-link {
        justify-content: flex-start;
    }
}

/* Hero Section */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-date {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

/* Seção de História */
.story-timeline {
    position: relative;
    padding: 40px 0;
}

.story-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--accent-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-item:nth-child(odd) {
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: 50px;
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    top: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-date {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Galeria de Fotos */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lista de Presentes */
.gifts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Media queries para ajustar o número de itens por linha */
@media (min-width: 992px) {
    .gifts-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .gifts-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gift-card {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
}

@media (min-width: 1200px) {
    .gift-card {
        font-size: 0.95rem;
    }
    
    .gift-title {
        font-size: 1.1rem;
    }
    
    .gift-info {
        padding: 15px;
    }
}

.gift-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gift-img {
    height: 200px;
    overflow: hidden;
}

@media (min-width: 1200px) {
    .gift-img {
        height: 180px;
    }
}

.gift-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gift-info {
    padding: 20px;
}

.gift-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.gift-price {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.gift-desc {
    margin-bottom: 15px;
}

.gift-desc p {
    margin-bottom: 10px;
}

.gift-desc img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

/* Para garantir que o conteúdo HTML seja exibido corretamente */
.gift-desc span,
.gift-desc strong,
.gift-desc em,
.gift-desc u,
.gift-desc s,
.gift-desc b,
.gift-desc i {
    display: inline-block;
}

.gift-desc ul,
.gift-desc ol {
    padding-left: 20px;
    margin-bottom: 10px;
}

.gift-desc table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.gift-desc table td,
.gift-desc table th {
    border: 1px solid #ddd;
    padding: 8px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Formulário de Confirmação */
.form-control {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(208, 136, 122, 0.25);
}

/* Footer */
.site-footer {
    background-color: var(--dark-color);
    color: white;
}

.site-footer h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .names {
        font-size: 2rem;
    }
    
    .date {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-date {
        font-size: 1.4rem;
    }
    
    .story-timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
        margin-left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 10px;
        right: auto;
    }
}

/* Seção de Padrinhos */
.godparent-card {
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: white;
    height: 100%;
}

/* Aplicando animação diretamente nos cards individuais */
#padrinhos .col .godparent-card {
    animation: float 4s ease-in-out infinite;
}

#padrinhos .col:nth-child(3n+1) .godparent-card {
    animation-delay: 0s;
}

#padrinhos .col:nth-child(3n+2) .godparent-card {
    animation-delay: 0.8s;
}

#padrinhos .col:nth-child(3n+3) .godparent-card {
    animation-delay: 1.6s;
}

.godparent-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transform: translateY(-5px);
    animation-play-state: paused; /* Pausa a animação ao passar o mouse */
}

/* Animação de flutuação */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.godparent-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    position: relative;
}

.godparent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.godparent-image img.grayscale {
    filter: grayscale(100%);
}

.godparent-card .card-title {
    font-family: var(--font-primary);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

.godparent-card .card-text {
    font-size: 0.9rem;
    max-height: 100px;
    overflow-y: auto;
    padding: 0 10px;
}

/* Estilização para os padrinhos misteriosos */
.mystery-couple {
    position: relative;
    background-color: var(--dark-color);
    filter: blur(3px);
    transition: filter 0.3s ease;
}

.godparent-card:hover .mystery-couple {
    filter: blur(1px);
}

/* Estilo para texto borrado/censurado */
.blurred-text {
    color: var(--dark-color) !important;
    filter: blur(3px);
    transition: all 0.3s ease;
    user-select: none;
    letter-spacing: 1px;
}

.godparent-card:hover .blurred-text {
    filter: blur(2px);
}

/* Adicionar um ícone de cadeado para indicar que o conteúdo está protegido */
.godparent-image.mystery-couple::before,
.godparent-image.mystery-couple::after {
    filter: blur(0) !important;
}

/* Estilização para os padrinhos misteriosos */
.mystery-couple {
    position: relative;
    background-color: var(--dark-color);
    filter: blur(3px);
    transition: filter 0.3s ease;
}

.mystery-couple::before,
.mystery-couple::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(0); /* Remover blur das silhuetas */
}

.mystery-couple::before {
    left: 0;
    background-image: url('../img/padrinhos/silhueta-homem.png');
}

.mystery-couple::after {
    right: 0;
    background-image: url('../img/padrinhos/silhueta-mulher.png');
}

.mystery-couple img {
    opacity: 0.3;
}

.godparent-card:hover .mystery-couple {
    filter: blur(1px);
}

/* Estilo para texto borrado/censurado */
.blurred-text {
    color: var(--dark-color) !important;
    filter: blur(3px);
    transition: all 0.3s ease;
    user-select: none;
    letter-spacing: 1px;
}

.godparent-card:hover .blurred-text {
    filter: blur(2px);
}

@media (max-width: 768px) {
    .godparent-image {
        width: 120px;
        height: 120px;
    }
    
    .godparent-card .card-title {
        font-size: 1.2rem;
    }
}

/* Classe para ajustar o espaçamento quando o menu está fixo */
.menu-fixed-padding {
    padding-top: 80px;
} 

/* Estilos para as legendas do Instagram */
.social-links {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.instagram-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.instagram-label {
    font-size: 0.75rem;
    color: var(--dark-color);
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
    font-family: var(--font-secondary);
}

@media (max-width: 768px) {
    .social-links {
        gap: 15px;
    }
    
    .instagram-label {
        font-size: 0.7rem;
    }
} 