/*!
Theme Name: eredics
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: eredics
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

eredics is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/


h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    margin: 0;
}

p {
    margin: 0;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

@font-face {
    font-family: Poppins;
    src: url('fonts/Poppins-Regular.ttf');
    font-display: block;
}

@font-face {
    font-family: PoppinsBold;
    src: url('fonts/Poppins-Bold.ttf');
    font-display: block;
}


* {
    font-family: Poppins
}

.site {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Header Főkonténer */
.site-header {
    width: 100%;
    background-color: #F3EAE5;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    position: fixed;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}


.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu li a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #6d4c3d;
}

.header-logo {
    flex-shrink: 0;
    padding: 0 30px;
    text-align: center;
}

.custom-logo-link img {
    height: 80px;
    width: auto;
    display: block;
}

.nav-menu .sub-menu {
    position: absolute;
}

.nav-menu li {
    list-style-type: none;
}

@media (min-width: 1201px) {
    .nav-menu .menu-item-has-children:hover .sub-menu {
        box-shadow: 0px 10px 10px rgb(0 0 0 / 20%);
        pointer-events: all;
        opacity: 1;
        transition: opacity .3s linear;
    }

    .nav-menu .sub-menu {
        position: absolute;
        right: 0;
        left: -1rem;
        line-height: 1.5;
        opacity: 0;
        pointer-events: none;
        display: flex;
        flex-direction: column;
        font-size: 0.8rem;
        min-width: 300px;
        padding: 1rem;
        z-index: 100000;
        background-color: #F3EAE5;
        gap: 1rem;
    }
}


@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    .header-nav {
        width: 100%;
        justify-content: center !important;
    }

    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.banner {
    height: 800px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 120px;
}

.banner .container {
    position: relative;
    height: 100%;
}

.banner .overlay {
    position: absolute;
    width: 100%;
    height: 800px;
    background: rgba(0, 0, 0, 0.75);
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.76) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-card-content {
    display: flex;
    gap: 3rem;
    padding: 4rem 4rem 4rem 0;
    box-sizing: border-box;
}

.card-left {
    flex: 1;
}

.card-right {
    flex: 1;
}

.hero-card {
    background-color: transparent;
    padding: 5rem 2.5rem;
    display: flex;
    flex-direction: column;
    width: 50%;
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: 0;
}

.sub-badge {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

h1, h2, h3, h4 {
    font-family: PoppinsBold
}

.hero-title {
    font-size: 3.5rem;
    font-family: PoppinsBold;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: 1px;
}

.banner .sub-badge {
    color: #ffffff
}

.hero-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
    margin-top: 10px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #6d4c3d;
    color: #ffffff;
}

.btn-primary:hover, input[type="submit"]:hover {
    background-color: #54392d !important;
    cursor: pointer;
}

.btn-secondary {
    background-color: #ffffff;
    color: #1a1a1a;
    border: 1px solid #cccccc;
}

.btn-secondary:hover {
    border-color: #1a1a1a;
    background-color: #ededed;
}


.bottom-section {
    background-color: #f7f3f0;
    padding-top: 100px;
    padding-bottom: 60px;
}

.project-img-block {
    width: 65%;
}

.project-img-block img {
    display: block;
    width: 100%;
    object-fit: cover;
    max-height: 700px;
}

.projects .container {
    width: 35%;
}

.project-text-block {
    padding: 8rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem
}

.project-text-block .text-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

h2 {
    font-size: 2.5rem;
    margin: 0;
}

.projects {
    display: flex;
    background-color: #F3EAE5;
}

.projects-swiper-block .swiper-slide {
    color: black;
}

.services {
    background-color: #F3EAE5;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.services-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
    text-align: center;
}

.services-text > p {
    max-width: 550px;
    margin-top: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.single-service-card {
    text-decoration: none;
    width: 100%;
    height: 480px;
    display: block;
}

.single-service-card h3 {
    font-size: 2rem;
    color: #000000;
    font-weight: 200;
    margin-top: 0;
}


.solutions {
    margin-top: 6rem;
}

.solutions-text {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 4rem;
}

.solutions-text .sub-badge {
    text-align: center;
    text-transform: revert;
}

.solutions-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    color: #000000;
}

