/* ===== CSS VARIABLES ===== */
:root {
  --primary-color: #1a73e8;
  --primary-dark: #1557b0;
  --secondary-color: #f8f9fa;
  --text-color: #202124;
  --text-light: #5f6368;
  --text-lighter: #80868b;
  --bg-color: #ffffff;
  --bg-light: #f1f3f4;
  --border-color: #dadce0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 64px;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

ul {
  list-style: none;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-color);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo:hover {
  text-decoration: none;
  color: var(--primary-color);
}

.logo-img {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  line-height: 1.2;
}

nav ul {
  display: none;
  position: absolute;
  top: calc(var(--header-height) + 40px);
  left: 0;
  right: 0;
  background: var(--bg-color);
  flex-direction: column;
  padding: 8px 16px;
  box-shadow: var(--shadow-lg);
  gap: 0;
  border-bottom: 1px solid var(--border-color);
}

nav ul.show {
  display: flex;
}

nav li {
  border-bottom: 1px solid var(--border-color);
}

nav li:last-child {
  border-bottom: none;
}

nav a {
  display: block;
  padding: 12px 0;
  color: var(--text-light);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

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

nav a::after {
  display: none;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-color);
  margin: 6px 0;
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (min-width: 768px) {
  .logo {
    font-size: 18px;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  nav ul {
    display: flex !important;
    position: static;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    border-bottom: none;
    gap: 24px;
  }
  
  nav li {
    border-bottom: none;
  }
  
  nav a {
    display: inline;
    padding: 8px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
  }
  
  nav a:hover::after,
  nav a.active::after {
    width: 100%;
  }
}

/* ===== MAIN CONTENT ===== */
main {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height) - 200px);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO SECTION (NEW) ===== */
.hero-new {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(15, 52, 96, 0.4) 100%),
    url('../img/hero-banner.jpg') center center / cover no-repeat;
  overflow: hidden;
  padding: 80px 24px;
}

.hero-new::before {
  display: none;
}

.hero-new::after {
  display: none;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  color: white;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-content h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  animation: bounce 2s infinite;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== STATS (NEW) ===== */
.stats-new {
  background: white;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
}

.stats-grid-new {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item-new {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

/* ===== FEATURED SECTION ===== */
.featured-section {
  padding-top: 60px;
  padding-bottom: 80px;
}

.featured-section .section-header {
  margin-bottom: 40px;
}

/* ===== CARDS GRID (REDESIGNED) ===== */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.card:active {
  transform: scale(0.98);
}

.card-image-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
  position: relative;
}

.card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0,0,0,0.3));
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-content {
  padding: 16px;
}

.card-category {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

.badge-arch {
  background: #fff0f3;
  color: #e64980;
}

.badge-tourist {
  background: #e7f5ff;
  color: #228be6;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}

.card-title a {
  color: var(--text-color);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--primary-color);
}

.card-address {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 10px;
}

.card-description {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f5f5f5;
}

.card-year {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: #667eea;
}

/* ===== FEATURES SECTION (NEW) ===== */
.features-section {
  padding: 48px 0;
  background: #f8f9fb;
}

.features-section .section-header {
  margin-bottom: 40px;
}

.features-grid-new {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card-new {
  background: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1px solid #f0f0f0;
}

.feature-icon-new {
  font-size: 36px;
  margin-bottom: 12px;
}

.feature-card-new h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card-new p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.55;
}

/* ===== CTA SECTION (NEW) ===== */
.cta-section {
  padding: 48px 24px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  text-align: center;
  color: white;
}

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

.cta-content p {
  opacity: 0.8;
  margin-bottom: 24px;
  font-size: 16px;
}

/* ===== HERO BUTTONS ===== */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-hero svg {
  flex-shrink: 0;
}

.btn-hero-primary {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-primary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

.btn-hero-solid {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 2px 12px rgba(26, 115, 232, 0.3);
}

.btn-hero-solid:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26, 115, 232, 0.4);
  color: white;
  text-decoration: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: white;
  text-decoration: none;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (min-width: 480px) {
  .hero-content h1 {
    font-size: 38px;
  }
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 52px;
  }
  
  .hero-content p {
    font-size: 20px;
  }
  
  .stats-grid-new {
    gap: 48px;
  }
  
  .stat-number {
    font-size: 42px;
  }
  
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .features-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .cta-content h2 {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .hero-new {
    min-height: 90vh;
  }
  
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid-new {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ===== CATALOG PAGE (MOBILE FIRST) ===== */
.catalog-section {
  padding: 20px 0 48px;
  background: #f8f9fb;
}

.catalog-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 32px 0;
  color: white;
}

.catalog-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.catalog-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.5;
}

/* ===== CATALOG CONTROLS ===== */
.catalog-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  background: white;
  padding: 12px 16px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.search-input {
  flex: 1;
  min-width: 180px;
  max-width: 280px;
  padding: 10px 14px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: 14px;
  transition: var(--transition);
  background: #f8f9fb;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.filter-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex-shrink: 0;
}

.filter-buttons::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 8px 14px;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  background: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-btn:hover {
  background: var(--bg-light);
  border-color: var(--primary-color);
}

.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

/* Mobile catalog controls */
@media (max-width: 768px) {
  .catalog-controls {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .search-input {
    max-width: 100%;
    width: 100%;
  }

  .filter-buttons {
    justify-content: flex-start;
    overflow-x: auto;
  }
}

@media (min-width: 769px) {
  .filter-buttons {
    overflow-x: visible;
  }
}

.catalog-count {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  padding-left: 4px;
}

/* ===== CATALOG LIST ===== */
.catalog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .catalog-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .catalog-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.catalog-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.catalog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.catalog-card-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  overflow: hidden;
  position: relative;
}

.catalog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.catalog-card:hover .catalog-card-image img {
  transform: scale(1.05);
}

.catalog-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.catalog-card-content {
  padding: 16px;
}

.catalog-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.catalog-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  flex: 1;
}

.catalog-card-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-arch {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.badge-tourist {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.catalog-card-address {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 8px;
}

.catalog-card-description {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.catalog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-light);
}

.catalog-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.catalog-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.catalog-card:hover .catalog-card-link {
  gap: 8px;
}

/* ===== DESKTOP CATALOG ===== */
@media (min-width: 768px) {
  .catalog-header {
    padding: 48px 0;
  }

  .catalog-header h1 {
    font-size: 36px;
  }

  .catalog-header p {
    font-size: 18px;
  }

  .catalog-controls {
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }

  .search-input {
    min-width: 300px;
  }

  .filter-buttons {
    overflow-x: visible;
    flex-wrap: wrap;
  }

  .catalog-card-title {
    font-size: 22px;
  }
  
  .catalog-card-badge {
    font-size: 12px;
    padding: 6px 14px;
  }
  
  .catalog-card-address {
    font-size: 15px;
  }
  
  .catalog-card-description {
    font-size: 15px;
    -webkit-line-clamp: 3;
  }
}

/* ===== NONPROFIT NOTICE ===== */
.nonprofit-notice {
  background: #e8f5e9;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  margin-top: 16px;
  margin-bottom: 24px;
  border-left: 4px solid #4caf50;
  font-size: 15px;
  line-height: 1.6;
}

.nonprofit-notice p {
  margin: 0;
  color: #2e7d32;
}

/* ===== TEAM & ACKNOWLEDGMENTS ===== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 32px;
}

.team-card {
  background: var(--bg-light);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.team-photo {
  width: 120px;
  height: 160px;
  border-radius: 12px;
  object-fit: cover;
  object-position: top center;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.team-card h3 {
  font-size: 17px;
  margin: 0;
  color: var(--text-color);
}

.team-role {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 14px;
  margin: 0;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .team-card {
    padding: 24px;
  }
  
  .team-photo {
    width: 140px;
    height: 190px;
  }
}

.acknowledgments-box {
  background: #fff9e6;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  margin-top: 20px;
  margin-bottom: 32px;
  border-left: 4px solid #f5c542;
  font-size: 16px;
  line-height: 1.6;
}

/* ===== OBJECT PAGE ===== */
.object-header {
  padding: 48px 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.object-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 16px;
}

.object-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}

.object-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 15px;
}

