@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #17251f;
  --green: #176b4b;
  --green-dark: #105238;
  --mint: #eaf4ee;
  --gold: #f2b84b;
  --muted: #66736c;
  --line: #e4eae6;
  --white: #ffffff;
  --shadow: 0 12px 35px rgba(23, 60, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* HEADER */

.site-header {
  min-height: 76px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: white;
}

.brand {
  font: 800 23px Manrope, sans-serif;
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--green);
  color: white;
  font-size: 19px;
}

.site-header nav {
  display: flex;
  gap: 30px;
  color: #536159;
  font-weight: 600;
  font-size: 14px;
}

.site-header nav a:hover {
  color: var(--green);
}

/* BUTTONS */

.button {
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: white;
  padding: 15px 22px;
  font: 700 15px 'DM Sans', sans-serif;
  cursor: pointer;
  display: inline-block;
  transition: 0.2s;
}

.button:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.button-small {
  padding: 11px 16px;
  font-size: 13px;
}

.button-light {
  background: white;
  color: var(--green);
}

.button-light:hover {
  background: var(--mint);
  color: var(--green-dark);
}

/* HERO SECTION */

.hero {
  background: linear-gradient(115deg, #f0f7f2, #fbfaf5);
  padding: 76px 7% 66px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: center;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--green);
  margin: 0 0 15px;
}

.hero h1 {
  font: 800 clamp(44px, 6vw, 72px)/1.06 Manrope, sans-serif;
  letter-spacing: -2.5px;
  margin: 0;
}

.hero h1 span {
  color: var(--green);
}

.intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 460px;
  margin-top: 22px;
}

/* SEARCH PANEL */

.search-panel {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.search-panel label {
  font-size: 12px;
  font-weight: 700;
  color: #526158;
}

.search-panel input,
.search-panel select,
.search-panel textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: 14px 'DM Sans', sans-serif;
  background: white;
  color: var(--ink);
  outline-color: var(--green);
}

.search-panel input:focus,
.search-panel select:focus {
  border-color: var(--green);
}

.search-panel button {
  grid-column: 1 / -1;
}

/* SECTIONS */

.section {
  padding: 68px 7%;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 22px;
}

.section h2,
.how h2,
.owner-cta h2 {
  font: 800 30px Manrope, sans-serif;
  margin: 0;
}

.muted,
.details {
  color: var(--muted);
  font-size: 13px;
}

/* INFORMATION MESSAGE */

.notice {
  background: var(--mint);
  border: 1px solid #d7e9dd;
  color: var(--green-dark);
  padding: 13px 16px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 22px;
}

/* PROPERTY CATEGORIES */

