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

:root {
    --ocean-blue: #1E90FF;
    --tropical-green: #32CD32;
    --sun-yellow: #FFD700;
    --sunset-orange: #FF8C00;
    --penguin-black: #000000;
    --sand-white: #F5F5DC;
}

body {
    font-family: 'Quicksand', sans-serif;
    overflow-x: hidden;
    background-color: var(--ocean-blue);
    color: white;
}

.hidden {
    display: none !important;
}

/* Tela de carregamento */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #87CEEB, var(--ocean-blue));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    width: 100px;
    height: 100px;
    animation: bounce 2s infinite;
}

.loading-content h2 {
    font-family: 'Bangers', cursive;
    font-size: 3rem;
    color: white;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.loading-bar-container {
    width: 200px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    margin: 0 auto;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    width: 0;
    background-color: var(--sun-yellow);
    border-radius: 5px;
    transition: width 0.5s ease;
}

/* Página inicial */
.landing-page {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.pulse-leaf {
animation: pulse 1s infinite;
      
    }

    @keyframes pulse {
      0%   { transform: scale(1); }
      50%  { transform: scale(1.2); }
      100% { transform: scale(1); }
    }
/* Elementos de fundo */
.sky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom,  #83d8ff, #ffcb3a);
    z-index: 1;
}

.sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.sun img {
    width: 900px;
    height: 500px;
    filter: drop-shadow(0 0 90px rgb(255, 196, 0));
    animation: pulse 4s infinite ease-in-out;
}

.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    z-index: 3;
}

.cloud {
    position: absolute;
    opacity: 0.9;
}

.cloud1 {
    top: 50px;
    
    width: 250px;
    animation: floatCloud 30s infinite linear;
}

.cloud2 {
    top: 100px;
    
    width: 220px;
    animation: floatCloud 25s infinite linear;
    animation-delay: -5s;
}

.cloud3 {
    top: 70px;
    
    width: 190px;
    animation: floatCloud 35s infinite linear;
    animation-delay: -15s;
}

.ocean {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgb(255, 196, 0), #3598fa, #0066CC);
    z-index: 4;
  
    
}

.wave {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('assets/images/beach/wave.png') repeat-x;
    background-size: 200px 200px;
    background-position: 0 bottom;
    animation: waveAnimation 10s linear infinite;
}

.wave1 {
    bottom: 10px;
   
    animation-duration: 8s;
    z-index: 6;
}

.wave2 {
   
    bottom: 70px;
    opacity: 0.9;
    animation-duration: 15s;
    animation-direction: reverse;
    z-index: 5;
}

.wave3 {
    bottom: 130px;
    opacity: 0.7;
    animation-duration: 20s;
    z-index: 4;
}

.beach {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 5;
    border-top: solid 5px #c29500;
}

.sand {
    width: 100%;
    height: 100%;
   
}

.palm-trees {
    position: absolute;
    bottom: 0px;
    width: 100%;
    z-index: 103;
}

.palm-tree {
    position: absolute;
    bottom: 0;
}

.palm-tree1 {
    left: -10%;
    width: 700px;
   
}

.palm-tree2 {
    right:-10%;
    width: 700px;
    transform: scaleX(-1) rotate(-5deg);
    
}

/* Pinguim e cadeira de praia */
.penguin-container {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 7;
    width: 350px;
    height: 270px;
}

.penguin {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
}

.penguin-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.beach-chair {
    position: absolute;
    bottom: -80px;
    left: 50px;
    width: 260px;
    height: 80px;
    background-color: #FF6347;
    border: 3px solid #8B4513;
    border-radius: 5px;
    transform: perspective(300px) rotateX(20deg);
    z-index: -1;
}

/* Conteúdo principal da landing */
.landing-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 104;
    width: 80%;
    max-width: 600px;
}

.logo-container {
    margin-bottom: 40px;
}

.logo {
    font-family: 'Bangers', cursive;
    font-size: 5rem;
    color: white;
    text-shadow: 4px 4px 0 var(--sunset-orange), 
                 8px 8px 0 rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    margin-bottom: 10px;
    animation: logoAnimation 1s ease-in-out;
}

.tagline {
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    -webkit-text-stroke-width: thin;
    -webkit-text-stroke-color: var(--sunset-orange);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-in-out 0.5s both;
}

/* Botão CTA */
.cta-button {
    position: relative;
    padding: 15px 40px;
    font-family: 'Bangers', cursive;
    font-size: 1.8rem;
    letter-spacing: 1px;
    background: linear-gradient(to bottom, var(--tropical-green), #228B22);
   
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: pulse 2s infinite, fadeIn 1s ease-in-out 1s both;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.cta-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    margin-left: 10px;
    font-size: 1.5rem;
    animation: waveIcon 1.5s infinite;
}

/* Elementos para a animação de transição */
.transition-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none;
}

.surfing-penguin {
    position: absolute;
    width: 200px;
    height: 200px;
    z-index: 102;
}

.surfing-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.transition-wave {
    position: absolute;
    width: 400px;
    height: 300px;
    z-index: 101;
}





    


.wave-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.surfboard {
    position: absolute;
    width: 150px;
    height: 50px;
    z-index: 101;
}

.surfboard-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Controles de áudio */
.audio-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.audio-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.audio-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Animações */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes floatCloud {
    0% {
        transform: translateX(-250px);
    }
    100% {
        transform: translateX(calc(100vw + 150px));
    }
}

@keyframes waveAnimation {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 200px;
    }
}

@keyframes sway {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

@keyframes logoAnimation {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes waveIcon {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .logo {
        font-size: 3.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .cta-button {
        font-size: 1.5rem;
        padding: 12px 30px;
    }
    
    .sun img {
        width: 800px;
        height: 440px;
    }
    
    .palm-tree1, .palm-tree2 {
        width: 400px;
    }
    
    .penguin-container {
       
        height: 250px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.8rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .cta-button {
        font-size: 1.2rem;
        padding: 10px 25px;
    }
    
    .sun {
        
        left: 53%;
    }
    
    .sun img {
        width: 570px;
        height: 370px;
    }
    
    .palm-tree1 {
        left: -60%;
    }
  
    .palm-tree2 {
        right: -60%;
    }
    
    
}
