* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.4s ease,
              color 0.4s ease,
              border-color 0.4s ease;
}

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #111;
  transition: background 0.4s ease, color 0.4s ease;
}

::selection {
  background: #111;
  color: white;
}

.dark ::selection {
  background: #F5F1EB;
  color: #111;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: fixed;
  width: 100%;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  z-index: 2500;
}

.dark .navbar {
  background: rgba(15,15,15,0.8);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
}

.desktop-nav {
  display: flex;
  align-items: center;
}

nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #111;
  font-family: 'Playfair Display', serif;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.dark nav a {
  color: #F5F1EB;
}

.theme-btn {
  border: 1px solid #111;
  background: transparent;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  margin-left: 30px;
  margin-top: -5px;
  border-radius: 20px;
  color: #111;
  transition: all 0.3s ease;
}

.theme-btn:hover {
  background: #111;
  color: #fff;
}

.dark .theme-btn {
  border-color: #F5F1EB;
  color: #F5F1EB;
}

.dark .theme-btn:hover {
  background: #F5F1EB;
  color: #111;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 3001;
  position: relative;
}

.menu-toggle.active {
  transform: rotate(90deg);
}


.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 2000;
}

.menu-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

body.menu-open #page-content {
  filter: blur(6px);
  transform: scale(0.98);
  pointer-events: none;
  transition: filter 0.3s ease, transform 0.3s ease;
} 


.mobile-nav {
  display: none;
}


section {
  padding: 120px 40px;
}

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  width: 100%;
  padding: 0 40px;
  max-width: 1200px;
  margin: auto;
}

.hero-content {
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
  flex: 1;
  min-width: 300px;
}

.hero h2 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: -2px;
  max-width: 600px;
  font-family: 'Playfair Display', serif;
}

.hero p {
  margin: 20px 0;
  color: #555;
  max-width: 500px;
}

.dark .hero p {
  color: #aaa;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.dark .hero-image img {
  content: url("render_1920x1080_inverted.png");
}


.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #111;
  text-decoration: none;
  color: #111;
  transition: all 0.3s ease;
  border-radius: 999px;
}

.btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.98);
}

.dark .btn {
  border-color: #F5F1EB;
  color: #F5F1EB;
}

.dark .btn:hover {
  background: #F5F1EB;
  color: #0F0F0F;
}


.about {
  padding: 80px 40px;
  max-width: 800px;
}

.about h3 {
  font-size: 38px;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.about p {
  color: #555;
  line-height: 1.7;
  font-size: 20px;
}

.dark .about p {
  color: #aaa;
}


.work {
  padding: 80px 40px;
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #f8f8f8;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.4s ease,
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  cursor: pointer;
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: rgba(255,255,255,0.2);
}

.card img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  display: block;
  background: #f3f3f3;
  padding: 10px;
  transition: transform 0.6s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.1),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.card:hover::before {
  opacity: 1;
}

.card-content {
  position: relative;
  padding: 22px;
  z-index: 2;
  margin-top: auto;
  text-align: center;
  transition: transform 0.4s ease;
}

.card:hover .card-content {
  transform: translateY(-4px);
}

.card-content h4 {
  font-size: 24px;
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
  color: #111;
  transition: color 0.3s ease;
}

.card-content p {
  color: #666;
  font-size: 15px;
  transition: color 0.3s ease;
}

.card:hover .card-content h4,
.card:hover .card-content p {
  color: white;
}

.card-btn {
  margin-top: 18px;
  padding: 10px 18px;
  border: 1px solid #111;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.card-btn a {
  text-decoration: none;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s ease;
}

.card-btn:hover {
  background: #111;
  transform: translateY(-2px);
}

.card-btn:hover a {
  color: #fff;
}

.card-btn:active {
  transform: scale(0.97);
}

.dark .card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.06);
}

.dark .card img {
  background: #0f0f0f;
}

.dark .card-content h4 {
  color: #F5F1EB;
}

.dark .card-content p {
  color: #b8b8b8;
}

.dark .card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.1);
}

.dark .card-btn {
  border-color: #F5F1EB;
  background: transparent;
}

.dark .card-btn a {
  color: #F5F1EB;
}

.dark .card-btn:hover {
  background: #F5F1EB;
}

