@font-face {
  font-family: "Inter";
  src: url("./fonts/Inter-VariableFont_opsz\,wght.ttf")
    format("truetype-variations");
  font-weight: 100 900;
  font-style: normal; /* Explicitly define this as the normal style */
  font-display: swap;
}

/* 2. Italic Variable Font */
@font-face {
  font-family: "Inter"; /* KEEP THE NAME THE SAME */
  src: url("./fonts/Inter-Italic-VariableFont_opsz\,wght.ttf")
    format("truetype-variations");
  font-weight: 100 900;
  font-style: italic; /* Explicitly define this as the italic style */
  font-display: swap;
}
/* 1. Regular Variable Font */
@font-face {
  font-family: "Libre Baskerville";
  src:
    url("./fonts/LibreBaskerville-VariableFont_wght.ttf")
      format("truetype-variations"),
    url("./fonts/LibreBaskerville-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 700; /* Supports range from Regular to Bold */
  font-style: normal;
  font-display: swap;
}

/* 2. Italic Variable Font */
@font-face {
  font-family: "Libre Baskerville";
  src:
    url("./fonts/LibreBaskerville-Italic-VariableFont_wght.ttf")
      format("truetype-variations"),
    url("./fonts/LibreBaskerville-Italic-VariableFont_wght.ttf")
      format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
}
h1,
h2,
h3,
h4,
h6 {
  font-family: "Libre Baskerville", serif;
  color: black;
  font-size: 2rem;
}
h5 {
  font-family: "Libre Baskerville", serif;
  color: #b83821;
  font-size: 1.3rem;
}
:root {
  --nav-height: 75px;
}

body {
  padding-top: var(--nav-height);
  background-color: #f6f4f3;
}
.navbar {
  font-family: "Libre Baskerville", serif;
  /*background-color: #b9e1dc;*/
  background-color: #f6f4f3;
  font-size: 21px;
  font-weight: 400;
  height: var(--nav-height);
}
/* Base link style */
.navbar a {
  color: #1c1917; /* dark charcoal text*/
  text-decoration: none;
  transition: color 0.3s ease; /* smooth color shift */
}

/* Hover state */
.navbar a:hover {
  color: #b83821 !important; /* transitions to your accent color */
}
.logo {
  width: 190px;
  height: auto;
  fill: #f6f4f3;
}
/* Target your mobile logo image or wrapper */
@media (max-width: 768px) {
  .logo {
    /*background-color: #f6f4f3 !important; /* Forces navbar color */
    background-color: transparent !important; /* Lets navbar show through */
  }
}
.main-img {
  max-width: 70%;
  border-radius: 5%;
}
.name {
  font-size: 2.5rem;
}
.highlight-name {
  font-family: "Libre Baskerville", serif;
  color: #b83821;
  font-size: 2.5rem;
}
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.social-links .icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  background-color: transparent;
  border: 0.2rem solid rgb(41, 40, 40);
  border-radius: 50%;
  color: rgb(41, 40, 40);
  margin: 5px 10px;
  font-size: 1.7rem;
  transition: 0.2s linear;
  cursor: pointer;
}

.social-links .icon:hover {
  scale: 1.2;
  color: white;
  background-color: rgb(41, 40, 40);
  filter: drop-shadow(0 0 10px rgb(116, 108, 131));
}

.cv-btn {
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 0.2rem solid rgb(116, 108, 131);
  border-radius: 2rem;
  color: rgb(116, 108, 131);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s linear;
}

.cv-btn:hover {
  background-color: rgb(116, 108, 131);
  color: white;
  filter: drop-shadow(0 0 10px rgb(116, 108, 131));
}
.contact-btn {
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 0.2rem solid rgb(41, 40, 40);
  border-radius: 2rem; /* pill shape */
  color: rgb(41, 40, 40);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s linear;
}

.contact-btn:hover {
  scale: 1.2;
  background-color: rgb(41, 40, 40);
  color: white;
  filter: drop-shadow(0 0 10px rgb(116, 108, 131));
}
@media (max-width: 600px) {
  .logo {
    width: 90px;
    height: auto;
    background-color: #fdffff;
  }
  :root {
    --nav-height: 55px;
  }

  body {
    padding-top: var(--nav-height);
  }
  .name {
    padding-top: 20px;
    font-size: 2rem;
  }
  .highlight-name {
    font-size: 2rem;
  }
}
.about-section,
.contact-section {
  max-width: 1000px;
  margin: 60px auto;
  /*background: #ffecd2;*/
  background: linear-gradient(to bottom, #f6f4f3 0%, #fcb69f 100%);
  border-radius: 10px;
}

/* PROJECT SECTION*/
.project-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column; /* Stack the wide horizontal cards vertically */
  gap: 2rem;
}

