:root {
  --color-bg-dark: #181c24;
  --color-bg-light: #f7fafc;
  --color-primary: #3a7bd5;
  --color-secondary: #7f53ac;
  --color-accent: #55aaff;
  --color-card: #fff;
  --color-text: #2d3748;
  --color-text-light: #cbd5e0;
  --color-border: #e2e8f0;
  --color-skill-bar: #3a7bd5;
  --color-skill-bg: #e2e8f0;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: #181c24;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  z-index: 0;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: linear-gradient(120deg, #232946 0%, #1a1f2b 100%), url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" viewBox="0 0 1920 1080" fill="none" xmlns="http://www.w3.org/2000/svg"><g stroke="%2355aaff" stroke-width="0.7" opacity="0.18"><line x1="0" y1="900" x2="1920" y2="900"/><line x1="0" y1="700" x2="1920" y2="700"/><line x1="0" y1="500" x2="1920" y2="500"/><line x1="0" y1="300" x2="1920" y2="300"/><line x1="0" y1="100" x2="1920" y2="100"/><line x1="160" y1="1080" x2="960" y2="0"/><line x1="320" y1="1080" x2="960" y2="0"/><line x1="480" y1="1080" x2="960" y2="0"/><line x1="640" y1="1080" x2="960" y2="0"/><line x1="800" y1="1080" x2="960" y2="0"/><line x1="960" y1="1080" x2="960" y2="0"/><line x1="1120" y1="1080" x2="960" y2="0"/><line x1="1280" y1="1080" x2="960" y2="0"/><line x1="1440" y1="1080" x2="960" y2="0"/><line x1="1600" y1="1080" x2="960" y2="0"/><line x1="1760" y1="1080" x2="960" y2="0"/></g></svg>');
  background-size: cover, cover;
}
body::after {
  content: '';
  position: fixed;
  z-index: 1;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  opacity: 0.18;
  background: none;
}

.scanline-overlay {
  pointer-events: none;
  position: fixed;
  z-index: 2;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.10;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    #fff 2.5px,
    transparent 3.5px,
    transparent 8px
  );
}

.hero-section {
  background: none;
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 3;
}
.hero-content {
  background: rgba(24, 28, 36, 0.72);
  border-radius: 32px;
  box-shadow: 0 0 32px 0 #3a7bd5cc, 0 1.5px 6px 0 rgba(0,0,0,0.13);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(58,123,213,0.25);
  padding: 48px 32px 40px 32px;
  margin: 0 auto;
  max-width: 700px;
  position: relative;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0 0 10px 0;
  background: linear-gradient(90deg, #3a7bd5 0%, #7f53ac 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px #3a7bd5cc);
  animation: fadeInUp 1s ease-out;
  pointer-events: auto;
  z-index: 10;
  position: relative;
}
.hero-subtitle {
  font-size: 1.4rem;
  margin: 0 0 30px 0;
  color: #b3c7f7;
  font-weight: 400;
  animation: fadeInUp 1s ease-out 0.2s both;
}
.hero-description {
  max-width: 600px;
  margin: 0 auto 40px auto;
  animation: fadeInUp 1s ease-out 0.4s both;
  text-align: justify;
}
.hero-description p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #cbd5e0;
  line-height: 1.7;
}
.hero-links {
  animation: fadeInUp 1s ease-out 0.6s both;
}
.hero-link {
  display: inline-block;
  margin: 0 15px;
  padding: 12px 24px;
  background: rgba(58,123,213,0.13);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1.5px solid #3a7bd5;
  box-shadow: 0 0 8px 0 #3a7bd5cc;
  text-shadow: 0 0 4px #3a7bd5cc;
}
.hero-link:hover {
  background: #3a7bd5;
  color: #fff;
  box-shadow: 0 0 16px 0 #3a7bd5cc;
  text-shadow: 0 0 8px #3a7bd5cc;
}

.main-content {
  background: #f7fafc;
  padding: 60px 0;
  position: relative;
}

.content-section {
  margin-bottom: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 40px 0;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 2px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, #667eea, #764ba2);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.education-card::before {
  background: linear-gradient(45deg, #48bb78, #38a169);
}

.experience-card::before {
  background: linear-gradient(45deg, #ed8936, #dd6b20);
}

.project-card::before {
  background: linear-gradient(45deg, #667eea, #764ba2);
}

.card-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 20px;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: contain;
  background: #f7fafc;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.card-title-group {
  flex: 1;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #2d3748;
}

.card-subtitle {
  font-size: 1.1rem;
  color: #667eea;
  margin: 0 0 5px 0;
  font-weight: 600;
}

.card-period {
  font-size: 0.95rem;
  color: #718096;
  margin: 0 0 3px 0;
  font-weight: 500;
}

.card-location {
  font-size: 0.9rem;
  color: #a0aec0;
  margin: 0;
}

.card-content {
  color: #4a5568;
}

.card-list {
  margin: 0 0 20px 0;
  padding-left: 20px;
  line-height: 1.7;
}

.card-list li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.78rem;
}
.skill-tag {
  background: rgba(58,123,213,0.13);
  color: #3a7bd5;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid rgba(58,123,213,0.18);
  font-family: inherit;
}
.skill-tag:hover {
  background: rgba(58,123,213,0.22);
  color: #fff;
  box-shadow: 0 0 8px #3a7bd5cc;
}

.site-footer {
  background: #2d3748;
  color: #a0aec0;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

#footer-triangles {
  width: 100%;
  height: 90px;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.8s ease-out;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .card {
    padding: 20px;
  }
  
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .hero-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  
  .hero-link {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-section {
    padding: 60px 0;
  }
  
  .main-content {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
} 

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
}

.timeline-marker {
  position: absolute;
  left: 30px;
  top: 30px;
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border: 4px solid white;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  z-index: 2;
}

.timeline-content {
  margin-left: 60px;
  width: calc(100% - 60px);
  position: relative;
}

.timeline-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, #ed8936, #dd6b20);
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.timeline-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 20px;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: contain;
  background: #f7fafc;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.timeline-info {
  flex: 1;
}

.timeline-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #2d3748;
}

