/* Custom Styles for Yuyos Medicinales v2 */

:root {
    --primary-green: #2ecc71;
    --dark-green: #27ae60;
    --bg-light: #fdfdfd;
    --text-dark: #2c3e50;
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1,
h2,
h3,
.navbar-brand {
    font-family: var(--font-heading);
}

.hero-section {
    background: linear-gradient(rgba(46, 204, 113, 0.1), rgba(39, 174, 96, 0.05));
    padding: 60px 0;
    border-bottom: 1px solid rgba(46, 204, 113, 0.1);
}

.plant-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.plant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.plant-card .img-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(15px) opacity(0.6);
    transform: scale(1.1);
    z-index: 0;
}

.plant-card img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.plant-main-image {
    position: relative;
    background-color: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
    max-height: 600px;
}

.plant-main-image img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 600px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.subtitulo {
    color: var(--dark-green);
    border-left: 4px solid var(--primary-green);
    padding-left: 15px;
    margin-top: 2rem;
    font-size: 1.5rem;
}

.btn-primary {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
}

.btn-primary:hover {
    background-color: #1e8449;
    border-color: #1e8449;
}

.abc-nav .btn {
    min-width: 35px;
    font-weight: 600;
}

.ad-container {
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Premium micro-animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

article {
    animation: fadeIn 0.6s ease-out;
}