/* ════════════════════════════════════════
   BLUEHOUSE REAL ESTATE – Global Styles
   ════════════════════════════════════════ */

:root {
  --green:   #1a959e;
  --green-light: #22b1b8;
  --main:#03141A;
  --dark:    #111827;
  --dark2:   #1e2738;
  --gold:    #d4a640;
  --light:   #f7f8fa;
  --text:    #333;
  --muted:   #666;
  --border:  #e2e5ea;
 --font-display: 'Inter', sans-serif;
--font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ════════════════ NAVBAR ════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background:var(--main);
  /* box-shadow: 0 1px 0 var(--border); */
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.10); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  display: inline-block;
  width: 100px; height: 42px;
  color: #fff;
  border-radius: 6px;
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  text-transform: lowercase;
  letter-spacing: .02em;
}
.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--light);
  position: relative;
  padding-bottom: 2px;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--green-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--light); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.btn-book {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.2rem;
  border: 2px solid var(--light);
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--light);
  white-space: nowrap;
  background: none;
  transition: background .2s, color .2s, border-color .2s;
  flex-shrink: 0;
}
.btn-book:hover,
.btn-book.active-book {
  background: var(--dark);
  color: #fff;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
  color: var(--light);
}

@media(max-width:900px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #03141A; flex-direction: column; padding: 1.5rem; gap: 1.2rem; border-top: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .btn-book { display: none; }
}

/* ════════════════ HERO ════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.75) 40%, rgba(0,0,0,.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  padding: 3rem 1.5rem 3rem calc(50vw - 100px);
  color: #fff;
}
@media(max-width:1100px) { .hero-content { padding: 3rem 1.5rem; } }

@media(max-width:768px){
    .hero{
        min-height: 70vh;
    }

    .hero-overlay{
        background: linear-gradient(50deg, #03141a, #1a959e85);
        z-index: 1;
    }

    .hero-bg{
        object-position: center left;
    }
    .hero-content h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }

    .btn-outline{padding: .75rem 1rem !important}

}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-content h1 span { color: var(--green); }
.hero-content p {
  font-size: 1rem;
  color: rgba(255,255,255,.82);
  max-width: 100%;
  margin-bottom: 2rem;
  line-height: 1.75;

}
.hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn-primary {
  display: inline-block;
  padding: .75rem 2rem;
  background: #41bbe8;
  outline: none;
  border: none;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  padding: .75rem 2rem;
  border: 2px solid rgba(255,255,255,.8);
  color: #fff;
  outline: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s, border-color .2s;
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ════════════════ INTRO ════════════════ */
.intro {
  padding: 5rem 1.5rem;
  text-align: center;
  background: #fff;
}
.section-title-green {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  color:#3e6773;
  line-height: 1.35;
  margin-bottom: 1.5rem;
}
.intro-lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 1.5rem;
}
.intro-body {
  font-size: .97rem;
  color: var(--text);
  max-width: 820px;
  margin: 0 auto 1.25rem;
  line-height: 1.8;
}
.intro-cta { margin-top: 2.5rem; }

.btn-dark {
  display: inline-block;
  padding: .8rem 2.2rem;
  background: var(--main);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s, transform .15s;
}
.btn-dark:hover { background: #2a3548; transform: translateY(-1px); }

@media(max-width :768px) {
    .intro{
        padding: 2rem 0rem;
        text-align: left;
    }
}

/* ════════════════ ABOUT SECTION ════════════════ */
.about-section {
  background: var(--light);
  padding: 5rem 1.5rem;
  border-radius:0px 5px ;
  border-top: #1a959e solid 3px ;
}
.about-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2.5rem;
  display: inline-block;
  padding-bottom: .3rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media(max-width:800px) { .about-grid { grid-template-columns: 1fr; } }

.about-text p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.stats-bar {
  background: var(--dark2);
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
}
@media(max-width:600px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } .about-section{ padding: 2rem 0rem;} }

.stat {
  padding: 1.2rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--light);
}
.stat-label {
  display: block;
  font-size: .72rem;
  color: rgb(55, 218, 207);
  margin-top: .25rem;
  line-height: 1.3;
}

.about-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.about-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
}
.about-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: .75rem .75rem 0;
  background: #fff;
  border-radius: 8px 8px 0 0;
}
.bar {
  width: 40px;
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
  font-size: .7rem;
  color: #fff;
  font-weight: 700;
}

/* ════════════════ PROPERTIES ════════════════ */
.properties-section {
  padding: 5rem 1.5rem;
  background: #fff;
}
.section-sub {
  color: var(--muted);
  font-size: .97rem;
  max-width: 580px;
  margin: .75rem 0 2.5rem;
}
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media(max-width:900px) { .props-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:580px) { .props-grid { grid-template-columns: 1fr; } }

.prop-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .25s, transform .25s;
}
.prop-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.13); transform: translateY(-4px); }
.prop-card img { width: 100%; height: 200px; object-fit: cover; }
.prop-info { padding: 1.25rem; }
.prop-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(26,158,111,.1);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: .6rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.prop-info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .3rem;
}
.prop-info p { font-size: .875rem; color: var(--muted); margin-bottom: .75rem; }
.prop-price { font-size: .95rem; font-weight: 700; color: var(--green); }

