/* styles.css (WHITE + BLUE THEME) */
:root{
  --bg: #f6f8ff;
  --bg2: #eef4ff;

  --text: #0b1220;
  --muted: #4b5a76;
  --muted2: #6b7a96;

  --card: rgba(255,255,255,0.92);
  --card2: rgba(255,255,255,0.80);
  --border: rgba(12, 26, 56, 0.10);
  --shadow: 0 18px 60px rgba(10, 30, 70, 0.10);

  --primary: #1f5cff;     /* main blue */
  --primary2: #0ea5ff;    /* accent blue */
  --warn: #ffd166;        /* optional highlight */

  --radius: 18px;
  --max: 1120px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1000px 600px at 10% 0%, rgba(31,92,255,0.16), transparent 55%),
    radial-gradient(900px 700px at 100% 10%, rgba(14,165,255,0.14), transparent 50%),
    radial-gradient(700px 700px at 30% 110%, rgba(31,92,255,0.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.45;
}

a{ color: inherit; text-decoration: none; }
.container{ width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px);
}

.header-inner{
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.logo-text{ font-size: 24px; }

/* Fixed logo image */
.logo-img{
  width: 150;
  height: 150px;
  object-fit: contain;
  display: block;

  border: 0px solid var(--border);
  border-radius: 12px;
  background: #transparent;
  padding: 6px;
}

.nav{
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 800;
  font-size: 13px;
  color: rgba(11,18,32,0.72);
}
.nav a{
  padding: 10px 10px;
  border-radius: 12px;
  transition: background 160ms ease, color 160ms ease, border 160ms ease;
}
.nav a:hover{
  background: rgba(31,92,255,0.08);
  color: var(--text);
}
.nav-cta{
  background: rgba(31,92,255,0.12);
  border: 1px solid rgba(31,92,255,0.25);
  color: var(--text);
}

.menu{
  display: none;
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  cursor: pointer;
}
.menu span{
  display: block;
  width: 18px; height: 2px;
  background: rgba(11,18,32,0.80);
  margin: 4px auto;
  border-radius: 2px;
}

/* HERO */
.hero{ padding: 44px 0 24px; }
.hero-inner{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31,92,255,0.08);
  border: 1px solid rgba(31,92,255,0.18);
  color: rgba(11,18,32,0.76);
  font-weight: 800;
  font-size: 12px;
}
.pill-dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary2);
  box-shadow: 0 0 0 4px rgba(14,165,255,0.18);
}

