/* ===== أورا | تنسيقات الصفحات الإضافية ===== */
/* about.html + contact.html + gallery.html */

/* ===== Page Hero ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 184, 75, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-label {
  display: inline-block;
  background: rgba(232, 184, 75, 0.2);
  border: 1px solid rgba(232, 184, 75, 0.4);
  color: var(--accent);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.page-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== About Page ===== */
.about-story {
  padding: 5rem 0;
  background: var(--white);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-story-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-xl);
}

.about-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story-content h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about-story-content h2 .highlight {
  color: var(--primary);
}

.about-story-content p {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.about-story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.about-stat {
  text-align: center;
}

.about-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.about-stat span {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* القيم */
.about-values {
  padding: 5rem 0;
  background: var(--gray-100);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--t);
}

.value-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.value-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-lg);
  background: rgba(123, 30, 30, 0.08);
  color: var(--primary);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  transition: var(--t);
}

.value-card:hover .value-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--gray-900);
}

.value-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* الفريق */
.about-team {
  padding: 5rem 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.team-card {
  text-align: center;
  transition: var(--t);
}

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.2rem;
  border: 5px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  transition: var(--t);
}

.team-card:hover .team-photo {
  border-color: var(--accent);
  transform: scale(1.05);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.15rem;
  color: var(--gray-900);
  margin-bottom: 0.3rem;
}

.team-card .role {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== Contact Page ===== */
.contact-section {
  padding: 5rem 0;
  background: var(--gray-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}

.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-box h2 {
  font-size: 1.8rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.contact-form-box > p {
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--gray-900);
  background: var(--gray-100);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(123, 30, 30, 0.08);
}

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

.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--t);
  border: 1px solid var(--gray-200);
}

.info-card:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(123, 30, 30, 0.08);
  color: var(--primary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card h3 {
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 0.3rem;
}

.info-card p,
.info-card a {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
  direction: ltr;
  text-align: right;
  display: block;
}

.info-card a:hover {
  color: var(--primary);
}

.contact-map {
  margin-top: 3rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

.quick-contact {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.quick-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--t);
}

.quick-btn.whatsapp {
  background: #25D366;
  color: var(--white);
}

.quick-btn.whatsapp:hover {
  background: #1eaa52;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quick-btn.phone {
  background: var(--primary);
  color: var(--white);
}

.quick-btn.phone:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== Gallery Page ===== */
.gallery-section {
  padding: 5rem 0;
  background: var(--gray-100);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.gallery-filter-btn {
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid var(--gray-200);
  transition: var(--t);
}

.gallery-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.gallery-filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(123, 30, 30, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--t);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.gallery-overlay span {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.gallery-item.hidden {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox img {
  max-width: 95%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--t);
}

.lightbox-close:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 184, 75, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: var(--gray-900);
  padding: 1rem 2.2rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1rem;
  transition: var(--t);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .about-story-image {
    aspect-ratio: 16/10;
  }
  
  .page-hero-title {
    font-size: 2.2rem;
  }
  
  .about-story-content h2,
  .cta-section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .page-hero {
    padding: 3.5rem 0 2.5rem;
  }
  
  .page-hero-title {
    font-size: 1.7rem;
  }
  
  .page-hero-subtitle {
    font-size: 1rem;
  }
  
  .about-story,
  .about-values,
  .about-team,
  .contact-section,
  .gallery-section {
    padding: 3rem 0;
  }
  
  .about-story-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-form-box {
    padding: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }
  
  .gallery-overlay {
    padding: 0.8rem;
  }
  
  .gallery-overlay h4 {
    font-size: 0.9rem;
  }
  
  .gallery-overlay span {
    font-size: 0.75rem;
  }
  
  .quick-contact {
    flex-direction: column;
  }
  
  .contact-map iframe {
    height: 280px;
  }
}

/* ===== CTA Section — ستايل زجاجي شفاف (محدّث) ===== */
.cta-section {
  padding: 3rem 1.5rem;
  background: var(--gray-100);
  text-align: center;
}

.cta-section .container {
  background: rgba(123, 30, 30, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(123, 30, 30, 0.15);
  border-radius: 30px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  max-width: 900px;
}

.cta-section .container::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 184, 75, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
  color: var(--gray-900);
  position: relative;
  z-index: 1;
}

.cta-section h2 .highlight {
  color: var(--primary);
}

.cta-section p {
  color: var(--gray-700);
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 2.2rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1rem;
  transition: var(--t);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* ===== تحديث أزرار Quick Contact — حواف دائرية كاملة ===== */
.quick-btn {
  border-radius: var(--radius-full);
  padding: 0.9rem 1.3rem;
}

/* ===== تحديث بطاقات معلومات التواصل — حواف ناعمة ===== */
.info-card {
  border-radius: 20px;
}

/* ===== تحديث نموذج التواصل — حواف ناعمة ===== */
.contact-form-box {
  border-radius: 28px;
}

.form-group input,
.form-group textarea,
.form-group select {
  border-radius: 14px;
}

/* ===== الخريطة — حواف ناعمة ===== */
.contact-map {
  border-radius: 28px;
}

@media (max-width: 600px) {
  .cta-section .container {
    padding: 2rem 1.2rem;
    border-radius: 22px;
  }
  .cta-section h2 {
    font-size: 1.5rem;
  }
}
