/* Custom greenish-blue theme */
:root {
  --primary-color: #20b2aa;
  --secondary-color: #48cae4;
  --accent-color: #0077b6;
  --dark-teal: #006a6b;
  --light-teal: #b2dfdb;
}

body {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 50%,
    var(--accent-color) 100%
  );
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Custom navbar styling */
.custom-navbar {
  background: rgba(32, 178, 170, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-navbar .navbar-item:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px;
}

.custom-navbar .navbar-burger span {
  background-color: white;
}

/* Fix mobile menu visibility */
.custom-navbar .navbar-menu {
  background-color: rgba(32, 178, 170, 0.98) !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.custom-navbar .navbar-menu.is-active {
  display: block !important;
}

@media screen and (max-width: 1023px) {
  .custom-navbar .navbar-menu {
    background-color: rgba(32, 178, 170, 0.98) !important;
    padding: 0.5rem 0;
  }

  .custom-navbar .navbar-item {
    color: white !important;
    padding: 0.75rem 1rem;
  }
}

/* Main content spacing */
.main-content {
  padding-top: 80px;
}

/* Profile cards */
.profile-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid rgba(32, 178, 170, 0.2);
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Custom button styling */
.button.is-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease;
}

.button.is-primary:hover {
  background-color: var(--dark-teal);
  border-color: var(--dark-teal);
  transform: translateY(-2px);
}

/* Custom tag styling */
.tag.is-primary {
  background-color: var(--secondary-color);
  color: white;
  border: none;
}

/* Pagination styling */
.pagination-link.is-current {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.pagination-link:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Profile page specific styles */
.profile-sidebar {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(32, 178, 170, 0.2);
}

.profile-main {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(32, 178, 170, 0.2);
}

.contact-icons a,
.code-icons a,
.social-icons a {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 0.5rem;
  transition: color 0.3s ease;
}

.contact-icons a:hover,
.code-icons a:hover,
.social-icons a:hover {
  color: var(--dark-teal);
}

.skill-tag {
  background-color: var(--light-teal);
  color: var(--dark-teal);
  border: 1px solid var(--primary-color);
  margin: 0.2rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  display: inline-block;
  white-space: nowrap;
}

.skills-container {
  line-height: 1.8;
}

.work-type-tag,
.availability-tag {
  background-color: var(--secondary-color);
  color: white;
  margin: 0.2rem;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  display: inline-block;
  white-space: nowrap;
}

.availability-container,
.work-type-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  line-height: 1.5;
}

/* Responsive handling for availability and work type tags */
@media screen and (max-width: 768px) {
  .work-type-tag,
  .availability-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    margin: 0;
  }
  
  .availability-container,
  .work-type-container {
    gap: 0.15rem;
  }
}

@media screen and (max-width: 480px) {
  .work-type-tag,
  .availability-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    margin: 0;
  }
  
  .availability-container,
  .work-type-container {
    gap: 0.1rem;
  }
}

/* Description links styling */
.profile-description a {
  color: #dc3545 !important;
  text-decoration: underline;
}

.profile-description a:hover {
  color: #c82333 !important;
}

/* Form styling */
.form-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(32, 178, 170, 0.2);
}

.input:focus,
.textarea:focus,
.select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.125em rgba(32, 178, 170, 0.25);
}

/* About page styling */
.about-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(32, 178, 170, 0.2);
}

/* Search page styling */
.search-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(32, 178, 170, 0.2);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .main-content {
    padding-top: 60px;
  }

  .profile-sidebar,
  .profile-main {
    margin-bottom: 1rem;
  }
}

/* Footer styling */
.footer {
  background: rgba(32, 178, 170, 0.95) !important;
  color: white;
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}

.footer .title {
  color: white !important;
}

.footer .content a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer .content a:hover {
  color: white;
}

.footer .social-links a {
  color: white;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: transform 0.3s ease;
}

.footer .social-links a:hover {
  transform: translateY(-2px);
}

/* Animation for page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-card,
.profile-sidebar,
.profile-main,
.form-container,
.about-section,
.search-container {
  animation: fadeInUp 0.6s ease-out;
}
