/* Estilos Gerais */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 10px;
    background-color: #eef7ff;
    color: #1e3a5f;
    line-height: 1.6;
}

/* Banner */
.banner {
    width: 100%;
    height: 400px;
    background-image: url('../imagens/banner-isis.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* Menu Interativo */
nav {
    text-align: center;
    padding: 10px;
    background-color: #1e3a8a;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #a0c4ff;
}

/* Contagem Regressiva */
#countdown {
    text-align: center;
    padding: 40px 20px;
    background-color: #cfe2ff;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

#timer {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 20px 0;
}

#countdown h3 {
    font-size: 1.5rem;
    color: #1e3a5f;
}

.card-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-family: Arial, sans-serif;
}

.time-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    min-width: 80px;
}

.time-card span {
    display: block;
}

.time-card span:first-child {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e3a5f;
}

.time-card .label {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

/* Borboletas Azuis Animadas */
.butterfly {
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url('https://assets.codepen.io/33787/butterflies.png');
    background-size: cover;
    animation: fly 8s infinite ease-in-out, flap 0.75s infinite ease-in-out;
    opacity: 0.8;
    z-index: 10;
    pointer-events: none;
    filter: hue-rotate(180deg) saturate(2) brightness(0.9);
}

.butterfly-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    background-position: 0 0;
}

.butterfly-2 {
    top: 20%;
    left: 80%;
    animation-delay: 4s;
    background-position: -40px 0;
}

.butterfly-3 {
    top: 50%;
    left: 30%;
    animation-delay: 2s;
    background-position: -80px 0;
}

.butterfly-4 {
    top: 70%;
    left: 60%;
    animation-delay: 6s;
    background-position: -120px 0;
}

@keyframes fly {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, -50px) rotate(20deg);
    }
    50% {
        transform: translate(100px, 0) rotate(0deg);
    }
    75% {
        transform: translate(50px, 50px) rotate(-20deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes flap {
    0%, 20%, 80%, 100% {
        transform: scaleX(1) rotate(5deg);
    }
    50% {
        transform: scaleX(0.7) rotate(7deg);
    }
}

/* Confirmação de Presença */
#confirmation {
    text-align: center;
    padding: 60px 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-image: url('../imagens/fundo-confirmacao.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#confirmation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 10px;
}

#confirmation h2, #confirmation p, #confirmation .btn {
    position: relative;
    z-index: 2;
}

#confirmation h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#confirmation p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#confirmation .btn {
    background-color: #1e40af;
    color: white;
    padding: 10px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#confirmation .btn:hover {
    background-color: #0f6923;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Lista de Presentes */
.gift-section {
    text-align: center;
    padding: 60px 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #dbeafe;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.gift-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.9), rgba(191, 219, 254, 0.7));
    z-index: 0;
}

.gift-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1e3a5f;
    position: relative;
}

.gift-section p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #1e3a5f;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.gift-section .hint {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 30px;
    color: #1e3a8a;
    position: relative;
}

.gift-btn {
    background-color: #1e40af;
    color: white;
    padding: 12px 35px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.gift-btn:hover {
    background-color: #0f6923;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.gift-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.2;
    z-index: 0;
    animation: float 6s infinite ease-in-out;
}

.gift-icon:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.gift-icon:nth-child(2) {
    top: 70%;
    left: 80%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Galeria Aprimorada */
.gallery-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #dbeafe;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.gallery-subtitle {
    color: #1e3a8a;
    margin-bottom: 20px;
    font-style: italic;
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
    aspect-ratio: 16/9;
    background-color: #f8fafc;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-inner {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: zoom-in;
}



.image-caption {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    background: rgba(30, 58, 138, 0.7);
    color: white;
    padding: 8px;
    font-size: 0.9rem;
    border-radius: 0 0 8px 8px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.carousel-item:hover .image-caption {
    opacity: 1;
}

.carousel-item:hover img {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Controles de Navegação */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(30, 58, 138, 0.8);
    backdrop-filter: blur(4px);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel-control:hover {
    background-color: rgba(30, 58, 138, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Miniaturas */
.carousel-thumbnails {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.carousel-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    border: 2px solid transparent;
}

.carousel-thumbnails img:hover {
    opacity: 1;
}

.carousel-thumbnails img.active {
    opacity: 1;
    border-color: #1e3a8a;
}

/* Indicadores */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
    z-index: 1;
    position: relative;
}

.dot {
    width: 14px;
    height: 14px;
    background-color: #bfdbfe;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background-color: #93c5fd;
}

.dot.active {
    background-color: #1e3a8a;
    transform: scale(1.2);
    border-color: #dbeafe;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-top: 5vh;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #dbeafe;
}

.modal-caption {
    color: white;
    text-align: center;
    padding: 15px;
    max-width: 80%;
    margin: 0 auto;
}

/* Sessão do Local */
#location {
    text-align: center;
    padding: 20px 10px;
    background-color: #cfe2ff;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#location h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1e3a5f;
}

#location p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #1e3a5f;
}

iframe {
    width: 100%;
    max-width: 600px;
    height: 450px;
    border: none;
    border-radius: 10px;
    margin-top: 20px;
}

/* Rodapé Profissional */
.site-footer {
    background-color: #1e3a8a;
    color: white;
    padding: 40px 20px 20px;
    margin-top: 40px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dbeafe, #dbeafe, #dbeafe);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.footer-brand p {
    color: #a0c4ff;
    font-size: 0.9rem;
}

.footer-developer h4,
.footer-navigation h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
    position: relative;
    padding-bottom: 8px;
}

.footer-developer h4::after,
.footer-navigation h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #dbeafe;
}

