/*
Theme Name: Realty Custom01
Theme URI: google.com
Description: Realty custom theme
Version: 1.0
Author: Jon
Author URI: augjero.com
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background:
    url('https://www.transparenttextures.com/patterns/black-linen.png'),
    radial-gradient(circle at 40% 30%, rgba(40,60,80,0.7) 0%, rgba(15,20,30,0.95) 75%),
    linear-gradient(135deg, #0f1926, #1a2a3a);

  background-blend-mode: overlay, overlay, normal;
  background-size: 300px 300px, cover, cover;
  color: #e2e4e7;
  line-height: 1.6;
  position: relative;
}

/* WATER SHEEN ANIMATION */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;

  background: linear-gradient(
    115deg, 
    rgba(255,255,255,0.08) 0%, 
    rgba(255,255,255,0.01) 40%, 
    rgba(255,255,255,0.08) 100%
  );

  opacity: 0.18;
  mix-blend-mode: soft-light;
  animation: waterflow 10s ease-in-out infinite;
}

@keyframes waterflow {
  0% { transform: translateX(-8%) translateY(-4%) skewX(-6deg); }
  50% { transform: translateX(8%) translateY(4%) skewX(6deg); }
  100% { transform: translateX(-8%) translateY(-4%) skewX(-6deg); }
}

/* ──────────────── REFINED HEADER ──────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 2000;

  background: rgba(10, 15, 20, 0.55);
  backdrop-filter: blur(14px);
  padding: 18px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);

  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h2 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.5px;
}

header nav a {
  margin: 0 12px;
  color: #d9d9d9;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 3px;
}

/* Bronze underline hover */
header nav a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0%;
  bottom: 0;
  left: 0;
  background: #cf7b24;
  transition: width 0.3s ease;
}

header nav a:hover::after {
  width: 100%;
}


/* ──────────────── HERO ──────────────── */

.hero {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
}

.hero p {
  font-size: 18px;
  color: #cbd0d5;
}

.hero img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

/* Bronze Luxury Button */
.hero button {
  padding: 14px 30px;
  background: #cf7b24;
  color: #fff;
  border-radius: 8px;
  border: none;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.hero button:hover {
  background: #b66c1f;
  transform: translateY(-3px);
}


/* ──────────────── SECTIONS ──────────────── */

.section {
  max-width: 1300px;
  margin: 40px auto;
  padding: 60px 30px;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border-radius: 18px;

  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.07);
}

.section h2 {
  font-size: 36px;
  color: #ffffff;
  font-weight: 700;
}


/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

.card {
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.55);
}

.card img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}

.card .info {
  padding: 22px;
  color: #dcdcdc;
}

.card .info h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #fff;
}

.card .price {
  font-weight: 700;
  color: #cf7b24;
}

/* ──────────────── TEAM / ABOUT CARDS ──────────────── */
.team-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.team-card {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.55);
}

.team-image {
  width: 100%;
  height: 0;
  padding-top: 140%; /* Aspect ratio ~ 5:7 */
  position: relative;
  overflow: hidden;
}

.team-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 18px 12px 24px;
  color: #dcdcdc;
}

.team-info h3 {
  font-size: 20px;
  margin-bottom: 6px;
  color: #fff;
}

.team-info p {
  font-size: 15px;
  color: #cf7b24; /* Premium bronze accent */
  font-weight: 600;
}


/* PROJECTS (sliding gallery) */
.projects {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.projects img {
  width: 320px;
  height: 230px;
  border-radius: 14px;
  object-fit: cover;
  scroll-snap-align: start;
  box-shadow: 0 6px 20px rgba(0,0,0,0.55);
}


/* TESTIMONIAL */
.testimonial {
  border-left: 4px solid #cf7b24;
  padding-left: 24px;
  margin-top: 30px;
  font-size: 17px;
  color: #d9d9d9;
}


/* FOOTER */
footer {
  margin-top: 70px;
  padding: 40px;
  background: #f5f5f5;
  color: #666;
  text-align: center;
}

/* ANIMATION CLASSES */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.chat-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background: #cf7b24;
  border-radius: 50%;
  color: white;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  transition: transform 0.25s ease, background 0.25s ease;
  z-index: 3000;
}

.chat-bubble:hover {
  transform: scale(1.09) translateY(-3px);
  background: #b66c1f;
}


.chat-bubble:hover {
  transform: scale(1.08) translateY(-3px);
  background: #b66c1f;
}
#sparks {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
#coming-soon-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,15,20,0.95);
  backdrop-filter: blur(8px);
  z-index: 5000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
}

#coming-soon-overlay h1 {
  font-size: 48px;
  margin-bottom: 15px;
  color: #cf7b24; /* bronze accent */
}

#coming-soon-overlay p {
  font-size: 20px;
  margin-bottom: 25px;
  color: #dcdcdc;
}

