/* SAVAN STUDIO - AR. SANTOSH GUPTA PORTFOLIO 
   Refined Architectural Studio Aesthetics: Matte Obsidian, Crisp White & Muted Champagne Gold */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-black: #09090b;
  --bg-card: #121215;
  --bg-card-hover: #18181c;
  --bg-elevated: #1f1f24;
  
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(197, 160, 89, 0.3);
  --border-gold-solid: #c5a059;
  
  --gold-primary: #c5a059;      /* Refined Architectural Champagne Gold */
  --gold-light: #d8b672;        /* Soft Subtle Muted Gold */
  --gold-dark: #9e7d3b;         /* Deep Bronze Accent */
  
  --text-white: #ffffff;
  --text-cream: #e4e4e7;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  --container-max: 1200px;
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-black);
  color: var(--text-cream);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-black);
  line-height: 1.6;
  overflow-x: hidden;
  color: var(--text-cream);
}

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-white);
  letter-spacing: 0.02em;
  font-weight: 600;
}

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

ul {
  list-style: none;
}

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

/* Utility Layout */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-dark);
}

.gold-text {
  color: var(--gold-primary);
}

.gold-border {
  border: 1px solid var(--gold-primary);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 3px;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--text-white);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.02rem;
  font-weight: 300;
}

/* SVG Styling */
.icon-svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Custom Buttons - Refined Architectural Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

/* Primary Button - Elegant Solid Muted Gold */
.btn-gold {
  background: var(--gold-primary);
  color: #09090b;
  border-color: var(--gold-primary);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #09090b;
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.btn-outline-gold:hover {
  background: var(--gold-primary);
  color: #09090b;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.btn-outline-white:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(197, 160, 89, 0.08);
}

/* Site Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(9, 9, 11, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  transition: var(--transition);
}

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

.brand-header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-img-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-title-box h1 {
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.brand-title-box span {
  font-size: 0.68rem;
  color: var(--gold-primary);
  letter-spacing: 1.5px;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-white);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Hero Section with Full Background & Typewriter */
.hero-section {
  min-height: 100vh;
  padding-top: 150px;
  padding-bottom: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
  background-color: #09090b;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-canvas-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 20%, rgba(9, 9, 11, 0.7) 75%, rgba(9, 9, 11, 0.95) 100%),
              linear-gradient(180deg, rgba(9, 9, 11, 0.4) 0%, rgba(9, 9, 11, 0.9) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content-center {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.typewriter-box {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  min-height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typewriter-prefix {
  color: var(--text-white);
  font-weight: 500;
}

.typewriter-text {
  font-weight: 700;
  color: var(--gold-primary);
  border-bottom: 2px solid var(--gold-primary);
  padding-bottom: 2px;
}

.cursor-blink {
  font-weight: 300;
  color: var(--gold-primary);
  animation: blink 0.8s infinite;
  margin-left: 4px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-bio {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 36px;
  max-width: 580px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.contact-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

.quick-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-cream);
}

.quick-pill svg {
  color: var(--gold-primary);
}

/* Portrait Visual Card */
.portrait-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.portrait-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-sm);
  filter: grayscale(100%);
  transition: var(--transition);
}

.portrait-card:hover .portrait-img {
  filter: grayscale(0%);
}

.portrait-caption {
  margin-top: 16px;
  text-align: center;
}

.portrait-caption h3 {
  font-size: 1.1rem;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.portrait-caption p {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
  font-weight: 300;
}

.business-card-display {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.business-card-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.discipline-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.discipline-tag {
  padding: 8px 18px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-size: 0.76rem;
  letter-spacing: 1px;
  color: var(--gold-primary);
  background: rgba(197, 160, 89, 0.05);
}

/* Experience Timeline */
.timeline {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 1px;
  background: var(--border-gold);
}

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

.timeline-marker {
  position: absolute;
  left: 14px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg-black);
  border: 2px solid var(--gold-primary);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--transition);
}

.timeline-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.timeline-role {
  font-size: 1.25rem;
  color: var(--text-white);
}

.timeline-company {
  color: var(--gold-primary);
  font-size: 0.95rem;
  font-family: var(--font-serif);
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--text-dim);
  border: 1px solid var(--border-dark);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}

.timeline-card ul li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
  font-weight: 300;
}

.timeline-card ul li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--gold-primary);
}

