/* Alapbeállítások a tartalomnak */
.container {
    max-width: 1200px;
    margin: 80px auto; /* Hely a navbar alatt */
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

h1 {
    color: #2d3436;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

/* A rács szerkezete */
.recipe-grid {
    display: grid;
    /* Automatikusan méretezi az oszlopokat: minimum 280px, maximum amennyi kifér */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

/* Egy darab receptkártya stílusa */
.recipe-card {
    background: white;
    border-radius: 15px;
    overflow: hidden; /* Hogy a kép sarka is kerek legyen */
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Lebegő effekt a kártyán */
.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Kép beállításai */
.recipe-img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Megtartja az arányokat, de kitölti a helyet */
}

/* Szöveges rész a kártyán belül */
.recipe-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.recipe-info h3 {
    margin: 0 0 10px 0;
    color: #2d3436;
    font-size: 1.4rem;
}

.recipe-info p {
    color: #636e72;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* A "Megnézem" gomb stílusa */
.view-btn {
    background-color: #8da47e;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.2s;
}

.view-btn:hover {
    background-color: #6b825d;
}

/* Ikon a prepping time-hoz */
.clock-icon {
    margin-right: 5px;
}