/* ============================================
   COMPONENTS - Reusable UI Elements
   Requires: theme-system.css
   ============================================ */

/* Project Cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--zeyra-card-bg);
  border: 1px solid var(--border-purple);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-purple);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10, 14, 26, 0.9), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.view-project {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
  color: white;
  border-radius: 0.5rem;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
}

.project-content {
  padding: 2rem;
}

.project-content h3 {
  color: var(--zeyra-text-primary);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: 'Rajdhani', sans-serif;
}

.project-content p {
  color: var(--zeyra-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-badge {
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid var(--border-purple);
  border-radius: 2rem;
  color: var(--primary-purple);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Contact Info Components */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h2,
.contact-form-wrapper h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  color: var(--zeyra-text-primary);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--zeyra-text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(30, 41, 59, 0.3);
  border: 2px solid var(--border-purple);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.info-item:hover {
  border-color: var(--primary-purple);
  transform: translateX(5px);
  background: rgba(30, 41, 59, 0.5);
}

.info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 0.75rem;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.info-content h3 {
  color: var(--zeyra-primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-family: 'Rajdhani', sans-serif;
}

.info-content p {
  color: var(--zeyra-text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* Form Components */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group label {
  color: var(--zeyra-text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(30, 41, 59, 0.5);
  border: 2px solid var(--border-purple);
  border-radius: 0.75rem;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-purple);
  background: rgba(30, 41, 59, 0.7);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

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

/* Alert Components */
.alert {
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid rgba(16, 185, 129, 0.5);
  color: #10b981;
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 2px solid rgba(239, 68, 68, 0.5);
  color: #ef4444;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.15);
  border: 2px solid rgba(245, 158, 11, 0.5);
  color: #f59e0b;
}

.alert-info {
  background: rgba(59, 130, 246, 0.15);
  border: 2px solid rgba(59, 130, 246, 0.5);
  color: #3b82f6;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
}

.cta-content {
  text-align: center;
  background: var(--zeyra-card-bg);
  border: 1px solid var(--zeyra-border);
  border-radius: 1.5rem;
  padding: 4rem 2rem;
}

.cta-content h2 {
  font-family: 'Rajdhani', sans-serif;
  color: var(--zeyra-text-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--zeyra-text-secondary);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Map Placeholder */
.map-section {
  padding: 6rem 0;
  background: var(--zeyra-dark-bg);
}

.map-section h2 {
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 3rem;
  color: var(--zeyra-text-primary);
  margin-bottom: 3rem;
}

.map-placeholder {
  background: var(--zeyra-card-bg);
  border: 2px dashed var(--zeyra-border);
  border-radius: 1rem;
  padding: 4rem 2rem;
  text-align: center;
}

.map-placeholder p {
  color: var(--zeyra-text-secondary);
  font-size: 1.25rem;
  margin: 1rem 0;
}

.text-muted {
  color: var(--zeyra-text-muted);
  font-size: 1rem;
}

/* Gaming cards moved to theme-system.css */