/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    background: linear-gradient(180deg, #87CEEB 0%, #4682B4 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Stars Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, #fff, transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, #fff, transparent),
        radial-gradient(2px 2px at 160px 30px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkle 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-left, .nav-center, .nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-item:hover {
    color: #FFD700;
    transform: translateY(-2px);
}

.social-icon {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #1877F2;
    transform: scale(1.1);
}

.login-btn {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cart-icon {
    color: white;
    text-decoration: none;
    position: relative;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FF6B6B;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 16px;
    text-align: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

/* Lotus Flower */
.lotus-flower {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 3rem;
    animation: float 6s ease-in-out infinite;
}

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

.petal {
    position: absolute;
    width: 60px;
    height: 100px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    transform-origin: bottom center;
    animation: bloom 3s ease-out infinite;
}

.petal-1 {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    transform: rotate(0deg) translateY(-30px);
    animation-delay: 0s;
}

.petal-2 {
    background: linear-gradient(45deg, #FFA500, #FF6347);
    transform: rotate(45deg) translateY(-30px);
    animation-delay: 0.2s;
}

.petal-3 {
    background: linear-gradient(45deg, #FF6347, #FF69B4);
    transform: rotate(90deg) translateY(-30px);
    animation-delay: 0.4s;
}

.petal-4 {
    background: linear-gradient(45deg, #FF69B4, #9370DB);
    transform: rotate(135deg) translateY(-30px);
    animation-delay: 0.6s;
}

.petal-5 {
    background: linear-gradient(45deg, #9370DB, #4169E1);
    transform: rotate(180deg) translateY(-30px);
    animation-delay: 0.8s;
}

.petal-6 {
    background: linear-gradient(45deg, #4169E1, #20B2AA);
    transform: rotate(225deg) translateY(-30px);
    animation-delay: 1s;
}

.petal-7 {
    background: linear-gradient(45deg, #20B2AA, #32CD32);
    transform: rotate(270deg) translateY(-30px);
    animation-delay: 1.2s;
}

.petal-8 {
    background: linear-gradient(45deg, #32CD32, #FFD700);
    transform: rotate(315deg) translateY(-30px);
    animation-delay: 1.4s;
}

@keyframes bloom {
    0% {
        transform: scale(0) rotate(var(--rotation));
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(var(--rotation));
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(var(--rotation));
        opacity: 0.9;
    }
}

/* Main Title */
.main-title {
    margin-bottom: 2rem;
}

.chinese-title {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    font-family: 'Noto Sans TC', sans-serif;
}

.english-title {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

/* Services */
.services {
    margin-bottom: 3rem;
}

.services-english {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.services-chinese {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    font-family: 'Noto Sans TC', sans-serif;
}

/* Quote */
.quote {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote p {
    font-size: 1.1rem;
    color: white;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.quote cite {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-left, .nav-center, .nav-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .chinese-title {
        font-size: 2.5rem;
    }
    
    .english-title {
        font-size: 1.8rem;
    }
    
    .services-english {
        font-size: 1rem;
    }
    
    .services-chinese {
        font-size: 0.9rem;
    }
    
    .lotus-flower {
        width: 150px;
        height: 150px;
    }
    
    .petal {
        width: 45px;
        height: 75px;
    }
    
    .quote {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .quote p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-item {
        font-size: 0.8rem;
    }
    
    .chinese-title {
        font-size: 2rem;
    }
    
    .english-title {
        font-size: 1.5rem;
    }
    
    .lotus-flower {
        width: 120px;
        height: 120px;
    }
    
    .petal {
        width: 36px;
        height: 60px;
    }
}
