/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

:root {
	--jy-green: #3f5a50;
	--jy-green-dark: #344c44;
	--jy-gold: #c9924a;
	--jy-gold-hover: #b8843f;
	--jy-nav-bg: #ebeae8;
	--jy-text: #2f4a42;
	--jy-white: #ffffff;
	--jy-container: 1240px;
	--jy-footer-bg: #1e2f28;
	--jy-footer-border: rgba(201, 146, 74, 0.35);
}

body {
	font-family: "Nunito Sans", sans-serif;
}

.jy-header {
	position: relative;
	z-index: 1000;
}

.jy-header__container {
	max-width: var(--jy-container);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.jy-header__topbar {
	background: var(--jy-green);
	color: var(--jy-white);
	font-size: 14px;
	line-height: 1;
}

.jy-header__topbar .jy-header__container {
	min-height: 40px;
}

.jy-header__contacts,
.jy-header__social {
	display: flex;
	align-items: center;
	gap: 24px;
}

.jy-header__contact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--jy-white);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.jy-header__contact:hover {
	opacity: 0.85;
	color: var(--jy-white);
}

.jy-header__icon {
	flex-shrink: 0;
}

.jy-header__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: var(--jy-white);
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.jy-header__social-link:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--jy-white);
}

.jy-header__main {
	background: var(--jy-nav-bg);
	border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.jy-header__container--main {
	min-height: 96px;
	gap: 32px;
}

.jy-header__brand {
	display: flex;
	align-items: center;
	gap: 16px;
	text-decoration: none;
	color: inherit;
	flex-shrink: 0;
}

.jy-header__logo,
.jy-header__logo .custom-logo-link {
	display: block;
	line-height: 0;
}

.jy-header__logo img,
.jy-header__logo .custom-logo {
	width: 72px;
	height: auto;
	display: block;
}

.jy-header__brand-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.jy-header__title {
	font-family: "Playfair Display", serif;
	font-size: clamp(1.5rem, 2vw, 2rem);
	font-weight: 700;
	line-height: 1;
	color: #111111;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.jy-header__tagline {
	font-size: 14px;
	line-height: 1.2;
	color: #666666;
}

.jy-header__nav {
	display: flex;
	align-items: center;
	margin-left: auto;
}

.jy-header__menu {
	display: flex;
	align-items: stretch;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
}

.jy-header__menu > .menu-item {
	position: relative;
	display: flex;
	align-items: stretch;
}

.jy-header__menu > .menu-item > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 96px;
	padding: 0 22px;
	font-size: 16px;
	font-weight: 600;
	color: var(--jy-text);
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
	white-space: nowrap;
}

.jy-header__menu > .menu-item > a:hover,
.jy-header__menu > .menu-item.current-menu-item > a,
.jy-header__menu > .menu-item.current-menu-ancestor > a {
	background: var(--jy-gold);
	color: var(--jy-white);
}

.jy-header__menu .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 8px;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
}

.jy-header__menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: var(--jy-white);
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 20;
}

.jy-header__menu .menu-item-has-children:hover > .sub-menu,
.jy-header__menu .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.jy-header__menu .sub-menu a {
	display: block;
	padding: 10px 18px;
	font-size: 15px;
	font-weight: 600;
	color: var(--jy-text);
	text-decoration: none;
}

.jy-header__menu .sub-menu a:hover,
.jy-header__menu .sub-menu .current-menu-item > a {
	background: rgba(201, 146, 74, 0.12);
	color: var(--jy-gold-hover);
}

.jy-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 28px;
	border-radius: 999px;
	background: var(--jy-green);
	color: var(--jy-white);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, transform 0.2s ease;
	flex-shrink: 0;
}

.jy-header__cta:hover {
	background: var(--jy-green-dark);
	color: var(--jy-white);
}

.jy-header__cta--mobile {
	display: none;
	width: 100%;
	margin-top: 16px;
}

