/* 
  Sklavounos & Associates - Custom Luxury Editorial Styles 
  Inspired by Koutalidis Law Firm Design DNA & Elite Corporate Practices (2026 Edition)
*/

@charset "UTF-8";

/* Base Root Properties & Custom Design Tokens */
:root {
  --color-charcoal: #090D15;
  --color-dark: #0F1626;
  --color-surface: #151F33;
  --color-card: #1A263D;
  --color-bronze: #C5A880;
  --color-bronze-hover: #D8BC95;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-muted: #94A3B8;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

/* Smooth Scrolling & Typography Defaults */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-charcoal);
  color: #F8FAFC;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Subtle Technical Grid */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}

/* Editorial Serif Headings */
h1, h2, h3, .font-serif {
  font-family: var(--font-serif);
  letter-spacing: -0.015em;
}

/* Architectural Watermark Emblem */
.legal-emblem-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

/* Navigation Links Animated Underline */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--color-bronze);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
  width: 100%;
}

/* Architectural Corner Accents on Featured Elements */
.corner-accent {
  position: relative;
}

.corner-accent::before {
  content: '+';
  position: absolute;
  top: -8px;
  left: -8px;
  color: var(--color-bronze);
  font-family: monospace;
  font-size: 14px;
  opacity: 0.6;
  pointer-events: none;
}

.corner-accent::after {
  content: '+';
  position: absolute;
  bottom: -8px;
  right: -8px;
  color: var(--color-bronze);
  font-family: monospace;
  font-size: 14px;
  opacity: 0.6;
  pointer-events: none;
}

/* Practice Area Card Hover Glow & Border Gradient */
.practice-card {
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.4), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.practice-card:hover::before {
  opacity: 1;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.5), 0 0 15px rgba(197, 168, 128, 0.08);
}

/* Filter Pills Hover & Transition */
.practice-filter-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-filter-btn:hover {
  border-color: rgba(197, 168, 128, 0.4);
}

/* Team Card Sophisticated Styling */
.team-card {
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.5), 0 0 15px rgba(197, 168, 128, 0.06);
}

/* Custom Scrollbar for Desktop */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-charcoal);
}

::-webkit-scrollbar-thumb {
  background: #25334E;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-bronze);
}

/* Inputs & Form Elements */
input, textarea, select {
  transition: all 0.2s ease-in-out;
}

input:focus, textarea:focus, select:focus {
  box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.25);
}

/* Modal Backdrop & Animations */
#practice-modal:not(.hidden) {
  animation: fadeIn 0.25s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease-out forwards;
}

/* Mobile Drawer Animation */
#mobile-menu:not(.hidden) {
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Image Zoom & Cohesive Editorial Grading on Hover */
.card-img-zoom {
  filter: contrast(1.08) brightness(0.78) saturate(0.92);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-card:hover .card-img-zoom {
  transform: scale(1.06);
  filter: contrast(1.12) brightness(0.95) saturate(1.02);
}

/* Subtle Hero Image Ken Burns Effect */
@keyframes slowZoom {
  0% { transform: scale(1.02); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1.02); }
}

.animate-slow-zoom {
  animation: slowZoom 28s ease-in-out infinite alternate;
}

/* Luxury Editorial Shadow & Glass Enhancements */
.luxury-card-glow {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(197, 168, 128, 0.15);
}

.practice-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 20px rgba(197, 168, 128, 0.14);
}

/* Floating Action Button (Call & Appointment Trigger) */
.floating-cta-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 45;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-cta-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(197, 168, 128, 0.35);
}

@media (max-width: 768px) {
  .floating-cta-btn {
    bottom: 84px; /* avoid colliding with mobile bottom bar */
    right: 16px;
  }
}

/* Mobile Sticky Bottom Conversion Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(9, 13, 21, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(197, 168, 128, 0.25);
  padding: 10px 16px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
}

/* Accordion transition */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-content {
  max-height: 800px;
  opacity: 1;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-bronze);
}


