/* ===========================================================
   AminazPropertiesILLC — style.css
   Professional, consistent real-estate website styling
   =========================================================== */

/* -------------------------
   Variables
   ------------------------- */
:root {
  --color-bg: #f9fafc;
  --color-surface: #ffffff;
  --color-primary: #44b1ff;           /* updated to match logo */
  --color-primary-600: #44b1ff;       /* same shade for consistency */
  --color-primary-hover: #189ce9;     /* slightly darker hover for accessibility */
  --color-accent: #ffcc00;
  --color-muted: #6b7280;
  --color-text: #0f1724;
  --color-success: #107a3f;
  --color-danger: #b00020;
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-soft: 0 6px 18px rgba(11, 22, 40, 0.06);
  --shadow-subtle: 0 3px 8px rgba(11, 22, 40, 0.04);
  --max-width: 1200px;
  --container-padding: 20px;
  --fluid-type-min: 1rem;
  --fluid-type-max: 1.125rem;
}

/* -------------------------
   Base / Reset
   ------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-size: clamp(var(--fluid-type-min), 1.4vw + 0.5rem, var(--fluid-type-max));
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.center-text {
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
}

/* -------------------------
   Header / Navigation
   ------------------------- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--container-padding);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.6));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(15, 23, 36, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-subtle);
}

/* --- Logo + Contact block --- */
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: visible;
}

.site-logo {
  height: 48px;
  width: auto;
  border-radius: 8px;
  transform: scale(1.45); /* visually larger but same nav height */
  transform-origin: left center;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.company-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
}

.contact-info a {
  color: var(--color-muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.contact-info a:hover {
  color: var(--color-primary);
}

/* Navigation links */
.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--color-text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease, transform 120ms ease;
}

nav a:hover,
nav a:focus {
  background: rgba(68, 177, 255, 0.12);
  color: var(--color-primary-600);
  transform: translateY(-1px);
}

nav a.active {
  color: var(--color-primary);
  background: rgba(68, 177, 255, 0.08);
  box-shadow: inset 0 -2px 0 var(--color-accent);
}

/* -------------------------
   Hero Section
   ------------------------- */
.hero {
  background: linear-gradient(180deg, var(--color-bg), #ffffff);
  padding: 80px 0;
  border-bottom: 1px solid rgba(15, 23, 36, 0.03);
}

.hero .hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.6rem, 2.4vw + 0.5rem, 2.6rem);
  margin-bottom: 12px;
}

.hero p {
  color: var(--color-muted);
  margin-bottom: 18px;
  font-size: 1.025rem;
}

/* ---- Home (index) hero logo ---- */
.hero-logo {
  display: block;
  height: 120px;
  width: auto;
  margin: 0 auto 14px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
  transform: scale(1.5);          /* enlarged without changing box size */
  transform-origin: center center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(68, 177, 255, 0.12);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(68, 177, 255, 0.18);
  background: var(--color-primary-hover);
}

/* -------------------------
   About Section (center fix)
   ------------------------- */
.about {
  background: transparent;
  padding: 48px 0;
  text-align: center;            /* ensures title and text stay centered */
}

.about h2 {
  margin-bottom: 16px;
  font-size: 1.6rem;
  text-align: center;
}

.about p {
  max-width: 860px;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
}

/* --- Property info alignment fix --- */
.property-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}

.property-info span {
  position: relative;
  padding: 0 12px;
}

.property-info span:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  color: var(--color-muted);
  opacity: 0.8;
}

/* -------------------------
   Property Gallery / Carousel
   ------------------------- */
.gallery {
  padding: 36px 0 64px;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 16px;
}

.carousel {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.slides {
  grid-column: 2 / 3;
  width: 100%;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-md) - 4px);
  background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
}

.slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 380ms ease, transform 420ms ease;
  border-radius: calc(var(--radius-md) - 4px);
}

.slides img.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

.prev, .next {
  background: rgba(11, 22, 40, 0.6);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease;
  box-shadow: 0 6px 14px rgba(11, 22, 40, 0.18);
}

.prev:hover, .next:hover {
  transform: translateY(-2px);
  background: rgba(11, 22, 40, 0.8);
}

