/*
 Theme Name:   Astra Child ROIM.NET
 Description:  Custom Child Theme for ROIM.NET with Contact Popup
 Author:       Your Name
 Template:     astra
 Version:      1.0.0
*/
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600&display=swap');
* { box-sizing: border-box; }
.contact-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
  padding: 20px;
}
.contact-overlay.active { display: flex; }
.contact-popup {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: clamp(2rem, 4vw, 3rem);
  width: 90%; max-width: 500px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease;
  font-family: 'Fredoka', sans-serif;
  direction: rtl;
  max-height: 90vh;
  overflow-y: auto;
}
.close-btn {
  position: absolute;
  top: 15px; left: 15px;
  background: none; border: none;
  font-size: 2rem; cursor: pointer; color: #666;
  width: 35px; height: 35px;
  display: flex; align-items: center; justify-content: center;
}
.contact-popup h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  text-align: center; font-weight: 300; line-height: 1.4;
}
.form-group { margin-bottom: 1.5rem; }
.form-group input:not([type="checkbox"]) {
  width: 100%; padding: clamp(0.8rem, 2vw, 1rem);
  border: 2px solid #e0e0e0; border-radius: 30px;
  font-family: 'Fredoka', sans-serif;
}
.form-group input[type="tel"] {
  direction: rtl;
  text-align: right;
}
.form-group input:focus {
  outline: none; border-color: #262DFF;
  box-shadow: 0 0 0 3px rgba(38, 45, 255, 0.2);
}
.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer;
}
.checkbox-text { font-size: clamp(0.8rem, 1vw, 0.95rem); color: #555; line-height: 1.5; }
.submit-btn {
  width: 100%; padding: clamp(0.9rem, 2vw, 1.1rem);
  background: linear-gradient(272deg, #262DFF 0%, #20D4FF 100%);
  color: white; border: none; border-radius: 30px;
  font-weight: 500; cursor: pointer; transition: 0.3s;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(38, 45, 255, 0.4); }
.success-message {
  text-align: center; padding: 1.5rem;
  background: linear-gradient(272deg, rgba(38, 45, 255, 0.5) 0%, rgba(32, 212, 255, 0.5) 100%);
  border: 1px solid #262DFF; border-radius: 30px;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }