/* Web 2.0 Skeuomorphic Styles */
:root {
  --web2-blue: #4a90e2;
  --web2-blue-dark: #357abd;
  --web2-blue-light: #6ba3e8;
  --web2-text: #333333;
  --web2-text-light: #666666;
  --web2-bg: #e8f4fd;
  --web2-card-bg: #ffffff;
  --web2-border: #c5d9e8;
  --web2-shadow: rgba(0, 0, 0, 0.3);
}

body {
  margin: 0;
  padding: 0;
  font-family: Tahoma, Arial, sans-serif;
  background: linear-gradient(135deg, #e8f4fd 0%, #d1e7f8 50%, #b8daf2 100%);
  background-attachment: fixed;
  color: var(--web2-text);
  line-height: 1.4;
  font-size: 11px;
}

.vk-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header with Web 2.0 styling */
.vk-header {
  background: linear-gradient(to bottom, #5ba0f2 0%, #4a90e2 50%, #357abd 100%);
  border-bottom: 2px solid #2968a3;
  box-shadow: 0 3px 8px var(--web2-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.vk-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
}

.vk-logo {
  color: white;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  margin-right: 30px;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  padding: 6px 12px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.vk-nav {
  display: flex;
  gap: 3px;
}

.vk-nav__item {
  color: white;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 3px;
  transition: all 0.2s;
  font-size: 11px;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.vk-nav__item:hover {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.vk-nav__item--active {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.3) 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

/* Content area */
.vk-content {
  flex: 1;
  padding: 15px 0;
}

.vk-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 15px;
}

.vk-main {
  flex: 3;
}

.vk-sidebar {
  flex: 1;
  min-width: 250px;
}

/* Skeuomorphic Cards */
.vk-card {
  background: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #d0d0d0;
  position: relative;
}

.vk-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
}

.vk-card__content {
  padding: 15px;
  position: relative;
}

.vk-card__title {
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: bold;
  color: var(--web2-text);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.vk-meta {
  color: var(--web2-text-light);
  font-size: 10px;
  margin-bottom: 10px;
  font-style: italic;
}

.vk-text {
  margin-bottom: 12px;
  line-height: 1.5;
  font-size: 11px;
}

/* Web 2.0 Glossy Buttons */
.vk-button {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(to bottom, #5ba0f2 0%, #4a90e2 50%, #357abd 100%);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 11px;
  border: 1px solid #2968a3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
}

.vk-button:hover {
  background: linear-gradient(to bottom, #6ba3e8 0%, #5ba0f2 50%, #4a90e2 100%);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.vk-button:active {
  background: linear-gradient(to bottom, #357abd 0%, #4a90e2 50%, #5ba0f2 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  transform: translateY(1px);
}

/* Photos with Web 2.0 styling */
.vk-photo {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 12px;
  display: block;
  max-height: 400px;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.vk-photo-link {
  display: block;
  margin-bottom: 12px;
}

/* Social links with Web 2.0 styling */
.vk-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vk-social-link {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: linear-gradient(to bottom, #f8f8f8 0%, #e8e8e8 100%);
  border-radius: 4px;
  text-decoration: none;
  color: var(--web2-blue);
  font-size: 11px;
  font-weight: bold;
  border: 1px solid #d0d0d0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.2s;
}

.vk-social-link:hover {
  background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.vk-social-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

/* Footer with Web 2.0 styling */
.vk-footer {
  background: linear-gradient(to bottom, #f0f0f0 0%, #e0e0e0 100%);
  border-top: 1px solid #c0c0c0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 10px 0;
}

.vk-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  color: var(--web2-text-light);
  font-size: 10px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Responsive design */
@media (max-width: 768px) {
  .vk-page {
    flex-direction: column;
  }

  .vk-header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 6px 15px;
  }

  .vk-logo {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .vk-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .vk-social-links {
    flex-direction: column;
  }

  .vk-photo {
    max-height: 250px;
  }

  .vk-card__content {
    padding: 12px;
  }
}

/* Additional Web 2.0 effects */
.vk-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Glossy highlight effect */
.vk-button:before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-radius: 3px 3px 0 0;
  pointer-events: none;
}