.object-meta-item strong {
  color: var(--text-color);
}

.object-content {
  padding: 48px 0;
}

.object-image-main {
  width: 100%;
  height: 400px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.object-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.object-image-main.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.object-image-main.no-image::after {
  content: 'Фото не найдено';
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 500;
}

/* ===== OBJECT ACTIONS ===== */
.object-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-object {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.btn-object svg {
  flex-shrink: 0;
}

.btn-object-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 2px 12px rgba(26, 115, 232, 0.3);
}

.btn-object-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26, 115, 232, 0.4);
  color: white;
  text-decoration: none;
}

.btn-object-secondary {
  background: var(--bg-light);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-object-secondary:hover {
  background: white;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

/* ===== OBJECT GALLERY ===== */
.object-gallery {
  margin-bottom: 32px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
  opacity: 0.9;
}

/* ===== GALLERY MODAL ===== */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.gallery-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  color: white;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10;
}

.gallery-modal-close:hover {
  color: #f5576c;
}

.gallery-modal-prev,
.gallery-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 48px;
  cursor: pointer;
  z-index: 10;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  transition: all 0.2s;
  user-select: none;
}

.gallery-modal-prev {
  left: -70px;
}

.gallery-modal-next {
  right: -70px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.gallery-modal-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  white-space: nowrap;
}

