.hover-image {
  position: relative;
  display: inline-block;
  overflow: visible;
  border-radius: 16px;
  cursor: pointer;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.hover-image:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow:
    0 0 0 2px rgba(227,188,132,0.5),
    0 0 25px rgba(227,188,132,0.45),
    0 0 60px rgba(227,188,132,0.25);
}

.hover-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  transition:
    transform 0.45s ease,
    filter 0.35s ease;
}

.hover-image:hover img {
  transform: scale(1.05);
  filter: brightness(1.03) contrast(1.05);
}
.wp-site-blocks {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.wp-block-cover {
  margin-bottom: 0 !important;
}

.wp-block-group,
.wp-block-columns,
.wp-block-media-text,
.wp-block-cover,
.wp-block-image {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.real-estate-hero iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%) scale(1.15);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  pointer-events: none;
  border: none;

  /* NEW: Hide the frame on load and fade it in after 1.5 seconds */
  opacity: 0;
  animation: revealVideo 1s ease-in forwards;
  animation-delay: 1.5s; 
}

/* NEW: Smooth transition animation */
@keyframes revealVideo {
  to {
    opacity: 1;
  }
}

.real-estate-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* TIP: Set this background color to match the first frame of your video */
  background: rgba(0,0,0,0.45);
  z-index: 2; 
}
.hero-title {
  position: relative;
  z-index: 3;
  text-align: center;

  font-size: clamp(42px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.02;

  color: #ffffff;

  max-width: 1100px;
  margin: 0 auto;
  padding-top: 35vh;

  text-shadow:
    0 5px 30px rgba(0,0,0,0.65),
    0 0 18px rgba(227,188,132,0.12);

  animation: heroFade 1.2s ease-out;
}

/* Cinematic gold accent */
.hero-title::after {
  content: "";
  display: block;

  width: 140px;
  height: 2px;

  margin: 28px auto 0;

  background: linear-gradient(
    to right,
    transparent,
    #e3bc84,
    transparent
  );

  box-shadow:
    0 0 12px rgba(227,188,132,0.45),
    0 0 24px rgba(227,188,132,0.18);
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@300;400;500&display=swap');

/* SECTION */
.premium-section {
  padding: 120px 20px;
  text-align: center;
  background: #242424;
}

/* HEADING inside section */
.premium-section h1,
.premium-section h2,
.premium-section h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #ffffff;

  max-width: 900px;
  margin: 0 auto 30px auto;

  text-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

/* GOLD LINE */
.premium-section h1::after,
.premium-section h2::after,
.premium-section h3::after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  margin: 20px auto 0;
  background: #e3bc84;
  box-shadow: 0 0 15px rgba(227,188,132,0.4);
}

/* BODY TEXT */
.premium-section p {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);

  max-width: 720px;
  margin: 0 auto;
}
.hover-card {
  display: block;
  width: 100%;
  max-width: 25vw; /* UPDATED: scales with screen, allows larger cards in a 4-column layout */
  border-radius: 20px;
  cursor: pointer;

  transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1),
              box-shadow 0.5s ease,
              filter 0.5s ease;

  backface-visibility: hidden;
}

.hover-card:hover {
  transform: scale(1.1) translateY(-12px) rotate(0.5deg);
  box-shadow: 0 30px 60px rgba(255, 255, 255, 0.25);
  filter: brightness(1.1) contrast(1.1);
}

.hover-card:active {
  transform: scale(1.05) translateY(-10px) rotate(0deg);
  transition: transform 0.1s ease;
}

.hq-re-img {
  opacity: 0;
  transform: scale(1.02);
  filter: blur(4px);
}

.hq-re-img.is-visible {
  animation: wpCoverReveal 0.9s ease forwards;
}

@keyframes wpCoverReveal {
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}
body {
  margin: 0;
  background: #191919;
}

/* BUTTON */
.secure-your-slot {
  background: #e3bc84;
  color: #1a1a1a;
  border: none;

  padding: 18px 46px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.6px;

  border-radius: 10px;
  cursor: pointer;

  display: block;
  margin: 50px auto;

  position: relative;
  overflow: hidden;

  transition: all 0.25s ease;

  /* subtle depth */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Hover */
.secure-your-slot:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5),
              0 10px 30px rgba(227, 188, 132, 0.25);
  filter: brightness(1.05);
}

