﻿/* ============================================
   base.css - Variables, Reset, Typography, Utilities
   ============================================ */

:root {
    /* Colors */
    --color-primary: #38bdff;
    --color-primary-dark: #2a9fd8;
    --color-secondary: #f047ff;
    --color-gradient: linear-gradient(to right, #3ea0e6, #f047ff);
    --color-bg: #1a1a1a;
    --color-bg-dark: #1a1a1a;
    --color-bg-card: rgba(45, 45, 45, 0.9);
    --color-bg-overlay: rgba(0, 0, 0, 0.4); /* Reduced opacity for visible background */
    --color-text: #ffffff;
    --color-text-muted: #b0b0b0;
    --color-success: #4ade80;
    --color-error: #ef4444;
    --color-warning: #FFC107;
    --color-border: rgba(255, 255, 255, 0.2);
    --color-focus: #38bdff;
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    /* Layout */
    --header-height: 135px;
    --top-bar-height: 35px;
    --nav-height: 100px;
    --max-width: 1400px;
    --border-radius: 10px;
    --border-radius-sm: 6px;
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    /* Calendar Colors */
    --high-availability-color: #4CAF50;
    --medium-availability-color: #FFC107;
    --low-availability-color: #F44336;
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

img, svg, video, iframe {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: inherit;
}

input, textarea, button {
    font-family: inherit;
    border-radius: 0.3em;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    hyphens: auto;
}

h1 {
    font-size: 1.5em;
    margin: 0;
}

@media (min-width: 620px) {
    h1 {
        font-size: 2.5em;
    }
}

h1 span {
    font-weight: 400;
}

h2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
}

/* ============================================
   Accessibility
   ============================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

[disabled] {
    opacity: 0.5;
}

[v-show], [v-if] {
    display: none;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

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

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

.mt-0 {
    margin-top: 0;
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mt-xl {
    margin-top: var(--spacing-xl);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 620px) {
    .mobile-text {
        display: none;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .top-bar,
    .main-header,
    .site-footer,
    .mobile-nav,
    .btn-back {
        display: none !important;
    }

    .main-content {
        margin-top: 0;
    }

    body {
        background: white;
        color: black;
    }
}
