/*
Theme Name: Oikos Realty
Theme URI: google.com
Description: Oikos Realty custom theme
Version: 1.0
Author: Jon
Author URI: augjero.com
*/
/* ---------- Color Palette ---------- */
:root {
  --primary-bg: #263238;        /* Dark blue/navy */
  --cta-blue: #0288D1;          /* Action button blue */
  --cta-green: #388E3C;         /* Alternate CTA green */
  --secondary-info: #4DD0E1;    /* Info/callout accent */
  --text-color: #ECEFF1;        /* Light neutral text */
  --card-bg: #37474F;           /* Card background */
  --card-border: #607D8B;       /* Card border */
  --hero-gradient-start: #FFFFFF; /* Bright ray top */
  --hero-gradient-end: #263238;   /* Dark bottom */
}

/* ---------- Reset & Base Styles ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; }
body {
  background: linear-gradient(to bottom, var(--hero-gradient-start), var(--hero-gradient-end) 80%);
  color: var(--text-color);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
header { background: var(--primary-bg); padding: 20px 0 0; border-bottom: 1px solid var(--card-border); }
nav { display: flex; justify-content: space-between; align-items: center; width: 90%; margin: auto; }
nav ul { list-style: none; display: flex; gap: 20px; }
nav ul li a { color: var(--text-color); font-weight: bold; transition: 0.3s; }
nav ul li a:hover { color: var(--secondary-info); }

/* ---------- Coming soon Overlay ---------- */
#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);
}

/* ---------- Hero Section ---------- */
.hero { 
  background: linear-gradient(to bottom right, var(--hero-gradient-start), var(--hero-gradient-end)); 
  height: 500px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  text-align: center; 
  color: var(--primary-bg);
}

