/* styles.css */

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  background: #f9f9f9;
  color: #333;
}

body {
  padding: 2rem;
  flex: 1;
  line-height: 1.6;
}

.page-container {
  flex: 1;
  padding: 2rem;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

nav {
  margin-bottom: 1rem;
}

nav a {
  margin: 0 1rem;
  color: #007aff;
  text-decoration: none;
  font-weight: 500;
}

h1 {
  margin-top: 0;
}

h2 {
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.projects {
  display: grid;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.project {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.project:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.project h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.project a,
.content a {
  text-decoration: none;
  color: #007aff;
  font-weight: bold;
}

.content {
  max-width: 700px;
  margin: 0 auto;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.carousel {
  display: flex;
  gap: 1rem;
  transition: transform 0.3s ease;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.carousel img {
  flex: 0 0 auto;
  width: 100%;
  max-width: 280px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-buttons {
  text-align: center;
  margin-top: 1rem;
}

.carousel-buttons button {
  background-color: #007aff;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.carousel-buttons button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

footer.site-footer {
  background-color: #f0f0f0;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: #333;
  margin-top: auto;
}

.footer-content p {
  margin: 0.5rem 0;
}

.footer-content a {
  text-decoration: none;
  font-weight: 500;
}

.footer-buttons {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-btn {
  background-color: #007aff;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.footer-btn:hover {
  background-color: #005fcc;
}

a.subtle-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

a.subtle-link p {
  margin: 0;
}

.app-store-button {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.app-store-button:hover {
  background-color: #111;
  transform: translateY(-2px);
}

.app-store-button-wrapper {
  text-align: center;
  margin-top: 2rem;
}
