/*
Theme Name: Valley
Theme URI: https://vallect.com
Author: Vallect Team
Author URI: https://vallect.com
Description: A modern, minimal, high-performance block theme built from scratch using vanilla JS and clean CSS.
Version: 1.0
Requires at least: 6.1
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: valley
Tags: block-theme, full-site-editing, responsive, clean, modern
*/

:root {
  --color-primary: #8832bd;
  --color-theme: #8b2dab;
  --color-secondary: #47005f;
  --color-tertiary: #2f003f;
  --color-orange: #fd6649;
  --color-orange-light: #ff8c56;
  --color-pink: #d3229b;
  --color-purple: #880088;
  --color-white: #ffffff;
  --color-black: #010004;
  --color-bg-1: #fefdff;
  --color-bg-2: #f3eaf8;
  --color-bg-3: #f5f5f5;
  --color-border: #d7d8db;
  --color-border-1: #ced7e0;
  --color-gray: #aeaeae;

  --font-weight-100: 100;
  --font-weight-200: 200;
  --font-weight-300: 300;
  --font-weight-400: 400;
  --font-weight-500: 500;
  --font-weight-600: 600;
  --font-weight-700: 700;
  --font-weight-800: 800;
  --font-weight-900: 900;

  --font-primary: "Outfit", sans-serif;

  --spacing-0: 0rem;
  --spacing-1: 0.0625rem;
  --spacing-2: 0.125rem;
  --spacing-3: 0.1875rem;
  --spacing-4: 0.25rem;
  --spacing-5: 0.3125rem;
  --spacing-6: 0.375rem;
  --spacing-7: 0.4375rem;
  --spacing-8: 0.5rem;
  --spacing-9: 0.5625rem;
  --spacing-10: 0.625rem;
  --spacing-12: 0.75rem;
  --spacing-16: 1rem;
  --spacing-20:1.25rem;

  --spacing-100p: 100%;
}

/* UTILITIES */

.container,
.alignwide,.section__wrapper.uagb-is-root-container,
.apprch--sec,
.pgwhy .why__columns,
.casestdy .work__slider,
.brndsec .wp-block-columns-is-layout-flex,
.faq--sec .wp-block-columns.is-layout-flex,
.faq--sec h2.section__title,
.why--sec .section__title,
p.why--sec-para {
  max-width: var(--spacing-100p);
  width: var(--spacing-100p);
  padding: 0 5rem;
  margin: 0 auto;
}
@media (max-width: 992px) {
  .container,
  .alignwide,.section__wrapper.uagb-is-root-container,
  .apprch--sec,
  .pgwhy .why__columns,
  .casestdy .work__slider,
  .brndsec .wp-block-columns-is-layout-flex,
  .faq--sec .wp-block-columns.is-layout-flex,
  .faq--sec h2.section__title,
  .why--sec .section__title,
  p.why--sec-para{ padding: 0 2rem; }
}
@media (max-width: 768px) {
  .container,
  .alignwide,.section__wrapper.uagb-is-root-container,
  .apprch--sec,
  .pgwhy .why__columns,
  .casestdy .work__slider,
  .brndsec .wp-block-columns-is-layout-flex,
  .faq--sec .wp-block-columns.is-layout-flex,
  .faq--sec h2.section__title,
  .why--sec .section__title,
  p.why--sec-para { padding: 0 1rem; }
}

.sec-gap {
  padding: 3rem 0;
}
.sec-gap-0 { padding: 0; }
.cursor-pointer { cursor: pointer; }

/* Base / Reset Styling */

/* 1. Box-sizing & resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 2. HTML base settings */
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size:16px;
}
/* Root Size on Mobile Device */
/* @media only screen and (max-width:768px){
    html{
        font-size:16px;
    }    
} */

