/* contact.css
   Page-specific styles for the Contact page.
   - Uses global tokens, typography (Century Gothic), footer, buttons, etc. from styles.css
   - Keeps only what is unique to the contact page
   - Removes duplicated variables, fonts, footer rules, etc.
*/

/* =========================================
   NAVBAR OVERRIDE FOR THIS PAGE
   (Contact page wants navbar solid, not transparent)
   ========================================= */
.navbar {
  background-color: var(--navbar-bg) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Center nav items and utilities (theme toggle, etc.) on tablet/mobile */
@media (max-width: 1024px) {
  .navbar-nav .nav-item {
    display: flex;
    justify-content: center;
  }

  /* make sure the theme toggle button isn't full width on mobile */
  .navbar-nav .theme-toggle {
    width: auto;
    margin: 0;
  }
}

/* =========================================
   CONTACT CARD / FORM WRAPPER
   ========================================= */

.contact-section {
  padding-top: 120px;
  /* to clear fixed navbar */
  padding-bottom: 60px;
  max-width: 600px;
  margin: auto;

  background-color: var(--card-bg);
  box-shadow: 0 4px 12px var(--card-shadow);
  border-radius: 0.5rem;
  padding: 2rem;

  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Contact page heading */
.contact-title {
  text-align: center;
  color: var(--accent-color);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* =========================================
   FORM ELEMENTS
   (base form-control theming is already in styles.css,
    this just adds light extras for placeholder / bold labels)
   ========================================= */

.form-label {
  font-weight: bold;
  color: var(--text-primary);
}

.form-control::placeholder {
  color: rgba(150, 150, 150, 0.7);
}

/* =========================================
   BRAND BUTTONS
   (unique CTA style for Send / Submit on contact page)
   ========================================= */

.btn-brand {
  background-color: var(--accent-color);
  color: white;
  border: none;
  font-weight: 500;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-brand:hover {
  background-color: rgba(205, 127, 50, 1);
  box-shadow: 0 4px 12px rgba(205, 127, 50, 0.4);
}

/* =========================================
   FOOTER MICRO-ANIMATIONS
   (footer base styles already in styles.css)
   ========================================= */

.social-icon i {
  color: var(--accent-color);
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover i {
  transform: scale(1.1);
  color: rgb(222, 156, 89);
}

/* footer logo hover effect (shared visual polish for this page layout) */
.footer-logo {
  display: inline-block;
  max-width: 180px;
  width: auto;
  height: auto;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

/* footer layout tweaks on smaller breakpoints */
@media (max-width: 767px) {
  .footer .col-md-3 {
    text-align: center;
  }
}

@media (min-width: 577px) and (max-width: 1024px) {
  .footer-logo {
    max-width: 100px;
    margin-bottom: 0.75rem;
  }
}