.card {
  display: flex;
  flex-direction: row; /* Image on left, text on right */
  align-items: center;
  gap: 1.5rem;
  background-color: #ffffff;
  /*border-radius: 12px;*/
  padding: 20px;
  box-shadow: 0 4px 12px rgba(205, 65, 65, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  overflow: hidden;
  border: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(211, 73, 49, 0.2); /* Soft crimson hover shadow */
}

/* Image Column (Gives the image fixed width and room to shine) */
.card-image-wrapper {
  flex: 0 0 70%; /* Image section takes up 70% of the card width */
  max-width: 700px;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text Content Column */
.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-title {
  margin: 0;
  font-size: 1.35rem;
  color: #b83821;
}

.card-description {
  margin: 0;
  color: #1e1b4b;
  line-height: 1.5;
}

/* Optional Tech Stack Badges */
.card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background-color: #f3f3f3;
  color: #444444;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

/* Call to Action Button */
.btn-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #b83821;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease;
}

.btn-link:hover {
  text-decoration: underline;
  color: #b83821;
}

/* Responsive: Switch back to stacked vertical layout on smaller mobile screens */
@media (max-width: 768px) {
  .card {
    flex-direction: column;
  }

  .card-image-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
/* end of project css*/

/* Project View more button*/
.view-more {
  text-align: center;
  margin-top: 30px;
}
.view-more .btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 0.2rem solid rgb(41, 40, 40);
  border-radius: 2rem; /* pill shape */
  color: rgb(41, 40, 40);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s linear;
}

.view-more .btn:hover {
  scale: 1.2;
  background-color: rgb(41, 40, 40);
  color: white;
  filter: drop-shadow(0 0 10px rgb(86, 85, 86));
}

/* SERVICE SECTION*/
.expertise-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 32px;
}

.expertise-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr; /* 2-column split layout */
  gap: 4rem;
  align-items: start;
}

/* LEFT SIDE STYLING */
.expertise-intro {
  position: sticky; /* Stays in view while scrolling the right list */
  top: 8rem;
}

.subheading {
  color: #d34931;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.expertise-intro h2 {
  font-size: 2.2rem;
  line-height: 1.3;
  color: #111111;
  margin: 0 0 1rem 0;
}

.expertise-intro p {
  color: #313131;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background-color: #b83821;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #b83821;
}

/* RIGHT SIDE STYLING (Numbered Blocks) */
.expertise-list {
  display: flex;
  flex-direction: column;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid #eaeaea; /* Subtle border separating items */
  transition: transform 0.2s ease;
}

.feature-item:first-child {
  padding-top: 0; /* Align top item with left heading */
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: #b83821; /* Uses your signature accent color */
  font-family: monospace, sans-serif;
  line-height: 1.4;
}

.feature-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: #222222;
}

.feature-content p {
  margin: 0;
  color: #313131;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* RESPONSIVE: Stack on mobile */
@media (max-width: 868px) {
  .expertise-container {
    grid-template-columns: 1fr; /* Stack vertically on phones/tablets */
    gap: 2.5rem;
  }

  .expertise-intro {
    position: static;
  }
}
.highlight {
  font-family: "Libre Baskerville", serif;
  color: #b83821;
  font-size: 2rem;
}
p {
  color: #1e1b4b;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-top: 1rem;
  font-family: "Inter";
}
.footer {
  text-align: center;
  /*background: #b9e1dc;*/
  background: linear-gradient(to bottom, #f6f4f3 0%, #fcb69f 100%);
}
a {
  text-decoration: none;
  color: #d34931;
}
.icon-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  font-family:
    Libre Baskerville,
    serif;
  color: #b83821;
}
.col {
  padding-top: 15px;
  text-align: center;
}
.icon {
  border: 6px solid #756c83;
  border-radius: 8px;
  width: 80px;
  height: 80px;
}
.icon-text {
  display: block;
  margin-top: 10px;
}
.impressum-container {
  max-width: 1000px;
  margin: 80px auto;
  text-align: left;
  /*background: #b9e1dc;*/
  background: linear-gradient(to bottom, #f6f4f3 0%, #fcb69f 100%);
  border-radius: 10px;
}
.impressum-h3 {
  font-size: 1.2rem;
}
.text-impressum {
  text-align: left;
  font-size: 1rem;
}
.impressum-title {
  font-size: 1.1rem;
  margin-top: 30px;
}
.impressum {
  font-size: 1rem;
  margin-top: 5px;
}
.legal-container {
  max-width: 1000px;
  margin: 80px auto;
  text-align: left;
  /*background: #b9e1dc;*/
  background: linear-gradient(to bottom, #f6f4f3 0%, #fcb69f 100%);
  border-radius: 10px;
}
.legal-h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.legal-h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.legal-h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: -5px;
}
.legal-text {
  font-size: 1rem;
  margin-bottom: 15px;
}
