/* assets/css/style.css */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.2 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.2 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.2 0 0);
  --primary: oklch(0.45 0.15 200); /* #1F7A8C - Deep teal */
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.85 0.08 200); /* #A9DADC - Light airy blue */
  --secondary-foreground: oklch(0.2 0 0);
  --muted: oklch(0.96 0 0);
  --muted-foreground: oklch(0.5 0 0);
  --accent: oklch(0.55 0.12 180); /* #2A9D8F - Vibrant turquoise */
  --accent-foreground: oklch(1 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(1 0 0);
  --border: oklch(0.92 0 0);
  --input: oklch(0.96 0 0);
  --ring: oklch(0.45 0.15 200);
  --radius: 0.5rem;
}

body {
    font-family: sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

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

/* Global Header */
.site-header {
    border-bottom: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header__content {
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
}

.site-header__logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.site-header__logo-image {
    height: 3.5rem; /* Adjust as needed */
    width: auto;
}

.site-header__logo-icon {
    height: 2rem;
    width: 2rem;
    border-radius: 0.5rem;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    font-weight: 700;
    font-size: 1.125rem;
}

.site-header__logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.site-header__nav--desktop {
    display: none;
}

.site-header__nav-link {
    color: var(--muted-foreground);
    transition: color 0.2s;
    text-decoration: none;
}

.site-header__nav-link:hover {
    color: var(--foreground);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-header__auth-buttons {
    display: none;
}

.site-header__mobile-menu {
    position: relative;
    display: block;
}

@media (min-width: 768px) {
    .site-header__nav--desktop {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    .site-header__mobile-menu {
        display: none;
    }
    .site-header__auth-buttons {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}

/* Global Sheet (for mobile menu) */
.sheet {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 300px;
    background-color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    z-index: 100;
    display: none;
}

.sheet--active {
    display: block;
}

.sheet__nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: .5rem;
}

.sheet__nav-link {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

.sheet__nav-link:hover {
    color: var(--foreground);
}

.sheet__separator {
    margin: 1rem 0;
    border: 0;
    border-top: 1px solid var(--border);
}

.sheet__cta-link {
    display: block;
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
}

/* Global Buttons */
.button--primary, .button--outline, .button--ghost, .button--icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
}

.button--primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.button--outline {
    border-color: var(--border);
}

.button--ghost {
    background-color: transparent;
}

.button--icon {
    padding: 0.5rem;
}
