/**
 * Base Styles - Foundation CSS
 * Contains: Reset, Typography, CSS Variables, Utility Classes
 * Version: 1.0
 * Last Updated: 2026-02-10
 */

/* ========================================
   CSS Custom Properties (Variables)
   ======================================== */
:root {
    /* Colors */
    --color-primary: #bb1f2a;
    --color-primary-hover: #a01b24;
    --color-secondary: #687188;
    --color-dark: #292b2c;
    --color-light: #fff;
    --color-gray: #f7f8fb;
    --color-border: #ddd;
    --color-success: #388e3c;
    --color-danger: #bb1f2a;
    --color-warning: #f6bc3e;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-xs: 12px;
    --line-height-base: 1.75;

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-xxl: 50px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-round: 50px;
    --radius-circle: 100%;

    /* Shadows */
    --shadow-sm: 0 0 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 0 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 0 10px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: all 0.3s ease-in-out;
    --transition-normal: all 0.5s ease-in-out;
}

/* ========================================
   CSS Reset & Base Styles
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
html {
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--color-light);
    color: var(--color-secondary);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    margin: 0;
    padding: 0;
}

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-dark);
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 var(--spacing-md) 0;
}

h1 {
    font-size: 34px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    color: var(--color-secondary);
    line-height: 28px;
    margin-bottom: var(--spacing-lg);
}



a {
    color: var(--color-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

a:focus {
    outline: 0;
}

/* ========================================
   Utility Classes
   ======================================== */

/* Display */
.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-inline-block {
    display: inline-block !important;
}

.d-flex {
    display: flex !important;
}

/* Flexbox Utilities */
.flex-wrap {
    flex-wrap: wrap;
}

.flex-column {
    flex-direction: column;
}

.align-items-center {
    align-items: center;
}

.align-items-start {
    align-items: flex-start;
}

.align-items-end {
    align-items: flex-end;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-end {
    justify-content: flex-end;
}

/* Spacing Utilities */
.gap-xs {
    gap: var(--spacing-xs);
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

.gap-lg {
    gap: var(--spacing-lg);
}

/* Text Alignment */
.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

/* Text Transform */
.text-uppercase {
    text-transform: uppercase !important;
}

.text-capitalize {
    text-transform: capitalize !important;
}

/* Font Weight */
.font-weight-normal {
    font-weight: 400 !important;
}

.font-weight-medium {
    font-weight: 500 !important;
}

.font-weight-semibold {
    font-weight: 600 !important;
}

.font-weight-bold {
    font-weight: 700 !important;
}

/* Colors */
.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.text-dark {
    color: var(--color-dark) !important;
}

.text-light {
    color: var(--color-light) !important;
}

.text-success {
    color: var(--color-success) !important;
}

.text-danger {
    color: var(--color-danger) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-gray {
    background-color: var(--color-gray) !important;
}

.bg-light {
    background-color: var(--color-light) !important;
}

/* Border Radius */
.radius-sm {
    border-radius: var(--radius-sm);
}

.radius-md {
    border-radius: var(--radius-md);
}

.radius-lg {
    border-radius: var(--radius-lg);
}

.radius-round {
    border-radius: var(--radius-round);
}

.radius-circle {
    border-radius: var(--radius-circle);
}

/* Shadows */
.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* Width Utilities */
.w-100 {
    width: 100%;
}

.w-auto {
    width: auto;
}

.w-130 {
    width: 130px;
}

.w-150 {
    width: 150px;
}

/* Position */
.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.position-fixed {
    position: fixed;
}

/* Cursor */
.cursor-pointer {
    cursor: pointer;
}

.cursor-help {
    cursor: help;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

/* White Space */
.text-nowrap {
    white-space: nowrap;
}

.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Line Clamp */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Visibility */
.visible {
    visibility: visible !important;
}

.invisible {
    visibility: hidden !important;
}

/* Image Utilities */
img {
    max-width: 100%;
    height: auto;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-cover {
    object-fit: cover;
    object-position: center;
}

.img-cover-top {
    object-fit: cover;
    object-position: top;
}

/* List Reset */
ul,
ol {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

/* Form Elements Reset */
button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

button {
    transition: var(--transition-fast);
    cursor: pointer;
}

input:focus,
textarea:focus,
select:focus {
    outline: 0;
    box-shadow: none;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

label {
    color: var(--color-secondary);
}

/* Iframe */
iframe {
    border: 0;
    display: block;
}

/* Video */
video {
    width: 100%;
}