/* Projects Showcase */
.filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-button {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.filter-button:hover, .filter-button.active {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(197, 160, 89, 0.08);
}

.projects-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.project-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-item:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.project-thumb-box {
  position: relative;
  height: 230px;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.project-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-item:hover .project-thumb {
  transform: scale(1.05);
}

.project-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  background: rgba(9, 9, 11, 0.92);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

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

.project-name {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--text-white);
  line-height: 1.3;
}

.project-loc {
  font-size: 0.85rem;
  color: var(--gold-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-summary {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.5;
}

.project-file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 14px;
}

.meta-pill {
  font-size: 0.76rem;
  padding: 4px 12px;
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.p-tag {
  font-size: 0.75rem;
  padding: 4px 12px;
  border: 1px solid var(--border-dark);
  color: var(--text-cream);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: default;
  display: inline-block;
}

.p-tag:hover {
  background: var(--gold-primary);
  color: #09090b;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.35);
}

.explore-folder-btn {
  margin-top: 0;
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 160, 89, 0.06);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.3s ease;
}

.explore-folder-btn:hover {
  background: var(--gold-primary);
  color: #09090b;
  border-color: var(--gold-primary);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
}

/* Skills Section */
.skills-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.skill-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 36px;
}

.box-title {
  font-size: 1.2rem;
  margin-bottom: 28px;
  color: var(--gold-primary);
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 14px;
}

.skill-meter-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.meter-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--text-cream);
}

.meter-header span:last-child {
  color: var(--gold-primary);
  font-weight: 600;
}

.meter-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: var(--gold-primary);
  width: 0%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-badge {
  padding: 10px 18px;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-dark);
  color: var(--text-cream);
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.skill-badge:hover {
  border-color: var(--border-gold);
  color: var(--gold-primary);
}

/* Education Section */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.edu-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.edu-box:hover {
  border-color: var(--border-gold);
}