.dark .card-btn:hover a {
  color: #111;
}


.services {
  padding: 80px 40px;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 40px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  overflow: hidden;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 36px 32px;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.06);
  transition: background 0.3s ease, transform 0.3s ease;
  position: relative;
  cursor: default;
}

.service-card:hover {
  background: #fff;
  transform: scale(1.01);
  z-index: 1;
}

.service-card-number {
  font-size: 12px;
  letter-spacing: 2px;
  color: #bbb;
  min-width: 28px;
  padding-top: 4px;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s ease;
}

.service-card:hover .service-card-number {
  color: #888;
}

.service-card-body {
  flex: 1;
}

.service-card-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 10px;
  color: #111;
  transition: color 0.3s ease;
}

.service-card-body p {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
  transition: color 0.3s ease;
}

.service-card-arrow {
  font-size: 20px;
  color: #ccc;
  transition: transform 0.3s ease, color 0.3s ease;
  padding-top: 2px;
}

.service-card:hover .service-card-arrow {
  transform: translateX(4px);
  color: #111;
}

.dark .service-cards {
  border-color: rgba(255,255,255,0.06);
}

.dark .service-card {
  background: #0d0d0d;
  border-color: rgba(255,255,255,0.05);
}

.dark .service-card:hover {
  background: #141414;
}

.dark .service-card-body h4 {
  color: #F5F1EB;
}

.dark .service-card-body p {
  color: #777;
}

.dark .service-card:hover .service-card-body p {
  color: #aaa;
}

.dark .service-card:hover .service-card-arrow {
  color: #F5F1EB;
}


.process {
  padding: 80px 40px;
}

.steps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.steps div {
  flex: 1;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
  color: #555;
  transition: all 0.3s ease;
  position: relative;
}

.steps div::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0%;
  height: 1px;
  background: #111;
  transition: width 0.35s ease;
}

.steps div:hover {
  color: #111;
  padding-left: 6px;
}

.steps div:hover::after {
  width: 100%;
}

.dark .steps div {
  border-bottom-color: rgba(255,255,255,0.12);
  color: #888;
}

.dark .steps div::after {
  background: #F5F1EB;
}

.dark .steps div:hover {
  color: #F5F1EB;
}


.testimonials {
  padding: 80px 40px;
}

.testimonials h3 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  margin-bottom: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 20px;
  background: #fafafa;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.testimonial-quote {
  font-size: 32px;
  line-height: 1;
  color: #ddd;
  font-family: 'Playfair Display', serif;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.75;
  color: #555;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 500;
  color: #111;
}

.testimonial-role {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

.dark .testimonial-card {
  background: #0d0d0d;
  border-color: rgba(255,255,255,0.06);
}

.dark .testimonial-card:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.dark .testimonial-quote {
  color: #333;
}

.dark .testimonial-text {
  color: #888;
}

.dark .testimonial-name {
  color: #F5F1EB;
}

.dark .testimonial-avatar {
  background: #1a1a1a;
  color: #666;
}


.cta {
  padding: 100px 40px;
  text-align: center;
}

.cta h3 {
  font-size: clamp(28px, 4vw, 48px);
  font-family: 'Playfair Display', serif;
  margin-bottom: 28px;
}


footer {
  text-align: center;
  padding: 30px;
  font-size: 14px;
  color: #777;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.dark footer {
  color: #aaa;
  border-top-color: rgba(255,255,255,0.08);
}


.dark {
  background: #000000;
  color: #F5F1EB;
}


.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.fade {
  animation: fadeIn 0.4s ease;
}

.fade-icon {
  opacity: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0.6; transform: scale(0.995); }
  to   { opacity: 1;   transform: scale(1); }
}


