/*!
Theme Name: Pirineuweb-Kadence-Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: pirineuweb-kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
/* botons menu principal */
.boto-blanc, .boto-verd {
	border-radius: 2rem;
	padding: 0 0.5rem;
	margin: 0 1rem 0 0;
    cursor: pointer;
	font-weight: 600;
	text-transform: uppercase;
    text-decoration: none;
    transition: all .2s 
ease;
    box-shadow: 0px 0px 0px -7px rgba(0, 0, 0, 0);
}

.boto-verd {
    background: var(--global-palette-btn-bg);
    color: var(--global-palette-btn);
}

.boto-blanc {
    background: #ffffff;
    color: #28AFA6 !important;
}

.boto-blanc a {
	color: #28AFA6 !important;
}

/* Text amb gradient */
.text-gradient {
  background: linear-gradient(180deg, #ffffff, #28AFA6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Llista amb ratlleta a sota */
.wp-block-list.llista {
    list-style: none;      /* Treu les vinyetes */
    margin: 0;
    padding-left: 0;
}

.wp-block-list.llista li {
    margin-bottom: 1rem;   /* Separació vertical entre elements */
    padding-bottom: 1rem;  /* Opcional: espai abans del border */
    border-bottom: 2px solid #28AFA6; /* Línia verda inferior */
}

/* Formulari de contacte customitzat */
/* Contenidor general */
.cf7-custom-form {
  font-family: Montserrat;
}

/* Files i columnes */
.cf7-custom-form .cf7-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.cf7-custom-form .cf7-col {
  width: 100%;
}

.cf7-custom-form .cf7-col-1-2 {
  flex: 1 1 50%;
}

.cf7-custom-form .cf7-col-full {
  flex: 1 1 100%;
}

/* Labels */
.cf7-custom-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--global-palette4); /* blau labels */
}

/* Camps de text i textarea */
.cf7-custom-form input[type="text"],
.cf7-custom-form input[type="email"],
.cf7-custom-form input[type="tel"],
.cf7-custom-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  border: 2px solid var(--global-palette4); /* borde blau */
  background-color: #ffffff;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
}

.cf7-custom-form textarea {
  border-radius: 16px;
  min-height: 150px;
  resize: vertical;
}

/* Estat focus */
.cf7-custom-form input[type="text"]:focus,
.cf7-custom-form input[type="email"]:focus,
.cf7-custom-form input[type="tel"]:focus,
.cf7-custom-form textarea:focus {
  border-color: #0b2440;
}

/* Acceptació */
.cf7-acceptance {
  padding: 0.6rem 0.8rem;
  margin-bottom: 1.25rem;
  font-weight: 200 !important;
}

.cf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--global-palette4);     /* blau al checkbox (navegadors moderns) */
}

/* Botó enviar */
.cf7-custom-form input[type="submit"] {
  background-color: var(--global-palette4);;
  color: #ffffff;
  border: none;
  padding: 0.9rem 2.8rem;
  border-radius: 3rem;
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cf7-custom-form input[type="submit"]:hover {
  background-color: #0b2440;
}

/* Responsive: en mòbil tot a una columna */
@media (max-width: 768px) {
  .cf7-custom-form .cf7-row {
    flex-direction: column;
  }
}
