/* =========================================================
   AluminiumGlass
   Base Styles
   File: /public_html/assets/css/base.css

   Load order:
   variables.css
   reset.css
   base.css
   layout.css
   header.css
   footer.css
   navigation.css
   forms.css
   buttons.css
   cards.css
   tables.css
   modal.css
   alerts.css
   search.css
   business.css
   enquiry.css
   responsive.css
   print.css
   ========================================================= */


/* =========================================================
   1. DOCUMENT
   ========================================================= */

html {
    font-size: 16px;
    line-height: 1.5;
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--color-bg, #ffffff);
    color: var(--color-text, #1f2937);
    font-family:
        var(--font-family-base,
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif);
    font-size: var(--font-size-base, 1rem);
    font-weight: var(--font-weight-normal, 400);
    line-height: var(--line-height-base, 1.5);
    overflow-x: hidden;
}


/* =========================================================
   2. TEXT RENDERING
   ========================================================= */

body,
button,
input,
textarea,
select {
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--color-heading, #111827);
    font-family:
        var(--font-family-heading,
        var(--font-family-base,
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif));
    font-weight: var(--font-weight-heading, 700);
    line-height: var(--line-height-heading, 1.2);
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.625rem, 3vw, 2.25rem);
}

h3 {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}


/* =========================================================
   3. PARAGRAPHS
   ========================================================= */

p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--color-text, #1f2937);
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-muted, #6b7280);
}


/* =========================================================
   4. LINKS
   ========================================================= */

