/* General Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f7;
  color: #1d1d1f;
  line-height: 1.6;
}

.mac-window {
  max-width: 70%;
  margin: 20px auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

/* Mac Navbar */
.mac-navbar {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.mac-dots {
  display: flex;
  gap: 8px;
  margin-right: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.dot:hover {
  transform: scale(1.1);
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.mac-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.toolbar-button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #1d1d1f;
  transition: color 0.3s ease;
}

.toolbar-button:hover {
  color: #007aff;
}

.url-bar {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: rgba(245, 245, 247, 0.9);
  backdrop-filter: blur(10px);
  font-size: 14px;
  color: #1d1d1f;
}

/* About Section */
.about {
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(245, 245, 247, 0.9);
  backdrop-filter: blur(10px);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text-left,
.about-text-right {
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
  color: #1d1d1f;
}

.image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Projects Section */
.projects {
  padding: 40px;
  background: #ffffff;
}

.projects h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #1d1d1f;
}

.carousel-container {
  position: relative;
}

.carousel-track-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(245, 245, 247, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  margin: 0 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.carousel-button:hover {
  background: rgba(255, 255, 255, 1);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Timeline Section */
.timeline {
  padding: 40px;
  background: rgba(245, 245, 247, 0.9);
  backdrop-filter: blur(10px);
}

.timeline-container {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.timeline-item {
  flex: 1;
  text-align: center;
  position: relative;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  background: #007aff;
  border-radius: 50%;
  margin: 0 auto 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content {
  padding: 10px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
  padding: 40px;
  text-align: center;
  background: #ffffff;
}

.cta-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #007aff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
  background: #005bb5;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: rgba(245, 245, 247, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid #e0e0e0;
}


/* Hero Section */
.hero {
  padding: 80px 40px;
  text-align: center;
  background: rgba(245, 245, 247, 0.9);
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #1d1d1f;
}

.hero p {
  font-size: 18px;
  color: #1d1d1f;
  margin-bottom: 30px;
}

.time-travel-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.time-travel-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #1d1d1f;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.time-travel-btn:hover {
  background: #007aff;
  color: #ffffff;
  border-color: #007aff;
}