/* public/css/custom.css */

:root {
    /* Primary color using HSL for easy adjustments */
    --primary-h: 220; /* hue (blue) */
    --primary-s: 80%;
    --primary-l: 55%;
    --primary-color: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-light: hsl(var(--primary-h), var(--primary-s), 70%);
    --primary-dark: hsl(var(--primary-h), var(--primary-s), 40%);
    --bg-light: #f5f7fa;
    --bg-dark: #1a1b1e;
    --text-light: #1e1e1e;
    --text-dark: #f0f0f0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-light);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Glassmorphism cards */
.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Apply glass to existing components */
.service-card, .project-card, .cta-section {
    composes: glass-card; /* using CSS modules style – will apply class */
}

/* Button primary gradient */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
}

/* Lazy‑load placeholder (blur) */
.lazy-img {
    filter: blur(8px);
    transition: filter 0.3s ease;
}

.lazy-img.loaded {filter: blur(0);}

/* Header logo size */
.header-brand img {
    max-height: 30px; /* Adjust logo height for better fit */
    height: auto;
    width: auto;
}

/* Header navigation spacing */