/* 3. Body defaults */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-primary);
  color: var(--color-text, #111827);
  background-color: var(--color-bg, #ffffff);
  line-height: 1.5;
  /* Remove overflow hidden unless necessary */
  /* overflow: hidden; */
}

/* 4. Media and embedded elements */
img, picture, video, canvas, svg, figure {
  display: block;
  max-width: 100%;
}
/**
     * Remove the border on images inside links in IE 10.
     */
img {
  border-style: none;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
     width:100%;
}
/* 5. Form elements inherit font */
input, button, textarea, select {
  font: inherit;
}

input,
.form-control,
input[type=text],
input[type=textarea],
input[type=email],
input[type=date],
input[type=datetime],
input[type=color],
input[type=time],
input[type=month],
input[type=week],
input[type=radio],
input[type=number],
input[type=select],
textarea {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-bottom: 0.125rem solid var(--color-charcoal);
  padding:15px;
  margin: 0 0 2.5rem 0;
  height:auto;
  transition: all 0.3s ease;
}
@media only screen and (max-width: 575.99px) {
  input,
  .form-control,
  input[type=text],
  input[type=textarea],
  input[type=email],
  input[type=date],
  input[type=datetime],
  input[type=color],
  input[type=time],
  input[type=month],
  input[type=week],
  input[type=radio],
  input[type=number],
  input[type=select],
  textarea {
    max-width: 100%;
  }
}

input:focus,
.form-control:focus,
input[type=text]:focus,
input[type=textarea]:focus,
input[type=email]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=color]:focus,
input[type=time]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=radio]:focus,
input[type=number]:focus,
textarea:focus {
  outline: none;
  border:0;
}

/* 6. Text selection */
::selection {
  background-color: var(--color-secondary);
  color: var(--color-white);
}
::-moz-selection {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

/* 7. Headings, paragraphs, wrapping */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  margin-bottom: 1.25rem; /* use spacing scale later */
}

/* 8. HTML5 element display reset */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main {
  display: block;
}

/* 9. Lists */
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 10. Blockquote, q */
blockquote, q {
  quotes: none;
}
blockquote::before, blockquote::after, q::before, q::after {
  content: "";
  content: none;
}

/* 11. Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 12. Reset headings typography (adapt as needed) */
h1, .h1 {
  font-size: 2.5rem;   /* ~40px */
  font-family: "Zalando Sans", sans-serif;
  font-weight: 700;
  color: var(--color-secondary);
  text-transform: none;
}
h2, .h2 {
  font-size: 2.1875rem;   /* ~35px */
  font-family: "Zalando Sans", sans-serif;
  font-weight: 700;
}
h3, .h3 {
  font-size: 1.875rem;   /* ~30px */
  font-family: "Zalando Sans", sans-serif;
  font-weight: 600;
}
h4, .h4 {
  font-size: 1.5625rem;  /* ~25px */
  font-family: "Zalando Sans", sans-serif;
}
h5, .h5 {
  font-size: 1.25rem;
  font-family: "Zalando Sans", sans-serif;
}
h6, .h6 {
  font-size: 1rem;
  font-family: "Zalando Sans", sans-serif;
}

/* 13. Paragraph base */
p {
  margin-bottom: 1rem;
}

/* 15. Links */
a {
  background-color: transparent;
  transition: color 0.3s ease;
  color: var(--color-orange);
  text-decoration: none;
}
a:hover, a:focus {
  color: var(--color-orange-light);
  outline: none;
}

/* 16. Headings margin reset under media queries if needed */
/* 17. Form elements reset */
button, input, optgroup, select, textarea {
  margin: 0;
  line-height: 1.5;
}
button, [type=button], [type=submit], .button {
  appearance: none;
  cursor: pointer;
  border: none;
  background-color: var(--color-theme);
  color: var(--color-white);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
}
/* button:focus, [type=submit]:focus {
  outline: 2px solid var(--color-primary);
} */

/* 18. Fieldset / legend resets (if relevant) */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/* 19. Misc resets */
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub { bottom: -0.25em; }
sup { top: -0.5em; }

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* 20. Template / hidden etc */
template {
  display: none;
}
[hidden] {
  display: none;
}
/* Utility Common CSS Classes */
.container {
  max-width: var(--spacing-100p);
  width: var(--spacing-100p);
  padding: 0 5rem;
  margin: 0 auto;
}

@media (max-width:992px) {
  .container {
    padding: 0 2rem;
  }
}

@media (max-width:768px) {
  .container {
    padding: 0 1rem;
  }
}
.flex-block {
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.btn,
.wp-block-button__link {
  border-radius: .4375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: .625rem;
  font-weight: 600;
  overflow: hidden;
  padding:.75rem;
  line-height: 1;
  background-color: var(--color-theme);
  color: var(--color-white);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  text-transform: capitalize;
  background-image: linear-gradient(-180deg, var(--color-theme),var(--color-secondary));
}
.btn:before,
.wp-block-button__link:before {
  content: "\F133";
  font-family: bootstrap-icons !important;
  font-weight: normal;
}
.btn:hover,
.wp-block-button__link:hover,
.btn:focus,
.wp-block-button__link:focus,
.btn:active,
.wp-block-button__link:active{
  outline:0;
  box-shadow:none;
  background-image: linear-gradient(-180deg, var(--color-secondary),var(--color-theme));
  color:var(--color-white);
}
