
/* General Styles */
.fr-recipe-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffe6e6' fill-opacity='0.5' d='M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,85.3C672,75,768,85,864,74.7C960,64,1056,32,1152,32C1248,32,1344,64,1392,80L1440,96V320H1392C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320H0V64Z'/%3E%3C/svg%3E");*/
    background-size: cover;
}

.fr-gallery-title {
    font-family: "Playfair Display", serif;
    font-size: 2.5em;
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.fr-gallery-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #ff6f61;
    display: block;
    margin: 10px auto;
}

/* Gallery Grid */
.fr-recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.fr-recipe-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #ffe6e6;
}

.fr-recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.fr-recipe-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 2px solid #ff6f61;
}

.fr-recipe-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    transition: transform 0.3s ease;
}

.fr-recipe-card:hover .fr-recipe-img {
    transform: scale(1.1);
}

.fr-recipe-content {
    padding: 20px;
    text-align: center;
}

.fr-recipe-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.5em;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.2;
}

.fr-recipe-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
    justify-content: center;
    flex-direction: column;
}

.fr-recipe-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.fr-recipe-meta .dashicons {
    font-size: 16px;
    color: #ff6f61;
}

.fr-recipe-button {
    display: inline-block;
    padding: 10px 20px;
    background: #ff6f61;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s ease;
}

.fr-recipe-button:hover {
    background: #e55a50;
}

/* Single Recipe Page */
.fr-single-recipe {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.fr-recipe-header {
    text-align: center;
    margin-bottom: 30px;
}

.fr-recipe-header h1 {
    font-family: "Playfair Display", serif;
    font-size: 2.8em;
    color: #333;
    margin-bottom: 20px;
}

.fr-recipe-author {
    font-family: "Roboto", sans-serif;
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.fr-single-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 5px solid #ffe6e6;
}

.fr-recipe-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 1em;
    color: #666;
    margin-bottom: 30px;
    justify-content: center;
}

.fr-recipe-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fr-recipe-meta .dashicons {
    font-size: 18px;
    color: #ff6f61;
}

.fr-recipe-ingredients,
.fr-recipe-instructions {
    margin: 30px 0;
}

.fr-recipe-ingredients h2,
.fr-recipe-instructions h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

.fr-recipe-ingredients h2::after,
.fr-recipe-instructions h2::after {
    content: "";
    width: 40px;
    height: 2px;
    background: #ff6f61;
    display: block;
    margin-top: 8px;
}

.fr-recipe-ingredients p,
.fr-recipe-instructions p {
    font-family: "Roboto", sans-serif;
    font-size: 1em;
    line-height: 1.6;
    color: #444;
}

/* Submission Form */
#fr-recipe-submission {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#fr-recipe-submission label {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

#fr-recipe-submission input[type="text"],
#fr-recipe-submission input[type="number"],
#fr-recipe-submission textarea,
#fr-recipe-submission select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: "Roboto", sans-serif;
    font-size: 1em;
    margin-bottom: 15px;
}

#fr-recipe-submission input[type="submit"] {
    background: #ff6f61;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

#fr-recipe-submission input[type="submit"]:hover {
    background: #e55a50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fr-recipe-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .fr-gallery-title {
        font-size: 2em;
    }

    .fr-recipe-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .fr-recipe-grid {
        grid-template-columns: 1fr;
    }

    .fr-recipe-meta {
        flex-direction: column;
        gap: 10px;
    }
}
