* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #121212;
  --accent-color: #B497FF;
  --second-accent-color: #FF6d90;
  --third-accent-color: #FFd1e3;
  --text-color: #EDEDED;
  --body-font: "Inter", sans-serif;
  --heading-font: "DM Serif Display", serif;
  --h1-font-size: clamp(40px, 6vw, 60px);
  --h2-font-size: clamp(32px, 4.8vw, 40px);
  --h3-font-size: clamp(26px, 3.8vw, 34px);
  --biggerbody-font-size: clamp(22px, 3.2vw, 32px);
  --body-font-size: clamp(18px, 2.4vw, 24px);
  --smallbody-font-size: clamp(16px, 2vw, 18px);
  --smallerbody-font-size: 16px;
  --button-font-size:clamp(16px, 1.8vw, 18px);
  --button-font-weight: bold;
  --footer-font-size: 14px;
  --subtitle-font-size: clamp(22px, 3.2vw, 32px);
  --subtitle-font-weight: 500;
}

body {
  font-family: var(--body-font);
  font-size: var(--body-font-size);
  color: var(--text-color);
  background-color: var(--primary-color);
  line-height: 160%;
}
body h1, body h2, body h3 {
  font-family: var(--heading-font);
  color: var(--text-color);
  line-height: 115%;
}
body h1 {
  font-size: var(--h1-font-size);
}
body h2 {
  font-size: var(--h2-font-size);
}
body h3 {
  font-size: var(--h3-font-size);
}
body .menu-nav_link {
  font-family: var(--body-font);
  font-size: var(--body-font-size);
  color: var(--text-color);
  line-height: 160%;
}
body .btn {
  font-family: var(--body-font);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  color: var(--primary-color);
  background-color: var(--accent-color);
  text-decoration: none;
  border-radius: 40px;
  padding: 10px 40px;
  transition: all 0.3s ease;
}
body .btn:hover {
  background-color: var(--second-accent-color);
  color: var(--text-color);
}

.section {
  padding: clamp(40px, 8vw, 100px) clamp(20px, 5vw, 100px);
  max-width: 100%;
}

/* Portfolio Section */
.portfolio {
  margin: 0 auto;
  max-width: 100%;
  margin-top: 90px;
  margin-bottom: 90px;
}

/* Container */
.container {
  padding-inline: clamp(16px, 5vw, 64px);
  margin: 0 auto;
  width: 100%;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 40px;
  text-align: left;
}

/* Card Grid - desktop layout */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 32px);
  margin: 0 auto;
}
@media (max-width: 1028px) {
  .card-grid {
    display: none;
  }
}

/* Portfolio Carousel - tablet and mobile layout */
.portfolio-carousel {
  display: none;
}
@media (max-width: 1028px) {
  .portfolio-carousel {
    display: block;
  }
}

/* Cards */
.card {
  width: 100%;
  max-width: 594px;
  height: auto;
  aspect-ratio: 594/564;
  background-color: var(--second-accent-color);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--primary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:nth-child(even) {
  background-color: var(--accent-color);
}

.card__thumb {
  width: 100%;
}
.card__thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.carousel-link {
  text-decoration: none;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 20px 20px 20px;
  margin-top: 20px;
  color: var(--primary-color);
}
.card__body .card__title {
  font-size: 26px;
  font-weight: bold;
  color: var(--primary-color);
}
.card__body .card__subtitle {
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 4px;
}
.card__body .card__desc {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
}

/* Desktop hover effects */
@media (min-width: 1029px) {
  .card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 8px 8px 0 var(--third-accent-color);
  }
}
/* Mobile and tablet carousel styles */
@media (max-width: 1028px) {
  .card {
    width: 295px;
    height: 340px;
    margin: 0 auto;
    aspect-ratio: 295/340;
  }
  .carousel-indicators {
    position: static;
    margin-top: 20px;
    margin-bottom: 0;
  }
  .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--text-color);
    border: 2px solid var(--text-color);
    margin: 0 6px;
  }
  .carousel-indicators .active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 5%;
    color: var(--text-color);
  }
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
  }
}

/*# sourceMappingURL=portfolio.css.map */
