/**
 * Premium Style Enhancements
 * Adds luxury touches with shadows, borders, and premium colors
 */

/* Premium Section Styling */
.section {
  position: relative;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1); /* Subtle gold line */
}

.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.3) 20%,
    rgba(212, 175, 55, 0.6) 50%,
    rgba(212, 175, 55, 0.3) 80%,
    transparent
  );
}

/* Premium Card Shadows */
.property-card,
.blog-card,
.service-card,
.feature-card {
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 10px 25px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.property-card::before,
.blog-card::before,
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #D4AF37, #FFD700, #D4AF37);
  opacity: 0;
  transition: opacity 0.4s;
}

.property-card:hover,
.blog-card:hover,
.service-card:hover {
  box-shadow: 
    0 8px 16px rgba(212, 175, 55, 0.15),
    0 16px 40px rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.3);
}

.property-card:hover::before,
.blog-card:hover::before,
.service-card:hover::before {
  opacity: 1;
}

/* Premium Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(212, 175, 55, 0.15) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-banner {
  position: relative;
  z-index: 2;
}

/* Premium Section Headers */
.section-subtitle {
  background: linear-gradient(135deg, #FFE5B4 0%, #FFD700 100%) !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.section-subtitle::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.section-title {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
}

/* Premium Containers */
.container {
  position: relative;
}

/* About Section Premium Touch */
.about {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fafafa 50%,
    #ffffff 100%
  );
}

