
/* ========================================
   FOTOICON - GLOBAL DESIGN SYSTEM
   ======================================== */


/* 1. DESIGN VARIABLES */

:root {
    /* Colours */
    --color-background: #F6F4E9;
    --color-text: #182B25;
    --color-muted: #758078;
    --color-border: #E7E3D5;

    --color-green: #D5E7D2;
    --color-green-light: #E0E8D7;
    --color-peach: #F5D3BE;
    --color-beige: #EEE8D5;

    /* Typography */
    --font-heading: Georgia, serif;
    --font-body: Arial, sans-serif;

    /* Layout */
    --container-width: 1400px;
    --page-padding: 24px;

    /* Styling */
    --radius-small: 8px;
    --radius-medium: 18px;
    --radius-large: 28px;

    --transition: 0.25s ease;
}


/* 2. GLOBAL RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}


/* 3. GENERATEPRESS BACKGROUND */

.site,
.site-content,
.content-area,
.inside-article,
.inside-header,
.inside-navigation,
.main-navigation,
.footer-widgets,
.site-info {
    background: transparent;
}


/* 4. TYPOGRAPHY */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

p {
    margin-bottom: 1em;
}


/* 5. LINKS */

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-muted);
}


/* 6. IMAGES */

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* 7. BUTTONS */

button,
.button,
.wp-element-button,
input[type="submit"] {
    font-family: var(--font-body);
    border-radius: 50px;
    transition: all var(--transition);
    cursor: pointer;
}


/* 8. FORM ELEMENTS */

input,
select,
textarea {
    max-width: 100%;
    font-family: var(--font-body);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--color-green);
    outline-offset: 2px;
}


/* 9. RESPONSIVE PAGE PADDING */

@media (max-width: 768px) {

    :root {
        --page-padding: 16px;
    }

    body {
        font-size: 15px;
    }

}