.solutions-header {
    text-align: center;
    margin-bottom: 60px;
}

.sub-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.main-title {
    font-size: 40px;
    font-weight: 800;
    margin: 0;
}

.solutions-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 6rem;
}

.solutions-buttons {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tab-button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    padding: 10px 0;
    position: relative;
    width: 100%;
}

.tab-number {
    font-size: 26px;
    color: #777777;
}

.tab-title {
    font-size: 26px;
    font-weight: 500;
    color: #777777;
    line-height: 1.3;
    margin-right: 1rem;
    margin-left: 1rem;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.active-indicator {
    width: 8px;
    height: 100%;
    background-color: transparent;
    position: absolute;
    left: -20px;
    top: 0;
    transition: background-color 0.3s ease;
}

.tab-button.active .active-indicator {
    background-color: #000000;
}

.tab-button.active .tab-title {
    color: #000000;
    font-weight: 800;
    margin-left: 2rem;
    font-family: PoppinsBold;
}

.tab-button.active .tab-number {
    color: #000000;
    margin-left: 2rem;
    font-weight: 800;
}

.arrow-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #1a1a1a;
    background-color: transparent;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.tab-button .arrow-icon {
    transform: rotate(-45deg);
}

.tab-button.active .arrow-icon {
    transform: rotate(0deg);
    border-color: #000000;
    background-color: #000000;
    color: #ffffff;
}

.tab-button:not(.active):hover .arrow-icon {
    background-color: #f0f0f0;
}

.solutions-card {
    border: 2px solid #000000;
    border-radius: 70px;
    padding: 4rem;
    min-height: 380px;
    background-color: #ffffff;
}

.subpage-solutions.solutions-card {
    min-height: 250px;
}

/* Smooth Tab Content Switching */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.description {
    font-size: 14px;
    line-height: 1.6;
    color: #222222;
    margin-bottom: 25px;
}

.list-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-us {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

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

.solution-list li {
    font-size: 14px;
    color: #333333;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.solution-list li::before {
    content: "-";
    position: absolute;
    left: 0;
}

.reviews {
    background-color: #6d4c3d;
}

.reviews .container {
    padding: 4rem 2rem;
    display: flex;
    gap: 4rem;
}

.reviews .container h2 {
    font-size: 3rem;
    color: white;
    width: 50%;
    text-align: center;
}

.review-swiper {
    width: 50%;
    padding:1rem;
}

.swiper-slide {
    color: white;
}

.about-swiper .swiper-slide {
    display: flex;
    color: brown;
}

.about-swiper-block {
    position: relative;
    padding: 0 60px; /* Helyet hagy a bal/jobb nyilaknak */
}

.about-swiper {
    overflow: hidden;
    width: 100%;
}

.slide-content {
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem;
}

.slide-content img {
    max-width: 640px;
    width: 100%;
    height: 450px;
}

.slide-image-wrapper {
    width: 55%;
    height: 320px;
    flex-shrink: 0;
}

.slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text-box {
    width: 50%;
    background-color: #e5dfda;
    padding: 40px;
    margin-left: -10%;
    position: relative;
    z-index: 2;
}

.slide-text-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    color: #000000;
}

.slide-text-box p {
    font-size: 12px;
    line-height: 1.6;
    color: #333333;
    margin: 0;
}

/* Swiper nyilak custom stílusa */
.about-swiper-block .swiper-button-prev,
.about-swiper-block .swiper-button-next {
    width: 44px;
    height: 44px;
    border: 1px solid #1a1a1a;
    border-radius: 50%;
    color: #1a1a1a;
    margin-top: -22px;
    transition: all 0.3s ease;
    padding: 8px;
}

.about-swiper-block .swiper-button-prev::after,
.about-swiper-block .swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
}

.about-swiper-block .swiper-button-prev {
    left: 0;
}

.about-swiper-block .swiper-button-next {
    right: 0;
}

.about-swiper-block .swiper-button-prev:hover,
.about-swiper-block .swiper-button-next:hover {
    background-color: #000000;
    color: #ffffff;
}

.site-footer {
    background-color: #F3EAE5;
}

.site-footer .container {
    display: flex;
}

