/*!
Theme Name: hubadent-onepage
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Hubadent One-Page Theme based on drmarcell with custom brand colors.
Version: 1.0.0
Text Domain: hubadent
*/

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

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
}

main {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details {
	display: block;
}

summary {
	display: list-item;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base & Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

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

p {
	margin-bottom: 1.5em;
}

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

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

/* --- ÚJ LOGÓ ALAPÚ SZÍNPALETTA --- */
:root {
	--main-color: #8A2B3B;     /* A logó mély bordó/sötét rózsaszínes árnyalata */
	--off-color: #4A151D;      /* Sötét bordós-barna a háttér/footer elemekhez */
	--secondary-color: #B56573;/* Világosabb, meleg mályva/barna árnyalat a logóból */
	--grey-color: #7A7A7A;     /* Semleges szürke szövegekhez */
	--off-white: #FAF8F6;      /* Melegfehér háttér */
}

body {
	font-family: AfacadBold, sans-serif;
	color: #404040;
	background-color: white;
	overflow-x: hidden;
}

.main-navigation-container {
	display: flex;
	flex-direction: row;
}

.primary-menu-wrapper {
	margin-left: auto;
}

.custom-logo {
	padding: 0.5rem;
	max-height: 80px;
	width: auto;
}

/* Site Layout elements */
.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.title {
	font-size: 3.5rem;
	color: #1a1a1a;
	line-height: 1.1;
	margin-bottom: 2rem;
}

.button {
	display: inline-block;
	padding: 0.75rem 1.75rem;
	background-color: var(--main-color);
	border-radius: 50px;
	border: 3px solid var(--main-color);
	color: white;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.125rem;
	text-transform: uppercase;
	transition: background-color 0.2s, color 0.2s;
}

.button:hover {
	background-color: var(--off-color);
	border-color: var(--off-color);
	color: white;
}

.colored-title {
	color: var(--main-color);
}

.banner .container, .cta-block .container {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	gap:4rem;
}

.tagline {
	color: var(--main-color) !important;
	font-size: 1.5rem;
	font-weight: 500;
	font-family: AfacadBold, sans-serif !important;
	margin: 0 0 0.5rem 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.cta-block {
	padding: 6rem 0;
}

.cta-block > div {
	display: flex;
	gap: 4rem;
}

.cta-block > div > div {
	width: 50%;
}

.big-block {
	width: 55%;
	padding-top: 4rem;
}

.small-block {
	width: 45%;
}

.small-block img, .cta-image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.cta-text p {
	font-family: Afacad, sans-serif;
	color: var(--grey-color);
	font-size: 1.125rem;
}

.button.cta {
	background-color: white;
	border: 3px solid var(--main-color);
	color: var(--main-color);
}

.button.cta:hover {
	background-color: var(--main-color);
	color: white;
}

.button-block {
	display: flex;
	gap: 1.5rem;
	margin-top: 2rem;
}

/* Small Banner */
.small-banner-block {
	background: linear-gradient(rgba(74, 21, 29, 0.85), rgba(74, 21, 29, 0.85)), url("img/cuczor_bg_a_2560.png");
	background-position: center;
	background-size: cover;
	padding: 6rem 0;
	text-align: center;
}

.small-banner-block .title {
	color: white;
	margin-bottom: 2rem;
}

.small-banner-block .button {
	background-color: white;
	color: var(--main-color);
	border-color: white;
}

.small-banner-block .button:hover {
	background-color: transparent;
	color: white;
}

/* Services */
.services-block {
	padding: 6rem 0;
}

.services {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	width: 100%;
	justify-content: center;
	padding-top: 4rem;
}

.services-header {
	display: flex;
	align-items: center;
	position: relative;
}

.services-header .title {
	color: #1a1a1a;
}

.services-header .button {
	position: absolute;
	right: 0;
	background-color: white;
	border-color: var(--main-color);
	color: var(--main-color);
}

.card {
	flex: 1 1 calc(30% - 2rem);
	min-width: 260px;
	background: white;
	border: 3px solid #e0e0e0;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 3rem 2rem;
	box-shadow: 0 4px 15px rgba(0,0,0,0.03);
	transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
	transform: translateY(-5px);
	border-color: var(--main-color);
}

.card img {
	width: 80px;
	height: 80px;
	object-fit: contain;
	margin-bottom: 2rem;
}

.content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex-grow: 1;
}

.content h3 {
	margin: 0 0 10px 0;
	font-size: 1.5rem;
	color: var(--off-color);
}

.content p {
	margin: 0;
	font-family: Afacad, sans-serif;
	font-size: 1.125rem;
	color: var(--grey-color);
}

/* Team */
.team-block {
	padding: 6rem 0;
	background-color: white;
}

/*--------------------------------------------------------------
# Egyedi Csapatunk Szekció
--------------------------------------------------------------*/
.team-custom-section {
	padding: 6rem 0;
	background-color: white;
}

.team-header {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 4rem auto;
}

.team-intro {
	font-family: Afacad, sans-serif;
	color: var(--grey-color);
	font-size: 1.25rem;
	margin-top: 1rem;
	line-height: 1.6;
}

.team-grid {
	display: flex;
	gap: 2.5rem;
	justify-content: center;
	flex-wrap: wrap;
}

.team-card {
	flex: 1;
	min-width: 280px;
	max-width: 400px;
	background: var(--off-white);
	border: 3px solid #e5e0dc;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
	transition: transform 0.3s ease, border-color 0.3s ease;
	display: flex;
	flex-direction: column;
}


.team-image-wrapper {
	width: 100%;
	height: 320px;
	overflow: hidden;
}

.team-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}


.team-content {
	padding: 2.5rem 2rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.team-content h3 {
	font-size: 1.75rem;
	color: var(--off-color);
	margin-bottom: 0.5rem;
	font-family: AfacadBold, sans-serif;
}

.team-role {
	color: var(--main-color);
	font-weight: 600;
	font-size: 1.125rem;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.team-desc {
	font-family: Afacad, sans-serif;
	font-size: 1.125rem;
	color: var(--grey-color);
	line-height: 1.6;
	margin: 0;
}

/* Reszponzív nézet mobilon/tableten */
@media (max-width: 768px) {
	.team-grid {
		flex-direction: column;
		align-items: center;
	}
}

/* FAQ */
.faq-block {
	background-color: var(--off-color);
	padding: 6rem 0 12rem 0;
	color: white;
}

.divider {
	height: 40px;
	background: url("img/cuczor_pattern_light_gray.svg");
	margin-bottom: 4rem;
	opacity: 0.2;
}

.faq-block .tagline, .faq-block .title {
	color: white !important;
	text-align: center;
}

.faq-block .title {
	margin-bottom: 4rem;
}

.sp-easy-accordion .sp-ea-single {
	border-radius: 10px;
	background: white;
	margin-bottom: 1rem;
	overflow: hidden;
	border: none !important;
}

#sp-ea-10.sp-easy-accordion > .sp-ea-single > .ea-header a {
	color: var(--off-color) !important;
	font-weight: bold;
}

.sp-easy-accordion {
	max-width: 800px;
	margin: 0 auto;
}

/* Footer */
.site-footer {
	background-color: #2b0c11;
	color: white;
	padding: 4rem 0 2rem 0;
}

.site-footer a {
	color: white;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--secondary-color);
}

/* Arrival / Rendelő / Kapcsolat blockok */
.arrival-wrapper {
	background-color: var(--off-white);
	padding: 6rem 0;
}

.arrival-block {
	display: flex;
	gap: 4rem;
	margin-top: 2rem;
}

.arrival-small, .arrival-big {
	width: 50%;
}

.arrival-block p {
	color: var(--grey-color);
	font-size: 1.125rem;
}

.grey-bg {
	background-color: var(--off-white);
}

.banner {
	padding: 4rem 0;
}

/*--------------------------------------------------------------
# Egyedi Rendelő Szekció (Stílusos, kártyás elrendezés - Rendelési idő nélkül)
--------------------------------------------------------------*/
.rendelo-custom-section {
	padding: 6rem 0;
	background-color: var(--off-white);
}

.rendelo-header {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 4rem auto;
}

.rendelo-grid {
	display: flex;
	gap: 2.5rem;
	justify-content: center;
}

.rendelo-card {
	flex: 1;
	background: white;
	border: 3px solid #e5e0dc;
	border-radius: 16px;
	padding: 3rem 2.5rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
	transition: transform 0.3s ease, border-color 0.3s ease;
	display: flex;
	flex-direction: column;
}

.rendelo-icon {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
}

.rendelo-card h3 {
	font-size: 1.75rem;
	color: var(--off-color);
	margin-bottom: 1.25rem;
	font-family: AfacadBold, sans-serif;
}

.rendelo-card p {
	font-family: Afacad, sans-serif;
	font-size: 1.125rem;
	color: var(--grey-color);
	line-height: 1.6;
	margin-bottom: 1.25rem;
}


@media (max-width: 992px) {
	.rendelo-grid {
		flex-direction: column;
	}
}

@media (max-width: 992px) {
	.banner .container, .cta-block .container, .arrival-block, .cta-block > div {
		flex-direction: column;
	}
	.big-block, .small-block, .cta-block > div > div, .arrival-small, .arrival-big {
		width: 100%;
	}
	.title {
		font-size: 2.5rem;
	}
}