/*
Theme Name: Abc Bar
Theme URI: https://abcbar.ro
Template: hello-elementor
Author: Dumitrescu Alberto Marius
Author URI: https://startweb.ro
Description: Abc Bar is a WordPress theme designed for cocktail enthusiasts. It features a clean and modern design, perfect for showcasing cocktail recipes, ingredients, and preparation steps. The theme is fully responsive, ensuring a seamless experience on all devices. With customizable colors and layouts, Abc Bar allows users to create a unique online presence for their cocktail-related content.
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: abc-bar
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 1.0.0.1743336358
Updated: 2025-03-30 12:05:58
*/

/* -----------------------------------------------------
 * 1. Root Variables & Global Settings
 * ----------------------------------------------------- */
 :root {
    --white-color: #FBF7F4;
    --black-color: #1E2329;
    --green-color: #A1AB8A;
    --yellow-color: #FFC64D;
    --border-radius-5: 15px;
    --box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* -----------------------------------------------------
 * 2. Cocktail Gallery and Images
 * ----------------------------------------------------- */
.cocktail-gallery {
    margin: 20px 0;
    padding-left: 20px;
}

.gallery-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.gallery-image {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: var(--border-radius-5);
    display: block;
    cursor: pointer;
    position: relative;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-image:hover img {
    transform: scale(1.05);
}

/* Gallery image hover effect */
.gallery-image:after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transition: all 0.2s ease;
}

.gallery-image:hover:after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* -----------------------------------------------------
 * 3. GLightbox Customizations
 * ----------------------------------------------------- */
.glightbox-clean .gslide-description {
    background: rgba(0, 0, 0, 0.7);
}

.glightbox-clean .gslide-title {
    color: #fff;
    font-size: 16px;
}

.glightbox-clean .gclose, 
.glightbox-clean .gnext, 
.glightbox-clean .gprev {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
}

/* -----------------------------------------------------
 * 4. Ingredients & Recipe Content
 * ----------------------------------------------------- */
.ingredient-item span,
.tool-name-container span{
    font-weight: 600;
}

.ingredient-name-container {
    width: 35%;
}

/* -----------------------------------------------------
 * 5. Preparation Steps Styling
 * ----------------------------------------------------- */
.numbered-steps {
    counter-reset: step-counter;
    list-style-type: none;
    padding-left: 0;
}

.preparation-step {
    display: flex;
    padding-left: 20px;
    margin-bottom: 10px;
    gap: 15px;
    align-items: start;
}

.preparation-step .step-number {
    background-color: var(--yellow-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: var(--border-radius-5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-content {
    display: inline-block;
}

/* -----------------------------------------------------
 * 6. List Styling
 * ----------------------------------------------------- */
ul.custom-list {
    list-style: none;
    padding-left: 20px;
}

ul.custom-list li {
    position: relative;
    padding-left: 20px;
    display: flex;
    border-bottom: 1px solid var(--yellow-color);
    padding-bottom: 5px;
    margin-bottom: 5px;
    align-items: center;
    justify-content: space-between;
}

/* Chevron bullet for lists */
ul.custom-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--yellow-color);
    font-size: 18px;
    line-height: 20px;
    font-weight: bold;
}

.ingredients-list, 
.tools-list, 
.preparation-steps {
    margin-top: 25px;
}

/* Difficulty bar styling */
/* Difficulty bar with labels */
.difficulty-bar-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 200px;
    margin-left: 10px;
}

.difficulty-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
    font-size: 11px;
    color: #666;
}

.difficulty-bar-container {
    display: flex;
    gap: 3px;
}

.difficulty-bar {
    flex: 1;
    height: 8px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Icon styling */
.icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    color: var(--yellow-color);
}

.cocktail-recipe-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0px 2px 15px -5px rgba(0, 0, 0, 0.35);
    border-radius: 15px;
    padding: 15px;
    margin: 25px auto;
}


/* Section headings with icons */
.cocktail-recipe h3 {
    display: flex;
    align-items: center;
}

.cocktail-recipe h3 .icon {
    margin-right: 8px;
}

.cocktail-meta-info,
.difficulty{
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.cocktail-categories{
    font-size: 14px;
    margin-top: -10px;
}

/* -----------------------------------------------------
 * 7. Responsive Design
 * ----------------------------------------------------- */
@media screen and (max-width: 768px) {

    .difficulty{
        margin-bottom: 20px;
    }
    .cocktail-meta-info{
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    ul.custom-list li {
        padding-left: 16px;
    }
    
    ul.custom-list li:before {
        font-size: 16px;
    }

    .preparation-step,
    ul.custom-list{
        padding-left: 0;
    }

    .preparation-step .step-number {
        width: 40px;
    }

    .preparation-step .step-number .p1{
        margin-bottom: 0;
    }

    .difficulty {
        flex-wrap: wrap;
    }
    
    .difficulty-bar-wrapper {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        max-width: 100%;
    }

}