.timeline-company {
  font-size: 1.1rem;
  color: #667eea;
  margin: 0 0 5px 0;
  font-weight: 600;
}

.timeline-period {
  font-size: 0.95rem;
  color: #718096;
  margin: 0 0 3px 0;
  font-weight: 500;
}

.timeline-location {
  font-size: 0.9rem;
  color: #a0aec0;
  margin: 0;
}

.timeline-description ul {
  margin: 0;
  padding-left: 20px;
  color: #4a5568;
  line-height: 1.7;
}

.timeline-description li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.timeline-positions {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.position-item {
  border-left: 3px solid #667eea;
  padding-left: 20px;
  position: relative;
}

.position-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 8px;
  width: 9px;
  height: 9px;
  background: #667eea;
  border-radius: 50%;
  border: 2px solid white;
}

.position-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.position-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: #2d3748;
}

.position-period {
  font-size: 0.9rem;
  color: #718096;
  font-weight: 500;
  background: rgba(102, 126, 234, 0.1);
  padding: 4px 12px;
  border-radius: 15px;
}

.position-description {
  margin: 0;
  padding-left: 20px;
  color: #4a5568;
  line-height: 1.6;
}

.position-description li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  
  .timeline-marker {
    left: 20px;
  }
  
  .timeline-content {
    margin-left: 50px;
    width: calc(100% - 50px);
  }
  
  .timeline-card {
    padding: 20px;
  }
  
  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .position-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .timeline::before {
    left: 15px;
  }
  
  .timeline-marker {
    left: 15px;
  }
  
  .timeline-content {
    margin-left: 40px;
    width: calc(100% - 40px);
  }
} 

.project-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 20px;
}

.expand-btn {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: bold;
}

.expand-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.expand-btn[aria-expanded="true"] .expand-icon {
  transform: rotate(45deg);
}

.expand-icon {
  transition: transform 0.3s ease;
}

.expand-btn, .project-link {
  box-shadow: 0 0 8px 0 #3a7bd5cc;
  border: 1.5px solid #3a7bd5;
  background: rgba(58,123,213,0.13);
  color: #3a7bd5;
  text-shadow: 0 0 4px #3a7bd5cc;
}
.expand-btn:hover, .project-link:hover {
  background: #3a7bd5;
  color: #fff;
  box-shadow: 0 0 16px 0 #3a7bd5cc;
  text-shadow: 0 0 8px #3a7bd5cc;
}

.project-brief {
  margin-bottom: 20px;
}

.project-brief p {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}

.project-details {
  margin-bottom: 20px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-media {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.project-icon-placeholder,
.project-video-placeholder {
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border: 2px dashed #cbd5e0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  flex: 1;
  min-width: 120px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-icon-placeholder:hover,
.project-video-placeholder:hover {
  border-color: #667eea;
  background: linear-gradient(135deg, #edf2f7, #e2e8f0);
  transform: translateY(-2px);
}

.project-icon-placeholder span,
.project-video-placeholder span {
  font-size: 1.5rem;
  color: #718096;
  font-weight: 500;
}

.project-full-description h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 15px 0;
}

.project-full-description ul {
  margin: 0 0 20px 0;
  padding-left: 20px;
  color: #4a5568;
  line-height: 1.7;
}

.project-full-description li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.project-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
  color: white;
  text-decoration: none;
}

@media (max-width: 768px) {
  .project-media {
    flex-direction: column;
  }
  
  .project-icon-placeholder,
  .project-video-placeholder {
    min-width: auto;
  }
  
  .project-links {
    flex-direction: column;
  }
  
  .project-link {
    text-align: center;
    justify-content: center;
  }
} 

#shader-bg {
  position: fixed;
  z-index: 0;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.7;
  display: block;
}

.wireframe-bg {
  z-index: 1;
  pointer-events: none;
} 

.about-section {
  background: var(--color-bg-light);
  padding: 60px 0 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1s ease-out 0.2s both;
}
.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.about-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 24px rgba(58,123,213,0.18);
  background: #e2e8f0;
}
.about-text {
  flex: 1;
}
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .about-photo {
    margin-bottom: 16px;
  }
}

