/* IMPORTAR FUENTES DE GOOGLE */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;600&display=swap');

:root {
    --color-primary: #e67e22; /* Naranja Calabaza (Apetito) */
    --color-secondary: #27ae60; /* Verde Fresco (Saludable) */
    --color-dark: #2d3436;    /* Gris Carbón (Texto) */
    --color-bg: #f9f7f2;      /* Crema suave (Fondo general) */
    --shadow: 0 10px 20px rgba(0,0,0,0.08);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-dark);
}

/* --- NAVBAR --- */
.navbar {
    background-color: #fff !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--color-primary) !important;
    font-weight: bold;
}

.navbar-brand span {
    color: var(--color-dark);
}

/* --- HERO SECTION (BUSCADOR) --- */
.search-card {
    background: #ffffff;
    border-radius: 20px;
    border: none;
    box-shadow: var(--shadow);
}

.search-title {
    font-family: 'Playfair Display', serif;
    color: var(--color-dark);
    font-weight: 700;
}

/* --- TARJETAS DE RECETAS --- */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.card:hover {
    transform: translateY(-10px); /* Efecto flotante al pasar el mouse */
    box-shadow: 0 15px 30px rgba(230, 126, 34, 0.2); /* Sombra naranja suave */
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05); /* Zoom sutil a la imagen */
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

/* --- BOTONES PERSONALIZADOS --- */
.btn-primary {
    background-color: var(--color-primary);
    border: none;
    border-radius: 50px; /* Botones redondeados */
    padding: 10px 25px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #d35400;
}

.btn-outline-dark {
    border-radius: 50px;
    border-width: 2px;
}

.btn-success {
    background-color: var(--color-secondary);
    border: none;
    border-radius: 8px;
}

/* --- MODAL --- */
.modal-header {
    background-color: var(--color-primary);
    color: white;
    border-bottom: none;
}

.modal-content {
    border-radius: 20px;
    border: none;
}