/* assets/css/style.css */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
}

/* Glass effect */
.glass {
    background: rgba(254, 252, 232, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(6, 95, 70, 0.15);
    box-shadow: 0 10px 30px -10px rgba(6, 95, 70, 0.1);
}

.glass-dark {
    background: rgba(6, 95, 70, 0.92);
    backdrop-filter: blur(16px);
}

/* Plant card improvements */
.plant-card {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.plant-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px -12px rgb(6 95 70 / 0.25);
}

/* Header scroll effect */
.header-scrolled {
    background: rgba(254, 252, 232, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(6, 95, 70, 0.08);
}

/* Difficulty dots */
.diff-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d1fae5;
    transition: all 0.3s;
}

.diff-dot.filled {
    background: #065f46;
    box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.2);
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Search input */
.search-input {
    transition: all 0.3s;
}

.search-input:focus {
    box-shadow: 0 0 0 4px rgba(6, 95, 70, 0.2);
}

/* Mobile menu */
.mobile-menu {
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.mobile-menu.open {
    transform: translateY(0);
}
/* Нижняя навигация */
.nav-tab {
    color: #6b7c6b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-tab:hover {
    color: #065f46;
}

.nav-tab.active {
    color: #065f46;
    background: rgba(6, 95, 70, 0.08);
    transform: translateY(-2px);
}

.nav-tab span:first-child {
    transition: transform 0.4s ease;
}

.nav-tab.active span:first-child {
    transform: scale(1.15);
}

/* Тень и эффект прижатия к низу */
nav.fixed.bottom-0 {
    box-shadow: 0 -4px 20px rgba(6, 95, 70, 0.12);
}
/* Избранное */
.favorite-btn {
    transition: all 0.3s ease;
}

.favorite-btn.active {
    color: #e11d48;
    animation: heartBeat 0.4s ease;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}
