/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body Styling */
body {
    background-color: #E0F7FA; /* Light blue background */
    color: #2c3e50;
    padding: 2rem;
    line-height: 1.6;
    background-image: url('https://www.transparenttextures.com/patterns/beach-sand.png');
    background-repeat: repeat;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
}

/* Heading Styles */
h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FF8C00; /* Sunset orange */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Softer shadow */
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    color: #1E90FF; /* Ocean blue */
}

.container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    box-shadow: 0 4px 25px rgba(0, 123, 255, 0.2);
    padding: 2rem;
    position: relative;
    border: 2px solid #ADD8E6;
}

/* Decorative Beach Images */
.container::before {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-image: url('https://freesvg.org/img/SimpleSun.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 1;
}

.container::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 80px;
    background-image: url('https://freesvg.org/img/waves.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 1;
}

/* Quiz Layout */
.quiz-container .question {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.8rem;
    border-left: 4px solid #4682B4; /* Steel blue */
}

.question-hidden {
    display: none;
}

label {
    display: block;
    margin: 0.7rem 0;
    padding: 0.6rem 1rem;
    background: #E6F7FF; /* Light blue background */
    border-radius: 0.5rem;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #ADD8E6;
}

input[type="radio"] {
    margin-right: 0.7rem;
}

label:hover {
    background-color: #B0E0E6; /* Powder blue */
    transform: translateX(5px);
}

/* Buttons */
button {
    margin-top: 1.5rem;
    background: #00CED1; /* Dark turquoise */
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 180, 216, 0.2);
}

button:hover {
    background: #008B8B; /* Dark cyan */
    transform: translateY(-2px);
}

/* Results Section */
.results-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.8rem;
    background-image: url('https://www.transparenttextures.com/patterns/seigaiha.png'); /* Wave pattern */
}

.hidden {
    display: none;
}

#recommendations h3 {
    margin-top: 1.5rem;
    color: #4169E1; /* Royal blue */
    font-size: 1.2rem;
    border-bottom: 2px dotted #87CEEB;
    padding-bottom: 0.5rem;
}

#recommendations ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    list-style-type: none;
}

#recommendations li {
    padding: 0.3rem 0;
    position: relative;
    margin-left: 1rem;
}

#recommendations li:before {
    content: "•";
    position: absolute;
    left: -1rem;
    color: #FF8C00; /* Orange bullet points */
}

/* Reset Button */
.reset-btn {
    margin-top: 2rem;
    display: block;
    width: 100%;
    background: #40E0D0; /* Turquoise */
}

.reset-btn:hover {
    background: #20B2AA; /* Light sea green */
}

@media screen and (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 1.5rem;
    }
    
    .container::before,
    .container::after {
        width: 60px;
        height: 60px;
    }
}