/*
Theme Name: Flatsome Child
Theme URI: https://flatsome.uxthemes.com/
Description: Child theme pentru Flatsome
Author: [Vlad Revolt]
Author URI: [Abarth.ro]
Template: flatsome
Version: 1.0.0
*/

@import url("../flatsome/style.css");



body {
    font-family: "Abarth Light", sans-serif !important;
}

h2, h3, h4, h5, h6 {
    font-family: "Eurostile Cond Regular", sans-serif !important;
}

.custom-button {
    font-family: "Abarth Medium", sans-serif !important;
}

html {
  scroll-behavior: smooth;
}

.logo img {
    padding: 10px 40px !important;
}

/*  Buton alb cu text negru */
.custom-btn-white {
    display: inline-block;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    background: white;
    color:black;
    cursor: pointer;
    
}

.custom-btn-white:hover {
    background: #f4f4f4;
    color: black;
}

/* Buton negru cu text alb  border alb */
.custom-btn-black {
    display: inline-block;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    color: white;
    background: transparent;
    border: 2px solid white;
    cursor: pointer;
    
}

.custom-btn-black:hover {
    background: #111;
    color: white;
}

/* Buton negru cu text alb  border alb */
.custom-btn-gray {
    display: inline-block;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    color: white;
    background: #333;
    border: 2px solid black;
    cursor: pointer;
    
}

.custom-btn-gray:hover {
    background: #555;
    color: white;
}



/* ðŸ”¥ Full-Width Modifier DESKTOP */
.btn-full-width {
    display: block !important;
    width: 100% !important;
}




/* Custom switch - start */


/* Container general - aliniere la dreapta */
.switch-wrapper {
    text-align: right; /* Toate elementele sunt aliniate la dreapta */
    padding: 20px;
}

/* Titlul de deasupra switch-ului */
.switch-title {
    font-size: 1.25rem;
    line-height: 1.2;
    margin: 0 0 0.5rem 0;
    font-family: "Abarth Medium", sans-serif !important;
    margin-bottom: 8px;
    text-align: right; /* Aliniere la dreapta */
}

/* Aliniere pe orizontală pentru switch și label-uri */
.switch-container {
    display: flex;
    align-items: center; /* Aliniere verticală la mijloc */
    justify-content: flex-end; /* Aliniere la dreapta */
    gap: 15px; /* Spațiere între elemente */
}

/* Stilizare text din stânga și dreapta switch-ului */
.switch-label {
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center; /* Asigură alinierea verticală */
}

/* Stilizare switch */
.custom-switch {
    width: 70px;
    height: 30px;
    background-color: #f7d147;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2px; /* Ajustare padding pentru poziționarea bilei */
}

/* Stilizare bilă neagră */
.switch-ball {
    width: 25px;
    height: 25px;
    background-color: black;
    border-radius: 50%;
    position: absolute;
    left: 3px;
    transition: left 0.3s ease;
}

/* Mutare bilă la dreapta când este activ */
.custom-switch.active .switch-ball {
    left: 42px;
}

/* Conținutul care se schimbă */
.switch-content {
    text-align: center;
    margin-top: 20px;
}




/* Custom switch - end */


.image-with-red-line {
  position: relative; /* Needed for absolute positioning of the line */
  display: inline-block; /* Or block, depending on how you want the image to behave */
}

.image-with-red-line::after {
  content: ""; /* Required for pseudo-elements */
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%; /* Make the line span the full width of the image */
  height: 8px;
  background-color: red;
}

/* Example usage with an <img> tag */
.image-with-red-line img {
  display: block; /* Prevents a small gap below the image */
}




.navbar {
    cursor: pointer;
    background-color: #020202;
    padding: 8px 30px;
    text-align: right;
}

.navbar .dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #fff;
}

.navbar .dropdown-toggle {
    color: #fff;
    cursor: pointer;
    /*display: flex;*/
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.navbar .globe-icon {
    font-size: 14px;
    color: white;
    margin-right: 5px;
}

.navbar .toggle-arrow {
    transition: transform 0.3s;
    color: white;
    margin-left: 5px;
}

.navbar .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #020202;
    color: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
    border-radius: 4px;
    min-width: 700px;
    right: -30px;
    top: 100%;
    
}

.navbar .dropdown-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
}

.navbar .dropdown-grid li {
    color: #ccc;
    cursor: pointer;
    font-size: 14px;
}

.navbar .dropdown-grid li:hover {
    color: white;
}

.navbar .dropdown-grid .selected {
    color: red;
    font-weight: bold;
}

.navbar .international-btn {
    border: 1px solid white;
    color: white;
    text-align: center;
    padding: 5px 10px;
    margin-top: 20px;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
}

.navbar .international-btn:hover {
    background-color: white;
    color: black;
}

/* Deschide meniul */
.navbar .dropdown.active .dropdown-menu {
    display: block;
}

/* Rotește săgeata în sus */
.navbar .dropdown.active .toggle-arrow {
    transform: rotate(180deg);
}


