/*
Theme Name: PepperTreeKidz (Hello Elementor Child)
Theme URI: https://peppertreekidz.co.za
Description: Custom child theme for PepperTreeKidz preschool, built on Hello Elementor. Fully editable in Elementor.
Author: PepperTreeKidz
Template: hello-elementor
Version: 1.0.0
Text Domain: peppertreekidz
*/

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
    --ptk-background: #fbfcf8;
    --ptk-foreground: #1f2e26;
    --ptk-primary: #3b9b63;
    --ptk-primary-foreground: #ffffff;
    --ptk-secondary: #edf1e4;
    --ptk-secondary-foreground: #293d33;
    --ptk-accent: #e8a530;
    --ptk-accent-foreground: #ffffff;
    --ptk-border: #e2e7da;
    --ptk-muted-foreground: #677e73;
    --ptk-font-heading: 'Quicksand', sans-serif;
    --ptk-font-body: 'Nunito', sans-serif;
}

body {
    background-color: var(--ptk-background);
    color: var(--ptk-foreground);
    font-family: var(--ptk-font-body);
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
    font-family: var(--ptk-font-heading) !important;
    font-weight: 700;
}

a {
    color: var(--ptk-primary);
}

/* Buttons matching the original rounded-pill style */
.elementor-button,
.wpcf7-submit {
    background-color: var(--ptk-primary) !important;
    color: var(--ptk-primary-foreground) !important;
    border-radius: 999px !important;
    font-family: var(--ptk-font-heading) !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
    border: none !important;
}

.elementor-button:hover,
.wpcf7-submit:hover {
    background-color: var(--ptk-accent) !important;
    color: var(--ptk-accent-foreground) !important;
}

/* Rounded cards, matching bg-card rounded-2xl border */
.ptk-card {
    background: #ffffff;
    border: 1px solid var(--ptk-border);
    border-radius: 20px;
    padding: 32px;
}

/* Site header */
.site-header {
    background-color: rgba(255,255,255,0.95);
    border-bottom: 1px solid var(--ptk-border);
}

.site-logo-text {
    font-family: var(--ptk-font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ptk-foreground);
}
.site-logo-text span {
    color: var(--ptk-primary);
}

/* Footer, matching bg-foreground text-background/80 */
.ptk-footer {
    background-color: var(--ptk-foreground);
    color: rgba(251,252,248,0.7);
    padding: 60px 0 30px;
}
.ptk-footer a {
    color: rgba(251,252,248,0.7);
    text-decoration: none;
}
.ptk-footer a:hover {
    color: var(--ptk-primary);
}
.ptk-footer h4 {
    color: var(--ptk-background);
    font-family: var(--ptk-font-heading);
    margin-bottom: 16px;
}
.ptk-footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.ptk-footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.75rem;
    color: rgba(251,252,248,0.4);
}
@media (max-width: 767px) {
    .ptk-footer-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .ptk-footer-columns { grid-template-columns: 1fr; }
}
