/*
Theme Name: Classical Decor I D
Theme URI: https://dstdeco.com
Author: Roman
Author URI: https://dstdeco.com
Description: Custom WordPress theme for DST Deco - Interior Decor Materials Supplier in UAE.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dst-deco
*/

:root {
  --bg: #faf7f2;
  --surface: #fff;
  --text: #2a2622;
  --muted: #6f675e;
  --gold: #a8812f;
  --gold-t: #fff;
  --line: #e5ddd0;
  --dark: #24201c;
  --dark-t: #f3ece0;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171513;
    --surface: #211e1b;
    --text: #f1eadf;
    --muted: #a79d90;
    --gold: #c9a24d;
    --gold-t: #1a1612;
    --line: #352f29;
    --dark: #0f0d0c;
    --dark-t: #f3ece0;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #171513;
  --surface: #211e1b;
  --text: #f1eadf;
  --muted: #a79d90;
  --gold: #c9a24d;
  --gold-t: #1a1612;
  --line: #352f29;
  --dark: #0f0d0c;
  --dark-t: #f3ece0;
  color-scheme: dark;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px));
}

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

h1, h2, h3, .logo {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.logo {
  font-size: 22px;
  letter-spacing: .04em;
}

.logo span {
  color: var(--gold);
}

nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  overflow-x: auto;
}

nav a {
  color: var(--muted);
  white-space: nowrap;
}

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

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--gold-t);
  padding: 13px 26px;
  border: 0;
  border-radius: 2px;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}

.btn.ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}

.hero {
  background: linear-gradient(135deg, rgba(20, 16, 12, .78), rgba(20, 16, 12, .55)),
              repeating-linear-gradient(90deg, #8a6a45 0 38px, #7a5c3a 38px 40px, #957550 40px 78px, #7a5c3a 78px 80px);
  color: #f6efe3;
  padding: 110px 0 100px;
}

.hero p.k {
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 12px;
  color: #e0c27a;
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  max-width: 700px;
}

.hero p.s {
  max-width: 540px;
  margin: 18px 0 30px;
  font-size: 17px;
  color: #e8dfcf;
}

.hero .btn.ghost {
  margin-left: 10px;
}

section {
  padding: 72px 0;
}

.title {
  text-align: center;
  margin-bottom: 40px;
}

.title p {
  color: var(--gold);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 8px;
}

.title h2 {
  font-size: clamp(26px, 4vw, 38px);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.sw {
  height: 150px;
}

.card div.b {
  padding: 18px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

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

.s1 { background: repeating-linear-gradient(90deg, #b08a5c 0 46px, #9d7a4d 46px 48px, #bd986a 48px 94px, #9d7a4d 94px 96px); }
.s2 { background: repeating-linear-gradient(0deg, #d9c3a0 0 30px, #c4ab85 30px 32px), #d9c3a0; }
.s3 { background: repeating-linear-gradient(90deg, #5b4a3b 0 22px, #4a3b2e 22px 26px, #6a5744 26px 48px, #4a3b2e 48px 52px); }
.s4 { background: linear-gradient(135deg, #c9c3b8, #e8e3da 50%, #bdb6aa); }
.s5 { background: repeating-linear-gradient(45deg, #8f7f6a 0 10px, #a49480 10px 20px); }
.s6 { background: linear-gradient(90deg, #efe9de 0 18%, #cfc5b3 18% 22%, #efe9de 22% 60%, #cfc5b3 60% 64%, #efe9de 64%); }
.s7 { background: linear-gradient(180deg, #f3eee5 0 60%, #d9cfbd 60% 100%); }

.why {
  background: var(--dark);
  color: var(--dark-t);
}

.why .title p {
  color: #e0c27a;
}

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

.feat h3 {
  font-size: 19px;
  margin-bottom: 8px;
  color: #e0c27a;
}

.feat p {
  margin: 0;
  font-size: 14px;
  color: #cfc6b6;
}

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

.about p {
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px;
  text-align: center;
}

.stat b {
  display: block;
  font-family: Georgia, serif;
  font-size: 32px;
  color: var(--gold);
  font-weight: 500;
}

.stat span {
  font-size: 13px;
  color: var(--muted);
}

.contact {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.cgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

.info b {
  display: block;
  color: var(--text);
}

form {
  display: grid;
  gap: 12px;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  border-radius: 2px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

footer {
  background: var(--dark);
  color: #a79d90;
  padding: 26px 0;
  font-size: 13px;
  text-align: center;
}

.wa {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: #25d366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 14px;
  z-index: 30;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

@media (max-width: 760px) {
  .about, .cgrid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 80px 0;
  }
  .hero .btn.ghost {
    margin: 10px 0 0;
  }
  nav {
    display: none;
  }
}
