/* ===== CSS Variables & Base ===== */
:root {
  --green-dark: #1a3a2a;
  --green-mid: #2d5a3d;
  --green-light: #3d7a52;
  --green-accent: #4a9e68;
  --beige-light: #f5eed6;
  --beige: #e8dcc8;
  --beige-dark: #d4c4a8;
  --gold: #c9a84c;
  --gold-light: #e0c873;
  --gold-dark: #a88a32;
  --white: #fff;
  --black: #1a1a1a;
  --text-primary: #2a2a2a;
  --text-secondary: #5a5a5a;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Heebo', 'Segoe UI', sans-serif;
  direction: rtl;
  text-align: right;
  color: var(--text-primary);
  background: var(--beige-light);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Heebo', serif;
  color: var(--green-dark);
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(26, 58, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.nav-logo span {
  color: var(--beige);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--beige);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--gold-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--beige);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--green-dark);
  padding: 80px 32px 32px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  display: block;
  color: var(--beige);
  font-size: 1.1rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--gold);
  padding-right: 12px;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.show {
  opacity: 1;
}

/* ===== Hero Sections ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

.hero-bg.home-hero { background-image: url('_uploads/ai_d0c88e5026e2dea8.jpg'); }
.hero-bg.about-hero { background-image: url('_uploads/ai_de8aa72bd9dde521.jpg'); }
.hero-bg.contact-hero { background-image: url('_uploads/ai_1934804acd77fd24.jpg'); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 58, 42, 0.82) 0%,
    rgba(26, 26, 26, 0.7) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero-content h1 {
  color: var(--beige-light);
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content p {
  color: var(--beige);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 32px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 24px;
  font-weight: 500;
}

/* Page Hero (smaller) */
.hero-page {
  min-height: 55vh;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(201, 168, 76, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--beige);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ===== Section Base ===== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  margin: 16px auto;
  border-radius: 2px;
}

/* ===== Catalog Grid ===== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.catalog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.catalog-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--beige), var(--beige-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-card-img .placeholder-icon {
  font-size: 3rem;
  opacity: 0.5;
}

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

.catalog-card:hover .catalog-card-img img {
  transform: scale(1.05);
}

.catalog-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.catalog-card-body {
  padding: 20px;
}

.catalog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--green-dark);
}

.catalog-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.catalog-card-body .price {
  font-family: 'Playfair Display', serif;
  color: var(--gold-dark);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.catalog-card-footer {
  padding: 0 20px 20px;
}

.catalog-card-footer .btn {
  width: 100%;
  justify-content: center;
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ===== Features / Values ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green-light));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(45, 90, 61, 0.1), rgba(201, 168, 76, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ===== About Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--gold), var(--green-mid));
  z-index: -1;
  border-radius: calc(var(--radius) + 3px);
}

/* ===== Stats ===== */
.stats-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--beige);
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 50%, var(--green-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--beige-light);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--beige);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--green-dark);
}

.contact-info-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--beige-dark);
  border-radius: 8px;
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--beige-light);
  direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

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

.form-message {
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 16px;
  display: none;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  display: block;
  background: #e6f9ee;
  color: #1a7a3a;
  border: 1px solid #b8e8ca;
}

.form-message.error {
  display: block;
  background: #fde8e8;
  color: #9a2020;
  border: 1px solid #f5c0c0;
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--green-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author span {
  font-weight: 600;
  color: var(--green-dark);
  font-size: 0.95rem;
}

/* ===== Timeline (About page) ===== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  transform: translateX(50%);
  width: 2px;
  height: 100%;
  background: var(--beige-dark);
}

.timeline-item {
  position: relative;
  padding: 20px 0;
  padding-right: calc(50% + 32px);
}

.timeline-item:nth-child(even) {
  padding-right: 0;
  padding-left: calc(50% + 32px);
  text-align: right;
}

.timeline-dot {
  position: absolute;
  top: 28px;
  right: calc(50% - 8px);
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--beige-light);
  box-shadow: var(--shadow-sm);
}

.timeline-item h4 {
  color: var(--gold-dark);
  font-family: 'Heebo', sans-serif;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== Values Grid ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 3px solid transparent;
}

.value-card:hover {
  border-top-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-card .value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--green-dark);
  color: var(--beige);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-about h3 {
  color: var(--gold-light);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.footer-about p {
  opacity: 0.8;
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: 'Heebo', sans-serif;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  color: var(--beige);
  opacity: 0.8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold-light);
  padding-right: 8px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-bg {
    background-attachment: scroll;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-right: 40px;
    padding-left: 0;
    text-align: right;
  }

  .timeline::before {
    right: 0;
  }

  .timeline-dot {
    right: -8px;
  }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }

  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }

  .hero-page { min-height: 45vh; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item h3 { font-size: 2rem; }
}

/* ===== Glassmorphism Card Variant ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
}

/* ===== Loading Skeleton ===== */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--beige) 25%, var(--beige-dark) 50%, var(--beige) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
