/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'Space Grotesk';
  src: url('/css/fonts/SpaceGrotesk-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/css/fonts/SpaceGrotesk-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/css/fonts/SpaceGrotesk-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/css/fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/css/fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/css/fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/css/fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/css/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  /* Dark backgrounds — navy with a hair of warmth */
  --bg:           #0A0C12;
  --bg2:          #0E1018;
  --surface:      #12151F;
  --surface2:     #181C28;
  --surface-grad: linear-gradient(180deg, rgba(22,20,16,.96), rgba(14,12,9,.96));

  /* Borders & Shadows */
  --border:      rgba(255,255,255,0.09);
  --border-gold: rgba(212,168,67,.30);
  --shadow:      0 10px 30px rgba(0,0,0,.60);
  --radius:      14px;

  /* Text */
  --text:        #EDE8DC;
  --muted:       #A89880;
  --white:       #ffffff;
  --footer-text: #C8C0B0;
  --nav-text:    #D4CAB8;
  --nav-hover:   #F0C060;
  --icon-color:  #C8C0B0;

  /* Gold accent palette — replaces all teal/purple */
  --accent:      #D4A843;
  --accent2:     #B8861A;
  --gold:        #F0C060;
  --gold-glow:   rgba(212,168,67,.28);
  --gold-border: rgba(212,168,67,.45);

  /* Light contrast sections */
  --light-bg:     #F4EFE4;
  --light-bg2:    #EBE4D6;
  --light-text:   #1A1510;
  --light-muted:  #5C4A2A;
  --light-border: rgba(180,140,60,.30);
  --light-shadow: 0 10px 30px rgba(0,0,0,.15);

  /* Danger */
  --danger:       #e05050;
  --danger-hover: #c03030;
}


/* ============================================================
   BASE STYLES
   ============================================================ */
body {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  background:
    radial-gradient(1100px 700px at 15% 0%, rgba(212,168,67,.10), transparent 60%),
    radial-gradient(800px 500px at 85% 5%, rgba(184,134,26,.07), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  margin: 0;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Poppins', sans-serif;
  letter-spacing: 0.05em;
  color: var(--text);
}

p {
  font-size: 18px;
  margin: 0 0 10px 0;
  color: var(--muted);
  width: 90%;
  overflow-x: hidden;
  text-align: left;
}

a {
  text-decoration: none;
  color: var(--accent);
}

a:hover {
  text-decoration: none;
  color: var(--gold);
  cursor: pointer;
}

a.url {
  display: inline-flex;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  transition: opacity 0.3s ease;
}

hr {
  border: none;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
  margin: 20px 0;
}

ul {
  list-style-type: disc;
  padding: 5px;
  margin-left: 20px;
  width: 80%;
  align-content: center;
}

li {
  text-align: left;
  margin: 5px;
  padding: 10px;
  border-radius: 4px;
}

dl {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 0.75rem;
  column-gap: 1rem;
  padding: 14px 16px;
  margin: 12px 0;
  background: var(--surface-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

dt {
  text-align: left;
  padding-left: 4px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
}

dd {
  text-align: right;
  padding-right: 4px;
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

dt:not(:first-of-type),
dd:not(:first-of-type) {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 6px;
}

dd[data-highlight] {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(240,192,96,0.40);
}


/* ============================================================
   LAYOUT
   ============================================================ */
#page-container {
  width: 100%;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  min-height: 100vh;
}

.wrapper {
  width: 100%;
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.homepage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(18,15,10,.96), rgba(10,12,18,.96));
  border-bottom: 1px solid var(--border-gold);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 950;
  padding: 0 15px;
  box-shadow: 0 4px 18px rgba(0,0,0,.55), 0 1px 0 var(--gold-border);
}

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

#logo {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.menu-wrapper {
  display: flex;
  width: 100%;
}

.menu {
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: right;
  width: 100%;
  height: 50px;
  font-size: 20px;
  margin-left: 20px;
}

.menu a {
  color: var(--nav-text);
  text-align: center;
  padding: 8px;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.menu a:hover {
  color: var(--nav-hover);
  transform: scale(1.15);
}

.toggle-menu {
  display: none;
}

/* Mobile dropdown */
.dropdown-content {
  background: linear-gradient(180deg, rgba(22,18,12,.98), rgba(14,12,8,.98));
  border: 1px solid var(--border-gold);
  box-shadow: 0 18px 44px rgba(0,0,0,.70);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(-10px) scale(0.99);
  transition: opacity 0.25s ease, transform 0.25s ease;
  padding: 10px;
}

.dropdown-content.show {
  opacity: 0.99;
  transform: translateY(0) scale(1);
}

.dropdown-content a {
  color: var(--text);
  text-decoration: none;
  padding: 12px 14px;
  display: block;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.dropdown-content a:hover {
  background: rgba(212,168,67,.10);
  border-color: var(--border-gold);
  transform: translateX(2px);
  color: var(--gold);
}

.dropdown-content a:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}


/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: linear-gradient(180deg, rgba(18,15,10,.98), rgba(8,6,4,.98));
  border-top: 1px solid var(--border-gold);
  padding: 20px;
  height: 180px;
  display: flex;
  position: relative;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
}

.footer-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: auto;
  z-index: 1;
  opacity: 0.85;
}

.contact {
  font-family: Impact, Charcoal, sans-serif;
  font-size: 32px;
  color: var(--gold);
  position: absolute;
  top: 20px;
  left: 20px;
  text-shadow: 0 0 18px rgba(240,192,96,.35);
}

.footer-links {
  font-size: 18px;
  color: var(--footer-text);
  position: absolute;
  bottom: 40px;
  left: 20px;
  display: flex;
  gap: 10px;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.copyright {
  font-size: 14px;
  color: var(--muted);
  position: absolute;
  bottom: 10px;
  left: 20px;
}


/* ============================================================
   SECTIONS — DARK
   ============================================================ */
.full-width-section {
  width: 100%;
  padding: 40px 20px 20px;
  gap: 20px;
  background: var(--surface-grad);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text);
}

.full-width-section h1 { font-size: 3rem;  margin-bottom: 10px; }
.full-width-section h2 { font-size: 1.8rem; margin-bottom: 10px; }

.full-width-section p {
  font-size: 1.2rem;
  font-weight: bold;
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
  color: var(--text);
  width: auto;
}

.full-width-section img {
  max-width: 75%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 10px;
}

/* Hero */
.full-width-section.hero {
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)),
    url("../img/backgrounds/imurhero.webp") no-repeat center / cover;
  color: var(--text);
  text-align: center;
  padding: 300px 0;
}

/* Dark drop shadow so text reads over the busy photo */
.full-width-section.hero h1,
.full-width-section.hero h2,
.full-width-section.hero p {
  text-shadow:
    0 2px 4px rgba(0,0,0,.9),
    0 4px 16px rgba(0,0,0,.75),
    0 8px 32px rgba(0,0,0,.55);
  margin-bottom: 12px;
}

/* h1: horizontal so "Brock" and "Nebula" meet in the middle */
.full-width-section.hero h1 {
  font-size: 4rem;
  margin: 0 0 12px 0;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

/* h2 and p: always stack full-width */
.full-width-section.hero h2,
.full-width-section.hero p {
  display: block;
  width: 90%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.full-width-section.hero .slide-left  { animation: slideInLeft  2s ease-out; }
.full-width-section.hero .slide-right { animation: slideInRight 2s ease-out; }
.full-width-section.hero .drop-down   { animation: dropDown     2s ease-out; }
.full-width-section.hero .pull-up     { animation: PullUp       2s ease-out; }


/* ============================================================
   SECTIONS — LIGHT CONTRAST
   Warm cream sections that break up the dark walls.
   ============================================================ */
.full-width-section-header {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(180deg, var(--light-bg), var(--light-bg2));
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  box-shadow: var(--light-shadow);
  color: var(--light-text);
  width: 100%;
  text-align: center;
  padding: 36px 20px;
}

.full-width-section-header h1,
.full-width-section-header h2,
.full-width-section-header h3 {
  color: var(--light-text);
  letter-spacing: 0.08em;
}

.full-width-section-header p {
  color: var(--light-muted);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  width: 85%;
  max-width: 800px;
  margin: 0 auto 20px;
}

.full-width-section-header a {
  color: var(--accent2);
  transition: color 0.3s ease;
}

.full-width-section-header a:hover {
  color: var(--light-text);
}

/* Light divider — used above listings */
.full-width-section-light {
  width: 100%;
  padding: 28px 20px;
  background: linear-gradient(180deg, var(--light-bg), var(--light-bg2));
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  box-shadow: var(--light-shadow);
  color: var(--light-text);
  text-align: center;
}

.full-width-section-light h2,
.full-width-section-light h3 {
  color: var(--light-text);
  margin: 4px 0;
}


/* ============================================================
   SLIDESHOW
   ============================================================ */
.slideshow-container {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.full-width-section-card {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px;
  width: 100%;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.full-width-section-card::-webkit-scrollbar {
  display: none;
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  display: block;
  border-bottom: 2px solid var(--border-gold);
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.post-content:hover .card-image {
  transform: scale(1.04);
}

.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) !important;
  background: linear-gradient(135deg, rgba(212,168,67,.55), rgba(184,134,26,.45));
  border: 2px solid var(--gold-border);
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 18px rgba(0,0,0,.7), 0 0 0 1px var(--gold-glow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.slideshow-btn img {
  width: 32px;
  height: 32px;
  border-radius: 0;
  display: block;
  flex-shrink: 0;
}

.slideshow-btn:hover {
  background: linear-gradient(135deg, rgba(212,168,67,.85), rgba(184,134,26,.70));
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow), 0 8px 28px rgba(0,0,0,.75);
}

.slideshow-btn:active { filter: brightness(1.15); }
.slideshow-btn.left   { left: 12px; }
.slideshow-btn.right  { right: 12px; }


/* ============================================================
   CONTENT BLOCKS
   ============================================================ */
.heading {
  width: 90%;
  background: var(--surface-grad);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 15px 5px;
  margin: 15px 0;
  text-shadow: none;
  position: relative;
}

.heading::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

.content {
  width: 100%;
  border-radius: 5px;
  text-decoration: none;
}

.content-block {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  text-align: center;
  background: var(--surface-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  padding: 10px;
  margin: 10px 0 20px;
}

.content-block h2,
.content-block h3 {
  background: var(--surface-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  padding: 10px;
  margin-bottom: 20px;
}

.content-item {
  width: 70%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  background: var(--surface-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  margin: 10px 0;
  padding: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.content-item:hover {
  border-color: var(--border-gold);
  box-shadow: 0 0 0 1px var(--gold-glow), var(--shadow);
}

.content-item h2 {
  width: 100%;
  text-align: center;
  color: var(--text);
  margin: 0;
  padding: 10px;
}

.content-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  width: 100%;
}

.content-title,
.content-text {
  width: 90%;
  text-align: center;
}

.content-text {
  justify-content: space-evenly;
  font-size: 16px;
  margin: 20px 0;
  color: var(--muted);
}

.large-content-item {
  width: 90%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--surface-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  padding: 15px;
  margin: 10px 0;
}

.post-content {
  font-family: "Poppins", sans-serif;
  flex: 0 0 auto;
  background: linear-gradient(160deg, rgba(30,24,14,.98), rgba(14,12,8,.98));
  border: 1px solid var(--border-gold);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0,0,0,.65);
  color: var(--text);
  scroll-snap-align: center;
  width: 300px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.post-content:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 0 0 2px var(--gold-glow),
    0 28px 55px rgba(0,0,0,.70),
    0 0 40px rgba(212,168,67,.12);
  border-color: var(--gold);
  border-top-color: var(--gold);
}

.post-content h3 {
  font-size: 1.1rem;
  padding: 14px 16px 4px;
  margin: 0;
  color: var(--text);
  letter-spacing: 0.04em;
  text-align: center;
}

.post-content h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--gold));
  margin: 8px auto 0;
  border-radius: 2px;
}

.post-content dl {
  margin: 10px 16px 16px;
  border: 1px solid rgba(212,168,67,.15);
  background: rgba(10,8,4,.55);
}

.post-content p {
  font-size: 1rem;
  color: var(--muted);
  padding: 0 16px;
  text-align: left;
}

.date-meta {
  font-size: 1rem;
  color: var(--muted);
}

.homepage-heading {
  width: 90%;
  background: var(--surface-grad);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  margin: 15px 0;
  text-align: center;
}

.content-img {
  width: 90%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 16px 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-gold);
}


/* ============================================================
   BLOG
   ============================================================ */
.image-item {
  flex: 0 0 auto;
  width: 220px;
  margin-right: 16px;
}

.image-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.image-item img:hover {
  border-color: var(--border-gold);
}

.read-more {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.read-more-button {
  display: inline-block;
  padding: 10px 26px;
  background: linear-gradient(135deg, rgba(212,168,67,.20), rgba(184,134,26,.14));
  border: 1px solid var(--gold-border);
  color: var(--text);
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,.45);
  letter-spacing: 0.03em;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.read-more-button:hover {
  background: linear-gradient(135deg, rgba(212,168,67,.35), rgba(184,134,26,.28));
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow), 0 14px 30px rgba(0,0,0,.6);
  color: var(--gold);
  transform: translateY(-1px);
}

.load-more-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.next-previous {
  display: flex;
  justify-content: space-around;
  width: 90%;
  padding: 10px 0;
}

.related-post-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.posts-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 10px;
  width: 100%;
}

.related-post {
  width: 260px;
  background: var(--surface-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.related-post:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 0 0 2px var(--gold-glow), 0 18px 36px rgba(0,0,0,.60);
}

.related-post img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 8px;
}

.related-post h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 10px;
  margin: 0;
  font-size: 1rem;
  background: none;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(212,168,67,.18), rgba(184,134,26,.12));
  border: 1px solid var(--gold-border);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  margin: 8px 0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.btn:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow), 0 10px 24px rgba(0,0,0,.5);
  transform: translateY(-1px);
  color: var(--gold);
}


/* ============================================================
   PROPERTIES
   ============================================================ */
.property-wrapper {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 16px;
}

.properties-list {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.properties-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%;
}

.property-card {
  width: 300px;
  padding: 0;
  text-align: center;
  background: linear-gradient(160deg, rgba(30,24,14,.98), rgba(14,12,8,.98));
  border: 1px solid var(--border-gold);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0,0,0,.65);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}

.property-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 0 0 2px var(--gold-glow),
    0 28px 55px rgba(0,0,0,.70),
    0 0 40px rgba(212,168,67,.12);
  border-color: var(--gold);
  border-top-color: var(--gold);
}

.property-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
  border-bottom: 2px solid var(--border-gold);
  display: block;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.property-card:hover img {
  transform: scale(1.04);
}

/* Title + details wrapper inside the card */
.property-card h2 {
  font-size: 1.1rem;
  padding: 14px 16px 4px;
  margin: 0;
  color: var(--text);
  letter-spacing: 0.04em;
}

/* Gold underline accent beneath card title */
.property-card h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--gold));
  margin: 8px auto 0;
  border-radius: 2px;
}

/* dl inside the card */
.property-card dl {
  margin: 10px 16px 16px;
  border: 1px solid rgba(212,168,67,.15);
  background: rgba(10,8,4,.55);
}

/* view details link spacing */
.property-card .view-property-link {
  margin: 0 16px 16px;
}

/* Price row inside card dl gets extra emphasis */
.property-card dd[data-highlight] {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.view-property-link {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 22px;
  background: linear-gradient(135deg, rgba(212,168,67,.20), rgba(184,134,26,.14));
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid var(--gold-border);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0,0,0,.5);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.view-property-link:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow), 0 16px 36px rgba(0,0,0,.65);
  color: var(--gold);
}

.property-images-slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.property-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: var(--radius);
}

.property-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.property-thumbnail {
  width: 100px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.property-thumbnail:hover {
  border-color: var(--gold);
}

.property-description { margin-top: 20px; }
.property-details      { margin-top: 20px; }
.property-details ul   { text-align: left; }

.property-price {
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 0 14px rgba(240,192,96,0.40);
  margin: 8px 0;
  letter-spacing: 0.02em;
}

.status {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(212,168,67,.12);
  border: 1px solid var(--gold-border);
  color: var(--accent);
  margin-bottom: 10px;
}


/* ============================================================
   ABOUT
   ============================================================ */
.about-container {
  display: flex;
  align-items: flex-start;
  margin: 20px 0;
}

.about-container img {
  float: left;
  border-radius: 50%;
  width: 150px;
  height: 200px;
  object-fit: cover;
  margin-right: 15px;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
  border: 2px solid var(--border-gold);
}

.about-container p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}


/* ============================================================
   FORMS
   ============================================================ */
form {
  width: 80%;
}

.form-container {
  width: 80%;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
}

.form-label {
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text);
}

.form-input,
.form-textarea {
  width: 90%;
  padding: 12px;
  font-size: 18px;
  margin-bottom: 20px;
  background: rgba(10,8,4,.60);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--gold-glow);
  outline: none;
}

.form-login {
  padding: 20px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 80%;
}

.password-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="file"],
button,
.button,
.form-submit {
  margin: 10px 0;
  font-size: 18px;
  display: inline-block;
  text-decoration: none;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(212,168,67,.22), rgba(184,134,26,.16));
  border: 1px solid var(--gold-border);
  color: var(--text);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
  cursor: pointer;
  letter-spacing: 0.03em;
  font-weight: 500;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="file"]:hover,
button:hover,
.button:hover,
.form-submit:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow), 0 16px 34px rgba(0,0,0,.55);
  transform: translateY(-1px);
  color: var(--gold);
}

