/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(180deg, #F5E6D3 0%, #E8D5B7 50%, #D4C4A8 100%);
    min-height: 100vh;
    overflow: hidden;
}

/* Container da apresentação */
.presentation-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #F5E6D3;
}

/* Vídeo de fundo */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

#safari-video-presentation {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 230, 211, 0.4);
    z-index: 2;
    pointer-events: none;
}

/* Overlay inicial */
.start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.start-button {
    text-align: center;
    color: white;
    background: rgba(102, 153, 102, 0.9);
    padding: 50px;
    border-radius: 30px;
    border: 4px solid #FFD700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.start-button:hover {
    transform: scale(1.05);
    background: rgba(139, 69, 19, 1);
}

.start-icon {
    font-size: 100px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.start-text {
    font-family: 'Fredoka One', cursive;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.start-subtext {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    opacity: 0.9;
    font-style: italic;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    z-index: 10;
    cursor: pointer;
}

/* Último slide sem cursor pointer */
#slide-4 {
    cursor: default;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
}

/* Slide 1 - Convite Especial */
.safari-header {
    text-align: center;
    margin-bottom: 40px;
}

.special-title {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    color: #8B4513;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.safari-subtitle {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: #D2691E;
    margin-bottom: 10px;
}

.child-name-big {
    font-family: 'Pacifico', cursive;
    font-size: 4rem;
    color: #FF6B35;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.age-banner-special {
    background: linear-gradient(45deg, #90EE90, #32CD32);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.animals-decoration {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
}

.animal-float {
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
}

.animal-float:nth-child(1) { animation-delay: 0s; }
.animal-float:nth-child(2) { animation-delay: 0.5s; }
.animal-float:nth-child(3) { animation-delay: 1s; }
.animal-float:nth-child(4) { animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Slide 2 - Mensagem */
.message-container {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-width: 600px;
}

.message-icon {
    font-size: 5rem;
    margin-bottom: 30px;
}

.message-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 20px;
}

.message-text {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    color: #8B4513;
    margin-bottom: 30px;
    font-weight: 600;
}

.jungle-animals {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.jungle-animal {
    font-size: 3rem;
    animation: swing 2s ease-in-out infinite;
}

.jungle-animal:nth-child(1) { animation-delay: 0s; }
.jungle-animal:nth-child(2) { animation-delay: 0.3s; }
.jungle-animal:nth-child(3) { animation-delay: 0.6s; }
.jungle-animal:nth-child(4) { animation-delay: 0.9s; }

@keyframes swing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Slide 3 - Safari Principal */
#slide-3 {
    background-color: #F5E6D3;
}

/* Animais safari nas laterais */
.safari-animals-left, .safari-animals-right {
    position: absolute;
    top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1;
}

.safari-animals-left {
    left: 10px;
}

.safari-animals-right {
    right: 10px;
}

.animal-card {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    animation: animalFloat 3s ease-in-out infinite;
    border: 2px solid #D2691E;
}

.animal-card.tiger {
    background: linear-gradient(135deg, #FF8C00, #FFB347);
    animation-delay: 0s;
}

.animal-card.elephant {
    background: linear-gradient(135deg, #A9A9A9, #C0C0C0);
    animation-delay: 1s;
}

.animal-card.monkey {
    background: linear-gradient(135deg, #8B4513, #CD853F);
    animation-delay: 0.5s;
}

.animal-card.zebra {
    background: linear-gradient(135deg, #000000, #696969);
    animation-delay: 1.5s;
}

.animal-emoji {
    font-size: 1.8rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes animalFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.main-safari-container {
    background-image: url('safari-background.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #F5E6D3;
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    max-width: 80vw;
    width: 100%;
    max-height: 80vh;
    text-align: center;
    margin: 10px auto;
    position: relative;
    z-index: 10;
    overflow-y: auto;
    overflow-x: hidden;
}

.main-title {
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.safari-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: #8B4513;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.child-name {
    font-family: 'Pacifico', cursive;
    font-size: 3rem;
    color: #FF6B35;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.age-banner {
    background: linear-gradient(45deg, #90EE90, #32CD32);
    color: white;
    padding: 10px 25px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.age-text {
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
}

.invitation-message {
    margin: 20px 0;
    position: relative;
    z-index: 10;
    font-family: 'Nunito', sans-serif;
}

.special-date, .invitation-text, .together-text {
    font-size: 1rem;
    color: #8B4513;
    margin: 5px 0;
    font-style: italic;
}

.special-date {
    font-weight: 600;
}

/* Foto */
.birthday-photo-section {
    display: flex;
    justify-content: center;
    margin: 25px 0;
    position: relative;
    z-index: 10;
}

/* Animal do Leão */
.bottom-lion {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.lion-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lion-emoji {
    font-size: 3rem;
    animation: lionRoar 4s ease-in-out infinite;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.3));
}

@keyframes lionRoar {
    0%, 90%, 100% { transform: scale(1) rotate(0deg); }
    5%, 15% { transform: scale(1.1) rotate(-2deg); }
    10% { transform: scale(1.15) rotate(2deg); }
}

.photo-frame-leafy {
    position: relative;
    width: 150px;
    height: 150px;
}

.leafy-border {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leaf-decoration {
    position: absolute;
    font-size: 2rem;
    z-index: 2;
    animation: leafFloat 3s ease-in-out infinite;
}

.leaf-top-left {
    top: -5px;
    left: 10px;
    transform: rotate(-20deg);
}

.leaf-top-right {
    top: -5px;
    right: 10px;
    transform: rotate(20deg);
}

.leaf-bottom-left {
    bottom: -5px;
    left: 10px;
    transform: rotate(20deg);
}

.leaf-bottom-right {
    bottom: -5px;
    right: 10px;
    transform: rotate(-20deg);
}

@keyframes leafFloat {
    0%, 100% { transform: translateY(0px) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-5px) rotate(var(--rotation, 0deg)); }
}

.photo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #D2691E;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide 4 - Final */
.final-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    max-width: 80vw;
    width: 100%;
    max-height: 85vh;
    text-align: center;
    margin: 10px auto;
    overflow-y: auto;
    overflow-x: hidden;
}

.final-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: #8B4513;
    margin-bottom: 20px;
}

.date-time-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.date-box, .time-box {
    background: #F5E6D3;
    padding: 12px 16px;
    border-radius: 15px;
    border: 3px solid #D2691E;
}

.date-display, .time-display {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #8B4513;
}

.time-label {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: #8B4513;
    margin-right: 10px;
}

.location-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    background: #F5E6D3;
    padding: 15px;
    border-radius: 15px;
}

.location-icon {
    font-size: 2rem;
}

.location-label {
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    color: #8B4513;
    margin-bottom: 5px;
}

.location-name {
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    color: #8B4513;
    font-weight: bold;
    margin-bottom: 3px;
}

.location-description {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    color: #D2691E;
    font-style: italic;
    margin-bottom: 5px;
}

.location-address {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: #8B4513;
    font-weight: 500;
    margin-bottom: 3px;
}

.location-text {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    color: #8B4513;
    line-height: 1.4;
}

.maps-button {
    background: #4285F4;
    border-radius: 12px;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
    flex-shrink: 0;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.maps-button:hover,
.maps-button:active {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.4);
}

.maps-icon {
    font-size: 1.8rem;
    line-height: 1;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.2));
}

/* Modal de opções de mapas */
.maps-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.maps-modal.show {
    opacity: 1;
}

.maps-modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.maps-modal.show .maps-modal-content {
    transform: scale(1);
}

.maps-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #F5E6D3;
    padding-bottom: 15px;
}

.maps-modal-header h3 {
    font-family: 'Fredoka One', cursive;
    color: #8B4513;
    margin: 0;
    font-size: 1.3rem;
}

.maps-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #8B4513;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.maps-modal-close:hover {
    background: #F5E6D3;
}

.maps-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.maps-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border: 2px solid #F5E6D3;
    border-radius: 15px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.maps-option:hover {
    background: #F5E6D3;
    border-color: #D2691E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.maps-option-icon {
    font-size: 1.5rem;
}

.maps-option-name {
    font-size: 1rem;
    font-weight: 600;
    color: #8B4513;
}

.confirmation-section {
    margin-top: 20px;
}

.confirm-banner {
    background: rgba(255, 215, 0, 0.9);
    padding: 12px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.confirm-icon {
    font-size: 1.5rem;
}

.confirm-label {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #8B4513;
    display: block;
    margin-bottom: 5px;
}

.confirm-date-display {
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8B4513;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    cursor: default;
}

.guest-input, .guest-select {
    padding: 12px 15px;
    border: 2px solid #D2691E;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    background: white;
}

.confirm-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #8B4513;
    border: none;
    padding: 15px 30px;
    border-radius: 20px;
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.confirm-btn:hover {
    background: linear-gradient(45deg, #FFA500, #FF8C00);
    transform: translateY(-2px);
}

.animals-decoration {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;          /* espaço entre os animais */
  margin-top: 15px;
}

.animal-float {
  display: inline-block;
}

.animal-float img {
  width: 70px;        /* tamanho pequeno */
  height: auto;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}
.animal-float:nth-child(2) img {
  width: 100px;
}

.animal-float:nth-child(3) img {
  width: 70px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Setas de navegação */
.slide-arrow {
    position: fixed;
    right: 30px;
    top: 70%;
    transform: translateY(-50%);
    background: rgba(139, 69, 19, 0.9);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 100;
    border: 3px solid #FFD700;
}

.slide-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    background: rgba(139, 69, 19, 1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.slide-arrow span {
    font-size: 1.8rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.down-arrow {
    top: 70% !important;
    bottom: auto;
    right: 30px;
    transform: translateY(-50%) !important;
    z-index: 1000;
    position: fixed !important;
}

.down-arrow:hover {
    transform: translateY(-50%) scale(1.1) !important;
}

/* Navegação */
.slide-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.nav-btn {
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.restart-btn {
    background: linear-gradient(45deg, #32CD32, #90EE90);
}

/* Notificação */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    z-index: 2000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}


.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #32CD32;
    color: white;
}

.notification.error {
    background: #FF6B6B;
    color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    .main-safari-container {
        max-width: 95vw;
        max-height: 85vh;
        padding: 20px;
        margin: 5px auto;
    }
    
    
    .safari-title {
        font-size: 2rem;
    }
    
    .child-name {
        font-size: 2.2rem;
    }
    
    .special-title {
        font-size: 2rem;
    }
    
    .child-name-big {
        font-size: 2.5rem;
    }
    
    .message-container {
        padding: 40px 20px;
        margin: 20px;
    }
    
    .final-info {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .date-time-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .slide-nav {
        flex-wrap: wrap;
    }
    
    .location-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .maps-button {
        width: 60px;
        height: 60px;
        margin: 0;
    }
    
    .maps-icon {
        font-size: 2rem;
    }
    
    .slide-arrow {
        width: 50px;
        height: 50px;
        right: 15px;
    }
    
    .slide-arrow span {
        font-size: 1.5rem;
    }
    
    .down-arrow {
        top: 70% !important;
        bottom: auto !important;
        right: 15px !important;
        width: 50px !important;
        height: 50px !important;
        z-index: 1001 !important;
        display: flex !important;
        position: fixed !important;
        transform: translateY(-50%) !important;
    }
    
}
