body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #0d0f13; /* Darker background for more contrast */
    color: #e4e6eb;
}

header {
    background-color: #1e222b;
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #2e3644;
}

header h1 {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Navigation - vertical only */
nav {
    background-color: #1e222b;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    margin: 0 auto 2rem auto;
    border-radius: 10px;
    border: 1px solid #2e3644;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
}

nav li {
    display: block;
    margin: 0.5rem 0;
}

nav a {
    text-decoration: none;
    color: #b8bcc2;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    display: block;
    border: 1px solid transparent;
}

nav a:hover {
    color: #fff;
    background-color: #2e3644;
    border-color: #4a5367;
    transform: translateX(5px);
}

main {
    padding: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.plant-card {
    border-radius: 12px;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: #1e222b;
    color: #e4e6eb;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    border: 1px solid #2e3644;
}

.plant-card h2 {
    color: #fff;
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 2rem;
}

.plant-card h3 {
    color: #b8bcc2;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.image-container {
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 3px solid;
    border-image: linear-gradient(45deg, #61dafb, #a066ff) 1;
}

.plant-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    outline: 4px solid rgba(255, 255, 255, 0.1);
    outline-offset: -8px;
}

.plant-card img:hover {
    transform: scale(1.03);
}

/* Quick facts */
.quick-facts {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #2e3644; /* Higher contrast background */
    border-radius: 10px;
    border: 1px solid #4a5367;
}

.quick-facts div {
    text-align: center;
}

.quick-facts i {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(45deg, #61dafb, #a066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 1px rgba(97, 218, 251, 0.5));
}

.quick-facts p {
    margin: 0;
    font-size: 0.9rem;
    color: #fff; /* Brighter text for better contrast */
}

.details-section,
.care-requirements,
.additional-information {
    margin-bottom: 2.5rem;
    text-align: left;
    padding: 1.5rem;
    background-color: #2e3644; /* Higher contrast background */
    border-radius: 10px;
    border: 1px solid #4a5367;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.details-section:hover,
.care-requirements:hover,
.additional-information:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border-color: #61dafb;
}

.details-section h3,
.care-requirements h3,
.additional-information h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-weight: 600;
}

.details-section h3::after,
.care-requirements h3::after,
.additional-information h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #61dafb, #a066ff);
    border-radius: 2px;
}

.details-section p,
.care-requirements p,
.additional-information p {
    margin-bottom: 1.25rem;
    color: #e4e6eb; /* Brighter text for better contrast */
    line-height: 1.7;
}

.details-section p strong,
.care-requirements p strong,
.additional-information p strong {
    color: #fff;
    font-weight: 600;
}

header a {
    display: inline-block;
    text-decoration: none;
    color: #e4e6eb;
    background-color: #2e3644;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 1.5rem;
    border: 1px solid #4a5367;
}

header a:hover {
    background-color: #4a5367;
    color: #fff;
    transform: translateY(-2px);
    border-color: #61dafb;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .quick-facts {
        flex-direction: column;
    }
    
    .quick-facts div {
        margin-bottom: 1rem;
    }
    
    nav {
        max-width: 100%;
    }
    
    .plant-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .plant-card h2 {
        font-size: 1.75rem;
    }
    
    .details-section,
    .care-requirements,
    .additional-information {
        padding: 1.25rem;
    }
}