/* ===============================================================
   Buildbrand Hospitality Framework™
   Theme: Mohar Cottage
   File: reset.css

   Description:
   Cross-browser reset and foundational element normalization.

   Author: Sunil Chauhan
   Website: https://buildbrand.site
   =============================================================== */

/* ---------------------------------------------------------------
   Box Sizing
--------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ---------------------------------------------------------------
   Reset Margins & Padding
--------------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
}

/* ---------------------------------------------------------------
   HTML & Body
--------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------------------------------------------------------------
   Media
--------------------------------------------------------------- */

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ---------------------------------------------------------------
   Forms
--------------------------------------------------------------- */

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
    background: transparent;
    border: none;
}

button {
    cursor: pointer;
}

textarea {
    resize: vertical;
}

/* ---------------------------------------------------------------
   Links
--------------------------------------------------------------- */

a {
    color: inherit;
    text-decoration: none;
}

/* ---------------------------------------------------------------
   Lists
--------------------------------------------------------------- */

ul,
ol {
    list-style: none;
}

/* ---------------------------------------------------------------
   Tables
--------------------------------------------------------------- */

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

/* ---------------------------------------------------------------
   Embedded Content
--------------------------------------------------------------- */

iframe {
    border: 0;
}

/* ---------------------------------------------------------------
   Focus
--------------------------------------------------------------- */

:focus {
    outline: none;
}

/* Accessible keyboard focus */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* ---------------------------------------------------------------
   Selection
--------------------------------------------------------------- */

::selection {
    background: var(--color-primary);
    color: var(--text-light);
}