/*
Theme Name:  GDM Consulting Group
Author:      GDM Group
Version:     1.0
Description: Custom theme for GDM Consulting Group
Text Domain: gdmgroup
*/

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

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

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

ul, ol {
    list-style: none;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: #0d0d0d;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.875rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   Layout
   ============================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--narrow {
    max-width: 800px;
}

.container--wide {
    max-width: 1440px;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-branding {
    flex-shrink: 0;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0d0d0d;
}

.site-title a:hover {
    color: #2563eb;
}

/* ============================================================
   Navigation
   ============================================================ */
.primary-navigation {
    display: flex;
    align-items: center;
}

.primary-navigation ul {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.primary-navigation a {
    display: inline-block;
    padding: 0.5rem 0.875rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
    border-radius: 6px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
    color: #2563eb;
    background-color: #eff6ff;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    color: #374151;
    line-height: 1;
}

/* ============================================================
   Hero / Banner
   ============================================================ */
.hero {
    padding: 6rem 0;
    background-color: #f8fafc;
    border-bottom: 1px solid #e5e5e5;
}

.hero__label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #2563eb;
    margin-bottom: 1rem;
}

.hero__title {
    margin-bottom: 1.5rem;
    max-width: 720px;
}

.hero__description {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1;
    white-space: nowrap;
}

.btn--primary {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.btn--primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

.btn--outline {
    background-color: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.btn--outline:hover {
    background-color: #eff6ff;
}

/* ============================================================
   Sections
   ============================================================ */
.section {
    padding: 5rem 0;
}

.section--grey {
    background-color: #f8fafc;
}

.section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section__label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.section__title {
    margin-bottom: 1rem;
}

.section__description {
    color: #6b7280;
    font-size: 1.0625rem;
}

/* ============================================================
   Cards / Grid
   ============================================================ */
.card-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.card__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #2563eb;
}

.card__title {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
}

.card__body {
    color: #6b7280;
    font-size: 0.9375rem;
}

/* ============================================================
   Page Content
   ============================================================ */
.page-content {
    padding: 4rem 0;
}

.page-header {
    padding: 3.5rem 0 2rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 3rem;
}

.entry-content > * + * {
    margin-top: 1.25rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5rem;
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content a:hover {
    color: #1d4ed8;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #1e293b;
    margin-bottom: 2rem;
}

.footer-brand__title {
    color: #f1f5f9;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-brand__tagline {
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-col__heading {
    color: #f1f5f9;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-col a {
    font-size: 0.9375rem;
    color: #94a3b8;
    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: #f1f5f9;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 0.875rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .site-footer__top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .primary-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid #e5e5e5;
        padding: 1rem 1.5rem;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.125rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .section {
        padding: 3.5rem 0;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
