/* SR Fortune Infra Developers - Luxury Web Stylesheet */

/* Premium Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F8F5EF; 
}
::-webkit-scrollbar-thumb {
  background: #C6A15B; 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A8843C; 
}

/* Base Configuration */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

.font-serif {
  font-family: 'Playfair Display', serif;
}

/* Glassmorphism Styles */
.glass {
  background: rgba(248, 245, 239, 0.75);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(198, 161, 91, 0.15);
}

.glass-dark {
  background: rgba(18, 53, 36, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(198, 161, 91, 0.1);
}

.glass-navbar {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
}

.glass-navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(198, 161, 91, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

/* Luxury Card Hover Animations */
.premium-card {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
  border-radius: inherit;
  transition: border-color 0.5s ease;
  pointer-events: none;
  z-index: 10;
}

.premium-card:hover::before {
  border-color: rgba(198, 161, 91, 0.5);
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(18, 53, 36, 0.08);
}

/* Cinematic Slow Ken Burns Zoom */
.hero-zoom-bg {
  animation: kenburns 30s ease infinite alternate;
}

@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.15) translate(-1%, -1%);
  }
}

/* Form Styling - Apple Luxury Style */
.luxury-input {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 53, 36, 0.12);
  transition: all 0.3s ease;
}

.luxury-input:focus {
  background: #ffffff;
  border-color: #C6A15B;
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.15);
}

/* Testimonial Slider Transitions */
.testimonial-slide {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Micro-animations and Reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Masonry Grid styling */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 250px;
  grid-gap: 1.5rem;
}

.masonry-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
}

.masonry-item.tall {
  grid-row: span 2;
}

.masonry-item.wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .masonry-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .masonry-item.wide {
    grid-column: span 1;
  }
}
