/* 
Theme Name: Aero - Cafe Bar Restaurant
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Aéro - Café Bar Restaurant is a child theme of Hello Elementor, created by Mixit7 team
Author: Mixit7
Author URI: https://www.mixit7.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: aero-cafe-bar
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* Section title style */
.section-title-italic {
    font-style: italic;
    color: #742053;
}

.section-title {
    color: #742053;
}

/* Stars témoignage style */
.stars {
  font-style: normal;
  color: #742053;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

/* WPML Langage switcher style */
.wpml-ls-legacy-list-horizontal {
    background-color: rgba(240, 242, 244, 0.50);
    border-radius: 50px;
    padding: 5px 6px;
    display: inline-flex;
    align-items: center;
}

/* Liste */
.wpml-ls-legacy-list-horizontal ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0;
}

/* Items */
.wpml-ls-legacy-list-horizontal li {
    display: flex;
    align-items: center;
    float: none;
}

/* Séparateur */
.wpml-ls-legacy-list-horizontal li:not(:last-child)::after {
    content: "|";
    color: #FFF;
    margin: 0 10px;
    font-size: 15px;
    margin-top: -4px;
}

/* Liens */
.wpml-ls-legacy-list-horizontal .wpml-ls-link {
    text-decoration: none;
    font-size: 14px;
    font-family: Helvetica;
    line-height: 16px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 50px;
    color: #fff;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

/* Langue active */
.wpml-ls-legacy-list-horizontal .wpml-ls-current-language .wpml-ls-link {
    background-color: #B91C7C;
    color: #fff;
    border-radius: 50px;
}

/* Langue inactive */
.wpml-ls-legacy-list-horizontal li:not(.wpml-ls-current-language) .wpml-ls-link {
    background: transparent;
    color: #ccc;
}

.wpml-ls-legacy-list-horizontal ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}

.wpml-ls-legacy-list-horizontal li {
    display: flex !important;
    float: none !important;
}

/* FAQ styles for text editor widget with faq-content class */

/* H2 section headers */
.faq-content h2 {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 2.8rem;
    letter-spacing: var(--e-global-typography-primary-letter-spacing);
    color: var(--e-global-color-primary);
    margin-top: 1.2em;
    margin-bottom: 0.5em;
}

/* H3 questions */
.faq-content h3 {
	font-family: var(--e-global-typography-4657f9c-font-family), Sans-serif;
    font-size: var(--e-global-typography-4657f9c-font-size);
    font-weight: var(--e-global-typography-4657f9c-font-weight);
    text-transform: var(--e-global-typography-4657f9c-text-transform);
    line-height: var(--e-global-typography-4657f9c-line-height);
    color: #2D0C20;
}

/* FAQ items */
.faq-item {
    background: #F8F5F7;
    padding: 1.5em 2em;
    margin-bottom: 1em;
    border-radius: 1.25rem;
    border : 1px solid rgba(45, 12, 32, 0.05);
}

.faq-item:hover .faq-q {
  color: #742053;
  transition: color 0.3s ease;
}

.faq-item:hover {
    border : 1px solid rgba(116, 32, 83, 0.1) !important;#742053
}

.faq-content .faq-q {
    margin-top: 0;
    margin-bottom: 0.5em;
}

.faq-content .faq-a {
    margin-bottom: 0;
}

/* Animation douce "flottante" pour l'icone montgolfière de la page d'accueil*/
.icon-montgolfiere {
  animation: montgolfiere-float 3.8s ease-in-out infinite;
  will-change: transform;
  transform-origin: center;
}

/* Respect des préférences d’accessibilité */
@media (prefers-reduced-motion: reduce){
  .icon-montgolfiere{ animation: none; }
}

@keyframes montgolfiere-float{
  0%   { transform: translate3d(0, 0, 0) rotate(-0.6deg); }
  50%  { transform: translate3d(0, -10px, 0) rotate(0.6deg); }
  100% { transform: translate3d(0, 0, 0) rotate(-0.6deg); }
}
