/*
Theme Name: Dien May Du An
Theme URI: https://dienmayduan.com.vn/
Author: OneStack
Author URI: https://onestacktech.com/
Description: Theme code tay dành riêng cho website Điện Máy Dự Án.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: dienmayduan
*/

:root {
    --dmda-text: #172033;
    --dmda-muted: #667085;
    --dmda-border: #e8ebf0;
    --dmda-background: #ffffff;
    --dmda-container: 1200px;
}

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

html {
    margin: 0;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--dmda-text);
    background: var(--dmda-background);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

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

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

.site-wrapper {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.site-container {
    width: min(calc(100% - 40px), var(--dmda-container));
    margin-inline: auto;
}

.site-header {
    min-height: 72px;
    border-bottom: 1px solid var(--dmda-border);
    background: #ffffff;
}

.site-header__inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.site-navigation .menu {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.site-navigation a:hover,
.site-navigation a:focus-visible {
    color: var(--dmda-muted);
}

.site-main {
    flex: 1;
}

.coding-placeholder {
    display: grid;
    min-height: calc(100vh - 137px);
    padding: 48px 20px;
    place-items: center;
    text-align: center;
}

.coding-placeholder h1 {
    margin: 0;
    color: var(--dmda-muted);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.content-area {
    padding-block: 56px;
}

.content-area h1 {
    margin-top: 0;
}

.site-footer {
    min-height: 64px;
    border-top: 1px solid var(--dmda-border);
    background: #ffffff;
    color: var(--dmda-muted);
    font-size: 14px;
}

.site-footer__inner {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 767px) {
    .site-container {
        width: min(calc(100% - 32px), var(--dmda-container));
    }

    .site-header__inner {
        min-height: 64px;
        flex-wrap: wrap;
        gap: 12px;
        padding-block: 14px;
    }

    .site-navigation .menu {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .coding-placeholder {
        min-height: calc(100vh - 129px);
    }
}
