/* ==========================================================================
   MOHAMMAD IDRIS CIP - EXECUTIVE PORTFOLIO STYLESHEET
   Theme: Executive Luxury Off-White, Champagne Gold & Deep Burgundy
   Target Environment: Static cPanel / public_html (Zero Node.js build step)
   ========================================================================== */

/* Custom Variables & Root Settings */
:root {
  --bg-ivory: #FAF8F5;
  --bg-cream: #F3EFE6;
  --bg-cream-light: #F9F7F2;
  --bg-white: #FFFFFF;
  --text-charcoal: #1C1917;
  --text-slate: #57534E;
  --gold-primary: #C5A059;
  --gold-dark: #A6781E;
  --gold-light: #E6D3A3;
  --gold-soft: #F5EEDB;
  --burgundy-primary: #6B1D2F;
  --burgundy-dark: #521422;
  --burgundy-light: #8B263E;
  --burgundy-soft: #F8EDEF;
  --border-gold-subtle: rgba(197, 160, 89, 0.25);
  --border-subtle: #EBE5DB;
  --shadow-luxury: 0 16px 40px -12px rgba(28, 25, 23, 0.08);
  --shadow-burgundy: 0 16px 36px -10px rgba(107, 29, 47, 0.25);
}

/* Base Styles & Smooth Scroll */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-ivory);
  color: var(--text-charcoal);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, .font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F3EFE6;
}
::-webkit-scrollbar-thumb {
  background: #C5A059;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6B1D2F;
}

/* Executive Portrait Double Frame */
.portrait-frame-container {
  position: relative;
  display: inline-block;
  padding: 8px;
  border-radius: 36px;
  background: linear-gradient(135deg, #C5A059 0%, #F5EEDB 40%, #B8860B 100%);
  box-shadow: 0 0 0 6px #6B1D2F, 0 25px 50px -12px rgba(107, 29, 47, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portrait-frame-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 7px #6B1D2F, 0 30px 60px -12px rgba(107, 29, 47, 0.45);
}

.portrait-frame-inner {
  border-radius: 28px;
  overflow: hidden;
  background-color: #E2E4E7;
  position: relative;
}

/* Glassmorphism Navigation */
.navbar-scrolled {
  background-color: rgba(250, 248, 245, 0.94) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 0 4px 20px -2px rgba(28, 25, 23, 0.05);
}

/* Luxury Card Hover Animations */
.luxury-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-subtle);
}

.luxury-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 160, 89, 0.55);
  box-shadow: 0 20px 35px -10px rgba(197, 160, 89, 0.15), 0 10px 20px -5px rgba(28, 25, 23, 0.04);
}

/* Gold Gradient Accents */
.text-gold-gradient {
  background: linear-gradient(135deg, #B8860B 0%, #C5A059 50%, #996515 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gold-gradient {
  background: linear-gradient(135deg, #C5A059 0%, #D4AF37 50%, #B8860B 100%);
}

.bg-burgundy-gradient {
  background: linear-gradient(135deg, #6B1D2F 0%, #7D2137 60%, #521422 100%);
}

/* Decorative Watermark Quote */
.quote-watermark {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 9rem;
  line-height: 1;
  color: rgba(197, 160, 89, 0.12);
  top: -25px;
  left: 20px;
  user-select: none;
  pointer-events: none;
}

/* Interactive Filter Active States */
.filter-btn {
  transition: all 0.25s ease;
}

.filter-btn.active {
  background-color: var(--burgundy-primary);
  color: #FFFFFF;
  border-color: var(--burgundy-primary);
  box-shadow: 0 4px 12px rgba(107, 29, 47, 0.25);
}

/* Table Enhancements */
.executive-table th {
  background-color: #F3EFE6;
  color: #1C1917;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-bottom: 2px solid #C5A059;
}

.executive-table tr {
  transition: background-color 0.2s ease;
}

.executive-table tbody tr:hover {
  background-color: #FAF5EB;
}

/* Gallery Tab Active State */
.gallery-tab.active {
  border-color: #C5A059;
  background-color: #FFFFFF;
  color: #6B1D2F;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.18);
  font-weight: 600;
}

/* Floating Action Button (WhatsApp & Phone) */
.floating-contact-btn {
  box-shadow: 0 10px 25px -5px rgba(107, 29, 47, 0.4), 0 0 0 2px rgba(197, 160, 89, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-contact-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(107, 29, 47, 0.5), 0 0 0 3px #C5A059;
}

/* Shimmer / Pulse subtle animation for badges */
@keyframes subtlePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}

.animate-subtle-pulse {
  animation: subtlePulse 3s ease-in-out infinite;
}

/* Ensure images load smoothly */
img {
  max-width: 100%;
  height: auto;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #C5A059;
  outline-offset: 2px;
}
