:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}


button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}

.card-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-title.showcase {
  text-align: center;
  padding: 80px 20px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.showcase .genericButton{
    background-color: #f18701;
    color:#000;
    border: solid black 3px;
}

.showcase .genericButton:hover{
  color: white;
  background-color: #000;
}

.section-title.showcase h1 {
  /* font-family: "Playfair Display", "Merriweather", serif;  */
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: 1px;
  color: #111;
  margin-bottom: 30px;
}

.section-title.showcase p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #333;
  max-width: 750px;
  margin: 0 auto;
  opacity: 0.9;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title.showcase {
  animation: fadeUp 1s ease-in-out both;
}


/* Custom Card Styles */
.custom-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: white;
    height: 320px;
    margin-bottom: 30px;
    cursor: pointer;
}

.custom-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.card-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: brightness(0.85);
}

.custom-card:hover .card-image {
    transform: scale(1.1);
    filter: brightness(0.75);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 25px 25px;
    transition: all 0.3s ease;
}

.card-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.card-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-top: 8px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.custom-card:hover .card-title {
    transform: translateY(-3px);
}

.custom-card:hover .card-subtitle {
    opacity: 1;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.card-link:hover {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
  .custom-card {
    height: 240px; /* slimmer on tablets */
    margin-bottom: 25px;
  }

  .custom-card:hover {
    transform: translateY(-6px) scale(1.01);
  }
}

@media (max-width: 576px) {
  .custom-card {
    height: 180px;
    max-width: 90%;
    margin: 0 auto 25px;
  }

  .custom-card:hover {
    transform: none;
  }
}

/* Loading animation */
.custom-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.custom-card:nth-child(1) { animation-delay: 0.1s; }
.custom-card:nth-child(2) { animation-delay: 0.2s; }
.custom-card:nth-child(3) { animation-delay: 0.3s; }
.custom-card:nth-child(4) { animation-delay: 0.4s; }
.custom-card:nth-child(5) { animation-delay: 0.5s; }
.custom-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}