﻿:root {
    --primary-dark: #034c53;
    --primary: #007074;
    --accent: #f38c79;
    --accent-light: #ffc1b4;
}


.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
}
.btn-accent2 {
    background-color: var(--accent) !important;
    color: white;
    border: none;
}
.btn-accent {
    background-color: var(--accent) !important;
    color: white;
    border: none;
    border-radius: 10px !important;
    font-size: 15px !important;
    padding: 5px 20px !important;
}
    .btn-accent2:hover {
        background-color: var(--primary) !important;
        color: white;
    }
    .btn-accent:hover {
        background-color: var(--primary) !important;
        color: white;
    }

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
    }

.card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-badge {
    background-color: var(--accent-light);
    color: var(--primary-dark);
    font-weight: 600;
}

footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.input-group > .form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.recipe-code {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
}

.card-footer-buttons {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.more-recipes {
    display: none;
}

.hero-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo-subtitle {
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-top: -5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 1rem;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 193, 180, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Hero Section Styles */
.hero {
    background: linear-gradient(rgba(3, 76, 83, 0.8), rgba(0, 112, 116, 0.9)), url("assets/agriculture-hero.jpg");
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background: url("assets/pattern.svg");
        opacity: 0.1;
        animation: patternMove 20s linear infinite;
    }

@keyframes patternMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* Card Animations */
.card {
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .card img {
        transition: transform 0.5s ease;
    }

    .card:hover img {
        transform: scale(1.05);
    }

/* Button Animations */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .btn::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: -100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: 0.5s;
    }

    .btn:hover::after {
        left: 100%;
    }

/* Category Badge Animation */
.category-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Image Hover Effect */
.hover-zoom {
    transition: transform 0.3s ease;
    cursor: pointer;
}

    .hover-zoom:hover {
        transform: scale(1.05);
    }

/* Section Title Animation */
.section-title {
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px;
        left: 0;
        background-color: var(--accent);
        transition: width 0.3s ease;
    }

    .section-title:hover::after {
        width: 100%;
    }

/* Responsive Design Adjustments */
@media (max-width: 992px) {

    /* Navbar adjustments */
    .logo-container {
        flex-direction: row !important;
        align-items: center !important;
    }

    .logo-text {
        flex-direction: row !important;
        align-items: center !important;
    }

    .text-end {
        text-align: right !important;
    }

    .logo-img {
        width: 50px !important;
        height: 50px !important;
    }

    .logo-main {
        font-size: 1.3rem !important;
        white-space: nowrap !important;
    }

    .logo-subtitle {
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }

    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }

    /* Hero Section */
    .hero {
        min-height: 50vh !important;
    }

    .hero-img {
        max-height: 300px !important;
    }

    .display-4 {
        font-size: 2.5rem !important;
    }

    .lead {
        font-size: 1rem !important;
    }

    .hero .btn {
        padding: 0.5rem 1.5rem !important;
        font-size: 0.9rem !important;
    }

    /* Cards */
    .card {
        margin-bottom: 1.5rem !important;
    }

    .card-img-top {
        height: 200px !important;
        object-fit: cover !important;
    }
}

@media (max-width: 768px) {

    /* Navbar */
    .logo-container {
        flex-direction: row !important;
        align-items: center !important;
    }

    .logo-text {
        flex-direction: row !important;
        align-items: center !important;
    }

    .text-end {
        text-align: right !important;
    }

    .logo-img {
        width: 45px !important;
        height: 45px !important;
    }

    .logo-main {
        font-size: 1.2rem !important;
        white-space: nowrap !important;
    }

    .logo-subtitle {
        font-size: 0.75rem !important;
        white-space: nowrap !important;
    }

    .navbar-nav {
        text-align: center !important;
    }

    .navbar-toggler {
        margin: 0.5rem !important;
    }

    /* Hero Section */
    .hero {
        min-height: 40vh !important;
        text-align: center !important;
    }

    .hero-img {
        max-height: 250px !important;
        margin-top: 1.5rem !important;
    }

    .display-4 {
        font-size: 2rem !important;
    }

    .hero .btn {
        width: 100% !important;
        margin-bottom: 0.5rem !important;
    }

    .hero-btn1 {
        margin-bottom: 0.5rem !important;
        font-size: 11px !important;
    }

    .hero-btn2 {
        margin-bottom: 0.5rem !important;
        font-size: 11px !important;
    }

    /* Categories */
    .category-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.2rem !important;
    }

    /* Cards */
    .card-img-top {
        height: 180px !important;
    }

    .card-footer-buttons {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

        .card-footer-buttons .btn {
            width: 100% !important;
        }

    /* Footer */
    .footer .col-md-6 {
        text-align: center !important;
    }

    .footer .list-inline {
        text-align: center !important;
    }
}

@media (max-width: 576px) {

    /* Navbar */
    .logo-container {
        flex-direction: row !important;
        align-items: center !important;
    }

    .logo-text {
        flex-direction: row !important;
        align-items: center !important;
    }

    .text-end {
        text-align: right !important;
    }

    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }

    .navbar-mobile {
        background-color: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }

    .logo-img {
        width: 40px !important;
        height: 40px !important;
    }

    .logo-main {
        font-size: 1.1rem !important;
        white-space: nowrap !important;
    }

    .logo-subtitle {
        font-size: 0.7rem !important;
        white-space: nowrap !important;
    }

    /* Hero Section */
    .display-4 {
        font-size: 1.8rem !important;
    }

    .lead {
        font-size: 0.9rem !important;
    }

    .hero-img {
        max-height: 200px !important;
    }

    /* Cards */
    .card-img-top {
        height: 150px !important;
    }

    .card-title {
        font-size: 1.1rem !important;
    }

    .card-text {
        font-size: 0.9rem !important;
    }

    /* Footer */
    .logo-main {
        font-size: 1.5rem !important;
    }

    .logo-subtitle {
        font-size: 0.8rem !important;
    }
}
.category-badge {
    background-color: var(--accent-light);
    color: var(--primary-dark);
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}
.service-icon {
    background-color: rgba(255, 193, 180, 0.2);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: transform 0.5s ease, background-color 0.3s ease;
}

    .service-icon:hover {
        transform: rotate(360deg);
        background-color: rgba(255, 193, 180, 0.4);
    }