.site-footer .footer-img {
    flex: 1;
    height: 360px;
    object-fit: cover;
}

.site-footer > .container > div {
    flex: 1;
    margin: 5rem auto;
    padding: 0 4rem;
    align-items: flex-start;
}

.footer-info {
    display: flex;
    flex-direction: column;
    border-right: solid lightgrey 2px;
}

.footer-menu {
    display: flex;
    justify-content: flex-start;
    border-left: solid lightgrey 2px;
}

.footer-menu .primary-menu {
    padding: 0;
    list-style: none;
}

.footer-menu .primary-menu li a {
    text-decoration: none;
    line-height: 1.4;
    color: black;
    font-size: 20px;
}

.footer-menu .primary-menu li a:hover {
    color: #6d4c3d;
}

.footer-info h4 {
    font-size: 1.25rem;
}

.footer-info > p {
    font-size: 1.125rem;
    margin-top: 1rem;
}

.footer-info a {
    margin-top: auto;
}

.subpage-hero-card {
    display: flex;
    justify-content: center;
    height: 100%;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: 2rem;
}

.subpage-hero-card .hero-title {
    flex: 1;
    text-align: center;
}

.subpage-hero-card > p {
    flex: 1;
    color: white;
}

.contact-fields .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    padding: 4rem 2rem;
}


.contact-fields .container .contact-form {
    flex: 1;
    background-color: #F3EAE5;
    padding: 2rem;
}

.contact-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2rem;
}

.contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.single-contact {
    display: flex;
    gap: 1.25rem;
}

.single-contact img {
    width: 20px;
    height: 20px;
}

.single-contact a {
    text-decoration: none;
    color: black;
}

.single-contact a:hover {
    color: #6d4c3d
}

.single-reference-banner {
    flex-direction: column;
    gap: 2rem;
}

.single-reference-banner > p {
    flex: revert;
}


.single-reference-banner > .hero-title {
    flex: revert;
}