.hero h1 { font-size: 3em; margin-bottom: 20px; color: var(--primary-bg); }
.hero p { font-size: 1.2em; margin-bottom: 20px; color: var(--primary-bg); }
.hero a { background: var(--cta-blue); padding: 10px 20px; color: #fff; border-radius: 5px; font-weight: bold; transition: 0.3s; }
.hero a:hover { background: var(--cta-green); }

.logo-container {
  display: flex;
  align-items: center; /* Vertically center the text with the logo */
  gap: 10px;           /* Space between logo and text */
}

.logo-container h1{
    margin-left: -95px;
}
.logo {
  width: 175px;        /* Adjust size as needed */
  height: auto;
}

header h1 {
  font-size: 2em;
  color: #ffffff;
}


/* =====================================================
   Disable Estatik "Ask an Agent About This Home" section
   ===================================================== */

/* Entire request form section */
.single-properties .es-breadcrumbs,
.single-properties .property-meta,
.single-properties .property-image,
.single-properties .es-address,
.single-properties .es-property-address,
.single-properties .es-property-address--short,
.single-properties .es-property-address__line,
.single-properties .es-property_section--request_form {
    display: none !important;
}

/* Hide Estatik address title when address is disabled */
.single-properties main[data-address-hidden="1"]
.es-single__header-left
.property-title.heading-font {
    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;*/
  background: var(--cta-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.property-filter button:hover {
  /*background: #b9681f;*/
  background: var(--cta-green);
  transform: translateY(-1px);
}

.property-filter .clear-filter {
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  background: #94a3b4;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.property-filter .clear-filter:hover {
  text-decoration: underline;
  background: #bac6d3;
  transform: translateY(-1px);
}

.btn-view-all {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 600;
  background: var(--cta-blue);
  border: none;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-view-all:hover {
  background: var(--cta-green);
  color: #fff;
}

/* “← Back to Listings” button */
.back-to-listings {
  display: inline-block;
  margin-bottom: 15px;
  margin-top: 30px;
  text-align: left;
  padding: 10px 18px;
  background-color: var(--cta-blue);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

.back-to-listings a {
  display: inline-block;
  padding: 10px 16px;
  background: var(--cta-blue);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.2s ease;
}

.back-to-listings a:hover {
  background: #0b9cec;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 1.8rem;
}

.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;
}

/* ==============================
   Property Header Row
================================ */

.property-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.property-header h1 {
  margin: 0;
}

/* Right-aligned back link */
.back-to-listings-link {
  font-size: 16px;
  font-weight: 700;
  color: #0288D1;
  white-space: nowrap;
}

.back-to-listings-link:hover {
  text-decoration: underline;
}

/* ==============================
   Single Property Page Layout
================================ */

.property-single {
  background: transparent;
}

.property-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Property content card */
.property-detail {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

/* Title */
.property-detail h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #ffffff;
}

/* Featured image */
.property-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
}

.property-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Meta info */
.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}

.property-meta .price {
  font-size: 28px;
  font-weight: 700;
  color: #cf7b24;
}

.property-meta p {
  font-size: 16px;
  color: #ECEFF1;
}

/* Content */
.property-content {
  font-size: 16px;
  line-height: 1.8;
  color: #ECEFF1;
}

/* ==============================
   Call For Price
================================ */
.es-price-container .call-for-price {
  display: inline-block;
  padding: 14px 32px;
  background: var(--cta-blue);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.es-price-container .call-for-price:hover {
  background: var(--cta-green);
  transform: translateY(-2px);
}

/* ==============================
   Property Inquiry Form
================================ */

.property-inquiry-form {
  max-width: 700px;
  margin: 60px auto 0;
  padding: 40px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

.property-inquiry-form h2 {
  margin-bottom: 25px;
  text-align: center;
  color: #263238;
}

/* ---------- Sections ---------- */
section { padding: 60px 10%; }
h2 { text-align: center; margin-bottom: 40px; color: var(--primary-bg); }
.about p { max-width: 700px; margin: auto; text-align: center; color: var(--text-color); }

/* ---------- Property Cards ---------- */
.carousel-container { position: relative; overflow: hidden; max-width: 100%; margin: auto; }
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; }
.property-card { flex: 0 0 300px; margin: 0 15px; border: 1px solid var(--card-border); border-radius: 8px; overflow: hidden; background: var(--card-bg); color: var(--text-color); }
.property-card img { height: 200px; object-fit: cover; }
.property-card div { padding: 15px; }
.property-card h3 { margin-bottom: 10px; color: var(--secondary-info); }
.property-card p { margin-bottom: 5px; }

.carousel-buttons { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; pointer-events: none; }
.carousel-buttons button { pointer-events: all; background: var(--cta-blue); border: none; color: #fff; padding: 10px 15px; border-radius: 50%; cursor: pointer; transition: 0.3s; }
.carousel-buttons button:hover { background: var(--cta-green); }

/* ---------- Services ---------- */
.services { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.service { flex: 1 1 250px; border: 1px solid var(--card-border); padding: 20px; border-radius: 8px; text-align: center; background: var(--card-bg); }
.service h3 { margin-bottom: 15px; color: var(--secondary-info); }

/* ---------- Testimonials ---------- */
.testimonials { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.testimonial { flex: 1 1 250px; border: 1px solid var(--card-border); padding: 20px; border-radius: 8px; font-style: italic; background: var(--card-bg); }

/* ---------- Contact ---------- */
/* .contact form { max-width: 600px; margin: auto; display: flex; flex-direction: column; gap: 15px; }
.contact input, .contact textarea { padding: 10px; border-radius: 5px; border: 1px solid var(--card-border); width: 100%; background: #455A64; color: var(--text-color); }
.contact button { padding: 10px; background: var(--cta-blue); color: #fff; border: none; border-radius: 5px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.contact button:hover { background: var(--cta-green); }
.contact h2{ color: floralwhite; } */
/* ---------- Contact ---------- */
/* ---------- Contact (WPForms) ---------- */
/* ---------- Contact (WPForms – exact style) ---------- */
.contact .wpforms-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact .wpforms-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Inputs & textarea */
.contact .wpforms-form input[type="text"],
.contact .wpforms-form input[type="email"],
.contact .wpforms-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 6px;
    border: 1px solid #6b8a99;
    background-color: #455A64;
    color: #ffffff;
    font-size: 15px;
}

/* Textarea height */
.contact .wpforms-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* Placeholder */
.contact .wpforms-form input::placeholder,
.contact .wpforms-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

/* Remove WPForms labels */
.contact .wpforms-form label {
    display: none;
}

/* Submit button */
.contact .wpforms-form button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: #0d8bd7; /* blue from screenshot */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease;
}

.contact .wpforms-form button[type="submit"]:hover {
    background: #0bb36a; /* green hover */
}

/* Title */
.contact h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 25px;
}

/* Success message */
.contact .wpforms-confirmation-container-full {
    background: transparent;
    border: none;
    color: #3fd28b;
    text-align: center;
    font-weight: 600;
}

/* Error messages */
.contact .wpforms-error {
    color: #ff6b6b;
}



/* ---------- Social Icons ---------- */
.social-icons { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
.social-icons a { color: #ECEFF1; font-size: 1.5em; transition: 0.3s; }
.social-icons a:hover { color: var(--cta-blue); }

/* ---------- Footer ---------- */
footer { background: var(--primary-bg); color: var(--text-color); text-align: center; padding: 20px 0; margin-top: 40px; border-top: 1px solid var(--card-border); }

/* ---------- Page Container ---------- */
.listings-page {
  max-width: 1200px;   /* Limit content width */
  margin: 40px auto;   /* Center with margin on top/bottom */
  padding: 0 20px;     /* Small padding on sides */
}

/* ---------- Listings Page Cards ---------- */
#listing-results {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

#listing-results .card {
  flex: 1 1 calc(33.33% - 20px); /* Always 3 columns on desktop */
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

#listing-results .card:hover {
  transform: translateY(-5px);
}


#listing-results .card a {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

/* Card image */
#listing-results .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Card info */
#listing-results .card .info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#listing-results .card .info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--secondary-info);
}

#listing-results .card .info p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text-color);
}

#listing-results .card .info .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cta-blue);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  #listing-results .card {
    flex: 1 1 calc(33.33% - 20px); /* 3 cards per row */
  }
}