.category-tabs,
.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.category-tabs button,
.category-buttons button {
  padding: 12px 19px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.category-tabs button:hover,
.category-buttons button:hover,
.category-tabs button.active,
.category-buttons button.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

/* PROPERTY CARDS */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.property-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: white;
  transition: 0.25s;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.photo {
  height: 190px;
  display: flex;
  align-items: end;
  padding: 13px;
  background: linear-gradient(145deg, #c5d9cc, #789987);
  background-size: cover;
  background-position: center;
}

.photo-two {
  background: linear-gradient(145deg, #d9d0bd, #a5a18a);
}

.photo-three {
  background: linear-gradient(145deg, #d7d9c8, #9caa8e);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo span {
  background: #ffffffdf;
  border-radius: 5px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 700;
}

.card-body {
  padding: 18px;
}

.location {
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
}

.card-body h3 {
  font: 700 18px Manrope, sans-serif;
  margin: 9px 0;
}

.details {
  margin: 0 0 15px;
  line-height: 1.6;
}

.price {
  font-weight: 800;
  font-size: 19px;
  margin: 0;
}

.price small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

.empty-state {
  padding: 25px;
  text-align: center;
  color: var(--muted);
}

/* ADDITIONAL PROPERTY INFORMATION */

.property-card p {
  line-height: 1.6;
}

.property-card img {
  max-width: 100%;
}

/* FORMS AND FILTERS */

input,
select,
textarea {
  max-width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  outline-color: var(--green);
}

button {
  cursor: pointer;
}

/* HOW IT WORKS */

.how {
  background: #f8faf8;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 32px;
}

.steps b {
  color: var(--green);
  font: 800 24px Manrope, sans-serif;
}

.steps h3 {
  font: 700 18px Manrope, sans-serif;
  margin: 12px 0 7px;
}

.steps p,
.owner-cta p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

/* PROPERTY OWNER SECTION */

.owner-cta {
  margin: 55px 7%;
  padding: 36px 40px;
  border-radius: 15px;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.owner-cta .eyebrow {
  color: #c9e5d5;
}

.owner-cta p {
  color: #e0eee6;
}

.owner-cta .button-light {
  background: white;
  color: var(--green);
  white-space: nowrap;
}

/* FOOTER */

footer {
  padding: 30px 7%;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer .brand {
  color: var(--ink);
}

footer small {
  font-size: 11px;
}

/* TABLETS */

@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    gap: 4%;
  }
}

/* MOBILE PHONES */

@media (max-width: 720px) {

  .site-header {
    padding: 0 5%;
    min-height: 66px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    padding: 52px 6%;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero h1 {
    font-size: 53px;
  }

  .search-panel {
    padding: 18px;
  }

  .section {
    padding: 48px 6%;
  }

  .section-heading {
    align-items: start;
    gap: 10px;
    flex-direction: column;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .photo {
    height: 190px;
  }

  .owner-cta {
    margin: 35px 6%;
    padding: 27px;
    align-items: flex-start;
    flex-direction: column;
  }

  .owner-cta h2 {
    font-size: 25px;
  }

  .category-tabs,
  .category-buttons {
    gap: 8px;
  }

  .category-tabs button,
  .category-buttons button {
    font-size: 12px;
    padding: 10px 13px;
  }
  }

/* LANDLORD ACCOUNT SECTION */
.auth-container {
  max-width: 520px;
  margin: 30px auto;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #dce9df;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(20, 70, 40, 0.08);
}

.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  border: 1px solid #dce9df;
  border-radius: 10px;
  background: #f2f8f3;
  color: #245c38;
  cursor: pointer;
  font-weight: 600;
}

.auth-tab.active {
  background: #176b3a;
  color: #ffffff;
}

.auth-container form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-container h3 {
  color: #176b3a;
  margin-bottom: 10px;
}

.auth-container label {
  font-weight: 600;
  color: #315b40;
}

.auth-container input {
  width: 100%;
  padding: 13px;
  border: 1px solid #cbdccf;
  border-radius: 9px;
  font: inherit;
  box-sizing: border-box;
}

.auth-container input:focus {
  outline: 2px solid #8bc99d;
  border-color: #176b3a;
}

.auth-container form button {
  margin-top: 12px;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #176b3a;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.auth-container form button:hover {
  background: #10552d;
}

#landlord-auth-message {
  margin-top: 15px;
  color: #176b3a;
  font-weight: 600;
}


/* Ensure hidden authentication forms stay hidden */
.auth-container form[hidden] {
  display: none !important;
}


/* =====================================
   PATAHAO - FINAL PROFESSIONAL STYLING
===================================== */

:root {
  --primary: #176b3a;
  --primary-dark: #10532d;
  --primary-light: #eaf5ed;
  --accent: #f3b544;
  --text: #24352b;
  --muted: #68776d;
  --surface: #ffffff;
  --background: #f5f8f5;
  --border: #dfe9e1;
  --shadow: 0 5px 20px rgba(20, 70, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  transition: all 0.2s ease;
}

button:hover,
.button:hover {
  transform: translateY(-2px);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(243, 181, 68, 0.7);
  outline-offset: 3px;
}

/* Main sections */

section,
.section {
  padding-top: 45px;
  padding-bottom: 45px;
}

h1,
h2,
h3 {
  color: var(--primary-dark);
  line-height: 1.25;
}

p {
  overflow-wrap: break-word;
}

.muted {
  color: var(--muted);
}

/* Navigation */

header,
nav {
  position: relative;
}

nav a {
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: var(--primary);
}

/* Search and forms */

input,
select,
textarea {
  width: 100%;
  min-height: 45px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: white;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: none;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

/* Buttons */

button,
.button {
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
}

button[type="submit"],
.button {
  box-shadow: 0 3px 8px rgba(23, 107, 58, 0.12);
}

/* Property cards */

.property-card,
.property-item,
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease,
              box-shadow 0.2s ease;
}

.property-card:hover,
.property-item:hover,
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 9px 25px rgba(20, 70, 40, 0.13);
}

.property-card img,
.property-item img {
  width: 100%;
  object-fit: cover;
}

/* Section headings */

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

/* Authentication */

.auth-container {
  background: white;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

#landlord-auth-message {
  color: var(--primary);
}

/* Status messages */

.error,
.error-message {
  color: #b42318;
}

.success,
.success-message {
  color: var(--primary);
}

/* Images */

img {
  max-width: 100%;
}

/* Mobile responsiveness */

@media (max-width: 768px) {
  section,
  .section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .property-card,
  .property-item {
    width: 100%;
  }

  button,
  .button {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 23px;
  }

  .auth-container {
    padding: 16px;
  }
  }
  