.single-reference-content .container {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    gap: 1rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.wpcf7-form label {
    font-weight: 900;
    font-size: 1.25rem;
}

.wpcf7-form p {
    padding: 0.25rem 0;
}

.wpcf7-form-control {
    margin-top: 0.75rem;
    max-width: 250px;
}

.wpcf7-textarea {
    max-width: 100%;
!important
}

input[type="submit"] {
    background-color: #6d4c3d;
    color: #ffffff;
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 0;
    line-height: 1.6;
    font-family: 'Poppins';
}


.about-quote {
    font-size: 2.5rem;
    text-align: center;
    padding: 1.5rem 0;
}

.about-images {
    padding: 6rem 0;
    background-color: #F3EAE5;
}

.about-us-text-block {
    background-color: #F3EAE5;
    padding: 6rem 0;
}

.about-us-text h2 {
    margin-bottom: 2rem;
}

.about-us-text p {
    margin-top: 1rem;
}

.about-text {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-lead > p {
    margin-bottom: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery-item-large {
    height: 100%;
    min-height: 600px;
}


.gallery-column-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-column-right .gallery-item {
    flex: 1;
}

.gallery-column-right > div:first-of-type {
    flex: 2;
}


.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.tudastar-content {
    margin: 2rem 8rem 4rem;
}

.accordion-body p {
    margin:0 auto 1rem;
}

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

    .gallery-item-large {
        height: 220px;
    }

    .gallery-column-right .gallery-item {
        height: 140px;
    }
}

.work-page-block {
    background-color: #F3EAE5;
    padding: 6rem 0;
}

.work-page-block .container {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.work-page-block .container img {
    aspect-ratio: 3 / 2;
    max-width: 50%;
    object-fit: cover;
}

.work-page-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.work-page-text h3 {
    font-size: 2rem;
    font-family: Poppins;
    font-weight: 100;
}

.tudastar-accordion-section {
    padding: 60px 0;
}

.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid #1a1a1a;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.accordion-arrow {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    border-top: 0px solid transparent;
}

.accordion-item.active .accordion-content {
    border-top: 1px solid #1a1a1a;
}

.accordion-body {
    padding: 24px;
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

.reference-block {
    background-color: #F3EAE5;
    padding: 4rem 0;
}

.references {
    margin: 4rem 0;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.reference-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    gap: 1.5rem;
}

.reference-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.single-reference {
    background-color: white;
    padding: 6rem 8rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.reference-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    flex: 1.5;
}

.reference-image {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.service-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    gap: 1rem;
}

.single-service-page-content {
    margin: 6rem auto;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.header-nav li {
    position: relative;
}

.mobile-only {
    display: none !important;
}


@media only screen and (max-width: 1400px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1250px) {


    .site-footer .footer-img {
        width: 100%;
        height: 280px;
    }

    .site-footer > .container {
        display: flex;
        flex-wrap: wrap;
    }

    .site-footer > .container > div {
        margin: 3rem auto;
        padding: 0 2rem;
    }

    .project-img-block img {
        max-height: 400px;
    }

    .project-img-block {
        width: 100%;
    }

    .projects {
        flex-direction: column;
    }

    .projects .container {
        width: 100%;
    }

    .project-text-block {
        padding: 3rem 0;
    }
}

@media (max-width: 1250px) {
    .site-footer .footer-img {
        height: 280px;
        flex: revert;
    }

    .site-footer .container {
        flex-direction: column;
        padding: 0;
    }

    .site-footer > .container > div {
        flex: 1 1 100%;
        margin: 1.5rem auto;
        padding: 0 1.5rem;
        align-items: center;
        text-align: center;
    }

    .footer-info {
        border-right: none;
        border-bottom: 2px solid lightgrey;
        padding-bottom: 2rem !important;
    }

    .footer-menu {
        border-left: none;
        justify-content: center;
    }

    .footer-info a {
        margin-top: 1.5rem;
    }

    .footer-menu .primary-menu li a {
        font-size: 18px;
    }
}

@media only screen and (max-width: 1200px) {

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .mobile-toggle.mobile-only {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10002;
    }

    .hamburger-line {
        width: 100%;
        height: 2px;
        background-color: #1a1a1a;
        transition: all 0.3s ease;
    }

    .mobile-toggle.is-active .hamburger-line:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .mobile-toggle.is-active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.is-active .hamburger-line:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .mobile-menu-wrapper {
        z-index: 10001;
        position: absolute;
        top: 100%;
        left: -50%;
        transition: transform 0.5s ease, opacity 0.5s ease;
        transform: translate3d(100%, 0, 0);
        opacity: 0;
        background-color: #F3EAE5;
        max-width: 1200px;
        max-height: calc(100vh - 6rem);
        min-width: 290px;
        overflow-y: auto;
        padding: 2rem 1rem;
        pointer-events: none;
        width: 100%;
    }

    .mobile-menu-wrapper.is-active {
        transform: translate(50%);
        opacity: 1;
        pointer-events: revert;
    }

    .mobile-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-menu li {
        width: 100%;
        text-align: center;
    }

    .mobile-menu li a {
        font-size: 1.1rem;
        color: #1a1a1a;
        text-decoration: none;
        display: block;
        padding: 8px 0;
    }

    .mobile-menu > li > a:first-of-type {
        text-decoration: underline;
        font-weight: 800;
    }

    .sub-menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .about-swiper-block {
        padding: 0 40px;
    }

    .slide-content img {
        width: 60%;
        height: 380px;
    }

    .slide-text-box {
        width: 50%;
        padding: 2rem 1.8rem;
    }

    .slide-text-box h4 {
        font-size: 1.4rem;
    }

    .slide-text-box p {
        font-size: 0.88rem;
    }

    .slide-content {
        padding:2rem;
    }

    .hero-card {
        width: 70%;
    }
}

@media (min-width: 1025px) {
    .single-service-card {
        perspective: 1000px;
    }

    .single-service-card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        transition: transform 0.8s;
        transform-style: preserve-3d;
    }

    .single-service-card:hover .single-service-card-inner {
        transform: rotateY(180deg);
    }

    .service-card-front,
    .service-card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

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

    .service-card-back {
        border: 2px solid #777777;
        background-color: #F3EAE5;
        transform: rotateY(180deg);
        padding: 3.5rem 2rem;
        display: flex;
        gap: 1.5rem;
        flex-direction: column;
        box-sizing: border-box;
    }

    .service-card-back > p {
        color: #000000;
        line-height: 1.6;
    }
}

@media (max-width: 1024px) {
    .services {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .single-service-card {
        height: auto;
        background-color: #ffffff;
        border: 1px solid #777777;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .single-service-card-inner {
        transform: none !important;
        transform-style: flat;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .service-card-front,
    .service-card-back {
        position: relative;
        width: 100%;
        height: auto;
        transform: none !important;
        backface-visibility: visible;
        border: none;
    }

    .service-card-front {
        height: 220px;
    }

    .service-card-front img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .service-card-back {
        padding: 1.8rem 1.5rem;
        background-color: transparent;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        flex-grow: 1;
    }

    .single-service-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .service-card-back > p {
        color: #333333;
        font-size: 0.95rem;
        line-height: 1.5;
        margin: 0;
    }

    .solutions-tabs {
        grid-template-columns: 1fr;
    }

    .contact-fields .container {
        flex-direction: column;
    }

    .single-reference {
        flex-direction: column-reverse;
        padding:6rem;
        align-items: flex-start;
    }

    .reference-image img {
        width:100%;
    }

    .tudastar-content {
        margin:2rem;
    }

}

@media (max-width: 700px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .service-card-front {
        height: 200px;
    }

    .wpcf7-form > div {
        gap: 0 !important;
        flex-direction: column;
    }

    .single-reference {
        padding:2rem;
    }

    .reference-title h2 {
        text-align: left;
        font-size: 2rem;
    }
}


@media (max-width: 768px) {
    .about-swiper-block {
        padding: 0;
    }

    .slide-content {
        flex-direction: column;
        padding:0;
    }

    .slide-image-wrapper {
        width: 100%;
        height: 240px;
    }

    .slide-text-box {
        width: 90%;
        margin-left: 0;
        margin-top: -40px;
        padding: 25px;
    }

    .about-swiper-block .swiper-button-prev,
    .about-swiper-block .swiper-button-next {
        display: none;
    }

    .work-page-block .container {
        gap: 2rem;
        flex-direction: column;
    }

    .work-page-block .container img {
        max-width:100%;
    }

    .work-page-block {
        padding: 4rem 0;
    }

    .banner .container {
        height:500px;
    }

    .subpage-hero-card {
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 4rem;
        text-align: center;
    }

    .subpage-hero-card .hero-title {
        flex: revert;
    }
    .subpage-hero-card > p {
        flex: revert;
    }

}


/* Mobile Responsive */
@media (max-width: 900px) {
    .solutions-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .active-indicator {
        left: -10px;
    }
}


@media (max-width: 768px) {
    .banner {
        height: auto;
        min-height: 500px;
    }

    .banner .overlay {
        height: 500px;
    }

    .hero-card {
        transform: translateY(0);
        margin-top: -50px;
        padding: 30px 20px;
        width:100%;
        background: linear-gradient(360deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
    }

    .hero-title {
        font-size: 24px;
    }

    .bottom-section {
        padding-top: 40px;
    }

    .solutions-card {
        border-radius: 50px;
        padding: 2rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .reviews .container {
        flex-direction: column;
        align-items: center;
    }

    .reviews .container h2 {
        width: 100%;
    }

    .review-swiper {
        width: 100%;
    }

    .about-swiper-block {
        padding: 0;
    }

    .slide-content {
        flex-direction: column;
        align-items: stretch;
    }

    .slide-content img {
        width: 100%;
        height: 250px;
    }

    .slide-text-box {
        position: relative;
        width: 100%;
        right: auto;
        top: auto;
        transform: none;
        padding: 2rem 1.5rem;
        margin-top: -30px;
        box-sizing: border-box;
    }

    .slide-text-box h4 {
        font-size: 1.3rem;
    }

    .about-arrow {
        top: auto;
        bottom: -50px;
    }

    .swiper-button-prev.about-arrow {
        left: 35%;
    }

    .swiper-button-next.about-arrow {
        right: 35%;
    }

    .about-swiper {
        margin-bottom: 60px;
    }
}

@media (max-width: 450px) {

    .single-service-card h3 {
        font-size: 1.25rem;
    }
}