/**
 * Location Real Estate Layout - Enhanced Block Styles
 *
 * @package Portal_Innovations
 * @subpackage Location_RE_Layout
 * @version 1.0.1
 *
 * Purpose: Enhanced styles for blocks when used in location template
 * Dependencies: loc-re-blocks-portable.css
 * Affects: Custom blocks only when used in location-re-style.php template
 * Isolation: All styles scoped to .page-template-location-re-style
 */

/* Enhanced Hero Block Styles for Location Template */
.page-template-location-re-style .wp-block-portal-loc-re-hero {
  min-height: 100vh;
  background-attachment: fixed;
}

.page-template-location-re-style .wp-block-portal-loc-re-hero::before {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.page-template-location-re-style .wp-block-portal-loc-re-hero .loc-re-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-template-location-re-style .wp-block-portal-loc-re-hero .loc-re-hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.page-template-location-re-style .wp-block-portal-loc-re-hero .loc-re-hero-location {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.page-template-location-re-style .wp-block-portal-loc-re-hero .loc-re-hero-buttons {
  gap: 1.5rem;
}

.page-template-location-re-style .wp-block-portal-loc-re-hero .loc-re-btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  min-height: 48px;
}

.page-template-location-re-style .wp-block-portal-loc-re-hero .loc-re-btn-primary {
  background-color: var(--loc-re-primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3);
}

.page-template-location-re-style .wp-block-portal-loc-re-hero .loc-re-btn-primary:hover {
  background-color: var(--loc-re-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(79, 70, 229, 0.4);
}

.page-template-location-re-style .wp-block-portal-loc-re-hero .loc-re-btn-secondary {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--loc-re-gray-900);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-template-location-re-style .wp-block-portal-loc-re-hero .loc-re-btn-secondary:hover {
  background-color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(0, 0, 0, 0.15);
}

/* Enhanced Feature Cards for Location Template */
.page-template-location-re-style .wp-block-portal-loc-re-feature-cards {
  padding: 5rem 0;
  background-color: white;
  position: relative;
  z-index: 10;
}

.page-template-location-re-style .wp-block-portal-loc-re-feature-cards .loc-re-cards-grid {
  gap: 2.5rem;
  padding: 0 2rem;
}

.page-template-location-re-style .wp-block-portal-loc-re-feature-cards .loc-re-feature-card {
  border-radius: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.page-template-location-re-style .wp-block-portal-loc-re-feature-cards .loc-re-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.page-template-location-re-style .wp-block-portal-loc-re-feature-cards .loc-re-card-image {
  height: 250px;
  transition: transform 0.4s ease;
}

.page-template-location-re-style .wp-block-portal-loc-re-feature-cards .loc-re-feature-card:hover .loc-re-card-image {
  transform: scale(1.05);
}

.page-template-location-re-style .wp-block-portal-loc-re-feature-cards .loc-re-card-content {
  padding: 2rem;
}

.page-template-location-re-style .wp-block-portal-loc-re-feature-cards .loc-re-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--loc-re-gray-900);
}

.page-template-location-re-style .wp-block-portal-loc-re-feature-cards .loc-re-card-description {
  font-size: 1.125rem;
  color: var(--loc-re-gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.page-template-location-re-style .wp-block-portal-loc-re-feature-cards .loc-re-card-button {
  padding: 0.75rem 1.5rem;
  background-color: var(--loc-re-primary);
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-template-location-re-style .wp-block-portal-loc-re-feature-cards .loc-re-card-button:hover {
  background-color: var(--loc-re-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3);
}

/* Enhanced Statistics Block for Location Template */
.page-template-location-re-style .wp-block-portal-loc-re-stats {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--loc-re-gray-50) 0%, var(--loc-re-blue-50) 100%);
}

.page-template-location-re-style .wp-block-portal-loc-re-stats .loc-re-stats-grid {
  gap: 3rem;
  padding: 0 2rem;
}

.page-template-location-re-style .wp-block-portal-loc-re-stats .loc-re-stat-item {
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.page-template-location-re-style .wp-block-portal-loc-re-stats .loc-re-stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.page-template-location-re-style .wp-block-portal-loc-re-stats .loc-re-stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--loc-re-primary) 0%, var(--loc-re-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.page-template-location-re-style .wp-block-portal-loc-re-stats .loc-re-stat-label {
  font-size: 1.125rem;
  color: var(--loc-re-gray-600);
  font-weight: 500;
  line-height: 1.5;
}

/* Enhanced Contact Block for Location Template */
.page-template-location-re-style .wp-block-portal-loc-re-contact {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--loc-re-gray-900) 0%, var(--loc-re-gray-800) 100%);
  color: white;
}

.page-template-location-re-style .wp-block-portal-loc-re-contact .loc-re-contact-container {
  padding: 0 2rem;
}

.page-template-location-re-style .wp-block-portal-loc-re-contact .loc-re-contact-grid {
  gap: 4rem;
}

.page-template-location-re-style .wp-block-portal-loc-re-contact .loc-re-contact-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.page-template-location-re-style .wp-block-portal-loc-re-contact .loc-re-contact-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.page-template-location-re-style .wp-block-portal-loc-re-contact .loc-re-contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(8px);
}