.about-banner {
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(212, 175, 55, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

/* Service Cards Premium */
.service-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.service-card .card-icon {
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  box-shadow: 
    0 4px 12px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Premium Features Section */
.features {
  background: linear-gradient(
    180deg,
    #fafafa 0%,
    #ffffff 50%,
    #fafafa 100%
  );
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.features-list > li {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(212, 175, 55, 0.1);
  transition: all 0.3s;
}

.features-list > li:hover {
  box-shadow: 
    0 8px 24px rgba(212, 175, 55, 0.15),
    0 0 0 1px rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
}

/* Premium CTA Section */
.cta {
  background: linear-gradient(
    135deg,
    #1a1a1a 0%,
    #2d2d2d 50%,
    #1a1a1a 100%
  );
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
}

/* Premium Buttons */
.btn {
  box-shadow: 
    0 4px 12px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  box-shadow: 
    0 6px 20px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Premium Property Cards */
.card-banner {
  position: relative;
  overflow: hidden;
}

.card-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.property-card:hover .card-banner::after,
.blog-card:hover .card-banner::after {
  opacity: 1;
}

.card-banner img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .card-banner img,
.blog-card:hover .card-banner img {
  transform: scale(1.08);
}

/* Premium Card Badge */
.card-badge {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Premium Card Price */
.card-price {
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  color: white !important;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 
    0 4px 12px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-align: center;
}

.card-price strong {
  color: white !important;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Premium Footer */
.footer {
  border-top: 3px solid #D4AF37;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
}

.footer-brand {
  padding: 30px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Premium Contact Section */
.contact {
  background: linear-gradient(
    180deg,
    #fafafa 0%,
    #ffffff 50%,
    #fafafa 100%
  );
}

/* Premium Input Fields */
input:focus,
textarea:focus,
select:focus {
  border-color: #D4AF37 !important;
  box-shadow: 
    0 0 0 3px rgba(212, 175, 55, 0.1),
    0 4px 12px rgba(212, 175, 55, 0.15) !important;
}

/* Premium Header */
.header {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.header.active {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

/* Premium Navigation */
.navbar-link {
  position: relative;
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #D4AF37, #FFD700);
  transition: width 0.3s;
}

.navbar-link:hover::after,
.navbar-link.active::after {
  width: 100%;
}

/* Premium About Banner Images */
.about-banner-1,
.about-banner-2 {
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(212, 175, 55, 0.15);
  border-radius: 16px;
}

/* Premium Service Cards */
.service-card {
  background: white;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #D4AF37, #FFD700, #D4AF37);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.service-card:hover::after {
  transform: scaleX(1);
}

/* Premium Blog Cards */
.blog-card {
  background: white;
}

.blog-card .card-banner {
  border-bottom: 2px solid rgba(212, 175, 55, 0.1);
}

/* Premium Stats/Features */
.features-card,
.stats-card {
  background: white;
  border-radius: 16px;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(212, 175, 55, 0.1);
  transition: all 0.3s;
}

.features-card:hover,
.stats-card:hover {
  box-shadow: 
    0 8px 32px rgba(212, 175, 55, 0.15),
    0 0 0 1px rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
}

/* Premium Hero Section Enhancement */
.hero {
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.9)
  );
  pointer-events: none;
}

/* Premium Hero Content */
.hero-content {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 3;
}

.hero-title {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
}

.hero-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #D4AF37, #FFD700);
  margin: 20px 0;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

/* Premium Property List Grid */
.property-list,
.blog-list {
  position: relative;
}

/* Premium Card Footer */
.card-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

/* Premium Buttons in Cards */
.card-footer-actions-btn,
.banner-actions-btn {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s;
}

.card-footer-actions-btn:hover,
.banner-actions-btn:hover {
  background: linear-gradient(135deg, #D4AF37, #FFD700);
  color: white;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

/* Premium Scroll Effects */
@media (prefers-reduced-motion: no-preference) {
  .property-card,
  .blog-card,
  .service-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
  }
  
  .property-card:nth-child(1) { animation-delay: 0.1s; }
  .property-card:nth-child(2) { animation-delay: 0.2s; }
  .property-card:nth-child(3) { animation-delay: 0.3s; }
  .property-card:nth-child(4) { animation-delay: 0.4s; }
  
  .blog-card:nth-child(1) { animation-delay: 0.1s; }
  .blog-card:nth-child(2) { animation-delay: 0.2s; }
  .blog-card:nth-child(3) { animation-delay: 0.3s; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium Contact Form */
.contact-form {
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(212, 175, 55, 0.1);
  background: white;
  border-radius: 16px;
  padding: 40px;
}

/* Premium Property Meta */
.property-meta,
.card-list {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Premium Dividers */
.section + .section {
  margin-top: 0;
}

/* Luxury Accent Colors */
:root {
  --premium-gold: #D4AF37;
  --premium-gold-light: #FFD700;
  --premium-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  --premium-shadow-hover: 0 16px 56px rgba(212, 175, 55, 0.2);
}

/* Premium Border Radius */
.property-card,
.blog-card,
.service-card {
  border-radius: 16px !important;
  overflow: hidden;
}

.card-banner {
  border-radius: 16px 16px 0 0 !important;
}

/* Premium Text Highlights */
.h1, .h2, .h3 {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
}

/* Premium Icon Styling */
ion-icon {
  transition: all 0.3s;
}

.card:hover ion-icon,
.service-card:hover ion-icon {
  color: #D4AF37;
  transform: scale(1.1);
}

/* Premium Loading States */
.property-list:empty,
.blog-list:empty {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  border-radius: 16px;
  border: 2px dashed rgba(212, 175, 55, 0.2);
}

/* Premium Glassmorphism Effects */
.header.active {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Premium Gold Accents on Hover */
.property-card:hover .card-title,
.blog-card:hover .blog-title {
  color: #D4AF37 !important;
  transition: color 0.3s;
}

/* Premium Image Overlays */
.card-banner {
  position: relative;
}

.card-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 1;
}

.property-card:hover .card-banner::before,
.blog-card:hover .card-banner::before {
  opacity: 1;
}

/* Premium Section Backgrounds */
.property,
.blog {
  position: relative;
}

.property {
  background: 
    linear-gradient(180deg, #ffffff 0%, #fafafa 50%, #ffffff 100%);
}

.blog {
  background: 
    linear-gradient(180deg, #fafafa 0%, #ffffff 50%, #fafafa 100%);
}

/* Premium Box for Important Content */
.premium-box {
  background: white;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 30px;
}

/* Premium Hover Line Effect */
.footer-link,
.navbar-link {
  position: relative;
  transition: color 0.3s;
}

.footer-link:hover,
.navbar-link:hover {
  color: #D4AF37 !important;
}

/* Premium Scroll Indicator */
.hero-btn {
  box-shadow: 
    0 8px 24px rgba(212, 175, 55, 0.25),
    inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.hero-btn:hover {
  box-shadow: 
    0 12px 36px rgba(212, 175, 55, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
}
