/* ========================================
   RASTI - CSS Variables & Global Styles
   ======================================== */

:root {
    /* Force light mode regardless of system preference */
    color-scheme: light only;

    /* Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Primary Color: Pink */
    --primary: #BD3D75;
    --primary-hover: #A83366;

    /* Secondary Accent: Coral */
    --secondary: #F29E78;
    --secondary-hover: #E88A67;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Titan One', cursive;

    /* Spacing & Borders */
    --radius-sm: 6px;
    --radius-md: 8px;
    --navbar-height: 72px;

    /* Brand Colors (aliases for components) */
    --brand-primary: #1f529e;
    --brand-accent: #a25281;

    /* Text Colors */
    --text-strong: #1f2a44;
    --text-muted: #6b7280;

    /* Glass/Border Effects */
    --glass-border: rgba(31, 82, 158, 0.12);
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.section-title {
    font-family: var(--font-display);
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary) !important;
    margin-bottom: 1rem;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--gray-900);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent horizontal scroll globally */
}

body main {
    padding-block: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Content transition (excludes navbar/footer) */
.page-transition-container {
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.page-transition-exit {
    opacity: 0;
    transform: translateY(8px);
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* Remove default focus outline on form/interactive elements (no global shadow reset) */
a:focus,
a:active,
button:focus,
button:active,
input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    box-shadow: none !important;
}