/* --------------------- */
/* Global / Body Reset    */
/* --------------------- */
html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* --------------------- */
/* Navbar Styles          */
/* --------------------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;                          /* explicit navbar height */
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: black;
  z-index: 100;
  font-family: Arial, Helvetica, sans-serif;  /* ONLY navbar font */
  font-size: 1.2rem;
  font-weight: bold;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-left: 30px;
}

.navbar a, .dropdown-btn {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.navbar a:hover, .dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
  text-align: center;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0,0,0,0.85);
  min-width: 450px;
  z-index: 101;
  border-radius: 4px;
  overflow: hidden;
  flex-direction: column;
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: white;
  text-decoration: none;
  text-align: left;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.dropdown:hover .dropdown-content {
  display: flex;
}

/* Social buttons */
.social-buttons {
  margin-left: auto;   /* pushes icons to the right */
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 25px;
}

.linkedin-btn, .github-btn, .email-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
}

.linkedin-btn img, .github-btn img, .email-btn img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.linkedin-btn:hover img, .github-btn:hover img, .email-btn:hover img {
  transform: scale(1.1);
  opacity: 1;
}

/* --------------------- */
/* Main Content */
/* --------------------- */
.contact-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  font-family: 'Roboto', 'Segoe UI', sans-serif;
  background-color: #121212;
  color: #f5f5f5;
  line-height: 1.7;
}

/* Container */
.contact-container {
  width: 100%;
  max-width: 700px;
  background: #1a1a1a;
  padding: 60px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Headings */
.contact-container h1 {
  font-size: 2.6rem;
  color: #ffcc00;
  margin-bottom: 15px;
}

.contact-container p {
  color: #ccc;
  margin-bottom: 40px;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  color: #ddd;
}

/* Inputs */
input,
textarea {
  margin-top: 8px;
  padding: 14px;
  background-color: #121212;
  border: 1px solid #333;
  border-radius: 8px;
  color: #f5f5f5;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #ffcc00;
}

/* Button */
button {
  margin-top: 15px;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  background-color: #ffcc00;
  color: #121212;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background-color: #e6b800;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success h3 {
  color: #ffcc00;
  font-size: 2rem;
  margin-bottom: 15px;
}

.form-success p {
  color: #ccc;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 600px) {
  .contact-container {
    padding: 40px 25px;
  }

  .contact-container h1 {
    font-size: 2.1rem;
  }
}
