:root {
    --primary: #ff85a2; /* Soft pink */
    --secondary: #fff5f7; /* Very light pink */
    --accent: #ffd6e0; /* Light pink */
    --text: #5a2a37; /* Deep rose */
    --highlight: #ff4785; /* Vibrant pink */
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
    overflow-x: hidden;
    background-color: var(--secondary);
}

/* Animated flower background */
.flower-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-flower {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    animation: float 15s infinite linear;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
    z-index: -1;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) rotate(360deg) scale(1);
        opacity: 0;
    }
}

header {
    background-color: rgba(255, 133, 162, 0.9);
    color: white;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    z-index: 10;
}

nav {
    background-color: rgba(255, 133, 162, 0.95);
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

nav ul li {
    margin: 0 20px;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
}

nav ul li a:hover {
    background-color: var(--highlight);
    transform: translateY(-3px);
}

.container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background-color: rgba(255, 245, 247, 0.85);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    margin-top: 30px;
    margin-bottom: 50px;
    backdrop-filter: blur(3px);
}

h1, h2, h3 {
    color: var(--primary);
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--highlight));
    border-radius: 2px;
}

.welcome-section {
    margin-bottom: 50px;
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 214, 224, 0.6);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.flowers-section {
    margin: 40px 0;
}

.flower-card {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.flower-card:hover {
    transform: translateY(-5px);
}

.flower-image {
    flex: 1;
    min-width: 300px;
}

.flower-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flower-content {
    flex: 2;
    padding: 25px;
}

.flower-content h3 {
    color: #ff4785;
    margin-top: 0;
    font-size: 1.8rem;
}

.flower-details {
    background: #ffd6e0;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}

.flower-details p {
    margin: 8px 0;
}

@media (max-width: 768px) {
    .flower-card {
        flex-direction: column;
    }
    
    .flower-image {
        min-width: 100%;
        height: 250px;
    }
}
/* Interactive flower cursor */
.flower-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 9999;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.1s ease;
    mix-blend-mode: multiply;
}

/* Quiz styles */
.quiz-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,245,247,0.8));
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.quiz-question {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--primary);
}

.quiz-question p {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
}

.quiz-option {
    display: block;
    margin: 10px 0;
    padding: 10px 15px;
    background-color: rgba(255, 133, 162, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-option:hover {
    background-color: rgba(255, 133, 162, 0.2);
}

.quiz-option input {
    margin-right: 10px;
}

#quiz-submit {
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 133, 162, 0.3);
}

#quiz-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(255, 133, 162, 0.4);
}

#quiz-result {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(255, 214, 224, 0.7);
    border-radius: 10px;
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .flowers-info {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

/* Floating petals */
.petal {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: -1;
    animation: float-petal 20s linear infinite;
}

@keyframes float-petal {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) rotate(360deg) scale(1);
        opacity: 0;
    }
} 

