/* ========================================
   COMPONENT STYLES
   ======================================== */

/* Button Components */
.btn {
  display: inline-block;
  padding: 0.7em 2em;
  border: none;
  border-radius: 24px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: #636A63;
  color: white;
}

.btn-primary:hover {
  background-color: #a89c8e;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: #636A63;
  border: 2px solid #636A63;
}

.btn-secondary:hover {
  background-color: #636A63;
  color: white;
}

/* Card Components */
.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.card-text {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Navigation Components */
.nav-link {
  color: #8b857c;
  text-decoration: none;
  font-size: 0.87rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.08rem 0.32rem;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover {
  color: #636A63;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -0.32em;
  left: 0;
  right: 0;
  height: 2px;
  background: #a89c8e;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.3s, transform 0.3s;
}

.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Form Components */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #a89c8e;
  box-shadow: 0 0 0 2px rgba(168, 156, 142, 0.2);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Alert Components */
.alert {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

/* Loading Components */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #a89c8e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Modal Components */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.modal-close:hover {
  color: #333;
} 