/*
Theme Name: somaticnourishment
Theme URI: https://somaticnourishment.com/
Author: Tóth Gitta
Author URI: https://btc-webdesign.hu/
Description: Egyéni WordPress sablon a somatic nourishment weboldalhoz
Tags: one-column, custom-colors, custom-menu
Version: 1.1
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: somaticnourishment
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    line-height: 1.5;
}

/* Blokk szintű elemek */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

li {
    font-size: 20px;
}

ul,
ol {
    list-style: none;
}

img,
picture {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
}

a {
    text-decoration: none;
    color: var(--yellow);
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input,
button,
textarea,
select {
  font-family: "Open Sans", sans-serif;
    background: none;
    color: inherit;
}

.center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
}

b,
strong {
    font-weight: 600;
}

.italic {
    font-style: italic;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center-box {
    max-width: 1360px;
    margin: auto;
    padding: 0 20px;
}

:root {
    --malna: #E30B5C;
    --beige: #f5eddf;
    --black: #333;
    --white: #f6f6f6;
    --orange: #FE703A;
    --yellow: #FFCC00;
    --dark-blue: #0070ff;
    --green: #00CC00;
}


body {
    background: #fbf7f1;
  font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--black);

}



/* Gomb alap */
.button {
    display: inline-block;
    color: var(--white);
    pointer-events: auto;
    background: var(--orange);
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    line-height: 2.5;
    outline: transparent;
    padding: 5px 20px;
    text-align: center;
    text-decoration: none;
    touch-action: manipulation;
    white-space: nowrap;
    border-radius: 12px;
    margin-top: 45px;
}

/* CSS */
.button-62 {
    background: linear-gradient(to bottom right, #FFEB3B, #FF9A5A);
    border: 0;
    border-radius: 12px;
    color: var(--malna);
    cursor: pointer;
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    line-height: 2.5;
    outline: transparent;
    padding: 5px 20px;
    text-align: center;
    text-decoration: none;
    transition: box-shadow .2s ease-in-out;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    box-shadow: 0 18px 36px -18px rgba(12, 5, 46, 0.3), 0 30px 60px -12px rgba(12, 5, 46, 0.25);
}

.button-62:not([disabled]):focus {
    box-shadow: 0 0 .25rem rgba(0, 0, 0, 0.5), -.125rem -.125rem 1rem rgba(239, 71, 101, 0.5), .125rem .125rem 1rem rgba(255, 154, 90, 0.5);
}

.button-62:not([disabled]):hover {
    box-shadow: 0 0 .25rem rgba(0, 0, 0, 0.5), -.125rem -.125rem 1rem rgba(239, 71, 101, 0.5), .125rem .125rem 1rem rgba(255, 154, 90, 0.5);
}


.bg {
    background: var(--green);
}

.bo {
    background: var(--yellow);
    color: var(--dark-blue);
}

.bb {
    background: var(--dark-blue);
    color: var(--white);
}

.black {
    color: var(--black);
}

.align-center {
    text-align: center;
}

.italic {
    font-style: italic;
}



/*footer*/
.custom-footer {
    color: var(--white);
    padding: 5rem 20px 0 20px;
    background: rgba(0, 0, 0, 0.9);
}

.footer-col h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col p {
    margin: 30px 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: var(--yellow);
}

.copyright {
    margin-top: 30px;
    border-top: solid 1px var(--beige);
    text-align: center;
    padding: 15px 0;
    color: var(--white);
    font-size: 16px;
}

.copyright p {
    display: flex;
    justify-content: space-evenly;
}



/*külön oldalak*/
.hero-box {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-box h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: white;
}
/*intro-box****/
.intro-box {
    padding: 5rem 0;
}

.intro-text {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
}


  .intro-text p {
    margin-top: 30px;

}
.margin {
    margin: 30px 0;
}

/*mentalbites page****/

#mentalbite {
    cursor: pointer;
    width: 100%;
    z-index: -1;
    padding: 10vw 0;
    background: url(https://somaticnourishment.com/wp-content/uploads/bg2.jpg) center bottom / cover no-repeat fixed;
    background-position: center bottom;
}

.intro-text h2 {
    margin-bottom: 30px;
}

.intro-text svg {
    display: block;
    margin: 0 auto;
    width: 46px;
    height: 43px;
    fill: var(--yellow);
    margin-top: 30px;
}

.categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 5rem;
}

.category {
    box-shadow: rgba(12, 5, 46, 0.3) 0px 18px 36px -18px, rgba(12, 5, 46, 0.25) 0px 30px 60px -12px;
    background: var(--yellow);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category.active {
    background-color: var(--black);
    color: #fff;
}

.images {
    display: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 20px;
}

.images.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Kártyák (flip effect) */
.mbcard {
    width: 350px;
    height: 420px;
    perspective: 1000px;
}

.mbcard-back p {
    margin: 10px 0;
}

.mbcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.mbcard:hover .mbcard-inner {
    transform: rotateY(180deg);
}

.mbcard-front,
.mbcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.mbcard-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mbcard-back {
    background-color: white;
    color: var(--black);
    transform: rotateY(180deg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


