*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --whitetone: #f8f5f1;
    --steel: #6b7a7f;
    --terracotta: #c06a50;
    --sage: #9a8b6f;
    --blacktone: #2c3a40;
    --border: #e8e5e1;

}

.featured-carousel {
    background-color: var(--sage);
    text-align: center;
    padding:3rem 1.2rem;
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);

}

.featured-carousel h2 {
    color: var(--blacktone);
    display: inline-block;
    position: relative;
    margin-bottom: 1.4rem;
    font-weight: 500;
    border-bottom: 2px solid var(--terracotta);
}

#carousel {
    display: flex;
    gap: 1.8rem;
    padding: 1.2rem 0;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
}

#carousel li {
    display: flex;
    flex-direction: column;
    list-style: none;
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 250px;
    background: var(--whitetone);
    border-radius: 10px;
    overflow: hidden;
    border:  1px solid var(--border);
    transition: all 0.3s ease;
}

#carousel li:hover {
    border-color: var(--sage);
    box-shadow: 0 15px 15px rgba(125, 112, 89, 0.1);
}

#carousel li a {
    text-decoration: none;
    color: var(--blacktone);
    display: flex;
    flex-direction: column;
    height: 100%;
}

#carousel li img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#carousel li:hover img {
    transform: scale(1.02);

}

#carousel li h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    padding: 1.2rem;
    color: var(--blacktone);
    border-top: 1px solid var(--border);
    transition: color 0.3s ease;
}

#carousel li:hover h3 {
    color: var(--terracotta);
}
#container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

#container ol{
    position: absolute;
    bottom: 1.2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    
    
}
#container ol li button {
    background-color: var(--steel);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

#container ol li button:hover {
    opacity: 1;
    background-color: var(--terracotta);
    transform: scale(1.2);
}

.overview {
    background-color: var(--whitetone);
    text-align: center;
    padding: 3.2rem 1.5rem;

}

.overview h2{
    display: inline-block;
    position: relative;
    margin-bottom: 2.5rem;
    font-weight: 500;
    color: var(--blacktone);
    background: var(--terracotta);
}

.outputs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.8rem;
    padding: 0 1.2rem;
    margin: 0 auto;
    max-width: 1200px;
}
.output {
    display: flex;
    flex-direction: column;
    background: var(--whitetone);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--border);

}


.output:hover {
    border-color: var(--sage);
    box-shadow: 0 1rem 1rem rgba(157, 141, 110, 0.1);
}

.output a{
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--blacktone);
    text-decoration: none;
}

.output img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.output h3{
    padding: 1.3rem;
    color: var(--blacktone);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.output:hover h3 {
    color: var(--terracotta);
}

@media (max-width: 768px) {
    .outputs {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.3rem;
        padding: 0;
    }
}