.page-template-location-re-style .wp-block-portal-loc-re-contact .loc-re-contact-icon {
  color: var(--loc-re-primary);
  width: 2rem;
  height: 2rem;
}

.page-template-location-re-style .wp-block-portal-loc-re-contact .loc-re-contact-details h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
  font-size: 1.125rem;
}

.page-template-location-re-style .wp-block-portal-loc-re-contact .loc-re-contact-details p {
  color: var(--loc-re-gray-300);
  font-size: 1rem;
  line-height: 1.6;
}

/* Enhanced Floor Plans Block for Location Template */
.page-template-location-re-style .wp-block-portal-loc-re-floor-plans {
  padding: 5rem 0;
  background-color: white;
}

.page-template-location-re-style .wp-block-portal-loc-re-floor-plans .loc-re-floor-plans-container {
  padding: 0 2rem;
}

.page-template-location-re-style .wp-block-portal-loc-re-floor-plans .loc-re-tabs {
  justify-content: center;
  background: var(--loc-re-gray-50);
  border-radius: 1rem;
  padding: 0.5rem;
  margin-bottom: 3rem;
  border: none;
}

.page-template-location-re-style .wp-block-portal-loc-re-floor-plans .loc-re-tab {
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
}

.page-template-location-re-style .wp-block-portal-loc-re-floor-plans .loc-re-tab.active {
  background: white;
  color: var(--loc-re-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: none;
}

.page-template-location-re-style .wp-block-portal-loc-re-floor-plans .loc-re-floor-plan-image {
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.page-template-location-re-style .wp-block-portal-loc-re-floor-plans .loc-re-floor-plan-image:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Enhanced Amenities Block for Location Template */
.page-template-location-re-style .wp-block-portal-loc-re-amenities {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--loc-re-blue-50) 0%, var(--loc-re-green-50) 100%);
}

.page-template-location-re-style .wp-block-portal-loc-re-amenities .loc-re-amenities-container {
  padding: 0 2rem;
}

.page-template-location-re-style .wp-block-portal-loc-re-amenities .loc-re-amenity-category {
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.page-template-location-re-style .wp-block-portal-loc-re-amenities .loc-re-amenity-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.page-template-location-re-style .wp-block-portal-loc-re-amenities .loc-re-amenity-category h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--loc-re-gray-900);
}

.page-template-location-re-style .wp-block-portal-loc-re-amenities .loc-re-amenity-item {
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.page-template-location-re-style .wp-block-portal-loc-re-amenities .loc-re-amenity-item:hover {
  background: var(--loc-re-gray-50);
  transform: translateX(4px);
}

.page-template-location-re-style .wp-block-portal-loc-re-amenities .loc-re-amenity-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--loc-re-primary);
}

.page-template-location-re-style .wp-block-portal-loc-re-amenities .loc-re-amenity-name {
  color: var(--loc-re-gray-700);
  font-weight: 600;
  font-size: 1rem;
}

/* Enhanced Gallery Block for Location Template */
.page-template-location-re-style .wp-block-portal-loc-re-gallery {
  padding: 5rem 0;
  background-color: white;
}

.page-template-location-re-style .wp-block-portal-loc-re-gallery .loc-re-gallery-container {
  padding: 0 2rem;
}

.page-template-location-re-style .wp-block-portal-loc-re-gallery .loc-re-gallery-grid {
  gap: 1.5rem;
}

.page-template-location-re-style .wp-block-portal-loc-re-gallery .loc-re-gallery-item {
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.page-template-location-re-style .wp-block-portal-loc-re-gallery .loc-re-gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.page-template-location-re-style .wp-block-portal-loc-re-gallery .loc-re-gallery-image {
  height: 300px;
}

.page-template-location-re-style .wp-block-portal-loc-re-gallery .loc-re-gallery-overlay {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 1.5rem;
}

.page-template-location-re-style .wp-block-portal-loc-re-gallery .loc-re-gallery-overlay h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.page-template-location-re-style .wp-block-portal-loc-re-gallery .loc-re-gallery-overlay p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
}

/* Responsive Enhancements for Location Template */
@media (max-width: 767px) {
  .page-template-location-re-style .wp-block-portal-loc-re-hero {
    min-height: 70vh;
    background-attachment: scroll;
  }

  .page-template-location-re-style .wp-block-portal-loc-re-hero .loc-re-hero-title {
    font-size: 2.5rem;
  }

  .page-template-location-re-style .wp-block-portal-loc-re-hero .loc-re-hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .page-template-location-re-style .wp-block-portal-loc-re-feature-cards,
  .page-template-location-re-style .wp-block-portal-loc-re-stats,
  .page-template-location-re-style .wp-block-portal-loc-re-contact,
  .page-template-location-re-style .wp-block-portal-loc-re-floor-plans,
  .page-template-location-re-style .wp-block-portal-loc-re-amenities,
  .page-template-location-re-style .wp-block-portal-loc-re-gallery {
    padding: 3rem 0;
  }

  .page-template-location-re-style .wp-block-portal-loc-re-stats .loc-re-stat-number {
    font-size: 2.5rem;
  }

  .page-template-location-re-style .wp-block-portal-loc-re-contact .loc-re-contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