.hero h1{
  margin: 14px 0 10px;
  font-size: clamp(24px, 4vw, 24px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.lead{
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions{ margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }

.mini-cards{
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mini-card{
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
}
.mini-title{ font-weight: 900; letter-spacing: -0.02em; font-size: 18px; }
.mini-sub{ color: var(--muted2); font-size: 12px; margin-top: 2px; }

.card{
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* HERO IMAGE (fills card, keeps head safe) */
.hero-image{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: rgba(255,255,255,0.92);

  height: 420px;
  display: block;
  position: relative;
}

/* If your subject's head is near the top, use top-centered focus */
.hero-image img{
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: 50% 12%; /* move focus UP so head doesn't get cut */
}

/* Optional subtle top fade to protect texty backgrounds */
.hero-image:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), transparent 35%);
}

@media (max-width: 980px){
  .hero-image{ height: 280px; }
}

/* SECTIONS */
.section{ padding: 48px 0; }
.alt{
  background: rgba(31,92,255,0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.section-head h2{
  margin: 0 0 4px;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.section-head p{ margin: 0; color: var(--muted); }

.split{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}
.about-card{ padding: 18px; }
.about-card h2{ margin: 0 0 8px; letter-spacing: -0.02em; }
.about-card p{ margin: 0; color: var(--muted); }

.about-points{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.point{
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
}
.point-title{ font-weight: 900; font-size: 13px; }
.point-sub{ color: var(--muted2); font-size: 12px; margin-top: 2px; }

.about-metrics{ padding: 18px; background: var(--card2); }
.about-metrics h3{ margin: 0 0 12px; letter-spacing: -0.02em; }

.metrics{ display: grid; gap: 10px; }
.metric{
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
}
.metric-num{ font-weight: 900; letter-spacing: -0.02em; }
.metric-label{ color: var(--muted2); font-size: 12px; margin-top: 2px; }

.social{
  margin-top: 12px;
  display: flex;
  gap: 10px;
}
.social-btn{
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  font-weight: 900;
  color: rgba(11,18,32,0.80);
}
.small{ margin-top: 10px; color: var(--muted2); font-size: 12px; }

.grid3{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid4{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.service{ padding: 18px; }
.icon{
  width: 44px; height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31,92,255,0.18);
  background: rgba(31,92,255,0.08);
  font-weight: 900;
  color: rgba(11,18,32,0.82);
}
.service h3{ margin: 10px 0 6px; letter-spacing: -0.01em; }
.service p{ margin: 0 0 10px; color: var(--muted); }

.list{
  margin: 0;
  padding-left: 18px;
  color: rgba(11,18,32,0.78);
  font-size: 13px;
}
.list li{ margin: 6px 0; }

.listing{ overflow: hidden; }
.thumb{
  height: 150px;
  background:
    radial-gradient(400px 180px at 20% 20%, rgba(255,255,255,0.85), transparent 55%),
    linear-gradient(135deg, rgba(31,92,255,0.20), rgba(14,165,255,0.14));
}
.t1{ background: radial-gradient(360px 180px at 20% 25%, rgba(255,255,255,0.90), transparent 55%), linear-gradient(135deg, rgba(31,92,255,0.22), rgba(14,165,255,0.12)); }
.t2{ background: radial-gradient(360px 180px at 20% 25%, rgba(255,255,255,0.90), transparent 55%), linear-gradient(135deg, rgba(14,165,255,0.20), rgba(31,92,255,0.10)); }
.t3{ background: radial-gradient(360px 180px at 20% 25%, rgba(255,255,255,0.90), transparent 55%), linear-gradient(135deg, rgba(31,92,255,0.18), rgba(14,165,255,0.12)); }
.t4{ background: radial-gradient(360px 180px at 20% 25%, rgba(255,255,255,0.90), transparent 55%), linear-gradient(135deg, rgba(14,165,255,0.18), rgba(31,92,255,0.12)); }

.listing-body{ padding: 14px 14px 16px; }
.top{ display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.price{ font-weight: 900; letter-spacing: -0.02em; font-size: 18px; }
.tag{
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: #ffffff;
  background: var(--primary);
}
.tag.soft{ background: rgba(14,165,255,0.95); }

.listing h3{ margin: 0 0 6px; font-size: 15px; letter-spacing: -0.01em; }
.meta{ color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.addr{ color: rgba(11,18,32,0.76); font-size: 13px; margin-bottom: 12px; }
.actions{ display: flex; gap: 10px; }

/* Reviews */
.quote{ padding: 18px; }
.quote blockquote{
  margin: 0;
  color: rgba(11,18,32,0.86);
  font-weight: 650;
  font-size: 14px;
}
.quote figcaption{
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted2);
  font-size: 12px;
  font-weight: 900;
}
.who{ color: rgba(11,18,32,0.86); }
.what{ color: var(--muted2); }

/* Contact */
.contact-card{
  padding: 18px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  align-items: start;
}
.contact-left h2{ margin: 0 0 8px; letter-spacing: -0.02em; }
.contact-left p{ margin: 0 0 14px; color: var(--muted); }

.contact-lines{ display: grid; gap: 10px; }
.line{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
}
.label{ color: var(--muted2); font-weight: 900; font-size: 12px; }
.value{ font-weight: 900; font-size: 13px; color: rgba(11,18,32,0.88); }

.form{ display: grid; gap: 12px; }
.field{ display: grid; gap: 6px; }
.field span{ color: var(--muted2); font-size: 12px; font-weight: 900; }

input, textarea{
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.92);
  color: var(--text);
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
textarea{ resize: vertical; min-height: 120px; }
input::placeholder, textarea::placeholder{ color: rgba(11,18,32,0.42); }

input:focus, textarea:focus{
  border-color: rgba(31,92,255,0.55);
  box-shadow: 0 0 0 4px rgba(31,92,255,0.16);
  background: rgba(255,255,255,0.98);
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: transform 140ms ease, background 160ms ease, border 160ms ease, box-shadow 160ms ease;
}
.btn:active{ transform: translateY(1px); }
.full{ width: 100%; }
.sm{ padding: 10px 12px; border-radius: 12px; font-size: 13px; }

.primary{
  background: linear-gradient(135deg, var(--primary), #3a7bff);
  box-shadow: 0 14px 40px rgba(31,92,255,0.18);
  color: #ffffff;
}
.primary:hover{
  box-shadow: 0 18px 56px rgba(31,92,255,0.24);
}

.ghost{
  background: rgba(31,92,255,0.06);
  border: 1px solid rgba(31,92,255,0.18);
  color: rgba(11,18,32,0.90);
}
.ghost:hover{ background: rgba(31,92,255,0.10); }

.outline{
  background: transparent;
  border: 1px solid rgba(11,18,32,0.18);
  color: rgba(11,18,32,0.90);
}
.outline:hover{ background: rgba(11,18,32,0.04); }

/* Footer */
.footer{
  padding: 26px 0 40px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.70);
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-name{ font-weight: 900; letter-spacing: -0.02em; margin-bottom: 6px; }
.footer-muted{ color: var(--muted2); font-size: 13px; }
.footer-links{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(11,18,32,0.70);
  font-weight: 900;
  font-size: 13px;
}
.footer-links a{
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.footer-links a:hover{
  border-color: rgba(31,92,255,0.18);
  background: rgba(31,92,255,0.06);
}

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .grid4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3{ grid-template-columns: 1fr; }
  .contact-card{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .nav{ display: none; }
  .menu{ display: inline-block; }
  .mini-cards{ grid-template-columns: 1fr; }
  .grid4{ grid-template-columns: 1fr; }
}
.featured-listing{
  overflow:hidden;
  transition: all 0.25s ease;
}

.listing-link{
  display:block;
  text-decoration:none;
  color:inherit;
}

.real-photo{
  height: 190px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(31,92,255,0.22), rgba(14,165,255,0.15));
}

/* Hover overlay */
.overlay{
  position:absolute;
  inset:0;
  background: rgba(10,20,40,0.55);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition: all 0.25s ease;
}

.overlay-text{
  color:#fff;
  font-weight:800;
  letter-spacing:-0.01em;
  background: rgba(255,255,255,0.15);
  padding:12px 18px;
  border-radius:14px;
  backdrop-filter: blur(6px);
}

.featured-listing:hover{
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(10,30,70,0.18);
}

.featured-listing:hover .overlay{
  opacity:1;
}

.listings-carousel {
  /* tweak as desired */
  --gap: 16px;
  --perView: 1;
  --dotSize: 10px;
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .listings-carousel { --perView: 2; }
}

@media (min-width: 1024px) {
  /* If 4 feels too tight, change to 3 */
  .listings-carousel { --perView: 3; }
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.carousel-status {
  min-width: 120px;
  text-align: center;
  opacity: 0.85;
  font-size: 0.95rem;
}

/* Scroll container */
.carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  outline: none;
}

/* Optional: hide scrollbar (keep it accessible) */
.carousel-viewport::-webkit-scrollbar { height: 10px; }
.carousel-viewport::-webkit-scrollbar-thumb { border-radius: 999px; }

/* Track + slides */
.carousel-track {
  display: flex;
  gap: var(--gap);
  padding: 2px;
}

.carousel-slide {
  flex: 0 0 calc((100% - (var(--gap) * (var(--perView) - 1))) / var(--perView));
  scroll-snap-align: start;
}

/* Make your real-photo thumbnails always behave */
.thumb.real-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dot {
  width: var(--dotSize);
  height: var(--dotSize);
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  opacity: 0.55;
  cursor: pointer;
}

.carousel-dot[aria-current="true"] {
  opacity: 1;
}
