/* The Velvet RM - main stylesheet (no Vite)
   Uses custom fonts from /assets and the project's color palette
*/

:root {
    --color-primary: #e7d9d1;
    --color-secondary: #e0d5d3;
    --color-supporting: #f3e9e7;
    --color-neutral: #faf8f6;
    --font-sans: 'Reem Kufi', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    --font-serif: 'Bristone', Georgia, 'Times New Roman', Times;
}

@font-face {
    font-family: 'Reem Kufi';
    src: url('/assets/ReemKufi-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bristone';
    src: url('/assets/Bristone.ttf') format('truetype');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);

    color: #333;
}

/* Utility-ish classes used across templates */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo img {
    height: 44px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #111;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--color-secondary)
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 1rem;
    background: linear-gradient(180deg, var(--color-neutral) 0%, #ffffff 100%);
}

.hero .hero-left {
    flex: 1;
}

.hero .hero-right {
    flex: 1;
}

.hero h1 {
    font-family: 'Bristone', var(--font-serif);
    font-size: 3rem;
    margin: 0 0 1rem 0;
    color: #222
}

.hero p {
    font-size: 1.1rem;
    color: #444
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column
    }

    .hero h1 {
        font-size: 2rem
    }
}

/* Simple utilities used in existing blades */
.text-e7 {
    color: var(--color-primary)
}

.bg-e7 {
    background-color: var(--color-primary)
}

.bg-e0 {
    background-color: var(--color-secondary)
}

.bg-f3 {
    background-color: var(--color-supporting)
}

.bg-faf {
    background-color: var(--color-neutral)
}

/* simple nav adjustments to match theme */
.navbar {
    background: var(--color-neutral);
    border-bottom: 1px solid var(--color-primary);
}

.navbar a {
    color: #333;
    text-decoration: none
}

/* Footer */
.site-footer {
    background: var(--color-primary);
    color: #222;
    padding: 2rem 0;
    text-align: center
}

/* small helpers to keep layout compatibility with blades that use Tailwind classes */
.flex {
    display: flex
}

.items-center {
    align-items: center
}

.justify-between {
    justify-content: space-between
}

.mt-4 {
    margin-top: 1rem
}

.mb-4 {
    margin-bottom: 1rem
}

.p-4 {
    padding: 1rem
}

.rounded {
    border-radius: 8px
}

.w-full {
    width: 100%
}

.text-center {
    text-align: center
}

/* cards grid used on home */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

@media (max-width:900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:600px) {
    .grid-3 {
        grid-template-columns: 1fr
    }
}