@media (max-width: 900px) {
  #listing-results .card {
    flex: 1 1 calc(50% - 20px); /* 2 cards per row */
  }
}

@media (max-width: 600px) {
  #listing-results .card {
    flex: 1 1 100%; /* 1 card per row */
  }

  #listing-results .card img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  nav { flex-direction: column; gap: 10px; }
  .carousel-track { flex-wrap: nowrap; }
  .property-card { flex: 0 0 80%; margin: 0 10px; }
  .property-container {
    padding: 20px 15px;
  }

  .property-detail {
    padding: 25px;
  }

  .property-detail h1 {
    font-size: 24px;
  }

  .property-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .property-meta .price {
    font-size: 24px;
  }

  .property-inquiry-form {
    padding: 25px;
  }
  
  .property-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-to-listings-link {
    align-self: flex-end;
  }
  .section-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }
}

/* ==============================
   Load More Button
================================ */
#load-more {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  background: var(--cta-blue);
  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: var(--cta-green);
  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;
}

/* ==============================
   Call for Price
================================ */
.call-for-price {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  background: var(--cta-blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.call-for-price:hover {
  background: var(--cta-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.call-for-price:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.property-title {
    color: #8b8787 !important; /* brighter than dark #000, adjust to #666 or #777 if you want lighter */
    line-height: 1.4 !important;
}

.es-property-section .es-property-section__title {
    color: #e8dfdf !important; 
    line-height: 1.4 !important;
}

.es-property-section li, .es-property-basics{
    /*background: rgba(255, 255, 255, 0.06) !important;*/
    color: #e2e4e7 !important;
}

#watermark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }