/*--------------------------------------------------------------
# Royal upgrade: load AFTER main.css (assets/css/royal-upgrade.css)
# Uses only your existing theme variables.
--------------------------------------------------------------*/

/* Hero buttons (were plain links) */
.hero .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.hero .hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 15px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.hero .hero-btn-primary { background: var(--accent-color); color: var(--contrast-color); box-shadow: 0 10px 26px color-mix(in srgb, var(--accent-color), transparent 65%); }
.hero .hero-btn-primary:hover { color: var(--contrast-color); transform: translateY(-3px); }
.hero .hero-btn-outline { border: 2px solid var(--accent-color); color: var(--accent-color); }
.hero .hero-btn-outline:hover { background: var(--accent-color); color: var(--contrast-color); transform: translateY(-3px); }
.hero .hero-btn-link { padding-left: 4px; padding-right: 4px; color: var(--heading-color); }
.hero .hero-btn-link:hover { color: var(--accent-color); }

/* Inside Royal Property */
.inside-royal { padding: 100px 0; }
.inside-royal-media { position: relative; padding: 0 0 30px 30px; }
.inside-royal-media::before {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 75%; height: 75%; border-radius: 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
}
.inside-royal-image { position: relative; z-index: 1; height: 480px; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.15); }
.inside-royal-image img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 20px; }
.inside-royal-badge {
  position: absolute; z-index: 2; right: -10px; bottom: 0;
  background: var(--accent-color); color: var(--contrast-color);
  padding: 20px 26px; border-radius: 16px; text-align: center;
  box-shadow: 0 16px 36px color-mix(in srgb, var(--accent-color), transparent 55%);
}
.inside-royal-badge strong { display: block; font-size: 2rem; line-height: 1; font-family: var(--heading-font); }
.inside-royal-badge span { font-size: .85rem; opacity: .9; }
.inside-royal .section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color); padding: 8px 18px; border-radius: 50px;
  font-weight: 600; font-size: .9rem; margin-bottom: 1rem;
}
.inside-royal-title { font-size: 2.4rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.inside-royal .lead-text { font-size: 1.05rem; font-weight: 500; color: var(--heading-color); margin-bottom: 1rem; }
.inside-royal-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.inside-royal-list li { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-weight: 500; }
.inside-royal-list i { color: var(--accent-color); }
.inside-royal .action-buttons .btn-primary {
  background: var(--accent-color); border: none; border-radius: 50px; padding: 14px 32px; font-weight: 600;
  transition: transform .3s ease, box-shadow .3s ease;
}
.inside-royal .action-buttons .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-color), transparent 65%); }

/* Gallery */
.royal-gallery .gallery-grid { columns: 3; column-gap: 20px; }
.royal-gallery .gallery-item {
  position: relative; display: block; overflow: hidden; margin-bottom: 20px;
  break-inside: avoid; border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.royal-gallery .gallery-item img { width: 100%; height: auto; display: block; transition: transform .6s ease; }
.royal-gallery .gallery-item:hover img { transform: scale(1.08); }
.royal-gallery .gallery-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 35%), color-mix(in srgb, var(--heading-color), transparent 35%));
  opacity: 0; transition: opacity .35s ease;
}
.royal-gallery .gallery-overlay i {
  width: 56px; height: 56px; border-radius: 50%; background: var(--contrast-color); color: var(--accent-color);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  transform: scale(.7); transition: transform .35s ease;
}
.royal-gallery .gallery-item:hover .gallery-overlay { opacity: 1; }
.royal-gallery .gallery-item:hover .gallery-overlay i { transform: scale(1); }

/* Team: tidy cards and photos */
.featured-agents .agent-image img { object-position: top center; }
.featured-agents .agent-meta .agent-title { text-transform: none; font-size: 13px; line-height: 1.4; margin-bottom: 2px; }
.featured-agents .agent-stats { justify-content: center; }
.featured-agents .specialties:empty { display: none; }

/* Testimonials: Olompia photo and long titles */
.testimonials .testimonial-item h2 { line-height: 1.3; }

/* Section titles: slightly bolder, more air */
.section-title h2 { font-weight: 800; }

@media (max-width: 992px) {
  .inside-royal { padding: 70px 0; }
  .inside-royal-image { height: 360px; }
  .inside-royal-title { font-size: 2rem; }
  .inside-royal-badge { right: 10px; }
  .royal-gallery .gallery-grid { columns: 2; }
}
@media (max-width: 576px) {
  .royal-gallery .gallery-grid { columns: 1; }
  .hero .hero-btn { width: 100%; justify-content: center; }
}