/* Custom gradient background */
.gradient-bg {
  background: linear-gradient(135deg, #7fa0d6 0%, #000099 100%);
}

/* Glass morphism card */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Profile photo container */
.profile-photo {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.1)
  );
  padding: 0.25rem;
}

.profile-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 700;
  color: #4b5563;
}

/* Social media buttons */
.social-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.social-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.reloadium-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
}

/* Contact buttons */
.contact-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.contact-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Language selector */
.lang-selector-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.lang-selector-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lang-dropdown {
  position: absolute;
  right: 0;
  margin-top: 0.5rem;
  width: 10rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem;
  z-index: 50;
}

.lang-option {
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  border-radius: 0.75rem;
  margin: 0 0.5rem;
  cursor: pointer;
  border: none;
  background: transparent;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Expandable sections */
.expandable-section {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.expandable-header {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  background: transparent;
  color: white;
}

.expandable-header:hover {
  background: rgba(255, 255, 255, 0.1);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
}

.header-title {
  color: white;
  font-weight: 500;
}

.chevron-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease;
}

.chevron-icon.rotated {
  transform: rotate(180deg);
}

.expandable-content {
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  max-height: 0;
  opacity: 0;
}

.expandable-content.expanded {
  max-height: 50rem;
  opacity: 1;
}

.expandable-inner {
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Add some spacing between expandable sections */
.expandable-section + .expandable-section {
  margin-top: 0.75rem;
}

/* Text styles */
.profile-title {
  font-size: 1.875rem;
  font-weight: 300;
  color: white;
  margin-bottom: 1rem;
}

.section-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.6;
}

.skill-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  color: white;
  display: inline-block;
}

.language-level {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

/* Animations */
.rotate-180 {
  transform: rotate(180deg);
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}
