/**
 * Sai Kripa Real Estate Agency - Main Stylesheet
 * Luxury Real Estate Theme
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-primary: #111518;
  --color-dark: #171A1D;
  --color-gold: #C9962E;
  --color-gold-light: #E5B84B;
  --color-white: #FFFFFF;
  --color-offwhite: #F8F6F0;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-primary);
  color: #f1f5f9;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.5;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Standalone Luxury Layout Helpers */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }

/* Gold Accent Elements */
.gold-gradient-text {
  background: linear-gradient(135deg, #E5B84B 0%, #C9962E 50%, #E5B84B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-border {
  border-color: rgba(201, 150, 46, 0.3);
}

.gold-glow {
  box-shadow: 0 0 25px rgba(201, 150, 46, 0.2);
}

/* Smooth Transitions */
a, button {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glassmorphism */
.glass-panel {
  background: rgba(23, 26, 29, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 150, 46, 0.25);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #111518;
}
::-webkit-scrollbar-thumb {
  background: #2a3036;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C9962E;
}

/* WordPress Standard Classes */
.aligncenter { text-align: center; margin: 0 auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption { max-width: 100%; border: 1px solid rgba(255,255,255,0.1); padding: 5px; text-align: center; }
.wp-caption-text { font-size: 0.8em; color: #94a3b8; margin-top: 5px; }

/* Sticky Header Compact State */
.sai-header-compact {
  height: 64px !important;
  background-color: rgba(17, 21, 24, 0.98) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
}

/* Search Tab Active State */
.sai-tab-btn.active {
  background-color: #171A1D !important;
  color: #E5B84B !important;
  border-top: 2px solid #C9962E !important;
}

/* Lightbox Modal */
.sai-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sai-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.sai-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(201, 150, 46, 0.3);
}
