/* Custom Styles for EQUAL SHARE Construction & Services
   Official Corporate Palette: Executive Charcoal, Titanium Silver, Platinum & Architectural Amber
   + Admin-Only Gateway & Production Business Email Server
*/

:root {
  --brand-charcoal: #262a33;
  --brand-charcoal-dark: #161920;
  --brand-charcoal-deep: #0e1117;
  --brand-silver: #cbd5e1;
  --brand-silver-light: #f8fafc;
  --brand-silver-metallic: #94a3b8;
  --brand-amber: #d97706;
  --brand-amber-light: #f59e0b;
  --brand-border: rgba(203, 213, 225, 0.12);
  --brand-glow: rgba(203, 213, 225, 0.15);
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--brand-charcoal-deep);
  color: #f1f5f9;
  overflow-x: hidden;
}

/* Custom Typography */
.font-heading {
  font-family: 'Outfit', sans-serif;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #0e1117;
}
::-webkit-scrollbar-thumb {
  background: #2b3240;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Glassmorphism Classes with Titanium / Silver Tones */
.glass-panel {
  background: rgba(22, 25, 32, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--brand-border);
}

.glass-header {
  background: rgba(14, 17, 23, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.08);
}

.glass-card {
  background: rgba(30, 36, 46, 0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(203, 213, 225, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(203, 213, 225, 0.35);
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(203, 213, 225, 0.08);
}

/* Titanium Silver & Platinum Gradients */
.silver-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.charcoal-gradient-bg {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
}

.silver-gradient-bg {
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 50%, #94a3b8 100%);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Geometric Letterhead Motif: Overlapping Rhombuses */
.rhombus-motif {
  position: relative;
}
.rhombus-motif::before {
  content: '';
  position: absolute;
  top: 15px;
  right: 15px;
  width: 60px;
  height: 60px;
  border: 4px solid rgba(203, 213, 225, 0.08);
  transform: rotate(45deg);
  pointer-events: none;
}
.rhombus-motif::after {
  content: '';
  position: absolute;
  top: 35px;
  right: 35px;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(203, 213, 225, 0.05);
  transform: rotate(45deg);
  pointer-events: none;
}

/* Hero Section Overlay */
.hero-overlay {
  background: radial-gradient(circle at center, rgba(14, 17, 23, 0.65) 0%, rgba(14, 17, 23, 0.94) 80%, #0e1117 100%);
}

/* Floating WhatsApp Pulse */
@keyframes whatsappPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float-btn {
  animation: whatsappPulse 2s infinite;
}

/* Floating Call Pulse */
@keyframes callPulse {
  0% { box-shadow: 0 0 0 0 rgba(203, 213, 225, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(203, 213, 225, 0); }
  100% { box-shadow: 0 0 0 0 rgba(203, 213, 225, 0); }
}

.call-float-btn {
  animation: callPulse 2.5s infinite;
}

/* Portfolio Zoom */
.portfolio-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-card:hover img {
  transform: scale(1.08);
}

/* Google Sign-In Button */
.google-signin-btn {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}
.google-signin-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

/* Admin Tabs */
.admin-nav-tab.active {
  background: #252c3d;
  color: #ffffff;
  border-color: #60a5fa;
  font-weight: 700;
}

/* Code Snippet Block */
.code-block {
  background: #090c10;
  border: 1px solid #1e2430;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
