/*
Theme Name: Esma Kuris
Theme URI: https://esmakuris.com
Description: Esma Kuris Bastan custom child theme.
Author: Esma Kuris
Template: kadence
Version: 1.0.0
Text Domain: esmakuris
*/


/* =========================================================
   ESMA KURIS DESIGN SYSTEM
   ========================================================= */

:root {

    --ek-cream: #F5F0EA;
    --ek-cream-light: #FAF8F5;

    --ek-beige: #DED2C6;
    --ek-taupe: #B9A28E;

    --ek-brown: #66564A;
    --ek-dark: #342F2B;

    --ek-text: #47403B;
    --ek-muted: #847970;

    --ek-white: #FFFFFF;

    --ek-line: rgba(70, 60, 52, 0.16);

    --ek-container: 1280px;

    --global-palette1: #B9A28E;
    --global-palette2: #66564A;
    --global-palette3: #342F2B;
}


/* =========================================================
   GLOBAL
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ek-white);
    color: var(--ek-text);

    font-family:
        "Montserrat",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 16px;
    font-weight: 300;

    line-height: 1.8;
    letter-spacing: 0.01em;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title {

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    color: var(--ek-dark);

    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -0.02em;
}


h1 {
    font-size: clamp(48px, 6vw, 90px);
}


h2 {
    font-size: clamp(40px, 5vw, 68px);
}


h3 {
    font-size: clamp(30px, 3vw, 44px);
}


p {
    margin-bottom: 1.6em;
}


a {
    color: var(--ek-brown);
    transition: all 0.25s ease;
}


a:hover {
    color: var(--ek-taupe);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header-row-container-inner {

    background:
        rgba(250, 248, 245, 0.97);

    border-bottom:
        1px solid var(--ek-line);
}


.site-main-header-inner-wrap {
    min-height: 92px;
}


.site-branding {
    padding-top: 8px;
    padding-bottom: 8px;
}


.site-title {

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 27px;

    font-weight: 500;

    letter-spacing: 0.04em;
}


.primary-menu-container > ul > li > a {

    font-size: 12px;

    font-weight: 400;

    text-transform: uppercase;

    letter-spacing: 0.15em;

    padding-left: 18px;
    padding-right: 18px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.wp-block-button__link,
.kb-button,
button,
input[type="submit"] {

    border-radius: 0 !important;

    background: var(--ek-dark);

    color: var(--ek-white);

    border: 1px solid var(--ek-dark);

    padding: 15px 30px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 11px;

    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 0.16em;

    transition: all 0.25s ease;
}


.wp-block-button__link:hover,
.kb-button:hover,
button:hover,
input[type="submit"]:hover {

    background: transparent;

    color: var(--ek-dark);
}


/* =========================================================
   PAGE LAYOUT
   ========================================================= */

body.page .content-area {
    margin-top: 0;
    margin-bottom: 0;
}


body.page .entry-content-wrap {
    padding-top: 0;
    padding-bottom: 0;
}


body.page .content-bg {
    background: transparent;
}


/* =========================================================
   IMAGES
   ========================================================= */

.entry-content img {
    border-radius: 0;
}


/* =========================================================
   FOOTER
   ========================================================= */

#colophon.site-footer {

    background: var(--ek-dark);

    color: rgba(255,255,255,0.72);
}


#colophon.site-footer a {

    color: rgba(255,255,255,0.82);
}


#colophon.site-footer a:hover {

    color: var(--ek-white);
}


/* =========================================================
   CUSTOM ESMA KURIS COMPONENTS
   ========================================================= */

.ek-container {

    width: min(
        calc(100% - 48px),
        var(--ek-container)
    );

    margin-left: auto;
    margin-right: auto;
}


.ek-section {

    padding-top: 120px;
    padding-bottom: 120px;
}


.ek-section-soft {

    background: var(--ek-cream-light);
}


.ek-section-cream {

    background: var(--ek-cream);
}


.ek-eyebrow {

    font-size: 11px;

    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 0.22em;

    color: var(--ek-muted);

    margin-bottom: 22px;
}


.ek-heading {

    margin-bottom: 30px;

    max-width: 850px;
}


.ek-lead {

    font-size: 18px;

    font-weight: 300;

    line-height: 1.9;

    color: var(--ek-muted);

    max-width: 700px;
}


.ek-grid-2 {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 80px;

    align-items: center;
}


.ek-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    padding: 0 32px;

    background: var(--ek-dark);

    border: 1px solid var(--ek-dark);

    color: var(--ek-white);

    font-size: 11px;

    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 0.16em;

    text-decoration: none;
}


.ek-button:hover {

    background: transparent;

    color: var(--ek-dark);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {

    .ek-section {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .ek-grid-2 {
        gap: 50px;
    }

}


@media (max-width: 767px) {

    body {
        font-size: 15px;
    }

    .ek-container {

        width:
            min(calc(100% - 32px), var(--ek-container));
    }

    .ek-section {

        padding-top: 70px;

        padding-bottom: 70px;
    }

    .ek-grid-2 {

        grid-template-columns: 1fr;

        gap: 40px;
    }

    h1 {

        font-size:
            clamp(46px, 15vw, 68px);
    }

}
