/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #222831;
  color: #DFD0B8;
  line-height: 1.6;
}

/* Navbar (same as before) */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: #222831;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 70px;
  width: auto;
}

.logo span {
  font-size: 1.3rem;
  font-weight: 700;
  color: #DFD0B8;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav ul li a {
  text-decoration: none;
  color: #DFD0B8;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #948979;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #948979;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #DFD0B8;
}

/* =========================
   Contact Page
   ========================= */
.contact-page {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
}

.contact-card {
  background: #393E46;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 700px;
  text-align: center;

  /* Animation */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInCard 1s forwards ease-out;
}

@keyframes fadeInCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-title h1 {
  font-size: 2.5rem;
  color: #DFD0B8;
  margin-bottom: 15px;

  /* Bounce animation */
  animation: bounceTitle 0.8s ease forwards;
}

.contact-title h1 span {
  color: #948979;
}

@keyframes bounceTitle {
  0% { transform: translateY(-20px); opacity: 0; }
  60% { transform: translateY(10px); opacity: 1; }
  100% { transform: translateY(0); }
}

.contact-title p {
  font-size: 1rem;
  color: #BDB8AC;
  margin-bottom: 30px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  background-color: #222831;
  color: #DFD0B8;
  font-size: 1rem;
  resize: none;

  /* Focus animation */
  transition: 0.3s ease, transform 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #BDB8AC;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border: 2px solid #948979;
  transform: scale(1.02);
}

.contact-form button {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  background-color: #948979;
  color: #222831;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #DFD0B8;
  transform: translateY(-3px);
}

/* Footer */
.footer {
  background-color: #252323;
  color: #FFFFFF;
  padding: 40px 20px;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-section p,
.footer-section li a {
  color: #CBD5E1;
  line-height: 1.8;
  text-decoration: none;
}

.footer-section ul {
  list-style: none;
}

.social-icons {
  display: flex;
  gap: 15px;
  font-size: 20px;
}

.social-icons a {
  color: #CBD5E1;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #00ADB5;
}

hr {
  border-color: #393E46;
  margin: 30px 0;
}

.footer-copy {
  text-align: center;
  color: #AAAAAA;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  nav ul {
    display: none;
    flex-direction: column;
    gap: 15px;
    background-color: #222831;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 20px;
    border-radius: 8px;
  }

  nav ul.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .contact-card {
    padding: 30px 20px;
  }

  .contact-title h1 {
    font-size: 2rem;
  }

  .contact-title p {
    font-size: 0.95rem;
  }
}

@media (max-width: 500px) {
  .contact-card {
    padding: 20px;
  }

  .contact-title h1 {
    font-size: 1.6rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
  }

  .contact-form button {
    font-size: 0.9rem;
  }
}


/* Mobile nav menu */
@media (max-width: 900px) {
  nav ul {
    display: none;
    flex-direction: column;
    gap: 15px;
    background-color: #222831;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 20px;
    border-radius: 8px;
    z-index: 1000; /* Add this */
  }

  nav ul.active {
    display: flex;
  }
}
