/*
Theme Name: Charde Davis Portfolio
Theme URI: https://yoursite.url/
Author: Your Name
Author URI: https://yoursite.url/
Description: Custom portfolio theme for web 2, 2025
Version: 1.0.0
*/

/* Body Background */
body {
  background-color: #4b3751;
}

/* Navigation Links */
.nav-link {
  font-weight: bold;
  font-size: 1.2rem;
  color: #4b3751;
  margin-left: 0.6rem;
  position: relative;
  border-radius: 0.5rem;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
  background-color: #4b3751;
  color: #fff3e7;
}

.nav-link::after,
.footer-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: currentColor;
  bottom: 0;
  right: 0;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.footer-link:hover::after {
  width: 100%;
  left: auto;
  right: 0;
}

/* Logo */
.logo {
  max-height: 160px;
}

/* Responsive Logo Resize */
.navbar-brand img {
  height: 200px;
  object-fit: contain;
  max-width: 100%;
}

@media (max-width: 767.98px) {
  .navbar-brand img {
    height: 100px;
  }
}

/* Header and Footer Background */
header {
  background-color: #fff3e7;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

footer {
  background-color: #fff3e7;
  border-top: 1px solid #dee2e6;
}

/* Footer Container */
.footer-container {
  position: relative;
  align-items: center;
  justify-content: flex-end;
}

/* Footer Line */
.footer-line {
  width: 100%;
  height: 2px;
  background-color: #4b3751;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
}

/* Footer Links */
.footer-links {
  position: relative;
  z-index: 1;
  background: #fff3e7;
  padding: 0 1rem;
  display: flex;
  gap: 0.5rem;
}

.footer-link {
  font-size: 1.2rem;
  color: #4b3751;
  margin-left: 0.5rem;
  position: relative;
  text-decoration: none;
  border-radius: 0.5rem;
  padding: 0.4rem 0.75rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-link:hover {
  background-color: #4b3751;
  color: #fff3e7;
}

/* Layout Containers */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .container {
  align-items: center;
}

.logo-container {
  margin-right: 20rem;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

/* Contact Page Text */
.contact-description {
  font-size: 1.5rem;
  line-height: 2;
  margin-top: 8px;
  color: #fff3e7;
}

.contact-description h2 {
  font-size: 3rem;
  margin-bottom: 24px;
  color: #fff3e7;
}

/* Form Styling */
.form-label {
  font-size: 1.5rem;
  color: #fff3e7;
}

.form-control {
  background-color: #786079;
  color: white;
  font-size: 1.3rem;
  border: none;
}

.form-control::placeholder {
  color: #fff3e7;
}

/* Button Custom */
.btn-custom {
  background-color: #fff3e7;
  color: #4b3751;
  font-weight: bold;
  font-size: 1.2rem;
  border: none;
}

.btn-custom:hover {
  background-color: #e6d3c7;
  color: #4b3751;
}

/* Portfolio Image Hover Effect */
.portfolio-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
