:root {
  --bg: #0f0f0f;
  --text: #dbdbdb;
  --accent: #a08963;
  --highlight: #c9b194;
  --card-bg: #1a1a1a;
  --border: #2a2a2a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ===== Header ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 50px;
  background-color: rgba(0, 0, 0, 0.25);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  filter: brightness(200%);
}

.logo h1 {
  font-size: 1.3rem;
  letter-spacing: 2px;
  color: var(--highlight);
}

/* ===== Nav ===== */
nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  transition: right 0.3s ease;
}

nav ul li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--highlight);
  text-shadow: 0 0 6px rgba(201, 177, 148, 0.6);
}

/* ===== Hamburger ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  cursor: pointer;
  z-index: 200;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--text);
  border-radius: 3px;
  transition: 0.3s ease;
}

/* ===== Contact Section ===== */
.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding: 140px 20px 80px;
  min-height: calc(100vh - 60px);
  width: 100%;
}

.contact-container {
  background: var(--card-bg);
  padding: 50px 45px;
  border-radius: 20px;
  max-width: 650px;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease forwards;
  position: relative;
}

.contact-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--highlight), transparent);
  opacity: 0.4;
}

.contact-container h2 {
  font-size: 2.4rem;
  color: var(--highlight);
  margin-bottom: 16px;
  font-weight: 600;
}

.contact-container > p {
  margin-bottom: 35px;
  color: var(--text);
  opacity: 0.8;
  font-size: 1rem;
  line-height: 1.6;
}

/* Email Link */
.contact-container p a {
  color: var(--highlight);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-container p a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ===== Alert Messages ===== */
#successMessage,
#errorMessage {
  padding: 18px 24px;
  border-radius: 12px;
  margin-bottom: 30px;
  font-size: 15px;
  font-weight: 500;
  animation: slideIn 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#successMessage {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}

#errorMessage {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

/* ===== Form ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  margin-top: 10px;
}

.form-group {
  width: 100%;
  position: relative;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(15, 15, 15, 0.6);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(219, 219, 219, 0.4);
  font-weight: 400;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--highlight);
  background: rgba(15, 15, 15, 0.8);
  box-shadow: 0 0 0 3px rgba(201, 177, 148, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
  max-height: 300px;
  line-height: 1.6;
}

/* ===== Submit Button ===== */
.btn-send {
  background: var(--highlight);
  color: #000;
  font-weight: 600;
  font-size: 16px;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 4px 15px rgba(201, 177, 148, 0.2);
}

.btn-send:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 177, 148, 0.3);
}

.btn-send:active {
  transform: translateY(-1px);
}

.btn-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-send i {
  width: 18px;
  height: 18px;
}

/* ===== Contact Socials ===== */
.contact-socials {
  margin-top: 40px;
  padding-top: 35px;
  border-top: 1px solid rgba(160, 137, 99, 0.15);
  display: flex;
  justify-content: center;
  gap: 16px;
}

.contact-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(160, 137, 99, 0.08);
  border: 1px solid rgba(160, 137, 99, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.contact-socials a:hover {
  background: rgba(160, 137, 99, 0.15);
  transform: translateY(-3px);
  border-color: var(--highlight);
}

.contact-socials a i {
  width: 22px;
  height: 22px;
  stroke: var(--highlight);
  transition: all 0.3s ease;
}

.contact-socials a:hover i {
  stroke: var(--text);
  transform: scale(1.1);
}

/* ===== Footer ===== */
footer {
  background: rgba(0, 0, 0, 0.25);
  padding: 10px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .socials {
  margin-top: 6px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

footer .socials i[data-lucide] {
  width: 20px;
  height: 20px;
  stroke: var(--highlight);
  transition: 0.3s;
}

footer .socials a:hover i[data-lucide] {
  stroke: var(--text);
  transform: scale(1.1);
}

footer .socials a {
  color: var(--highlight);
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}

footer .socials a:hover {
  color: var(--text);
  transform: scale(1.2);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  header {
    padding: 18px 25px;
  }

  .hamburger {
    display: flex;
  }

  nav ul {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    height: 100vh;
    width: 240px;
    gap: 25px;
    transition: right 0.4s ease;
  }

  nav ul.show {
    right: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .contact {
    padding: 100px 20px 60px;
  }

  .contact-container {
    padding: 40px 30px;
    border-radius: 20px;
  }

  .contact-container h2 {
    font-size: 2.2rem;
  }

  .contact-container > p {
    font-size: 0.95rem;
  }

  .contact-socials {
    gap: 14px;
  }

  .contact-socials a {
    width: 46px;
    height: 46px;
  }

  .btn-send {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-container {
    padding: 35px 25px;
  }

  .contact-container h2 {
    font-size: 1.9rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 14px 16px;
    font-size: 14px;
  }

  .btn-send {
    font-size: 15px;
    padding: 14px 32px;
  }
}