.jy-header__toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.jy-header__toggle span {
	display: block;
	width: 24px;
	height: 2px;
	margin: 5px auto;
	background: var(--jy-text);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 991px) {
	.jy-header__topbar .jy-header__container {
		flex-direction: column;
		justify-content: center;
		gap: 10px;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.jy-header__contacts,
	.jy-header__social {
		gap: 16px;
		flex-wrap: wrap;
		justify-content: center;
	}

	.jy-header__container--main {
		flex-wrap: wrap;
		min-height: 80px;
	}

	.jy-header__toggle {
		display: block;
		margin-left: auto;
	}

	.jy-header__nav {
		display: none;
		width: 100%;
		order: 3;
		flex-direction: column;
		align-items: stretch;
		padding-bottom: 20px;
	}

	.jy-header.is-open .jy-header__nav {
		display: flex;
	}

	.jy-header__menu {
		flex-direction: column;
		width: 100%;
		gap: 0;
	}

	.jy-header__menu > .menu-item > a {
		min-height: 52px;
		justify-content: flex-start;
		width: 100%;
	}

	.jy-header__menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0 0 8px 16px;
	}

	.jy-header__cta--desktop {
		display: none;
	}

	.jy-header__cta--mobile {
		display: inline-flex;
	}

	.jy-header.is-open .jy-header__toggle span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.jy-header.is-open .jy-header__toggle span:nth-child(2) {
		opacity: 0;
	}

	.jy-header.is-open .jy-header__toggle span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}
}

@media (max-width: 575px) {
	.jy-header__brand-text {
		max-width: 180px;
	}

	.jy-header__title {
		font-size: 1.35rem;
	}

	.jy-header__tagline {
		font-size: 12px;
	}
}

/* Footer */
.jy-footer {
	background: var(--jy-footer-bg);
	color: var(--jy-white);
	border-top: 4px solid var(--jy-gold);
}

.jy-footer__container {
	max-width: var(--jy-container);
	margin: 0 auto;
	padding: 0 24px;
}

.jy-footer__main {
	padding: 56px 0 48px;
}

.jy-footer__grid {
	display: grid;
	grid-template-columns: 1.35fr 0.85fr 0.95fr 1.15fr;
	gap: 40px;
}

.jy-footer__brand-name {
	margin: 0 0 20px;
	font-family: "Playfair Display", serif;
	font-size: 1.75rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--jy-white);
}

.jy-footer__logo-box {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	margin-bottom: 20px;
	background: rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-decoration: none;
	color: inherit;
	max-width: 100%;
}

.jy-footer__logo,
.jy-footer__logo img,
.jy-footer__logo .custom-logo {
	display: block;
	width: 72px;
	height: auto;
	flex-shrink: 0;
}

.jy-footer__logo-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.jy-footer__logo-title {
	font-family: "Playfair Display", serif;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.1;
	color: var(--jy-white);
	text-transform: uppercase;
}

.jy-footer__logo-tagline {
	font-size: 13px;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.72);
}

.jy-footer__about {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.88);
}

.jy-footer__social {
	display: flex;
	align-items: center;
	gap: 12px;
}

.jy-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: var(--jy-white);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.jy-footer__social-link:hover {
	background: var(--jy-gold);
	color: var(--jy-white);
}

.jy-footer__heading {
	margin: 0 0 22px;
	font-family: "Playfair Display", serif;
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--jy-gold);
}

.jy-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jy-footer__menu .menu-item + .menu-item {
	margin-top: 12px;
}

.jy-footer__menu a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-size: 15px;
	line-height: 1.5;
	transition: color 0.2s ease;
}

.jy-footer__menu a:hover {
	color: var(--jy-gold);
}

.jy-footer__contact-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.jy-footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
}

.jy-footer__contact-item + .jy-footer__contact-item {
	margin-top: 16px;
}

.jy-footer__contact-item a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.jy-footer__contact-item a:hover {
	color: var(--jy-gold);
}

.jy-footer__contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 24px;
	color: var(--jy-gold);
}

.jy-footer__newsletter {
	display: flex;
	align-items: stretch;
	max-width: 100%;
}

.jy-footer__newsletter-input {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px 0 0 8px;
	background: var(--jy-white);
	color: #222222;
	font-size: 14px;
}

.jy-footer__newsletter-input:focus {
	outline: 2px solid var(--jy-gold);
	outline-offset: 0;
}

.jy-footer__newsletter-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 48px;
	border: 0;
	border-radius: 0 8px 8px 0;
	background: var(--jy-gold);
	color: var(--jy-white);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.jy-footer__newsletter-btn:hover {
	background: var(--jy-gold-hover);
}

.jy-footer__bottom {
	border-top: 1px solid var(--jy-footer-border);
	padding: 18px 0 22px;
}

.jy-footer__container--bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.jy-footer__copyright {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
}

.jy-footer__legal {
	display: flex;
	align-items: center;
	gap: 28px;
}

.jy-footer__legal a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s ease;
}

.jy-footer__legal a:hover {
	color: var(--jy-gold);
}

@media (max-width: 991px) {
	.jy-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}
}

@media (max-width: 767px) {
	.jy-footer__main {
		padding: 40px 0 32px;
	}

	.jy-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.jy-footer__container--bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.jy-footer__legal {
		gap: 20px;
	}
}