/* Zain Font Imports */
@font-face {
  font-family: 'Zain-Black';
  src: url('../fonts/Zain-Black-BF66ac52d77ca46.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Zain-Bold';
  src: url('../fonts/Zain-Bold-BF66ac52d79a893.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Zain-ExtraBold';
  src: url('../fonts/Zain-ExtraBold-BF66ac52d7dd4b3.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Zain-ExtraLight';
  src: url('../fonts/Zain-ExtraLight-BF66ac52d83dd47.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Zain-Italic';
  src: url('../fonts/Zain-Italic-BF66ac52d836794.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'Zain-Light';
  src: url('../fonts/Zain-Light-BF66ac52d83384b.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Zain-LightItalic';
  src: url('../fonts/Zain-LightItalic-BF66ac52d84f25c.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'Zain-Regular';
  src: url('../fonts/Zain-Regular-BF66ac52d73eb10.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

body, html {
  height: 100%;
  overflow-x: hidden;
}

html {
  scroll-padding-top: 2rem;
}

/* Scrollbar Styling für bessere Sichtbarkeit */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #2a1f16;
}

::-webkit-scrollbar-thumb {
  background: #e5994c;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d88a3e;
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #e5994c #2a1f16;
}

/* Main container with fixed background */
.firat-projects {
  width: 100%;
  min-height: 100vh;
  background: #3d3024 fixed;
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
  padding: 2rem 1rem;
}

/* Remove redundant background rectangle */
.rectangle-6387 {
  display: none;
}

/* Main content container */
.projects-site {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: center;
  justify-content: flex-start;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.projects-frame {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Title section */
.titel {
  display: flex;
  flex-direction: row;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.projekte {
  color: #e5994c;
  text-align: center;
  font-family: "Zain-Black", sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  filter: drop-shadow(0 0 0.5rem rgb(255, 123, 0));
  line-height: 1.1;
}

.titel-projecte {
  width: clamp(2rem, 6vw, 4rem);
  height: clamp(2rem, 6vw, 4rem);
  object-fit: cover;
  filter: drop-shadow(0 0 0.5rem rgb(255, 123, 0));
}

/* Social media links container */
.socialmedia-links {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 900px;
}

/* Project cards */
.project {
  background: rgba(229, 153, 76, 0.28);
  border-radius: 1rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 900px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(229, 153, 76, 0.3);
  transition: all 0.3s ease;
}

.project:hover {
  background: rgba(229, 153, 76, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Project info */
.project-info {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  text-align: center;
}

.project-logo {
  border-radius: 2rem;
  width: clamp(3rem, 8vw, 5rem);
  height: clamp(3rem, 8vw, 5rem);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

._9-m-08-a-vz-1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.titel2 {
  color: #f0e6d2;
  text-align: center;
  font-family: "Zain-Black", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
}

.text-description {
  color: #9a9a9a;
  text-align: center;
  font-family: "Zain-Bold", sans-serif;
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  font-weight: 700;
  line-height: 1.4;
  max-width: 100%;
}

/* Buttons */
.buttons {
  display: flex;
  flex-direction: row;
  gap: clamp(0.5rem, 2vw, 1rem);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.discord-button,
.connect-button {
  background: #e5994c;
  border-radius: 0.75rem;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.discord-button:hover,
.connect-button:hover {
  background: #d4863d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 153, 76, 0.4);
}

.button {
  background: rgba(229, 153, 76, 0.22);
  border-radius: 0.75rem;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.button:hover {
  background: #e5994c;
  transform: scale(1.05);
  box-shadow: 0 0 1rem 0.3rem rgba(255, 128, 0, 0.3);
}

.text {
  display: flex;
  flex-direction: row;
  gap: clamp(0.5rem, 1vw, 0.75rem);
  align-items: center;
  justify-content: center;
}

.button-text {
  color: #ffffff;
  text-align: center;
  font-family: "Zain-Black", sans-serif;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 900;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Image frame */
.image-frame {
  width: 100%;
  max-width: 800px;
  position: relative;
}

.image-and-bg {
  background: rgba(229, 153, 76, 0.22);
  border-radius: 0.75rem;
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(229, 153, 76, 0.3);
}

.image-1 {
  border-radius: 0.5rem;
  width: calc(100% - 1rem);
  height: calc(100% - 1rem);
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  object-fit: cover;
}

.image-next-previous {
  background: rgba(229, 153, 76, 0.22);
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  bottom: -2.5rem;
  transform: translateX(-50%);
  backdrop-filter: blur(5px);
}

.previous-image,
.next-image {
  border-radius: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.previous-image:hover,
.next-image:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Footer */
.footer {
  background: rgba(229, 153, 76, 0.28);
  border-radius: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(229, 153, 76, 0.3);
}

.cookie-image {
  width: clamp(2.5rem, 6vw, 4rem);
  height: clamp(2.5rem, 6vw, 4rem);
  object-fit: cover;
}

.text-description2 {
  color: #e5994c;
  text-align: center;
  font-family: "Zain-Black", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  font-weight: 900;
}

.text-description3 {
  color: #9a9a9a;
  text-align: center;
  font-family: "Zain-Bold", sans-serif;
  font-size: clamp(0.8rem, 2vw, 1rem);
  line-height: 1.4;
  font-weight: 700;
  max-width: 90%;
}

.frame-17 {
  display: flex;
  flex-direction: row;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.link-impressum {
  display: flex;
  flex-direction: row;
  gap: 0.3rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.link-impressum:hover {
  color: #e5994c;
  transform: translateY(-1px);
}

.impressum-icon {
  width: 0.6rem;
  height: 0.7rem;
}

.text-description4 {
  color: #9a9a9a;
  text-align: center;
  font-family: "Zain-Regular", sans-serif;
  font-size: clamp(0.7rem, 1.8vw, 0.9rem);
  line-height: 1.4;
  font-weight: 400;
  transition: all 0.3s ease;
}

.datenschutz-icon {
  width: 0.7rem;
  height: 0.8rem;
}

.vector {
  width: 1rem;
  height: 0.9rem;
}

.frame-18 {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.text-description5 {
  color: #9a9a9a;
  text-align: center;
  font-family: "Zain-Regular", sans-serif;
  font-size: clamp(0.65rem, 1.6vw, 0.8rem);
  line-height: 1.4;
  font-weight: 400;
}

.cookie-image2 {
  width: 0.8rem;
  height: 0.8rem;
  object-fit: cover;
}

/* Responsive breakpoints */

/* Tablet styles */
@media (max-width: 768px) {
  .firat-projects {
    padding: 1rem 0.75rem;
  }
  
  .projects-site {
    gap: clamp(2rem, 6vw, 4rem);
    padding: clamp(1.5rem, 4vw, 3rem) 0;
  }
  
  .titel {
    flex-direction: column;
    gap: 1rem;
  }
  
  .project {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    gap: clamp(1.5rem, 4vw, 3rem);
  }
  
  .buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .discord-button,
  .connect-button,
  .button {
    width: 100%;
    max-width: 250px;
  }
  
  .image-frame {
    max-width: 100%;
  }
  
  .image-next-previous {
    bottom: -3rem;
  }
}

/* Mobile styles */
@media (max-width: 480px) {
  .firat-projects {
    padding: 0.75rem 0.5rem;
  }
  
  .projects-site {
    gap: clamp(1.5rem, 5vw, 3rem);
    padding: clamp(1rem, 3vw, 2rem) 0;
  }
  
  .project {
    padding: clamp(1rem, 3vw, 2rem);
    gap: clamp(1rem, 3vw, 2rem);
    border-radius: 0.75rem;
  }
  
  .project-info {
    gap: 1rem;
  }
  
  .text-description {
    font-size: clamp(0.8rem, 2.2vw, 1rem);
    line-height: 1.5;
    padding: 0 0.5rem;
  }
  
  .buttons {
    gap: 0.75rem;
  }
  
  .footer {
    padding: clamp(0.75rem, 2.5vw, 1.5rem);
    border-radius: 0.75rem;
  }
  
  .frame-17 {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .text-description4,
  .text-description5 {
    font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  }
}

/* Extra small mobile */
@media (max-width: 320px) {
  .firat-projects {
    padding: 0.5rem 0.25rem;
  }
  
  .project {
    padding: 1rem;
    gap: 1rem;
  }
  
  .projekte {
    font-size: clamp(2rem, 7vw, 3rem);
  }
  
  .titel-projecte {
    width: clamp(1.5rem, 5vw, 2.5rem);
    height: clamp(1.5rem, 5vw, 2.5rem);
  }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .firat-projects {
    min-height: 100vh;
  }
  
  .projects-site {
    padding: 2rem 0;
  }
  
  .projekte {
    font-size: clamp(2rem, 6vw, 4rem);
  }
}

/* High resolution displays */
@media (min-width: 1400px) {
  .projects-site {
    max-width: 1400px;
  }
  
  .project,
  .footer {
    max-width: 1100px;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .project:hover {
    transform: none;
  }
  
  .button:hover {
    transform: none;
  }
}

/* @media (prefers-color-scheme: dark) {
  .firat-projects {
    background: #2a1f1a;
  }
}

@media print {
  .firat-projects {
    background: white !important;
    color: black !important;
  }
  
  .projekte {
    color: #333 !important;
    filter: none !important;
  }
  
  .project {
    background: #f5f5f5 !important;
    border: 1px solid #ccc !important;
  }
} */