/* ============================================================
   main.css — Project styles
   Structure: import tokens → import base → project sections
   Breakpoints: sm 600px  md 900px  lg 1200px  xl 1600px
   ============================================================ */

@import 'root.css';
@import 'base.css';
@import 'menu.css';


/* ── Hero ────────────────────────────────────────────────── */



/* ── Hero ────────────────────────────────────────────────── */
/* Tip: add padding-top matching #mainNav height (64px) to body or first section */



/* ── Sections (shared section patterns) ─────────────────── */



/* ── Homepage ────────────────────────────────────────────── */



/* ── News list ───────────────────────────────────────────── */



/* ── News detail ─────────────────────────────────────────── */



/* ── Contact form ────────────────────────────────────────── */



/* ── Newsletter ──────────────────────────────────────────── */



/* ── Nav CTA button ──────────────────────────────────────── */

#mainNav .nav-cta-btn {
    grid-column: 3;
    align-self: center;
    padding: 12px 22px;
    white-space: nowrap;
    margin-left: clamp(5px, 3vw, 80px);
}

@media (max-width: 900px) {
    #mainNav .nav-cta-btn {
        display: none;
    }
}


/* ── 404 ────────────────────────────────────────────────── */

@font-face {
    font-family: 'PP Pangaia';
    src: url('/assets/fonts/PPPangaia-Light.woff2') format('woff2'),
        url('/assets/fonts/PPPangaia-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

.pid_49 #mainText {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--nav-height) - 200px);
    text-align: center;
}

.pid_49 #mainText .wrap {
    max-width: 640px;
}

.pid_49 #mainText h1 {
    font-size: clamp(38px, 4.5vw, 61px);
    margin-bottom: var(--space-4);
}

.pid_49 #mainText p {
    font-size: var(--text-base);
    color: var(--color-text);
    margin-bottom: var(--space-4);
}

.pid_49 #mainText p:last-child {
    margin-bottom: 0;
}


/* ── Footer ──────────────────────────────────────────────── */

.site-footer .container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.site-footer {
    background: #f6efe5;
    color: var(--color-text);
    margin: clamp(16px, 2vw, 30px);
    border-radius: clamp(20px, 2.5vw, 36px);
    padding: 56px 0 0;
    font-size: var(--text-sm);
    line-height: 1.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr repeat(3, 1fr) auto;
    gap: 48px 40px;
    padding-bottom: 48px;
}

.footer-brand {
    display: block;
    margin-bottom: 12px;
}

.footer-brand img {
    height: 40px;
    width: auto;
}

.footer-brand-text {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--color-text-light);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: var(--text-sm);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-dark);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    color: var(--color-text-light);
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
    border-color: var(--color-primary);
    color: var(--color-dark);
    background: rgba(184, 149, 106, 0.15);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 50px 0;
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-light);
}


/* ── Responsive ──────────────────────────────────────────── */
/*
   Rule: use only the 4 breakpoints defined in root.css.
   Write mobile-first (min-width). Add max-width only when
   genuinely needed to constrain something on desktop.
*/

@media (min-width: 600px) {

}

@media (min-width: 900px) {

}

@media (min-width: 1200px) {

}

@media (min-width: 1600px) {

}

/* ── Footer responsive ──────────────────────────────────── */

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
