* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.4s ease,
              color 0.4s ease,
              border-color 0.4s ease;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #111;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: fixed;
  width: 100%;
  z-index: 2000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.8);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
}

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%;
}

.theme-btn {
  border: 1px solid #111;
  background: transparent;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  margin-left: 30px;
  border-radius: 999px;
}

.theme-btn:hover {
  background: #111;
  color: #fff;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  z-index: 3500;
}


.contact-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 40px 80px;
  text-align: center;
}

.contact-hero h1 {
  font-size: clamp(52px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -3px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
}

.contact-hero p {
  max-width: 700px;
  margin: auto;
  color: #666;
  line-height: 1.8;
  font-size: 18px;
}


.contact-page {
  padding: 60px 40px 120px;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-label {
  letter-spacing: 3px;
  font-size: 12px;
  color: #777;
  margin-bottom: 18px;
}

.contact-info h2 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  font-family: 'Playfair Display', serif;
  margin-bottom: 25px;
}

.contact-text {
  color: #666;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 500px;
}

.contact-details span {
  font-size: 13px;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
}

.contact-details p {
  margin-top: 6px;
  font-size: 18px;
}

.contact-details a {
  font-size: 18px;
  color: black;
}

.dark .contact-details a {
  color: white;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fafafa;
  border-radius: 16px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #111;
  background: #fff;
  transform: translateY(-2px);
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.btn {
  width: fit-content;
  padding: 14px 30px;
  border: 1px solid #111;
  border-radius: 999px;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #111;
  color: #fff;
}

footer {
  text-align: center;
  padding: 40px;
  color: #777;
  border-top: 1px solid rgba(0,0,0,0.08);
}


.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}


.dark {
  background: #000;
  color: #F5F1EB;
}

.dark .navbar {
  background: rgba(15,15,15,0.85);
}

.dark nav a {
  color: #F5F1EB;
}

.dark .theme-btn {
  border-color: #F5F1EB;
  color: #F5F1EB;
}

.dark .theme-btn:hover {
  background: #F5F1EB;
  color: #111;
}


.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: 1500;
}

.menu-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

body.menu-open #page-content {
  filter: blur(6px);
  transform: scale(0.98);
  pointer-events: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 50%;
  height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
  padding: 40px;

  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  box-shadow: -10px 0 40px rgba(0,0,0,0.08);

  transform: translateX(40px);
  opacity: 0;

  transition:
    right 0.45s ease,
    transform 0.45s ease,
    opacity 0.35s ease;

  z-index: 3000;
}

.mobile-nav.active {
  right: 0;
  transform: translateX(0);
  opacity: 1;
} 

.dark .mobile-nav {
  background: rgba(15,15,15,0.92);
}

.contact-form textarea {
  background: #fafafa;
  color: #111;
  border: 1px solid rgba(0,0,0,0.08);
}

.contact-form textarea::placeholder {
  color: #888;
}

.contact-form textarea:focus {
  background: #ffffff;
  border-color: #111;
  color: #111;
}


.contact-form input,
.contact-form textarea {
  background: #f6f6f6;
  color: #111;
  border: 1px solid rgba(0,0,0,0.10);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #ffffff;
  border-color: #111;
  color: #111;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.dark .btn{
  color: white;
  border-color: white;
}
.dark .btn:hover{
  color: rgb(0, 0, 0);
  border-color: white;
  background:white;
}
.dark .contact-form input,
.dark .contact-form textarea {
  background: #121212;
  color: #F5F1EB;
  border: 1px solid rgba(255,255,255,0.12);
}

.dark .contact-form input::placeholder,
.dark .contact-form textarea::placeholder {
  color: #8a8a8a;
}

.dark .contact-form input:focus,
.dark .contact-form textarea:focus {
  background: #1a1a1a;
  border-color: #F5F1EB;
  color: #F5F1EB;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.contact-form input,
.contact-form textarea {
  transition: all 0.25s ease;
}
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    z-index: 3001;
    position: relative;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .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(8,8,8,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  box-shadow: -20px 0 80px rgba(0,0,0,0.6);
  border-left: 1px solid rgba(255,255,255,0.05);

  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(255,255,255,0.2);
}

.mobile-nav::after {
  content: "© 2026";
  position: absolute;
  bottom: 40px;
  left: 40px;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.15);
  font-family: 'Inter', sans-serif;
}

.mobile-nav a {
  margin: 0;
  font-size: 28px;
  font-family: 'Playfair Display', serif;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: -0.5px;
  transition: color 0.3s ease, padding-left 0.3s ease;

    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.2s; }
.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.3s; }

.mobile-nav a::after {
  content: "↗";
  font-size: 14px;
  color: rgba(255,255,255,0.2);
  transition: color 0.3s ease, transform 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.mobile-nav a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.mobile-nav a:hover::after {
  color: rgba(255,255,255,0.7);
  transform: translate(2px, -2px);
}


.mobile-nav a:last-of-type {
  border-bottom: none;
}

.theme-btn {
  margin-left: 0;
  margin-top: 28px;
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  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);
}

.theme-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

  .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: 1000;
  }

  .menu-backdrop.active {
    opacity: 1;
    pointer-events: all;
  }

  body.menu-open #page-content {
    filter: blur(6px);
    transform: scale(0.98);
    pointer-events: none;
  }
 .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;
  }
}