/* DigiMint Inc — Modern, clean design */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
    --color-bg: #0f1419;
    --color-surface: #1a2332;
    --color-surface-light: #243044;
    --color-accent: #22c55e;
    --color-accent-hover: #16a34a;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-border: #334155;
    --color-header-bg: #ffffff;
    --color-header-text: #1a2332;
    --color-header-muted: #64748b;
    --radius: 12px;
    --radius-lg: 20px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

/* Header: light background for logo compatibility (logo has white bg) */
header {
    background: var(--color-header-bg);
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

header img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

header .company-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-header-text);
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--color-header-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover,
nav a.active {
    color: var(--color-accent);
}

main {
    padding: 4rem 5%;
    max-width: 900px;
    margin: 0 auto;
}

h1, h2, h3 {
    color: var(--color-text);
    font-weight: 600;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1rem; }
h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }

p {
    color: var(--color-text-muted);
    margin: 0 0 1rem;
}

.hero {
    background: linear-gradient(135deg, rgba(15,20,25,0.92) 0%, rgba(26,35,50,0.88) 100%),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
    padding: 5rem 5%;
}

.hero h1 {
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.hero .button {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: var(--color-accent);
    color: var(--color-bg) !important;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.hero .button:hover {
    background: var(--color-accent-hover);
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    color: var(--color-bg) !important;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.button:hover {
    background: var(--color-accent-hover);
}

.button.outline {
    background: transparent;
    color: var(--color-accent) !important;
    border: 2px solid var(--color-accent);
}

.button.outline:hover {
    background: rgba(34, 197, 94, 0.1);
}

/* Services / sections */
.service-card,
.project-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin: 1.5rem 0;
}

.service-card h3,
.project-card h3 {
    margin-top: 0;
    color: var(--color-accent);
}

.service-card .tech-tags,
.project-card .tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    background: var(--color-surface-light);
    border-radius: 999px;
    color: var(--color-text-muted);
}

.project-card {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
}

.project-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius);
}

.project-card-content {
    flex: 1;
    min-width: 200px;
}

/* Contact */
.contact-block {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 1.5rem 0;
}

.contact-block a {
    color: var(--color-accent);
    text-decoration: none;
}

.contact-block a:hover {
    text-decoration: underline;
}

.contact-block .address {
    margin: 0.5rem 0;
    line-height: 1.8;
}

footer {
    text-align: center;
    padding: 2rem 5%;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 4rem;
}

footer a {
    color: var(--color-accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        gap: 1.25rem;
    }

    .hero {
        padding: 3rem 5%;
    }

    .project-card {
        flex-direction: column;
    }

    .project-card img {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
}
