/* === SKDS Public Stylesheet ===
   This is a placeholder. Replace with the original stylesheet.css from the static site.
   The template structure is ready to accept your existing CSS.
*/

:root {
    --text: #333;
    --bg: #fff;
    --accent: #1a1a1a;
    --light: #f8f8f8;
    --border: #e0e0e0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Header / Nav --- */

.site-header {
    padding: 20px 40px;
    border-bottom: 1px solid var(--border);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.5px;
}

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

/* --- Main --- */

main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    width: 100%;
}

/* --- Hero --- */

.hero {
    text-align: center;
    padding: 60px 0 40px;
}

.hero h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 4px;
}

.subtitle {
    color: #888;
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: 8px;
}

.intro {
    max-width: 600px;
    margin: 16px auto 0;
    color: #666;
}

/* --- Projects Grid --- */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.project-card {
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s;
}

.project-card:hover { transform: translateY(-2px); }

.project-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.project-image--placeholder {
    height: 240px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #ccc;
}

.project-info { padding: 12px 0; }
.project-info h3 { font-size: 16px; font-weight: 600; }
.project-category, .project-location {
    font-size: 12px;
    color: #888;
    margin-right: 12px;
}

/* --- Project Detail --- */

.project-header { margin-bottom: 24px; }
.project-header h1 { font-size: 28px; }
.project-meta { display: flex; gap: 16px; margin-top: 8px; }
.meta-item { font-size: 13px; color: #888; }
.project-description { margin-bottom: 32px; line-height: 1.8; }

.project-gallery { display: flex; flex-direction: column; gap: 24px; }
.gallery-item img { width: 100%; display: block; }
.gallery-item figcaption { font-size: 13px; color: #888; margin-top: 8px; }
.gallery-item--text {
    max-width: 720px;
    padding: 16px 0;
    line-height: 1.8;
    font-size: 15px;
}

.project-nav { margin-top: 40px; }
.project-nav a { color: var(--accent); text-decoration: none; font-size: 14px; }

/* --- Services --- */

.services-page h1 { font-size: 28px; margin-bottom: 24px; }
.services-list { display: flex; flex-direction: column; gap: 24px; }

.service-card {
    border: 1px solid var(--border);
    padding: 24px;
}

.service-card h2 { font-size: 18px; }
.service-price { font-size: 14px; color: #888; margin-top: 4px; }
.service-description { margin-top: 12px; }
.service-features { margin-top: 12px; padding-left: 20px; }
.service-features li { margin-bottom: 4px; font-size: 14px; }

/* --- Contact --- */

.contact-page h1 { font-size: 28px; margin-bottom: 8px; }
.contact-intro { color: #666; margin-bottom: 24px; }

.contact-form { max-width: 560px; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }

.btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 14px;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn:hover { background: #444; }

/* --- Flash --- */

.flash-messages { margin-bottom: 24px; }
.flash { padding: 12px 16px; margin-bottom: 8px; font-size: 14px; }
.flash-success { background: #d5f5e3; color: #1e7e34; }
.flash-error { background: #fadbd8; color: #922b21; }

/* --- Error Pages --- */

.error-page { text-align: center; padding: 80px 0; }
.error-page h1 { font-size: 64px; color: #ccc; }
.error-page p { margin-top: 8px; color: #888; }
.error-page a { display: inline-block; margin-top: 16px; color: var(--accent); text-decoration: none; }

/* --- Footer --- */

.site-footer {
    text-align: center;
    padding: 20px 40px;
    color: #999;
    font-size: 12px;
    border-top: 1px solid var(--border);
}

.empty-state { text-align: center; padding: 60px 0; color: #888; }

/* --- Responsive --- */

@media (max-width: 768px) {
    .site-header { padding: 16px 20px; }
    main { padding: 20px; }
    .hero { padding: 40px 0 24px; }
    .hero h1 { font-size: 24px; }
    .projects-grid { grid-template-columns: 1fr; }
    .nav-links { gap: 20px; }
}
