/*
Theme Name:   Hello Elementor Child (AS Real Estate)
Theme URI:    https://asrealestate.al
Description:  Child theme di Hello Elementor. Contiene le personalizzazioni di header e footer del sito AS Real Estate.
Author:       AS Real Estate
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hello-elementor-child
*/
/* =========================================================================
   AS Real Estate — CSS personalizzato del sito
   Recuperato da "Aspetto > CSS aggiuntivo" e spostato nel child theme,
   così non dipende più dal tema attivo e non andrà perso.
   ========================================================================= */

/* ---- Estatik ---- */
.es-btn--saved-search {
    opacity: .80 !important;
    background-color: #000 !important;
    color: #fff !important;
}
.site-header, .site-footer {
    padding-block-start: 8px !important;
    padding-block-end: 8px !important;
}
.es-breadcrumbs { margin-top: 20px; }
.es-powered, .es-property_section--request_form {
    display: none;
}
.dashicons-admin-home { margin-top: -15px !important; }
.es-search--simple form > .es-search__collapse-link {
    color: #999 !important;
}
body .es-field .es-field__label { color: #999; }
body .es-field.es-field--checkbox .es-field__label { color: #999; }

/* ---- GTranslate ---- */
.gt-current-wrapper { margin-top: -10px !important; }


/* ---- Header sottile personalizzato ---- */
body .custom-header {
  background-color: #080808DB;
  border-bottom: 1px solid #b9b9b9;
  padding: 3px 0;
  width: 100%;
  z-index: 10;
  position: relative;
}
body .custom-header-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-header {
  background-color: #080808DB; /* FIX: mancava il punto e virgola */
  border-bottom: 1px solid #ddd;
  padding: 3px 0;
  width: 100%;
  z-index: 10;
  position: relative;
}
.custom-header-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}
.custom-header-left {
  display: flex;
  gap: 15px;
}
.custom-header-contact {
  color: #fff;
  font-size: 12px;
  font-family: 'Urbanist', sans-serif;
}
.custom-header-contact i {
  margin-right: 5px;
}
.custom-header-right a {
  color: #fff;
  font-size: 12px;
  margin: 0 5px;
  text-decoration: none;
}
.custom-header-right a:hover {
  color: #0073e6;
}
@media (max-width: 768px) {
  .custom-header-container {
    flex-direction: column;
  }
}


/* ---- Footer completo ---- */
.site-footer {
  background-color: #ffffff !important;
  padding: 10px 0 !important;
  width: 100%;
}
.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-column {
  flex: 1;
  padding: 5px;
}
.footer-column-1 {
  flex: 1.5;
}
.footer-column img {
  max-width: 100%;
  height: auto;
}
.footer-column p,
.footer-column a {
  color: #333;
  text-decoration: none;
  font-size: 17px;
  font-family: urbanist;
}
.footer-column-cell {
  font-size: 20px !important;
  font-weight: 600;
  color: #000000;
}
.footer-column a:hover {
  text-decoration: underline;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column li {
  margin-bottom: 5px;
}
.footer-column-2 a {
  margin: 0 5px;
  color: #333;
  font-size: 20px;
  display: inline-block;
}
.footer-column-2 a:hover {
  color: #0073e6;
}
@media (max-width: 768px) {
  .footer-column {
    flex: 1 1 45%;
    text-align: center;
  }
  .footer-column-1 {
    flex: 1 1 100%;
  }
}
@media (max-width: 480px) {
  .footer-column {
    flex: 1 1 100%;
    margin-bottom: 10px;
  }
  .footer-container {
    padding: 10px;
  }
  .footer-column-2 a {
    margin: 5px;
  }
}


/* ---- Contact Form 7 ---- */
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 0px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease-in-out;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: #007bff;
    outline: none;
    background-color: #fff;
}
.wpcf7-form input[type="submit"] {
    background-color: #110d3d;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}
.wpcf7-form input[type="submit"]:hover {
    background-color: #0056b3;
}
.wpcf7-form textarea {
    height: 100px;
    resize: none;
}
.wpcf7-form p:last-child {
    text-align: center;
}
.wpcf7 .form-header {
    text-align: center;
    margin-bottom: 20px;
}
.wpcf7 .form-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}
.wpcf7 .form-header p {
    font-size: 16px;
    color: #666;
}


/* ---- Sezione contatti personalizzata ---- */
.custom-contact-section {
    background-color: #110d3d;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 715px;
    width: 100%;
    color: #f3f3f3;
}
@media (max-width: 768px) {
    .custom-contact-section {
        min-height: auto;
        padding: 40px 20px;
    }
}
.custom-contact-section .custom-logo img {
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
}
.custom-contact-section .custom-contact-info p {
    margin: 5px 0;
    font-size: 18px;
}
.custom-contact-section .custom-social-icons {
    margin: 20px 0;
}
.custom-contact-section .custom-social-icons .custom-social-link {
    margin: 0 10px;
    font-size: 24px;
    color: #007bbf;
    text-decoration: none;
}
.custom-contact-section .custom-social-icons .custom-social-link:hover {
    color: #b0bec5;
}
.custom-contact-section .custom-address {
    margin-top: 10px;
    font-size: 17px;
}


/* ---- Sezione città / aree ---- */
.custom-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
}
.city-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}
.city-section h2 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #110d3d;
}
.city-section p {
    margin-bottom: 20px;
    font-family: "Urbanist", sans-serif !important;
}
.city-info {
    background-color: #f8f8f8;
    padding: 15px;
    margin-bottom: 20px;
}
.city-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.city-info li {
    display: flex;
    align-items: center;
    color: #110d3d;        /* FIX: rimossa la riga invalida "align-content;" */
    margin-bottom: 10px;
    font-size: 16px;
    font-family: "Urbanist", sans-serif !important;
}
.city-info li i {
    margin-right: 10px;
    font-size: 18px;
}
.city-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0 40px 0;
    background-color: #110d3d;
    font-family: "Urbanist", sans-serif !important;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}
.city-button:hover {
    background-color: #0d0a33;
}
@media (max-width: 768px) {
    .custom-container {
        padding: 10px;
    }
    .city-section h2 {
        font-size: 20px;
    }
    .city-info li {
        font-size: 14px;
    }
    .city-button {
        font-size: 14px;
    }
}