/* Estilos para a página de Evento */
.event-location {
    padding: 120px 2rem 80px;
    background: var(--bg-dark);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.event-location::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.05) 0%, rgba(44, 62, 80, 0.2) 100%);
    z-index: 0;
    pointer-events: none;
}

.event-location .section-title {
    position: relative;
    display: block;
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.event-location .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    animation: titleUnderline 2s ease-in-out infinite alternate;
}

@keyframes titleUnderline {
    0% {
        width: 80px;
        opacity: 0.7;
    }
    100% {
        width: 120px;
        opacity: 1;
    }
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 50px auto;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    padding: 0 15px;
}

/* Card do local do evento */
.venue-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 30px auto;
    gap: 20px;
}

.venue-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.venue-header i {
    font-size: 1rem;
    color: var(--gold-light);
    margin-right: 8px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 20px;
    text-align: center;
}

.venue-header h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--gold-light);
    position: relative;
}

.venue-header h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.venue-card:hover .venue-header h4::after {
    width: 60px;
}

.venue-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    justify-content: center;
}

.venue-info-item p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.venue-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.venue-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.venue-card:hover::before {
    opacity: 1;
}

.venue-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--gold-light);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.venue-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.venue-address {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.venue-details {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.detail-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 200px;
    max-width: 270px;
}

.detail-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.detail-card:hover::before {
    opacity: 1;
}

.detail-card i {
    font-size: 2.5rem;
    color: var(--gold-light);
    margin-bottom: 20px;
    display: block;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    transition: all 0.5s ease;
}

.detail-card:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.detail-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--gold-light);
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.5s ease;
}

.detail-card:hover h4::after {
    width: 100%;
}

.detail-card p {
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 0.95rem;
}

.text-sm {
    font-size: 0.9rem;
}

.opacity-80 {
    opacity: 0.8;
}

.mt-2 {
    margin-top: 10px;
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
    margin: 10px 0;
}

.map-container:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.event-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px auto;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    max-width: 800px;
    padding: 0 15px;
}

.venue-actions {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
}

.mr-2 {
    margin-right: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    .event-details {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .detail-card {
        padding: 20px;
    }

    .detail-card i {
        font-size: 2rem;
    }

    .detail-card h4 {
        font-size: 1.3rem;
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .event-details {
        grid-template-columns: 1fr;
    }

    .detail-card i {
        font-size: 1.8rem;
    }

    .detail-card h4 {
        font-size: 1.2rem;
    }

    .map-container {
        height: 250px;
    }

    .gift-options {
        grid-template-columns: 1fr;
    }
}

/* Seção de Presentes */
.presente-section {
    margin-top: 80px;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 20px 0;
}

.gift-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px auto;
    max-width: 1000px;
}

.gift-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.gift-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.gift-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.gift-card:hover::before {
    opacity: 1;
}

.gift-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.gift-icon i {
    font-size: 2rem;
    color: var(--text-dark);
}

.gift-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gold-light);
}

.gift-card p {
    margin-bottom: 20px;
    color: var(--text-light);
    opacity: 0.9;
}

.gift-card .btn {
    margin-top: 20px;
}

.pix-data {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    width: 100%;
    border: 1px dashed rgba(212, 175, 55, 0.3);
}

.pix-data p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Modal do PIX */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    overflow: auto;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    position: relative;
    background: rgba(20, 30, 48, 0.95);
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transform: translateY(20px);
    animation: slideUp 0.4s ease forwards;
    backdrop-filter: blur(10px);
}

@keyframes slideUp {
    to { transform: translateY(0); }
}

.modal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold-light);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.modal-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-light);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--gold-light);
    transform: scale(1.1);
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.qr-code-container {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

@media (min-width: 768px) {
    .qr-code-container {
        margin-bottom: 0;
        margin-right: 20px;
    }
}

.qr-code-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.qr-code-placeholder {
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    border-radius: 5px;
}

.qr-code-placeholder i {
    font-size: 80px;
    color: #333;
    margin-bottom: 15px;
}

.qr-code-placeholder p {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.pix-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .pix-info {
        align-items: flex-start;
    }
}

.modal .pix-data {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    width: 100%;
    border: 1px dashed rgba(212, 175, 55, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.modal .pix-data p {
    margin: 10px 0;
    font-size: 1rem;
    color: var(--text-light);
}

#copy-pix-key {
    margin-top: 10px;
    transition: all 0.3s ease;
}

#copy-pix-key:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsividade */
@media (max-width: 992px) {
    .detail-card {
        min-width: 180px;
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    .event-details {
        flex-direction: column;
        align-items: center;
    }

    .detail-card {
        min-width: 100%;
        max-width: 100%;
    }

    .map-container {
        height: 300px;
    }

    .gift-options {
        grid-template-columns: 1fr;
    }

    .venue-header h4 {
        font-size: 1.4rem;
    }

    .venue-info-item p {
        font-size: 0.95rem;
    }

    .venue-card {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .venue-card {
        padding: 20px 15px;
    }

    .detail-card {
        padding: 20px;
    }

    .venue-header h4 {
        font-size: 1.3rem;
    }

    .venue-info-item p {
        font-size: 0.9rem;
    }

    .venue-info-item i {
        font-size: 1.3rem;
    }

    .map-container {
        height: 250px;
    }

    .venue-header i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
}
