/* contact.css - stiluri pentru pagina de contact - versiune armonizată cu fundal texturat și paleta Jet Xpert */

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: url('/images/contact-bg.webp') center center / cover no-repeat fixed;
  background-color: #1a1a1a;
  background-blend-mode: multiply;
  color: #f1f5f9; /* culoare mai deschisă pentru text */
}

.success-message {
  color: #22c55e;
  background: #f0fdf4;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #f8fafc;
  color: #1e293b;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1e3a8a;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.contact-header {
  position: relative;
  height: 70vh;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)), center/cover no-repeat;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

.contact-header .overlay h1 {
  font-size: 2.75rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.75rem;
  animation: fadeInDown 1s ease-out;
  color: #facc15;
}

.contact-header .overlay p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.3s both;
  color: #f1f5f9;
}

.contact-form-section {
  padding: 4rem 1rem;
  background: rgba(255, 255, 255, 0.25);
  text-align: center;
  backdrop-filter: blur(2px);
  color: #1e293b;
}

.contact-form-section h2 {
  font-size: 2rem;
  color: #facc15;
  margin-bottom: 1rem;
}

.contact-form-section p {
  color: #e2e8f0;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #f1f5f9;
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #ef4444;
  background: #fef2f2;
}

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

.button.cta {
  background: #facc15;
  color: #1e3a8a;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.button.cta:hover {
  background: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
}

.pre-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .contact-header .overlay h1 {
    font-size: 2rem;
  }
}

.contact-section {
  background: rgba(255, 255, 255, 0.25);
  padding: 4rem 1rem;
  backdrop-filter: blur(2px);
  color: #1e293b;
}

.contact-info-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

.info-box,
.cta-box {
  background: rgba(32, 32, 32, 0.75);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
  color: #f1f5f9;
}

.info-box.in-view,
.cta-box.in-view {
  background: rgba(32, 32, 32, 0.75);
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 1.8rem;
  color: #facc15;
  margin-bottom: 1.2rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  color: #f1f5f9;
}

.info-list li {
  margin-bottom: 1rem;
}

.info-list i {
  color: #facc15;
  margin-right: 0.5rem;
}

.cta-box p {
  font-size: 1.05rem;
  color: #e2e8f0;
  margin: 1rem 0 2rem;
}

.map-container {
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.info-description {
  color: #f1f5f9;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.contact-map-section {
  background: rgba(255, 255, 255, 0.25);
  padding: 4rem 1rem;
  text-align: center;
  backdrop-filter: blur(2px);
  color: #f1f5f9;
}

.contact-map-section .section-title {
  font-size: 2rem;
  color: #facc15;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.contact-map-section .info-description {
  font-size: 1.05rem;
  color: #e2e8f0;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-family: 'Montserrat', sans-serif;
}

.map-tab {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.map-tab.pre-fade {
  opacity: 0;
  transform: translateY(40px);
}

.map-tab.in-view {
  opacity: 1;
  transform: translateY(0);
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

.contact-button i {
  font-size: 1.1rem;
}

.contact-button.outline {
  background-color: transparent;
  border: 2px solid #facc15;
  color: #facc15;
}

.contact-button.outline:hover {
  background-color: #facc15;
  color: #1a1a1a;
}

.contact-button:not(.outline) {
  background-color: #facc15;
  color: #1a1a1a;
  border: none;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.2);
}

