/* Maple Investment Group - Static Site Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --maple-teal: #1B6B7A;
  --maple-teal-50: #F0F9FA;
  --maple-teal-100: #D8F0F3;
  --maple-teal-200: #B4E0E6;
  --maple-teal-300: #85C8D2;
  --maple-teal-400: #52A8B6;
  --maple-teal-500: #1B6B7A;
  --maple-teal-600: #155461;
  --maple-teal-700: #12444F;
  --maple-dark: #0F172A;
  --maple-dark-bg: #0B1120;
  --maple-light: #F8F9FA;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --gold-accent: #D4AF37;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--maple-light);
  color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; letter-spacing: -0.02em; }
.font-heading { font-family: 'Playfair Display', serif; }
.font-body { font-family: 'Manrope', sans-serif; }

html { scroll-behavior: smooth; }

::selection { background-color: rgba(27, 107, 122, 0.2); color: #0F172A; }
:focus-visible { outline: 2px solid #1B6B7A; outline-offset: 2px; }

a { text-decoration: none; color: inherit; }

/* Button Glow */
.btn-glow { box-shadow: 0 4px 20px -4px rgba(27, 107, 122, 0.4); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.btn-glow:hover { box-shadow: 0 8px 30px -4px rgba(27, 107, 122, 0.5); }

/* Card Hover */
.card-hover { transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -12px rgba(27, 107, 122, 0.15); }

/* Hero Glow */
.hero-glow { background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(27, 107, 122, 0.12) 0%, transparent 70%); }

/* Results Overlay */
.results-overlay { background: linear-gradient(to top, rgba(11, 17, 32, 0.95) 0%, rgba(11, 17, 32, 0.7) 50%, transparent 100%); }

/* Logo Greyscale */
.logo-greyscale { filter: grayscale(100%) brightness(0.8); opacity: 0.6; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.logo-greyscale:hover { filter: grayscale(0%) brightness(1); opacity: 1; }

/* Line Clamp */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #F8F9FA; }
::-webkit-scrollbar-thumb { background: #94A3B8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #1B6B7A; }

/* Scroll Reveal Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.8); transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-scale.active { opacity: 1; transform: scale(1); }

/* Staggered children */
.stagger-children .reveal { transition-delay: calc(var(--i, 0) * 0.1s); }

/* Header animation */
.header-animate { animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* Floating card animation */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatReverse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-reverse { animation: floatReverse 5s ease-in-out infinite; }

/* Logo scroll */
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.animate-scroll { animation: scroll 25s linear infinite; }

/* Tab transition */
.tab-content { opacity: 0; transform: translateY(16px); transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.tab-content.active { opacity: 1; transform: translateY(0); }

/* Hero underline */
@keyframes growWidth { from { width: 0; } to { width: 100%; } }
.animate-grow-width { animation: growWidth 0.8s ease-out 0.8s forwards; width: 0; }

/* Progress bar grow */
@keyframes growBar { from { width: 0; } to { width: 78%; } }
.animate-grow-bar { animation: growBar 1.5s ease-out 1s forwards; width: 0; }

/* Pulse */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

/* Spin */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.animate-spin { animation: spin 1s linear infinite; }

/* Dropdown */
.dropdown-menu { opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
.dropdown-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Mobile menu */
.mobile-overlay { opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-panel { transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.mobile-panel.open { transform: translateX(0); }

/* Review card transition */
.review-card { transition: opacity 0.5s ease, transform 0.5s ease; }

/* Property card hover overlay */
.property-default-overlay { transition: opacity 0.5s ease; }
.property-hover-overlay { opacity: 0; transition: opacity 0.4s ease; }
.property-card:hover .property-default-overlay { opacity: 0; }
.property-card:hover .property-hover-overlay { opacity: 1; }
.property-card:hover img { transform: scale(1.1); }
.property-card img { transition: transform 0.7s ease; }

/* FAQ animation */
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, opacity 0.3s ease; opacity: 0; }
.faq-answer.open { opacity: 1; }

/* Timeline building animation */
.timeline-building { transition: all 0.5s ease; }

/* Nav underline hover */
.nav-link-underline { position: relative; }
.nav-link-underline::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: #1B6B7A; transition: width 0.3s ease; }
.nav-link-underline:hover::after { width: 100%; }

/* Print */
@media print { .no-print { display: none !important; } body { background: white !important; } .btn-glow { box-shadow: none !important; } }
