:root {
  --accent: #d9530f;
  --accent-dark: #b8430b;
  --text: #2b2b2b;
  --muted: #5c5c5c;
  --bg: #ffffff;
  --header-bg: #ececec;
  --card-bg: #ffffff;
  --card-border: #e3e3e3;
  --whatsapp: #25d366;
  --email: #e63946;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  direction: rtl;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--header-bg);
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-size: 1rem;
  color: var(--text);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text);
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background: var(--header-bg);
    z-index: 50;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .site-header {
    position: relative;
  }
}

/* Hero */
.hero {
  padding-top: 40px;
  padding-bottom: 20px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 860px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 861px) {
  .hero-video {
    order: 2;
  }

  .hero-text {
    order: 1;
  }
}

.hero-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-text h1 {
  color: var(--accent);
  font-size: 1.8rem;
  margin: 0 0 16px;
}

.hero-text p {
  margin: 0 0 14px;
  color: var(--muted);
}

/* Generic page hero (inner pages) */
.page-header {
  padding-top: 40px;
  padding-bottom: 10px;
}

.page-header h1 {
  color: var(--accent);
  font-size: 1.8rem;
}

/* Content sections */
.section {
  padding-top: 30px;
  padding-bottom: 30px;
}

.section h2 {
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.section p {
  color: var(--muted);
  margin: 0 0 14px;
}

.section-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 760px) {
  .section-media {
    grid-template-columns: 1fr;
  }
}

.section-media img {
  border-radius: 8px;
  width: 100%;
}

.banner-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
}

.banner-image img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.inline-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  max-width: 380px;
}

/* Video gallery */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.video-card {
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-bg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.video-card .video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-cta {
  text-align: center;
  margin-top: 30px;
}

.youtube-cta a {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.youtube-cta a:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* Testimonials */
.testimonials {
  padding-top: 20px;
  padding-bottom: 40px;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 24px;
}

.testimonials-header .rating {
  font-size: 2.2rem;
  font-weight: 700;
}

.stars {
  color: #fbbc04;
  font-size: 1.2rem;
}

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

.testimonial-card {
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 16px;
  background: var(--card-bg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-card .name {
  font-weight: 700;
  margin-bottom: 4px;
}

.testimonial-card .stars {
  margin-bottom: 8px;
}

.testimonial-card .body {
  color: var(--muted);
  font-size: 0.95rem;
}

.google-link {
  text-align: center;
  margin-top: 20px;
}

.google-link a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

/* About bio */
.about-bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 760px) {
  .about-bio {
    grid-template-columns: 1fr;
  }
}

.about-photo {
  border-radius: 8px;
  overflow: hidden;
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  width: 100%;
}

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

.contact-form button {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-form button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.contact-form input,
.contact-form textarea {
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.contact-info {
  color: var(--muted);
}

.contact-info h2 {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--header-bg);
  text-decoration: none;
  font-size: 1.1rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* Floating buttons */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.floating-buttons a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-buttons a:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.3);
}

.floating-buttons .whatsapp {
  background: var(--whatsapp);
}

.floating-buttons .email {
  background: var(--email);
}

/* Footer */
.site-footer {
  background: var(--header-bg);
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 40px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Cards also have a hover transform/box-shadow transition - give the
   combined selector higher specificity so it isn't clobbered by the
   .reveal shorthand above (same property, different rule). */
.testimonial-card.reveal,
.video-card.reveal {
  transition: opacity 0.6s ease, transform 0.3s ease, box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