@media (max-width: 768px) {

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .navbar {
    padding: 20px 24px;
  }

  .hero-container {
    flex-direction: column;
    text-align: left;
    padding: 0 24px;
  }

  .hero {
    padding: 0;
  }

  .hero h2 {
    margin-top: 100px;
    text-align: center;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-image {
    margin-top: 30px;
  }

  .hero-image img {
    max-width: 100%;
  }

  .projects {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .card {
    min-height: 300px;
  }

  .card img {
    height: 200px;
  }

  .card-content h4 {
    font-size: 22px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px 24px;
  }

  .steps {
    flex-direction: column;
  }

  .work,
  .services,
  .process,
  .cta {
    padding: 60px 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials {
    padding: 60px 20px;
  }

      
  .mobile-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 55%;
    height: 100vh;

    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
    gap: 0;

    background: rgba(252,252,252,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    box-shadow: -20px 0 80px rgba(0,0,0,0.12);
    border-left: 1px solid rgba(0,0,0,0.06);

    transform: translateX(40px);
    opacity: 0;

    transition:
      right 0.5s cubic-bezier(0.76, 0, 0.24, 1),
      transform 0.5s cubic-bezier(0.76, 0, 0.24, 1),
      opacity 0.4s ease;

    z-index: 3000;
  }

  .mobile-nav.active {
    right: 0;
    transform: translateX(0);
    opacity: 1;
  }

  .mobile-nav::before {
    content: "RENDERÉ";
    position: absolute;
    top: 40px;
    left: 40px;
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    letter-spacing: 4px;
    color: rgba(0,0,0,0.2);
  }

  .mobile-nav::after {
    content: "© 2026";
    position: absolute;
    bottom: 40px;
    left: 40px;
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(0,0,0,0.15);
    font-family: 'Inter', sans-serif;
  }

  .mobile-nav a {
    margin: 0;
    font-size: 28px;
    font-family: 'Playfair Display', serif;
    color: rgba(0,0,0,0.75);
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateX(16px);
    transition:
      color 0.3s ease,
      padding-left 0.3s ease,
      opacity 0.4s ease,
      transform 0.4s ease;
  }

  .mobile-nav.active a:nth-child(1) { opacity: 1; transform: translateX(0); transition-delay: 0.15s; }
  .mobile-nav.active a:nth-child(2) { opacity: 1; transform: translateX(0); transition-delay: 0.20s; }
  .mobile-nav.active a:nth-child(3) { opacity: 1; transform: translateX(0); transition-delay: 0.25s; }
  .mobile-nav.active a:nth-child(4) { opacity: 1; transform: translateX(0); transition-delay: 0.30s; }

  .mobile-nav a::after {
    content: "↗";
    font-size: 14px;
    color: rgba(0,0,0,0.2);
    transition: color 0.3s ease, transform 0.3s ease;
    font-family: 'Inter', sans-serif;
  }

  .mobile-nav a:hover {
    color: #111;
    padding-left: 6px;
  }

  .mobile-nav a:hover::after {
    color: rgba(0,0,0,0.6);
    transform: translate(2px, -2px);
  }

  .mobile-nav a:last-of-type {
    border-bottom: none;
  }

  .mobile-nav .theme-btn {
    margin-left: 0;
    margin-top: 28px;
    border-color: rgba(0,0,0,0.2);
    color: rgba(0,0,0,0.5);
    font-size: 13px;
    opacity: 0;
    transform: translateX(16px);
    transition: all 0.3s ease,
                opacity 0.4s ease 0.35s,
                transform 0.4s ease 0.35s;
  }

  .mobile-nav.active .theme-btn {
    opacity: 1;
    transform: translateX(0);
  }

  .mobile-nav .theme-btn:hover {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.4);
    color: #111;
  }

      
  .dark .mobile-nav {
    background: rgba(8,8,8,0.97);
    box-shadow: -20px 0 80px rgba(0,0,0,0.6);
    border-left-color: rgba(255,255,255,0.05);
  }

  .dark .mobile-nav::before {
    color: rgba(255,255,255,0.2);
  }

  .dark .mobile-nav::after {
    color: rgba(255,255,255,0.15);
  }

  .dark .mobile-nav a {
    color: rgba(255,255,255,0.85);
    border-bottom-color: rgba(255,255,255,0.06);
  }

  .dark .mobile-nav a::after {
    color: rgba(255,255,255,0.2);
  }

  .dark .mobile-nav a:hover {
    color: #ffffff;
  }

  .dark .mobile-nav a:hover::after {
    color: rgba(255,255,255,0.7);
  }

  .dark .mobile-nav .theme-btn {
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
  }

  .dark .mobile-nav .theme-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
  }
}