/* ════════════════ CONTACT / GET IN TOUCH ════════════════ */
.contact-section {
  background: var(--light);
  padding: 5rem 1.5rem;
}
.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2.5rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media(max-width:800px) { .contact-grid { grid-template-columns: 1fr; } }



.form-group { position: relative; margin-bottom: .75rem; }
.form-input,
.form-textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--dark);
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.extra-input{
    display: flex;
    gap: 1rem;
}
.form-input:focus,
.form-textarea:focus { border-color: var(--green); }
.form-textarea { resize: vertical; }
.input-icon {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  pointer-events: none;
}
.icon-input { padding-left: 2.4rem; }

.btn-submit {
  width: 100%;
  padding: .9rem 1.5rem;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .04em;
  transition: background .2s;
}
.btn-submit:hover { background: #2a3548; }

.contact-img-wrap { border-radius: 12px; overflow: hidden; }
.contact-img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }

/* ════════════════ MAP ════════════════ */
/* .map-section { padding: 3rem 0 0; } */
.map-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--dark2);
  /* padding: 0 1.5rem 1.5rem; */
  max-width: 1100px;
  margin: 0 auto;
}
.map-embed { width: 100%; }
.map-embed iframe { display: block; }

/* ════════════════ FOOTER ════════════════ */
.footer {
  background: var(--main);
  color: rgba(255,255,255,.75);
  padding: 4rem 1.5rem 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
@media(max-width:900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media(max-width:520px)  { .footer-inner { grid-template-columns: 1fr; } }

.footer-brand .logo-text { color: #fff; }
.footer-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .875rem; line-height: 1.7; margin-top: .75rem; }

.footer-links h4,
.footer-services h4,
.footer-social h4 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.footer-links a,
.footer-services a {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .5rem;
  transition: color .2s;
}
.footer-links a:hover,
.footer-services a:hover { color: var(--green-light); }

.social-icons { display: flex; gap: .75rem; margin-top: .25rem; }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  transition: background .2s, border-color .2s, color .2s;
}
.social-icon:hover { background: var(--green); border-color: var(--green); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  padding: 1.25rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  max-width: 1100px;
  margin: 0 auto;
}

/* ════════════════ ANIMATIONS ════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero-content h1  { animation: fadeUp .7s .1s both; }
.hero-content p   { animation: fadeUp .7s .28s both; }
.hero-btns        { animation: fadeUp .7s .45s both; }

/* ════════════════ UTILITY ════════════════ */
.text-green { color: var(--green); }

/* ════════════════ Popup ════════════════ */

 .overlay{position:fixed;inset:0;background:rgba(0,0,0,0.6);display:flex;align-items:center;justify-content:center;z-index:9999;backdrop-filter:blur(4px);padding:1rem}
  .popup{background:#fff;border-radius:14px;width:100%;max-width:500px;overflow:hidden;position:relative;box-shadow:0 24px 60px rgba(0,0,0,0.25)}
  .popup-header{background:#03141A;padding:1.5rem 2rem;position:relative}
  .popup-header h2{color:#fff;font-size:1.3rem;font-weight:600;margin:0;font-family:sans-serif}
  .popup-header p{color:rgba(255,255,255,0.65);font-size:.82rem;margin:.3rem 0 0;font-family:sans-serif}
  .popup-header .close-btn{position:absolute;top:1rem;right:1rem;background:rgba(255,255,255,0.12);border:none;color:#fff;width:32px;height:32px;border-radius:50%;font-size:1.1rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}
  .popup-header .close-btn:hover{background:rgba(255,255,255,0.25)}
  .accent-bar{height:4px;background:linear-gradient(90deg,#1a959e,#22b1b8)}
  .popup-body{padding:1.5rem 2rem 2rem}
  .form-row{display:grid;grid-template-columns:1fr 1fr;gap:.85rem;margin-bottom:.85rem}
  .form-row.single{grid-template-columns:1fr}
  .field label{display:block;font-size:.75rem;font-weight:600;color:#555;margin-bottom:.35rem;text-transform:uppercase;letter-spacing:.05em;font-family:sans-serif}
  .field input,.field select,.field textarea{width:100%;padding:.72rem .95rem;border:1.5px solid #e2e5ea;border-radius:8px;font-size:.92rem;color:#1a202c;font-family:sans-serif;outline:none;transition:border-color .2s;background:#fff}
  .field input:focus,.field select:focus,.field textarea:focus{border-color:#1a959e;box-shadow:0 0 0 3px rgba(26,149,158,0.12)}
  .field select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .9rem center}
  .field textarea{resize:none;height:80px}
  .wa-btn{width:100%;padding:.9rem;background:#1a959e;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.6rem;font-family:sans-serif;margin-top:.5rem;transition:background .2s,transform .1s}
  .wa-btn:hover{background:#22b1b8}
  .wa-btn:active{transform:scale(.98)}
  .wa-icon{width:22px;height:22px;flex-shrink:0}
  .trigger-wrap{display:flex;gap:1rem;justify-content:center;padding:2rem 0}
  .demo-btn{padding:.75rem 1.8rem;background:#03141A;color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;font-family:sans-serif;transition:background .2s}
  .demo-btn:hover{background:#1a959e}
  .note{font-size:.75rem;color:#888;text-align:center;margin-top:.75rem;font-family:sans-serif}
  .req{color:#e24b4a}