@import "common/theme.css";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
  /* border: 1px solid; */
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--header-bg);
  padding: 0 2rem;
  box-shadow: var(--shadow-md);
  z-index: 1000;
}

.main-container {
  width: 95%;
  max-width: 1200px;
  /* margin: 0.5rem auto 2rem; */
  margin-top: 4rem;
  padding: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--card-bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.left-section,
.right-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.right-section {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.navbar {
  background: var(--header-bg);
  color: var(--text-color);
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  padding: 1rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  text-align: left;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: var(--secondary-color);
}

.header {
  background: var(--header-bg);
  color: var(--text-color);
  padding: 1rem 2rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.2rem;
  font-weight: 300;
}
.bgm-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 5px;
  transition: transform 0.2s;
}

.bgm-toggle:hover {
  transform: scale(1.1);
}


.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Update footer styles */
.footer {
  background: var(--header-bg);
  color: var(--text-color);
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
  margin-top: auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section h4 {
  color: var(--header-text);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* .footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-color);
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--primary-color);
} */

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.social-icon {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--card-bg-color);
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  background: var(--secondary-color);
}

/* Update copyright position */
.copyright {
  position: relative;
  margin-top: auto;
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: right;
  border-top: 1px solid var(--border-color);
}

/* right section styling. */
.feature {
  background: var(--header-bg);
  color: var(--text-color);
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s;
}

.feature h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature button {
  background: var(--secondary-color);
  color: var(--text-color);
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}

.feature button:hover {
  background: var(--tertiary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  flex: 1;
  margin-bottom: 60px; /* Space for copyright */
}

/* Update slider for better responsiveness */
.slider {
  min-height: 300px; /* Change from fixed height to min-height */
  height: auto;
  position: relative;
  background: var(--header-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slides {
  height: 100%;
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.profile-card {
  background: var(--card-bg-color);
  border-radius: 12px;
  padding: 1.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.profile-img {
  width: 100px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-img-placeholder {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-light);
}

.profile-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  background: var(--secondary-color);
  color: var(--text-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.profile-info {
  margin-bottom: 1.5rem;
}

.profile-info h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.profile-info .title {
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.profile-info .bio {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.4;
}

/* slider styling ends here */

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-button {
  left: 1rem;
}

.next-button {
  right: 1rem;
}

.arrow {
  border: solid var(--text-color);
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
}

.arrow-right {
  transform: rotate(-45deg);
}

.arrow-left {
  transform: rotate(135deg);
}

.contact {
  background: var(--header-bg);
  color: var(--text-color);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
}

.contact h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* media query for responsiveness */

@media (max-width: 1200px) {
  .about-section {
    grid-template-columns: 1fr;
  }

  .slider {
    margin-bottom: 1rem;
  }

  .contact {
    max-width: 600px; /* Limit width on smaller screens */
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .main-container {
    width: 90%;
    margin-top: 4rem;
    padding: 1rem;
    grid-template-columns: 1fr;
  }

  .profile-card {
    max-width: 100%;
  }

  body {
    padding: 1rem 0;
  }
}

/* Add/update theme selector styles */
.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem;
}

.theme-select {
  padding: 0.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background: var(--card-bg-color);
  color: var(--text-color);
  font-size: 0.9rem;
  cursor: pointer;
}

.theme-select:hover {
  border-color: var(--primary-color);
}

.theme-select option {
  background: var(--card-bg-color);
  color: var(--text-color);
  padding: 0.5rem;
}

/* Remove old theme selector styles */
.theme-selector {
  display: none;
}

.page-title {
  text-align: center;
  margin: 0;
  flex: 1;
}

.page-title a {
  text-decoration: none;
  color: var(--header-text);
  font-size: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}
