/* 可愛山巒背景樣式 */
.mountains-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    overflow: hidden;
    z-index: -1;
    background: linear-gradient(to bottom, #a8d5ff 0%, #f8e8a0 100%);
}

/* Mountain Styles */
.mountain {
    position: absolute;
    bottom: 0;
    border-radius: 50%;
}

.mountain-1 {
    width: 300px;
    height: 180px;
    background-color: #b5e8d5;
    left: 10%;
    bottom: -100px;
    z-index: 2;
}

.mountain-2 {
    width: 380px;
    height: 220px;
    background-color: #a3d9c9;
    left: 25%;
    bottom: -130px;
    z-index: 3;
}

.mountain-3 {
    width: 420px;
    height: 250px;
    background-color: #8ecab8;
    left: 40%;
    bottom: -130px;
    z-index: 4;
}

.mountain-4 {
    width: 330px;
    height: 200px;
    background-color: #7bbcaa;
    left: 60%;
    bottom: -110px;
    z-index: 2;
}

.mountain-5 {
    width: 260px;
    height: 160px;
    background-color: #69ada0;
    left: 80%;
    bottom: -80px;
    z-index: 1;
}

/* Cloud Styles */
.clouds {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.cloud {
    position: absolute;
    background-color: white;
    border-radius: 50px;
    opacity: 0.9;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background-color: white;
    border-radius: 50%;
}

.cloud-1 {
    width: 100px;
    height: 40px;
    left: 15%;
    top: 30px;
    animation: float 15s ease-in-out infinite;
}

.cloud-1::before {
    width: 50px;
    height: 50px;
    top: -20px;
    left: 15px;
}

.cloud-1::after {
    width: 40px;
    height: 40px;
    top: -15px;
    right: 15px;
}

.cloud-2 {
    width: 120px;
    height: 45px;
    left: 45%;
    top: 20px;
    animation: float 18s ease-in-out infinite 2s;
}

.cloud-2::before {
    width: 60px;
    height: 60px;
    top: -25px;
    left: 18px;
}

.cloud-2::after {
    width: 50px;
    height: 50px;
    top: -18px;
    right: 18px;
}

.cloud-3 {
    width: 90px;
    height: 35px;
    left: 75%;
    top: 40px;
    animation: float 20s ease-in-out infinite 1s;
}

.cloud-3::before {
    width: 45px;
    height: 45px;
    top: -18px;
    left: 12px;
}

.cloud-3::after {
    width: 35px;
    height: 35px;
    top: -12px;
    right: 12px;
}

/* Tree Styles */
.trees {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
}

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

.tree::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 35px solid #4a8;
    bottom: 12px;
    left: -6px;
}

.tree::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 12px;
    background-color: #964B00;
    bottom: 0;
    left: 0;
}

.tree-1 {
    left: 20%;
    transform: scale(0.8);
}

.tree-2 {
    left: 30%;
    transform: scale(1.2);
}

.tree-3 {
    left: 50%;
    transform: scale(1);
}

.tree-4 {
    left: 65%;
    transform: scale(0.9);
}

.tree-5 {
    left: 75%;
    transform: scale(1.1);
}

/* Tree saplings */
.sapling {
    position: absolute;
    bottom: 0;
    z-index: 4;
}

.sapling::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 15px solid #6ede8a;
    bottom: 6px;
    left: -3px;
    border-radius: 50% 50% 0 0;
    transform: rotate(-5deg);
}

.sapling::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 13px solid #8af7a6;
    bottom: 5px;
    left: 2px;
    border-radius: 50% 50% 0 0;
    transform: rotate(15deg);
}

.sapling-1 {
    left: 18%;
    transform: scale(0.7);
}

.sapling-2 {
    left: 27%;
    transform: scale(0.6);
}

.sapling-3 {
    left: 32%;
    transform: scale(0.8);
}

.sapling-4 {
    left: 48%;
    transform: scale(0.5);
}

.sapling-5 {
    left: 54%;
    transform: scale(0.7);
}

.sapling-6 {
    left: 63%;
    transform: scale(0.6);
}

.sapling-7 {
    left: 72%;
    transform: scale(0.5);
}

.sapling-8 {
    left: 80%;
    transform: scale(0.7);
}

/* Animation */
@keyframes float {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(20px);
    }
}

/* 調整容器內間距，確保內容不會被山巒遮擋 */
body {
    padding-top: 100px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .mountains-container {
        height: 30vh;
    }
    
    .mountain-1 {
        width: 220px;
        height: 140px;
        bottom: -70px;
    }
    
    .mountain-2 {
        width: 280px;
        height: 180px;
        bottom: -100px;
    }
    
    .mountain-3 {
        width: 320px;
        height: 200px;
        bottom: -100px;
    }
    
    .mountain-4 {
        width: 250px;
        height: 160px;
        bottom: -85px;
    }
    
    .mountain-5 {
        width: 200px;
        height: 130px;
        bottom: -65px;
    }
}

@media (max-width: 480px) {
    .mountains-container {
        height: 25vh;
    }
    
    .mountain-1 {
        width: 180px;
        height: 120px;
        bottom: -60px;
    }
    
    .mountain-2 {
        width: 240px;
        height: 150px;
        bottom: -80px;
    }
    
    .mountain-3 {
        width: 280px;
        height: 170px;
        bottom: -85px;
    }
    
    .mountain-4 {
        width: 220px;
        height: 140px;
        bottom: -75px;
    }
    
    .mountain-5 {
        width: 170px;
        height: 110px;
        bottom: -55px;
    }

    .cloud-1, .cloud-2, .cloud-3 {
        transform: scale(0.8);
    }

    .tree::before {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 30px solid #4a8;
    }

    .tree::after {
        width: 5px;
        height: 10px;
    }

    .sapling::before,
    .sapling::after {
        transform: scale(0.8);
    }
} 