/* Light sweep effect */
.secure-your-slot::after {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-20deg);
}

.secure-your-slot:hover::after {
  left: 140%;
  transition: 0.65s ease;
}
.glass-card-gold {
  position: relative;
  overflow: hidden;
  border-radius: 22px;

  border: 1px solid rgba(227, 188, 132, 0.35);

  transition: all 0.4s ease;

  background: #242424;
}

/* Hover lift + thicker stroke */
.glass-card-gold:hover {
  transform: translateY(-8px) scale(1.01);

  box-shadow:
    0 25px 60px rgba(0,0,0,0.45),
    0 0 0 2px rgba(227,188,132,0.55),
    0 0 25px rgba(227,188,132,0.15);
}

/* Image stays clean (NO blending, NO weird filters) */
.glass-card-gold img {
  width: 100%;
  display: block;

  transition: all 0.5s ease;

  filter: brightness(0.92) contrast(1.05);
}

.glass-card-gold:hover img {
  transform: scale(1.04);
  filter: brightness(0.88) contrast(1.1);
}

/* Dark cinematic overlay */
.glass-card-gold::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.1)
  );

  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card-gold:hover::before {
  opacity: 1;
}

/* Keep content sharp */
.glass-card-gold * {
  position: relative;
  z-index: 2;
}
.glass-card-silver {
  position: relative;
  overflow: hidden;
  border-radius: 22px;

  border: 1px solid rgba(255, 255, 255, 0.22);

  transition: all 0.4s ease;

  background: #242424;
}

.glass-card-silver:hover {
  transform: translateY(-8px) scale(1.01);

  box-shadow:
    0 25px 60px rgba(0,0,0,0.45),
    0 0 0 2px rgba(255,255,255,0.28),
    0 0 25px rgba(255,255,255,0.08);
}

.glass-card-silver img {
  width: 100%;
  display: block;

  transition: all 0.5s ease;

  filter: brightness(0.9) contrast(1.08);
}

.glass-card-silver:hover img {
  transform: scale(1.04);
  filter: brightness(0.88) contrast(1.1);
}

.glass-card-silver::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.1)
  );

  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card-silver:hover::before {
  opacity: 1;
}

.glass-card-silver * {
  position: relative;
  z-index: 2;
}
.nav-cta-button {
  /* 1. THE GLASS BASE */
  background: rgba(255, 255, 255, 0.05); /* Very subtle white tint */
  backdrop-filter: blur(10px); /* The Frosted Glass effect */
  -webkit-backdrop-filter: blur(10px);
  
  /* 2. THE TEXT COLOR (Initial) */
  color: #ffffff !important; /* White text when not hovering */
  
  /* 3. BORDER & SHAPE */
  border: 1px solid rgba(255, 255, 255, 0.2); /* Thin 'glass' edge */
  padding: 10px 24px;
  border-radius: 50px; 
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

/* THE PREMIUM FLIP (Hover) */
.nav-cta-button:hover {
  /* 4. THE GLOW FILL */
  background: #e3bc84; /* Your solid Warm Gold */
  
  /* 5. THE TEXT COLOR (Hover) */
  color: #242424 !important; /* Flips to black for premium contrast */
  
  /* 6. ENHANCED EFFECTS */
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(227, 188, 132, 0.4); /* Gold glow */
  border: 1px solid #e3bc84; /* Border matches the fill */
}
/* 1. Target every possible parent container in the dropdown */
.main-navigation ul ul, 
.sub-menu, 
.sub-menu li, 
.elementor-nav-menu--dropdown, 
.elementor-nav-menu--dropdown ul,
.elementor-menu-cart__container {
    background-color: transparent !important; /* Kills the grey block */
    background: rgba(36, 36, 36, 0.4) !important; /* Very light charcoal tint */
    
    /* THE MAGIC: This is what lets you see the background */
    backdrop-filter: blur(15px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(160%) !important;
    
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important; /* Default shadows often look like grey borders */
}

/* 2. Target the 'inner' list items that often hide the background */
.sub-menu li a, 
.elementor-nav-menu--dropdown a,
.menu-item-has-children ul li {
    background-color: transparent !important;
    background: transparent !important;
}

/* 3. Ensure the text remains white and sharp against the blurred background */
.sub-menu li a {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3); /* Adds legibility over the image */
}
/* Only affects this specific gallery */