input[type="checkbox"] {
  accent-color: var(--accent);
  border-radius: 4px;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text) !important;
  box-shadow: 0 0 0 1000px rgba(10,8,4,.70) inset !important;
  caret-color: var(--text);
  transition: background-color 5000s ease-in-out 0s;
}

.delete-button,
form .delete-button {
  color: var(--white);
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  margin-left: 10px;
  border-radius: 5px;
  background-color: var(--danger);
  transition: background-color 0.3s ease;
}

.delete-button:hover,
form .delete-button:hover {
  background-color: var(--danger-hover);
}

.error-block {
  width: 100%;
  text-align: center;
  background: linear-gradient(to top, #d04040, #8a2020, #500a0a);
  margin: 0 0 10px;
  color: var(--white);
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  text-shadow: 1px 1px 2px #000;
}

.fa-solid,
.fas {
  color: var(--icon-color);
}


/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(22,18,12,.97), rgba(8,6,4,.97));
  color: var(--text);
  padding: 16px 20px;
  text-align: center;
  z-index: 1000;
  font-size: 0.95rem;
  border-top: 1px solid var(--border-gold);
  box-shadow: 0 -12px 28px rgba(0,0,0,.65);
  backdrop-filter: blur(10px);
  animation: slideUp .4s ease-out;
}

.cookie-consent-banner p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-consent-banner button {
  margin: 6px;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(212,168,67,.22), rgba(184,134,26,.16));
  color: var(--text);
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--gold-border);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.45);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}

.cookie-consent-banner button:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow), 0 12px 28px rgba(0,0,0,.6);
  color: var(--gold);
  transform: translateY(-1px);
}


/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 30px 16px;
  width: 100%;
}

.pagination-btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, rgba(212,168,67,.18), rgba(184,134,26,.12));
  border: 1px solid var(--gold-border);
  color: var(--text);
  border-radius: 8px;
  text-decoration: none;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.pagination-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow), 0 8px 20px rgba(0,0,0,.5);
  color: var(--gold);
  transform: translateY(-1px);
}

.pagination-active {
  background: linear-gradient(135deg, rgba(212,168,67,.45), rgba(184,134,26,.35));
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-glow);
  cursor: default;
}

.pagination-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}


/* ============================================================
   UTILITIES
   ============================================================ */
.social_buttons {
  display: flex;
  flex-direction: row;
  margin: 5px;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes dropDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
@keyframes PullUp {
  from { transform: translateY(0);     opacity: 0; }
  to   { transform: translateY(-100%); opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}


/* ============================================================
   MEDIA QUERIES
   ============================================================ */
@media (max-width: 1000px) {
  .full-width-section.hero { padding: 80px 0; }
}

@media (max-width: 500px) {
  .full-width-section.hero { padding: 20px 0; }
  .full-width-section.hero h1 { font-size: 2rem; }
}

@media (max-width: 900px) {
  #footer {
    height: auto;
    padding: 20px 20px 0;
    display: block;
    text-align: center;
  }

  .footer-image {
    position: static;
    width: auto;
    max-width: 100%;
    margin: 20px auto 0;
    display: block;
  }

  .contact {
    position: static;
    font-size: 22px;
    margin-bottom: 10px;
    text-align: center;
  }

  .footer-links {
    position: static;
    margin-bottom: 10px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .copyright {
    position: static;
    text-align: center;
    margin-top: 10px;
  }

  #logo {
    width: 300px;
    max-width: 90%;
  }
}

@media (min-width: 769px) {
  .toggle-menu   { display: none; }
  .menu-wrapper  { display: flex; width: 100%; }
}

@media (max-width: 768px) {
  .full-width-section.hero h1 {
    font-size: 2.5rem;
  }

  .menu-wrapper  { display: none; }
  .menu          { display: none; }

  .toggle-menu {
    display: block;
    margin-left: auto;
  }

  .dropdown-menu { margin-right: 20px; }

  .dropdown-icon {
    font-size: 50px;
    font-weight: 900;
    cursor: pointer;
    color: var(--muted);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    padding-right: 10px;
  }

  .content-row  { flex-direction: column; }
  .content-item { width: 90%; }

  .image-item {
    width: 100%;
    margin-right: 0;
    margin-bottom: 12px;
  }

  .image-item img { height: 200px; }

  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-container img {
    float: none;
    margin-right: 0;
    margin-bottom: 12px;
  }

  textarea {
    background: rgba(10,8,4,.60);
    color: var(--text);
    width: 95%;
    height: auto;
    min-height: 80px;
  }
}