.controls {
  max-width: 920px;
  margin: 12px auto 0;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.thumbnails {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.thumbnails img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid transparent;
  cursor: pointer;
  transition: border-color 140ms ease, transform 120ms ease;
}

.thumbnails img.active,
.thumbnails img:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

/* -------------------------
   Contact Page
   ------------------------- */
.contact {
  padding: 36px 0 64px;
}

.contact form {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  background: var(--color-surface);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 36, 0.08);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
}

input:focus, textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 8px rgba(68, 177, 255, 0.3);
  outline: none;
}

/* -------------------------
   Footer
   ------------------------- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 28px var(--container-padding);
  text-align: center;
  margin-top: 48px;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

/* -------------------------
   Responsive
   ------------------------- */
@media (max-width: 720px) {
  .slides { height: 300px; }
  .site-logo { transform: scale(1.2); }
  .about p { padding: 0 14px; }
}
/* === Contact page polish (matches site look) === */
.contact-title {
  margin-bottom: 6px;
}
.contact-subtitle {
  color: var(--color-muted);
  margin-bottom: 24px;
}

.contact-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  align-items: start;
  padding: 0 12px;
}

.contact-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.contact-aside .contact-aside-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 22px;
  text-align: left;
}

.contact-aside-logo {
  display: block;
  height: 56px;
  width: auto;
  margin-bottom: 10px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.office-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 12px;
}
.office-list li {
  margin: 6px 0;
  color: var(--color-text);
}
.office-note {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Form fields */
.form-field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.form-field label {
  font-weight: 600;
  color: var(--color-text);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,36,0.12);
  background: #fff;
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(68,177,255,0.18);
  outline: none;
}

/* Buttons */
.btn-outline {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  transition: background 150ms ease, color 150ms ease, transform 120ms ease, box-shadow 150ms ease;
}
.btn-outline:hover,
.btn-outline:focus {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(68,177,255,0.18);
}

/* Status feedback */
.form-status {
  margin-top: 10px;
  font-weight: 700;
  text-align: center;
}
.form-status.success { color: var(--color-success); }
.form-status.error   { color: var(--color-danger); }

/* Responsive layout */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
/* === Contact page visual refinements === */

/* Make the logo appear larger without expanding its container */
/* === Refined contact aside card (restores original orientation) === */

/* Adjust layout of the company info card */
.contact-aside .contact-aside-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  text-align: left;          /* revert to natural left alignment */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Make the logo larger but keep proportions clean */
.contact-aside-logo {
  display: block;
  height: 78px;              /* bigger than before */
  width: auto;
  margin-bottom: 18px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.08));
  transform: none;           /* reset scale to natural proportions */
}

/* Slightly increase the size and spacing of text for balance */
.contact-aside-card h2 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  color: var(--color-text);
}

.office-list li {
  font-size: 1rem;
  line-height: 1.6;
}

.office-note {
  font-size: 0.95rem;
  margin-top: 8px;
}

/* Make the right-side card slightly wider on desktop for better proportion */
@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1.3fr 1.1fr;
  }
}

/* Keep consistent spacing on mobile view */
@media (max-width: 900px) {
  .contact-aside .contact-aside-card {
    text-align: center;
    align-items: center;
  }
  .contact-aside-logo {
    margin-left: auto;
    margin-right: auto;
  }
}
/* ===========================
   MOBILE NAV FIX
   =========================== */
html, body {
  overflow-x: hidden; /* Prevent sideways scrolling on mobile */
}

/* Keep navbar inside viewport on small devices */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 12px;
  }

  .nav-left {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .site-logo {
    transform: scale(1.15); /* slightly smaller logo for small screens */
    transform-origin: center;
  }

  .logo-text {
    text-align: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}
/* Center the "Contact Us" title across all devices */
.contact-title {
  text-align: center;
  display: block;
  width: 100%;
  margin: 0 auto 8px;
  font-size: 2rem;
  font-weight: 700;
}
@media (max-width: 768px) {
  .contact-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  .contact-subtitle {
    text-align: center;
    padding: 0 12px;
  }
}