a {
    color: var(--color-primary, #2563eb);
    text-decoration: none;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

a:hover {
    color: var(--color-primary-hover, #1d4ed8);
}

a:focus-visible {
    outline: 3px solid
        var(--color-focus, rgba(37, 99, 235, 0.35));
    outline-offset: 3px;
    border-radius: 3px;
}


/* =========================================================
   5. STRONG / EMPHASIS
   ========================================================= */

strong,
b {
    font-weight: 700;
}

em,
i {
    font-style: italic;
}

small {
    font-size: 0.875rem;
}

mark {
    padding: 0.1em 0.25em;
    background: var(--color-highlight, #fef08a);
    color: inherit;
}


/* =========================================================
   6. LISTS
   ========================================================= */

ul,
ol {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li + li {
    margin-top: 0.25rem;
}

.list-unstyled {
    margin: 0;
    padding: 0;
    list-style: none;
}

.list-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}


/* =========================================================
   7. IMAGES
   ========================================================= */

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

img[data-cover],
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.img-rounded {
    border-radius: var(--radius-md, 0.5rem);
}

.img-circle {
    border-radius: 50%;
}


/* =========================================================
   8. FIGURE
   ========================================================= */

figure {
    margin: 0;
}

figcaption {
    margin-top: 0.5rem;
    color: var(--color-text-muted, #6b7280);
    font-size: 0.875rem;
}


/* =========================================================
   9. HORIZONTAL RULE
   ========================================================= */

hr {
    height: 0;
    margin: 1.5rem 0;
    border: 0;
    border-top: 1px solid
        var(--color-border, #e5e7eb);
}


/* =========================================================
   10. BLOCKQUOTES
   ========================================================= */

blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid
        var(--color-primary, #2563eb);
    background: var(--color-surface, #f8fafc);
    color: var(--color-text-muted, #6b7280);
}


/* =========================================================
   11. CODE
   ========================================================= */

code,
kbd,
samp,
pre {
    font-family:
        var(--font-family-mono,
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        Menlo,
        monospace);
}

code {
    padding: 0.15em 0.35em;
    border-radius: 0.25rem;
    background: var(--color-code-bg, #f3f4f6);
    color: var(--color-code-text, #be123c);
    font-size: 0.875em;
}

pre {
    max-width: 100%;
    margin: 1rem 0;
    padding: 1rem;
    overflow-x: auto;
    border-radius: var(--radius-md, 0.5rem);
    background: var(--color-code-block-bg, #111827);
    color: var(--color-code-block-text, #f9fafb);
    font-size: 0.875rem;
    line-height: 1.6;
}

pre code {
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
}


/* =========================================================
   12. TABLE DEFAULT
   ========================================================= */

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

th {
    font-weight: 700;
    text-align: left;
}


/* =========================================================
   13. FORM ELEMENT DEFAULTS
   ========================================================= */

button,
input,
textarea,
select {
    font: inherit;
}

button,
[role="button"] {
    cursor: pointer;
}

button:disabled,
input:disabled,
textarea:disabled,
select:disabled {
    cursor: not-allowed;
}

textarea {
    resize: vertical;
}


/* =========================================================
   14. PLACEHOLDER
   ========================================================= */

::placeholder {
    color: var(--color-placeholder, #9ca3af);
    opacity: 1;
}


/* =========================================================
   15. TEXT SELECTION
   ========================================================= */

::selection {
    background: var(--color-primary, #2563eb);
    color: var(--color-on-primary, #ffffff);
}


/* =========================================================
   16. ACCESSIBILITY
   ========================================================= */

:focus {
    outline: none;
}

:focus-visible {
    outline: 3px solid
        var(--color-focus, rgba(37, 99, 235, 0.35));
    outline-offset: 2px;
}


/*
   Screen-reader-only content.

   Example:
   <span class="sr-only">Search businesses</span>
*/

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sr-only-focusable:focus,
.sr-only-focusable:active {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}


/* =========================================================
   17. SKIP LINK
   ========================================================= */

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 99999;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md, 0.5rem);
    background: var(--color-primary, #2563eb);
    color: var(--color-on-primary, #ffffff);
    font-weight: 700;
}

.skip-link:focus {
    top: 1rem;
}


/* =========================================================
   18. COMMON TEXT UTILITIES
   ========================================================= */

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: var(--color-text-muted, #6b7280);
}

.text-primary {
    color: var(--color-primary, #2563eb);
}

.text-success {
    color: var(--color-success, #16a34a);
}

.text-warning {
    color: var(--color-warning, #d97706);
}

.text-danger {
    color: var(--color-danger, #dc2626);
}

.text-info {
    color: var(--color-info, #0891b2);
}

.text-white {
    color: #ffffff;
}


/* =========================================================
   19. FONT WEIGHT UTILITIES
   ========================================================= */

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.fw-900 {
    font-weight: 900;
}


/* =========================================================
   20. TEXT TRANSFORM
   ========================================================= */

.text-uppercase {
    text-transform: uppercase;
}

.text-lowercase {
    text-transform: lowercase;
}

.text-capitalize {
    text-transform: capitalize;
}


/* =========================================================
   21. TEXT OVERFLOW
   ========================================================= */

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-break {
    overflow-wrap: anywhere;
    word-break: break-word;
}


/* =========================================================
   22. DISPLAY UTILITIES
   ========================================================= */

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-inline {
    display: inline !important;
}

.d-inline-block {
    display: inline-block !important;
}

.d-flex {
    display: flex !important;
}

.d-inline-flex {
    display: inline-flex !important;
}

.d-grid {
    display: grid !important;
}


/* =========================================================
   23. FLEX UTILITIES
   ========================================================= */

.flex-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.items-start {
    align-items: flex-start;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.justify-start {
    justify-content: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.justify-evenly {
    justify-content: space-evenly;

}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.5rem;
}

.gap-6 {
    gap: 2rem;
}


/* =========================================================
   24. VISIBILITY
   ========================================================= */

.visible {
    visibility: visible !important;
}

.invisible {
    visibility: hidden !important;
}

.opacity-0 {
    opacity: 0;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-100 {
    opacity: 1;
}


/* =========================================================
   25. CURSOR
   ========================================================= */

.cursor-pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}

.cursor-not-allowed {
    cursor: not-allowed;
}


/* =========================================================
   26. USER SELECT
   ========================================================= */

.user-select-none {
    user-select: none;
}

.user-select-text {
    user-select: text;
}

.user-select-all {
    user-select: all;
}


/* =========================================================
   27. COMMON BACKGROUNDS
   ========================================================= */

.bg-primary {
    background-color: var(--color-primary, #2563eb);
    color: var(--color-on-primary, #ffffff);
}

.bg-white {
    background-color: #ffffff;
}

.bg-light {
    background-color: var(--color-bg-soft, #f8fafc);
}

.bg-surface {
    background-color: var(--color-surface, #ffffff);
}

.bg-dark {
    background-color: var(--color-dark, #111827);
    color: #ffffff;
}


/* =========================================================
   28. BORDER UTILITIES
   ========================================================= */

.border {
    border: 1px solid var(--color-border, #e5e7eb);
}

.border-top {
    border-top: 1px solid var(--color-border, #e5e7eb);
}

.border-right {
    border-right: 1px solid var(--color-border, #e5e7eb);
}

.border-bottom {
    border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.border-left {
    border-left: 1px solid var(--color-border, #e5e7eb);
}

.border-none {
    border: 0 !important;
}


/* =========================================================
   29. BORDER RADIUS
   ========================================================= */

.rounded-sm {
    border-radius: var(--radius-sm, 0.25rem);
}

.rounded {
    border-radius: var(--radius-md, 0.5rem);
}

.rounded-lg {
    border-radius: var(--radius-lg, 0.75rem);
}

.rounded-xl {
    border-radius: var(--radius-xl, 1rem);
}

.rounded-full {
    border-radius: 9999px;
}


/* =========================================================
   30. SHADOWS
   ========================================================= */

.shadow-none {
    box-shadow: none !important;
}

.shadow-sm {
    box-shadow:
        var(--shadow-sm,
        0 1px 2px rgba(0, 0, 0, 0.05));
}

.shadow {
    box-shadow:
        var(--shadow-md,
        0 4px 12px rgba(0, 0, 0, 0.08));
}

.shadow-lg {
    box-shadow:
        var(--shadow-lg,
        0 10px 30px rgba(0, 0, 0, 0.12));
}


/* =========================================================
   31. POSITION
   ========================================================= */

.position-static {
    position: static;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.position-fixed {
    position: fixed;
}

.position-sticky {
    position: sticky;
}


/* =========================================================
   32. OVERFLOW
   ========================================================= */

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

.overflow-x-auto {
    overflow-x: auto;
}

.overflow-y-auto {
    overflow-y: auto;
}


/* =========================================================
   33. WIDTH / HEIGHT
   ========================================================= */

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}


/* =========================================================
   34. CONTENT VISIBILITY
   ========================================================= */

.content-auto {
    content-visibility: auto;
}


/* =========================================================
   35. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* =========================================================
   36. DARK MODE FOUNDATION
   ========================================================= */

@media (prefers-color-scheme: dark) {
    html[data-theme="system"] {
        color-scheme: dark;
    }
}


/* =========================================================
   END OF base.css
   ========================================================= */