.footer-developer p {
    margin: 5px 0;
    color: #dbeafe;
    font-size: 0.95rem;
}

.footer-developer strong {
    color: white;
    font-weight: 600;
}

.developer-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.developer-links a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.developer-links a:hover {
    transform: translateY(-3px);
}

/* Ajustes específicos para os ícones SVG */
.developer-links svg {
    width: 24px;
    height: 24px;
    color: white; /* Controla a cor via currentColor */
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
}

.developer-links a:hover svg {
    opacity: 1;
    transform: translateY(-3px);
    color: #dbeafe; /* Cor ao passar o mouse */
}

.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-navigation li {
    margin-bottom: 8px;
}

.footer-navigation a {
    color: #dbeafe;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-navigation a:hover {
    color: white;
    padding-left: 5px;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-copyright p {
    color: #a0c4ff;
    font-size: 0.85rem;
    margin: 0;
}

/* Responsividade do Rodapé */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-brand,
    .footer-developer,
    .footer-navigation {
        text-align: center;
    }
    
    .footer-developer h4::after,
    .footer-navigation h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .developer-links {
        justify-content: center;
    }
    
    .footer-navigation ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-navigation li {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 15px 15px;
    }
    
    .footer-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

/* Responsividade */
@media (max-width: 1200px) {
    .time-card {
        padding: 15px 10px;
        min-width: 65px;
    }
    .time-card span:first-child {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .time-card {
        padding: 12px 8px;
        min-width: 60px;
    }
    .time-card span:first-child {
        font-size: 1.6rem;
    }
    .time-card .label {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        aspect-ratio: 4/3;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-thumbnails img {
        width: 60px;
        height: 45px;
    }
    
    .image-caption {
        font-size: 0.8rem;
    }
    
    .time-card {
        padding: 10px 6px;
        min-width: 50px;
    }
    .time-card span:first-child {
        font-size: 1.4rem;
    }
    .time-card .label {
        font-size: 0.75rem;
    }
    #countdown h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .carousel-container {
        aspect-ratio: 1/1;
    }
    
    .carousel-thumbnails img {
        width: 50px;
        height: 35px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 70vh;
    }
    
    .time-card {
        padding: 8px 4px;
        min-width: 40px;
    }
    .time-card span:first-child {
        font-size: 1.2rem;
    }
    .time-card .label {
        font-size: 0.65rem;
    }
    #timer {
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 300px;
    }

    #confirmation {
        min-height: 200px;
    }

    #confirmation h2 {
        font-size: 1.5rem;
    }

    #confirmation p {
        font-size: 1rem;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    #gallery h2, #location h2 {
        font-size: 1.5rem;
    }

    iframe {
        height: 300px;
    }
    
    .gift-section h2 {
        font-size: 1.5rem;
    }
    
    .gift-section p {
        font-size: 1rem;
    }
    
    .gift-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .banner {
        height: 250px;
    }
    
    .time-card {
        padding: 6px 3px;
        min-width: 35px;
    }
    .time-card span:first-child {
        font-size: 1rem;
    }
    .time-card .label {
        font-size: 0.6rem;
    }
    
    .carousel-thumbnails img {
        width: 40px;
        height: 30px;
    }
    
    iframe {
        height: 250px;
    }
}

@media (max-width: 320px) {
    .banner {
        height: 200px;
    }

    #confirmation {
        min-height: 150px;
    }

    #confirmation h2 {
        font-size: 1.2rem;
    }

    #confirmation p {
        font-size: 0.9rem;
    }

    nav ul li a {
        font-size: 0.9rem;
    }

    iframe {
        height: 200px;
    }
    
    .gift-section h2 {
        font-size: 1.2rem;
    }
    
    .gift-section p {
        font-size: 0.9rem;
    }
    
    .gift-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}