/* ULTRA WIDE 2300px+ */

@media (min-width: 2300px) {

  .project-content h3 {
    font-size: 2.2rem;
  }

  .project-content p {
    font-size: 1.25rem;
  }

}

/* LARGE SCREEN SCALING 1680px */

@media (max-width: 1680px) {


  .project-content {
    flex: 0 0 33%;

    display: flex;

    flex-direction: column;
  }

  /* CONTENT */

  .project-content h3 {
    font-size: 2.2rem;

    line-height: 1.1;
  }

  .project-content p {
    font-size: clamp(1.32rem, 0.9vw, 1.5rem);

    line-height: 1.7;
  }

}

/* LARGE DESKTOP 1400px */

@media (max-width: 1400px) {

  .hero-content {
    gap: 60px;
  }

  /* CREATIVE LAYOUT BALANCE */

  .project-card {

    display: flex;

    flex-direction: column;
  }

  .project-content {
    flex: 1;

    display: flex;

    flex-direction: column;
  }

  /* CONTENT */

  .project-content h3 {
    font-size: 2rem;

    line-height: 1.1;
  }

  .project-content p {
    font-size: 1.2rem;

    line-height: 1.7;
  }
}

/* LAPTOP 1200px */

@media (max-width: 1200px) {

  .desktop-mockup {
    width: min(100%, 620px);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step::after {
    display: none;
  }

}

/* TABLET 1100px */

@media (max-width: 1100px) {

  /* NAVBAR */

  .navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .navbar-actions .btn-primary {
    display: none;
  }

  .nav-menu {
    position: fixed;

    top: 0;
    right: 0;

    transform: translateX(100%);

    width: 180px;
    height: 100vh;

    display: flex;

    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 32px;

    padding: 60px;

    background: var(--glass-white-strong);

    backdrop-filter: blur(var(--blur-glass));

    -webkit-backdrop-filter: blur(var(--blur-glass));

    transition: transform 0.35s ease;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 44px;
  height: 44px;

  gap: 5px;

  background: transparent;
  border: none;
  cursor: pointer;

  transform: translateX(3px);
}

.mobile-menu-btn .line {
  width: 22px;
  height: 2px;

  background: var(--primary);
  border-radius: 999px;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    width 0.3s ease;
}

.mobile-menu-btn.active .line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

  .navbar-container {
    display: flex;
    align-items: center;
  }

  .navbar-actions {
    margin-left: auto;
  }


  /* HERO LAYOUT */

  .hero-content {
    flex-direction: column;

    gap: 48px;
  }

  .hero-text {

    text-align: left;
  }

  .hero-buttons {
    justify-content: left;

    flex-wrap: wrap;
  }

  /*  HERO VISUAL */

  .hero-visual {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 24px;

    margin-top: 20px;

    overflow-x: clip;
    overflow-y: visible;
  }

  /* DESKTOP MOCKUP */

  .desktop-mockup {
    width: min(100%, 700px);

  }

  /* PORTFOLIO */

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-layout,
  .portfolio-layout-beauty,
  .portfolio-column {
    display: flex;

    flex-direction: column;

    gap: 2rem;
  }

/* KONTAKT */

.contact-layout {
    grid-template-columns: 1fr;

    gap: 4rem;
  }

  /* FOOTER */

  .footer-content {
    flex-direction: column;

    gap: 60px;
  }

/* ABOUT */

.about-layout {
  grid-template-columns: 1fr;

  gap: 48px;
}

.about-stats {
  grid-template-columns: 1fr;
}
}

/* MOBILE 768px */

@media (max-width: 768px) {

  /* ROOT */

  :root {
    --section-spacing: 60px;
  }

  /* NAVBAR */

  .navbar {
    padding: 18px 0;
  }

  /* MOBILE TYPOGRAPHY */

  h1,
  h2,
  h3 {
    font-weight: 600;

    letter-spacing: 0px;
  }

  /* HERO */

  .hero {
    padding-top: clamp(150px, 24vw, 190px);

    overflow-x: clip;
  }

  .hero-text {
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(1.4rem, 8vw, 3.2rem);

    line-height: 1;

    min-height: 4.8em;

    font-weight: 600;

    letter-spacing: 0px;

    overflow-wrap: anywhere;
  }

  .hero-description {
    font-size: 1rem;

    margin-inline: auto;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: stretch;
  }

  /* BUTTONS */

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  /* MOCKUPS */

  .desktop-mockup {
    max-width: 100%;
  }

  /* SECTION HEADERS */

  .section-header {
    text-align: left;

    margin-bottom: 80px;
  }

  .section-header h2 {
    font-size: clamp(2rem, 8vw, 3rem);

    line-height: 1.05;
  }

  .section-header p {
    margin-inline: auto;
  }

  /* SERVICES */

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 32px;

    text-align: left;
  }

  .service-card ul {
    align-items: left;
  }

  /* PORTFOLIO */

  .portfolio-group-header {
    text-align: start;
  }

  .portfolio-group-header p {
    margin-inline: auto;
  }

  .project-content {
    padding: 18px 24px 24px;

    text-align: left;
  }

  .project-content .project-tag,
  .project-tag {
    align-self: center;
  }

  .project-content h3 {
    font-size: 1.6rem;

    margin-bottom: 0.4rem;

    color: var(--text);
  }

  .project-content p {
    font-size: 0.95rem;

    color: var(--text-light);
  }

  /* PROCESS */

  .process-step {
    padding: 32px;

    text-align: left;
  }

  /* CTA */

  .cta-box {
    padding: 80px 40px;

    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
  }

  /* FOOTER */

  .footer {
    padding: 100px 0 50px;
  }

  .footer-content {
    width: 100%;
  }

  .footer-logo img {
    width: 160px;
  }

  .footer-contact {
    width: 100%;

    align-items: center;
  }

  .footer-contact a {
    font-size: 1rem;

    width: 100%;
    text-align: center;
  }

  .footer-description {
    max-width: 320px;

    margin-inline: auto;

    font-size: 0.95rem;

    line-height: 1.7;
  }

  .footer-copyright {
    font-size: 0.85rem;
  }

  /* KONTAKT */

  .contact-info,
  .contact-form-wrapper {
    text-align: center;
  }

  .contact-details {
    align-items: center;
  }
  /* COOKIES*/

  .cookie-content {
    flex-direction: column;

    align-items: stretch;

    text-align: center;
  }
  .cookie-buttons {
  width: 100%;

  flex-direction: column;
  }

  .live-demo-tooltip {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-card {
    min-height: auto;
  }
}

/* SMALL MOBILE 576px */

@media (max-width: 576px) {

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-badge {
    font-size: 0.7rem;
  }

  .service-card,
  .process-step {
    padding: 28px;
  }

  .process-number {
    width: 72px;
    height: 72px;

    font-size: 1.6rem;
  }

}