.edu-years {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  color: var(--gold-primary);
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.edu-degree {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.edu-school {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.edu-grade {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.contact-card-box:hover {
  border-color: var(--border-gold);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-text h4 {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-info-text a, .contact-info-text p {
  font-size: 1.05rem;
  color: var(--text-white);
  font-weight: 500;
}

.contact-info-text a:hover {
  color: var(--gold-primary);
}

.form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 36px;
}

.form-field {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px;
  background: var(--bg-black);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold-primary);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Modal Lightbox */
.modal-wrapper {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-wrapper.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-white);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.modal-image {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  background: #000;
}

/* Footer */
.site-footer {
  background: #050507;
  border-top: 1px solid var(--border-dark);
  padding: 40px 0;
  text-align: center;
}

.brand-img-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.footer-logo {
  height: 60px;
  width: 60px;
  object-fit: contain;
  border-radius: 50%;
  margin: 0 auto 12px auto;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Floating WhatsApp Button (Bottom-Right Corner) */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  z-index: 9999;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.whatsapp-float-btn:hover {
  background: var(--gold-primary);
  color: #09090b;
  transform: scale(1.08);
}

.whatsapp-float-icon {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Comprehensive Responsive Layout Systems for Tablet & Mobile Devices */
@media (max-width: 992px) {
  .section-padding {
    padding: 70px 0;
  }

  .hero-grid, .about-grid, .skills-columns, .contact-grid, .edu-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(17, 17, 21, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border-gold);
    z-index: 2000;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.9);
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    outline: none;
    z-index: 2500;
    transition: var(--transition);
  }

  .mobile-toggle:hover {
    background: var(--gold-primary);
    color: #09090b;
  }

  .mobile-toggle .icon-svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.2;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .projects-masonry {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 55px 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.25;
  }

  .typewriter-container {
    font-size: 1.15rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .project-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }

  .project-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 7px 16px;
    font-size: 0.78rem;
  }

  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float-icon {
    width: 24px;
    height: 24px;
  }

  .modal-content-box {
    padding: 24px 18px;
    max-width: 95vw;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .typewriter-container {
    font-size: 1.02rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .projects-masonry {
    grid-template-columns: 1fr;
  }

  .project-thumb-box {
    height: 210px;
  }

  .timeline-item {
    padding-left: 20px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .edu-box {
    padding: 20px;
  }


/* Additional Real Portfolio Directory & Folder Modal Styling */

.folder-path-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(9, 9, 11, 0.88);
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

/* Modal Enhancements */
.project-folder-modal-box {
  max-width: 960px;
  width: 92vw;
  max-height: 90vh;
  overflow-y: auto;
  background: #0d0d11;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 32px;
}

.modal-project-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 20px;
}

.modal-folder-badge {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--gold-primary);
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--border-gold);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.modal-project-title {
  font-size: 1.6rem;
  color: var(--text-white);
  margin-bottom: 6px;
}

.modal-project-loc {
  font-size: 0.9rem;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.modal-project-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.modal-project-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Modal Tab Bar */
.modal-tab-bar {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.modal-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-family: var(--font-serif);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.modal-tab-btn:hover, .modal-tab-btn.active {
  background: rgba(197, 160, 89, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* Gallery Grid */
.modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.gallery-item-card {
  position: relative;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  cursor: pointer;
}

.gallery-item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item-card:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.gallery-badge {
  font-size: 0.68rem;
  color: var(--gold-primary);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.gallery-item-title {
  font-size: 0.9rem;
  color: var(--text-white);
  line-height: 1.3;
}

.click-hint {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* PDF Card Grid */
.modal-pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.pdf-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pdf-card-icon {
  flex-shrink: 0;
  background: rgba(197, 160, 89, 0.1);
  padding: 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-card-info {
  flex-grow: 1;
}

.pdf-card-info h4 {
  font-size: 0.92rem;
  color: var(--text-white);
  margin-bottom: 4px;
}

.pdf-card-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}


/* Dedicated Studio Project Details Page Styling (Luxury Architectural Digest Theme) */

.studio-detail-theme {
  background-color: #09090c;
  color: var(--text-white);
  min-height: 100vh;
}

.project-hero-section {
  padding: 50px 0 30px 0;
  background: rgba(17, 17, 21, 0.4);
}

.project-header-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.detail-top-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.detail-category-badge {
  padding: 6px 16px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.2);
}

.detail-folder-badge {
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  font-family: var(--font-sans);
}

.detail-main-title {
  font-size: 2.8rem;
  color: var(--text-white);
  margin-bottom: 12px;
  font-family: var(--font-serif);
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-align: center;
}

.detail-location-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--gold-primary);
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}

.detail-description-text {
  font-size: 1.08rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 840px;
  text-align: center;
}

.detail-tools-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.detail-tool-tag {
  font-size: 0.78rem;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-cream);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.detail-tool-tag:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(197, 160, 89, 0.08);
}

/* Irregular Archifolio Masonry Showcase Grid */
.gallery-showcase-section {
  padding-top: 40px;
}

.studio-gallery-grid {
  column-count: 3;
  column-gap: 24px;
}

@media (max-width: 1100px) {
  .studio-gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 650px) {
  .studio-gallery-grid {
    column-count: 1;
  }
}

.studio-gallery-card {
  break-inside: avoid;
  margin-bottom: 24px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.09);
  cursor: pointer;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  display: block;
}

.studio-gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
}

.studio-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.studio-gallery-card:hover .studio-img {
  transform: scale(1.03);
}

.archifolio-top-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  background: rgba(9, 9, 11, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  z-index: 3;
}

.studio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.studio-card-badge {
  font-size: 0.7rem;
  color: var(--gold-primary);
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.studio-card-title {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 4px;
  font-weight: 400;
}

.archifolio-footer-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
}

.archifolio-brand-tag {
  color: var(--text-cream);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.archifolio-type-tag {
  color: var(--text-muted);
  font-weight: 300;
}

/* Website Theme Category Filter Buttons (No Outer Border, Gold Studio Aesthetic) */
.top-filter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 24px;
}

.top-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  flex-wrap: wrap;
}

.floating-filter-btn {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  letter-spacing: 0.5px;
  outline: none;
}

.floating-filter-btn:hover {
  background: rgba(197, 160, 89, 0.2);
  color: #ffffff;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.3);
}

.floating-filter-btn.active {
  background: linear-gradient(135deg, #c5a059 0%, #d8b672 100%);
  color: #09090b;
  font-weight: 600;
  border-color: #c5a059;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.45);
}

@media (max-width: 768px) {
  .detail-main-title {
    font-size: 1.8rem;
  }
  .top-filter-bar {
    max-width: 95vw;
    padding: 4px 6px;
  }
  .floating-filter-btn {
    padding: 6px 14px;
    font-size: 0.78rem;
  }
}