.skills-section {
  background: var(--color-bg-light);
  padding: 60px 0 40px 0;
  animation: fadeInUp 1s ease-out 0.3s both;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.skill-item {
  background: var(--color-card);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(58,123,213,0.07);
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s, transform 0.3s;
  animation: fadeInUp 0.8s ease-out;
}
.skill-item:hover {
  box-shadow: 0 8px 32px rgba(58,123,213,0.18);
  transform: translateY(-4px) scale(1.03);
}
.skill-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}
.skill-name {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-primary);
}
.skill-bar {
  width: 100%;
  height: 10px;
  background: var(--color-skill-bg);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 4px;
}
.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 6px;
  transition: width 1s cubic-bezier(.77,0,.18,1);
}

.download-cv {
  background: linear-gradient(90deg, #3a7bd5, #7f53ac);
  color: #fff !important;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(58,123,213,0.18);
  padding: 12px 28px;
  margin-left: 10px;
  margin-top: 10px;
  border-radius: 25px;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  text-shadow: none;
  text-decoration: none;
  display: inline-block;
}
.download-cv:hover {
  background: linear-gradient(90deg, #7f53ac, #3a7bd5);
  box-shadow: 0 6px 24px rgba(58,123,213,0.28);
  transform: translateY(-2px) scale(1.04);
} 

.keep-hero-height {
  min-height: 420px;
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
} 

.project-gallery {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  justify-content: flex-start;
  margin: 18px 0 0 0;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #3a7bd5 #e2e8f0;
}
.project-gallery::-webkit-scrollbar {
  height: 8px;
}
.project-gallery::-webkit-scrollbar-thumb {
  background: #3a7bd5;
  border-radius: 4px;
}
.project-gallery-img {
  height: 90px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px #3a7bd5cc;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  flex: 0 0 auto;
  object-fit: cover;
  background: #fff;
}
.project-gallery-img:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 16px #3a7bd5cc;
}
@media (max-width: 600px) {
  .project-gallery-img {
    height: 60px;
  }
} 

.gallery-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,28,36,0.92);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: background 0.2s;
}
.gallery-modal-content {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 4px 32px #3a7bd5cc;
  background: #fff;
  object-fit: contain;
  margin-bottom: 18px;
}
.gallery-modal-close {
  position: absolute;
  top: 32px;
  right: 48px;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  text-shadow: 0 2px 12px #3a7bd5cc;
  transition: color 0.2s;
}
.gallery-modal-close:hover {
  color: #3a7bd5;
}
.gallery-modal-caption {
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  max-width: 90vw;
  text-shadow: 0 2px 8px #3a7bd5cc;
}
.gallery-modal-video-wrapper {
  width: 80vw;
  max-width: 900px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 16px;
  box-shadow: 0 4px 32px #3a7bd5cc;
  margin-bottom: 18px;
}
.gallery-modal-video {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: none;
  background: #000;
}
@media (max-width: 900px) {
  .gallery-modal-video-wrapper {
    width: 98vw;
    max-width: 98vw;
    aspect-ratio: 16/9;
  }
}
@media (max-width: 600px) {
  .gallery-modal-video-wrapper {
    width: 100vw;
    max-width: 100vw;
    aspect-ratio: 16/9;
    border-radius: 0;
  }
  .gallery-modal-video {
    border-radius: 0;
  }
}
@media (max-width: 600px) {
  .gallery-modal-content {
    max-width: 98vw;
    max-height: 60vh;
  }
  .gallery-modal-close {
    top: 12px;
    right: 18px;
    font-size: 2.2rem;
  }
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(24,28,36,0.8);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1003;
  transition: all 0.2s;
  display: none;
  box-shadow: 0 2px 12px rgba(58,123,213,0.3);
}

.gallery-nav-btn:hover {
  background: rgba(58,123,213,0.9);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(58,123,213,0.5);
}

.gallery-nav-prev {
  left: 20px;
}

.gallery-nav-next {
  right: 20px;
}

@media (max-width: 768px) {
  .gallery-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .gallery-nav-prev {
    left: 10px;
  }
  
  .gallery-nav-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .gallery-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .gallery-nav-prev {
    left: 5px;
  }
  
  .gallery-nav-next {
    right: 5px;
  }
} 

.hero-location {
  font-size: 1.1rem;
  color: #cbd5e0;
  margin-top: 2px;
  margin-bottom: 0.7em;
  letter-spacing: 0.01em;
  font-weight: 400;
} 

.hero-divider {
  color: #cbd5e0;
  opacity: 0.6;
  font-size: 1.2rem;
  margin: 0 0.4em;
}
.hero-location-inline {
  color: #cbd5e0;
  font-size: 1.05rem;
  font-style: italic;
  opacity: 0.8;
  margin-top: 0.1em;
  margin-bottom: 0.7em;
  letter-spacing: 0.01em;
  font-weight: 400;
  animation: fadeInUp 1s ease-out 0.3s both;
} 