/*
Theme Name: DMS Modern
Theme URI: https://dohamontessorishop.com/
Author: Doha Montessori Shop
Description: Free custom rebuild theme for Doha Montessori Shop. Removes WPBakery/RevSlider dependency while keeping WooCommerce and Contact Form 7 content.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: dms-modern
*/

:root {
  --green: #90c445;
  --yellow: #f5be1b;
  --orange: #f36f32;
  --blue: #34a7c7;
  --ink: #27313d;
  --muted: #657381;
  --paper: #fffdf8;
  --soft: #f6f6f6;
  --line: #e7ecdf;
  --shadow: 0 18px 45px rgba(40, 49, 61, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.topbar { background: var(--green); color: #fff; font-size: 14px; font-weight: 700; }
.topbar .wrap, .site-nav, .header-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar .wrap { min-height: 40px; }
.navshell { position: sticky; top: 0; z-index: 20; background: rgba(255,253,248,.96); border-bottom: 1px solid rgba(144,196,69,.22); }
.site-nav { min-height: 88px; }
.brand img { display: block; width: min(300px, 48vw); }
.menu { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; color: #40505f; font-weight: 800; font-size: 15px; }
.menu a { position: relative; }
.menu a:after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.menu a:hover:after { transform: scaleX(1); }
.cart-link, .btn, button, input[type="submit"], .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  padding: 0 22px;
  color: #fff;
  background: var(--orange);
  font-weight: 900;
  cursor: pointer;
}
.cart-link { min-height: 42px; box-shadow: 0 10px 24px rgba(243,111,50,.24); }
.btn.alt { background: var(--green); }
.hero { position: relative; min-height: 620px; display: grid; align-items: center; overflow: hidden; background: #eef7f6; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; background-position: center right; background-size: cover; background-repeat: no-repeat; animation: heroFade 18s infinite; }
.slide:nth-child(1) { background-image: url("/wp-content/uploads/revslider/kidsplanet_slider_1/slider111.jpg"); animation-delay: 0s; }
.slide:nth-child(2) { background-image: url("/wp-content/uploads/revslider/kidsplanet_slider_1/slider211.jpg"); animation-delay: 6s; }
.slide:nth-child(3) { background-image: url("/wp-content/uploads/revslider/kidsplanet_slider_1/slider311.jpg"); animation-delay: 12s; }
.hero:after { display: none; }
.hero .wrap { position: relative; z-index: 2; padding: 78px 0 96px; }
@keyframes heroFade { 0% { opacity: 0; transform: scale(1.03); } 6%, 30% { opacity: 1; } 39%, 100% { opacity: 0; transform: scale(1); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--green); font-weight: 900; text-transform: uppercase; font-size: 13px; }
.eyebrow:before { content: ""; width: 34px; height: 4px; background: var(--yellow); }
h1, h2, h3 { margin: 0; font-family: Arial, sans-serif; line-height: 1.05; }
h1 { max-width: 650px; font-size: clamp(42px, 6vw, 78px); font-weight: 900; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; }
h3 { font-size: 22px; font-weight: 900; }
.hero p { max-width: 530px; margin: 22px 0 30px; color: #4e5d6b; font-size: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.section { padding: 80px 0; }
.section.soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head p { max-width: 580px; margin: 12px 0 0; color: var(--muted); font-size: 18px; }
.grid { display: grid; gap: 24px; }
.grid.services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service { padding: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(39,49,61,.08); }
.service:nth-child(2) { border-top: 5px solid var(--yellow); }
.service:nth-child(3) { border-top: 5px solid var(--orange); }
.service:nth-child(4) { border-top: 5px solid var(--blue); }
.service:first-child { border-top: 5px solid var(--green); }
.service p { margin: 12px 0 0; color: var(--muted); }
.feature-band { background: var(--blue); color: #fff; }
.feature-band .wrap { display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 28px; align-items: center; }
.feature-band p { margin: 0; font-size: 20px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 18px !important; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(39,49,61,.08); text-align: center; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--ink); font-weight: 900; font-size: 16px; }
.woocommerce .price { color: var(--green) !important; font-weight: 900; }
.content-page { padding: 70px 0; }
.content-page .entry-content { max-width: 920px; }
.contact-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { padding: 34px; background: var(--green); color: #fff; }
.contact-form { padding: 34px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-frame { margin-top: 42px; height: 420px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.legacy-clean-content [class*="vc_custom_"] { background: transparent; }
.wpcf7 input:not([type="submit"]), .wpcf7 textarea, .wpcf7 select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d8e1cf;
  padding: 12px 14px;
  margin: 7px 0 14px;
  font: inherit;
  background: #fff;
}
.wpcf7 textarea { min-height: 130px; resize: vertical; }
.site-footer { color: #dfe8ea; background: #27313d; padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.site-footer h3 { color: #fff; margin-bottom: 14px; }
.site-footer a { color: #fff; }
.copyright { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); color: #aab8c2; font-size: 14px; }
@media (max-width: 920px) {
  .menu { display: none; }
  .hero { min-height: 560px; }
  .grid.services, .woocommerce ul.products, .contact-panel, .feature-band .wrap, .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .topbar .wrap { display: block; padding: 10px 0; }
  .brand img { width: min(260px, 72vw); }
  .hero { min-height: 520px; }
  .hero:after { background: rgba(255,253,248,.86); }
  .grid.services, .woocommerce ul.products, .contact-panel, .feature-band .wrap, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .section-head { display: block; }
}
