/* ==========================================================================
   PREMIUM CUSTOM CSS DESIGN SYSTEM - SYED KASHIF ALI PORTFOLIO
   ========================================================================== */

/* 1. Theme Configuration & Variables */
:root {
  --color-bg: hsl(220, 20%, 6%);
  --color-bg-card: hsla(220, 20%, 12%, 0.45);
  --color-bg-card-hover: hsla(220, 20%, 16%, 0.6);
  --color-border: hsla(0, 0%, 100%, 0.08);
  --color-border-hover: hsla(38, 40%, 64%, 0.3);
  
  /* Diplomatic Gold Palette */
  --color-gold-light: hsl(38, 45%, 70%);
  --color-gold: hsl(38, 40%, 60%);
  --color-gold-dark: hsl(38, 38%, 45%);
  --gradient-gold: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
  
  /* Diplomatic Blue Palette */
  --color-blue-light: hsl(205, 50%, 40%);
  --color-blue: hsl(205, 45%, 25%);
  --color-blue-dark: hsl(205, 40%, 15%);
  --gradient-blue: linear-gradient(135deg, var(--color-blue-light) 0%, var(--color-blue) 100%);
  
  /* Text & Utility Colors */
  --color-text-primary: hsl(210, 20%, 96%);
  --color-text-secondary: hsl(215, 15%, 72%);
  --color-text-muted: hsl(215, 12%, 50%);
  --color-success: hsl(145, 63%, 42%);
  --color-error: hsl(354, 70%, 48%);
  
  /* Typography & Layout Spacers */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max: 1200px;
  
  /* Transition Constants */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  
  /* Blur Filter */
  --glass-blur: blur(14px);
}

/* 2. Global Resets & Typography Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-primary);
}

p {
  color: var(--color-text-secondary);
  font-size: 0.975rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* Utility Layout Classes */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mr-2 { margin-right: 0.5rem; }

/* 3. Header & Navigation (Glassmorphism Sticky) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: hsla(220, 20%, 6%, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-shield {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gradient-gold);
  color: var(--color-bg);
  box-shadow: 0 0 15px rgba(223, 192, 149, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  color: var(--color-text-primary);
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-gold-light);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-text-primary);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 8px;
  border: none;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-bg);
  box-shadow: 0 4px 20px rgba(179, 146, 101, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(223, 192, 149, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-gold);
  background: rgba(223, 192, 149, 0.05);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.mobile-only {
  display: none !important;
}

/* Hamburger Toggle Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* 4. Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(179, 146, 101, 0.08) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(223, 192, 149, 0.08);
  border: 1px solid rgba(223, 192, 149, 0.15);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold);
  box-shadow: 0 0 8px var(--color-gold);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-profile-container {
  position: relative;
  width: 320px;
  height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  z-index: 5;
}

.hero-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: var(--transition-smooth);
}

.hero-profile-container:hover .hero-profile-img {
  transform: scale(1.03);
}

.profile-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(179, 146, 101, 0.15) 0%, rgba(0,0,0,0) 70%);
  z-index: 1;
  pointer-events: none;
}

/* 5. Stats Strip Section */
.stats-strip {
  background: rgba(18, 22, 30, 0.8);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 40px 0;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  text-align: center;
}

.stat-card {
  padding: 10px;
}

.stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-gold-light);
  margin-bottom: 4px;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 6. Roles & Detail Section */
.role-section {
  padding: 100px 0;
  position: relative;
}