#coming-soon-overlay button {
  padding: 14px 30px;
  font-size: 18px;
  font-weight: 600;
  background: #cf7b24;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

#coming-soon-overlay button:hover {
  background: #b66c1f;
  transform: translateY(-3px);
}

/* Estatik – Basics section text & background fix */
.es-property-section li,
.es-property-basics {
  /*background: rgba(255,255,255,0.06) !important;*/
  color: #e2e4e7 !important;
}

/*.es-property-section h2,*/
/*.es-property-section h3,*/
/*.es-property-section p,*/
/*.es-property-section span,*/
/*.es-property-section li {*/
/*  color: #e2e4e7 !important;*/
/*}*/

/* “← Back to Listings” button */
.back-to-listings {
  display: inline-block;
  margin-bottom: 15px;
  padding: 10px 18px;
  background-color: #cf7b24;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

.back-to-listings a {
  display: inline-block;
  padding: 10px 16px;
  background: #cf7b24;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.back-to-listings a:hover {
  background: #b86b1f;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.listings-page .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px; /* optional spacing below */
}

.listings-page .back-to-listings a {
    font-weight: 500;
    text-decoration: none;
    color: #fff;
}

.listings-page .back-to-listings a:hover {
    text-decoration: underline;
}

/* ──────────────── RESPONSIVE / MOBILE FIXES ──────────────── */
@media (max-width: 1200px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 20px;
    gap: 30px;
    text-align: center;
  }

  .hero img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }
  
  .hero button {
    margin: 20px auto 0;
  }

  header {
    padding: 12px 20px;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* Make contact form full width on small screens */
@media (max-width: 768px) {
  #contact .cards {
    grid-template-columns: 1fr !important; /* stack the contact cards */
  }

  #contact form input,
  #contact form textarea,
  #contact form button {
    width: 100% !important; /* make inputs & textarea full width */
    box-sizing: border-box;
  }

  #contact form {
    gap: 12px; /* optional, reduce spacing for smaller screens */
  }
}

@media (max-width: 650px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .projects {
    gap: 16px;
  }

  .projects img {
    width: 260px;
    height: 180px;
  }

  .section {
    padding: 40px 20px;
  }

  .team-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero button {
    font-size: 14px;
    padding: 10px 20px;
  }

  header h2 {
    font-size: 20px;
  }

  header nav a {
    font-size: 14px;
    margin: 6px 8px;
  }

  #coming-soon-overlay h1 {
    font-size: 32px;
  }

  #coming-soon-overlay p {
    font-size: 16px;
  }

  #coming-soon-overlay button {
    font-size: 16px;
    padding: 12px 24px;
  }
}


/* =====================================================
   Disable Estatik "Ask an Agent About This Home" section
   ===================================================== */

/* Entire request form section */
.single-properties .es-property_section--request_form {
    display: none !important;
}

/* Safety net: hide internal request form components */
.single-properties .es-request-form,
.single-properties .js-es-request-form {
    display: none !important;
}

/* =====================================================
   Disable Estatik "REQUEST INFO" button under price
   ===================================================== */

/* Button itself */
.single-properties .es-btn--request-info {
    display: none !important;
}

/* Safety: container that holds the button */
.single-properties .es-property-price__actions,
.single-properties .es-property-price__action {
    display: none !important;
}

.property-inquiry-form {
    margin-top: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.property-inquiry-form h2 {
  color: black;   
}

html {
  scroll-behavior: smooth;
}

header h2 a {
  color: inherit;        /* keeps same text color */
  text-decoration: none; /* removes underline */
}

header h2 a:hover {
  text-decoration: none;
  opacity: 0.9;          /* optional subtle hover effect */
}

/* ==============================
   Property Filter Styling
================================ */
.property-filter {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.property-filter input[type="number"] {
  padding: 12px 14px;
  min-width: 160px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.property-filter input[type="number"]:focus {
  border-color: #cf7b24;
  box-shadow: 0 0 0 2px rgba(207,123,36,0.2);
}

.property-filter button {
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  background: #cf7b24;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.property-filter button:hover {
  background: #b9681f;
  transform: translateY(-1px);
}

/* ==============================
   Pagination Styling
================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #ddd;
  color: #333;
}

.pagination a:hover {
  background: #cf7b24;
  color: #fff;
  border-color: #cf7b24;
}

.pagination .current {
  background: #cf7b24;
  color: #fff;
  border-color: #cf7b24;
}

.btn-view-all {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 600;
  background: transparent;
  border: 2px solid #cf7b24;
  color: #cf7b24;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-view-all:hover {
  background: #cf7b24;
  color: #fff;
}

/* ==============================
   Load More Button
================================ */
#load-more {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  background: #cf7b24;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#load-more:hover {
  background: #b9681f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

#load-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.property-title {
    color: #555 !important; /* brighter than dark #000, adjust to #666 or #777 if you want lighter */
    line-height: 1.4 !important;
}
