/* General body styling */
body {
    font-family: 'Comic Sans MS', cursive, sans-serif; /* Fun and casual font */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: linear-gradient(135deg, #ffefba, #ffb3ba); /* Tropical gradient */
    color: #333;
    text-align: center;
}

/* Header styling */
header {
    background: linear-gradient(90deg, #ff7e5f, #feb47b); /* Sunset gradient */
    color: #fff;
    padding: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add shadow for depth */
}

header h1 {
    margin: 0;
    font-size: 3rem;
    font-family: 'Pacifico', cursive; /* Tropical, handwritten font */
}

header p {
    margin: 0.5rem 0 0;
    font-size: 1.5rem;
}

/* To-Do container styling */
.todo-container {
    margin: 2rem auto;
    padding: 2rem;
    max-width: 600px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid #ff7e5f; /* Add a tropical border */
}

.todo-container h2 {
    margin-bottom: 1rem;
    color: #ff7e5f;
    font-family: 'Pacifico', cursive;
}

/* Input and button styling */
#task-input {
    width: 70%;
    padding: 10px;
    font-size: 1rem;
    border: 2px solid #feb47b;
    border-radius: 10px;
    margin-right: 10px;
    background: #fff8e1; /* Light tropical background */
}

#add-task-button {
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#add-task-button:hover {
    background: #ff6f61;
    transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Task list styling */
#task-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

#task-list li {
    padding: 10px;
    margin-bottom: 10px;
    background: #fff8e1;
    border: 2px solid #feb47b;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Style for the huge red button */
.red-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    background-color: #ff4500; /* Bright tropical red */
    text-decoration: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.red-button:hover {
    background-color: #e63900; /* Darker red on hover */
    transform: scale(1.1); /* Slightly enlarge the button on hover */
}

/* Add tropical footer styling */
footer {
    margin-top: 2rem;
    padding: 1rem;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    color: #fff;
    text-align: center;
    font-family: 'Pacifico', cursive;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.3);
}

/* Netlify link section styling */
.netlify-link {
    text-align: center;
    margin-top: 2rem;
}

.netlify-link h2 {
    font-size: 1.8rem;
    color: #ff7e5f;
    font-family: 'Pacifico', cursive;
    margin-bottom: 1rem;
}

/* Calendar container styling */
.calendar-container {
    margin: 2rem auto;
    padding: 2rem 1rem;
    max-width: 400px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(255, 126, 95, 0.15), 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid #feb47b;
    text-align: center;
}

.calendar-container h2 {
    color: #ff7e5f;
    font-family: 'Pacifico', cursive;
    margin-bottom: 1.2rem;
}

/* Custom styled date input */
#daily-calendar {
    padding: 12px 18px;
    font-size: 1.1rem;
    border: 2px solid #ff7e5f;
    border-radius: 10px;
    background: #fff8e1;
    color: #333;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 6px rgba(255, 126, 95, 0.07);
    margin-bottom: 0.5rem;
}

#daily-calendar:focus {
    border-color: #ff4500;
    box-shadow: 0 0 0 2px #ffb3ba55;
}

/* Style the calendar icon for Chrome */
#daily-calendar::-webkit-calendar-picker-indicator {
    filter: invert(54%) sepia(80%) saturate(500%) hue-rotate(320deg) brightness(1.1);
    cursor: pointer;
    transition: filter 0.3s;
}

#daily-calendar:hover::-webkit-calendar-picker-indicator {
    filter: invert(40%) sepia(100%) saturate(800%) hue-rotate(350deg) brightness(1.2);
}

/* Responsive for mobile */
@media (max-width: 600px) {
    .calendar-container {
        padding: 1rem 0.5rem;
        max-width: 95vw;
    }
    #daily-calendar {
        width: 100%;
        font-size: 1rem;
    }
}