/* Mobile modal nav */
@media (max-width: 768px) {
  .gallery-modal-prev {
    left: 10px;
  }
  
  .gallery-modal-next {
    right: 10px;
  }
  
  .gallery-modal-prev,
  .gallery-modal-next {
    font-size: 32px;
    width: 40px;
    height: 40px;
  }
  
  .gallery-modal-img {
    max-width: 95vw;
    max-height: 80vh;
  }
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
  
  .gallery-grid img {
    height: 220px;
  }
}

.object-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 32px;
}

.object-description p {
  margin-bottom: 16px;
}

.object-source {
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
}

.object-source-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.object-source a {
  word-break: break-all;
}

.object-back {
  margin-bottom: 24px;
}

/* ===== MAP PAGE ===== */
.map-container {
  height: calc(100vh - var(--header-height));
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
}

.map-sidebar {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 360px;
  max-height: calc(100% - 32px);
  background: var(--bg-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.map-sidebar-header {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
}

.map-sidebar-header h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.map-list {
  overflow-y: auto;
  max-height: calc(100% - 120px);
}

.map-list-item {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.map-list-item:hover {
  background: var(--bg-light);
}

.map-list-item-title {
  font-weight: 500;
  margin-bottom: 4px;
}

.map-list-item-address {
  font-size: 13px;
  color: var(--text-light);
}

/* ===== ABOUT & CONTACTS ===== */
.page-header {
  background: var(--bg-light);
  padding: 48px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-light);
  font-size: 18px;
}

.page-content {
  padding: 48px 0;
}

.page-content h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.page-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.contact-card {
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  text-align: center;
}

.contact-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text-light);
  margin: 0;
}

/* ===== FOOTER ===== */
footer {
  background: var(--text-color);
  color: white;
  padding: 48px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-section a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-section a:hover {
  color: white;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* ===== STATS SECTION ===== */
.stats {
  background: var(--bg-light);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--text-light);
  font-size: 14px;
}

/* ===== FEATURES SECTION ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 32px;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-color);
    flex-direction: column;
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    gap: 0;
  }
  
  nav ul.show {
    display: flex;
  }
  
  nav li {
    border-bottom: 1px solid var(--border-color);
  }
  
  nav a {
    display: block;
    padding: 12px 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .object-title {
    font-size: 28px;
  }
  
  .object-meta {
    flex-direction: column;
    gap: 12px;
  }
  
  .map-sidebar {
    width: calc(100% - 32px);
    max-height: 50%;
  }
  
  .catalog-controls {
    flex-direction: column;
  }
  
  .search-input {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 16px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .container {
    padding: 0 16px;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.text-light {
  color: var(--text-light);
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden {
  display: none !important;
}