.diplomatic-bg {
  background: radial-gradient(circle at 10% 50%, rgba(58, 96, 115, 0.05) 0%, rgba(0,0,0,0) 60%);
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.role-section.reverse .role-grid {
  direction: ltr;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  margin-top: 12px;
}

.role-desc {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.features-list {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(223, 192, 149, 0.1);
  border: 1px solid rgba(223, 192, 149, 0.2);
  color: var(--color-gold);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: bold;
}

.feature-item span {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.role-image-container {
  display: flex;
  justify-content: center;
}

.diplomatic-seal-card, .corporate-shield-card {
  width: 100%;
  max-width: 440px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
}

.diplomatic-seal-card:hover, .corporate-shield-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: 0 20px 45px rgba(223, 192, 149, 0.08);
}

.seal-header, .corp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.flag-pair {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flag-svg {
  width: 42px;
  height: 28px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.seal-header h4, .corp-header h4 {
  font-size: 1.25rem;
  font-weight: 700;
}

.seal-text {
  font-style: italic;
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
}

.seal-badge, .status-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.seal-badge {
  background: rgba(58, 96, 115, 0.2);
  border: 1px solid rgba(58, 96, 115, 0.3);
  color: var(--color-blue-light);
}

.status-pill {
  background: rgba(223, 192, 149, 0.1);
  border: 1px solid rgba(223, 192, 149, 0.2);
  color: var(--color-gold);
}

.corp-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.corp-stat {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 15px;
}

.corp-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.c-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.c-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: 4px;
}

/* 7. Gallery Section */
.gallery-section {
  padding: 100px 0;
  background: rgba(10, 12, 16, 0.5);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header.text-center {
  text-align: center;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  margin-top: 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.gallery-img-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #12151b;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.06);
}

.category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(13, 15, 18, 0.7);
  backdrop-filter: var(--glass-blur);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gold-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 15, 18, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.gallery-card:hover .card-overlay {
  opacity: 1;
}

.view-btn {
  background: var(--color-text-primary);
  color: var(--color-bg);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.gallery-card:hover .view-btn {
  transform: translateY(0);
}

.gallery-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.gallery-date {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.gallery-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 8. Biography (About) Details Page */
.about-hero, .gallery-hero, .contact-hero {
  padding-top: 180px;
  padding-bottom: 60px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.bio-section {
  padding: 80px 0;
}

.bio-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.lead-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}

.bio-intro-content p {
  margin-bottom: 20px;
  font-size: 1.025rem;
  line-height: 1.8;
}

.details-image-wrapper {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.bio-profile-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.details-image-wrapper:hover .bio-profile-img {
  transform: scale(1.02);
}

.details-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 30px;
}

.details-card h3 {
  font-size: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.details-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.details-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.95rem;
}

.details-list li strong {
  color: var(--color-gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.details-list li span {
  color: var(--color-text-primary);
}

/* Timeline Layout */
.roles-detail-section {
  padding: 80px 0 120px;
  border-top: 1px solid var(--color-border);
}

.timeline {
  position: relative;
  max-width: 860px;
  margin: 60px auto 0;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 2px;
  background-color: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 60px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 21px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 4px solid var(--color-gold);
  z-index: 2;
  box-shadow: 0 0 10px rgba(179, 146, 101, 0.4);
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.timeline-content {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  border-color: var(--color-border-hover);
  transform: translateX(5px);
}

.timeline-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-org {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 16px;
}

.timeline-content p {
  margin-bottom: 12px;
  line-height: 1.7;
}

.timeline-content p:last-child {
  margin-bottom: 0;
}

/* 9. Interactive Gallery Page */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.filter-btn {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-gold);
  color: var(--color-bg);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(179, 146, 101, 0.25);
}

/* 10. Contact Page & Forms */
.contact-main {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.panel-desc {
  margin-bottom: 40px;
  font-size: 1.025rem;
}

.info-block {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(223, 192, 149, 0.08);
  border: 1px solid rgba(223, 192, 149, 0.15);
  color: var(--color-gold-light);
  border-radius: 12px;
  flex-shrink: 0;
}

.info-details h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-details p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.schedule {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-top: 4px;
}

.contact-form-panel {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.premium-form {
  margin-top: 30px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-group-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.5px;
}

.required {
  color: var(--color-gold);
  margin-left: 2px;
}

.form-group input, .form-group select, .form-group textarea {
  background: rgba(13, 15, 18, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 10px rgba(179, 146, 101, 0.15);
}

.form-group select option {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
}

.form-status {
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(14, 116, 144, 0.1);
  border: 1px solid var(--color-success);
  color: hsl(145, 63%, 52%);
}

.form-status.error {
  display: block;
  background-color: rgba(185, 28, 28, 0.1);
  border: 1px solid var(--color-error);
  color: hsl(354, 70%, 58%);
}

.loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-bg);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* 11. Inquiry CTA & Footer */
.inquiry-cta {
  padding: 80px 0;
  background: radial-gradient(circle at 90% 50%, rgba(223, 192, 149, 0.04) 0%, rgba(0,0,0,0) 60%);
  border-top: 1px solid var(--color-border);
}

.cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cta-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 1.05rem;
  max-width: 700px;
}

.footer {
  background-color: hsl(220, 20%, 4%);
  border-top: 1px solid var(--color-border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 24px;
}

.footer-desc {
  line-height: 1.7;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  color: var(--color-text-primary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links ul a {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.footer-links ul a:hover {
  color: var(--color-gold);
  transform: translateX(3px);
}

.footer-role {
  display: block;
  font-size: 0.75rem;
  color: var(--color-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-contact p {
  margin-bottom: 20px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 30px 0;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--color-text-secondary);
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(5, 6, 8, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-size: 3rem;
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--color-text-primary);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-primary);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-nav:hover {
  background: var(--gradient-gold);
  border-color: transparent;
  color: var(--color-bg);
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-content {
  max-width: 900px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.lightbox-content img {
  max-height: 75vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #12151b;
}

.lightbox-info {
  text-align: center;
  max-width: 700px;
}

.lightbox-date {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lightbox-title {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text-primary);
}

/* 12. Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.25rem; }
  .hero-container { gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  /* Navigation mobile menu */
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: hsl(220, 20%, 8%);
    border-left: 1px solid var(--color-border);
    padding: 100px 40px 40px;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  
  .nav-link {
    font-size: 1.15rem;
  }
  
  .mobile-only {
    display: inline-flex !important;
  }
  
  .desktop-only {
    display: none !important;
  }
  
  /* Layout adjustments */
  .hero {
    padding-top: 90px;
    padding-bottom: 50px;
  }

  .about-hero, .gallery-hero, .contact-hero {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 0;
    gap: 32px;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .role-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .role-section.reverse .role-grid {
    display: flex;
    flex-direction: column-reverse;
  }
  
  .bio-intro-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cta-container {
    flex-direction: column;
    text-align: center;
  }
  
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }
  
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 580px) {
  .hero-title { font-size: 2.5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-container { grid-template-columns: 1fr; }
  .form-group-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-container { flex-direction: column; text-align: center; }
  .timeline::before { left: 15px; }
  .timeline-dot { left: 6px; }
  .timeline-item { padding-left: 45px; }
}
