/* ================= HERO ================= */
#hero-booking {
	position: relative;
	height: 65vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	color: #fff;
}

.hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: 0% 69%;
	filter: brightness(0.85);
	border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 750px;
	margin: 0 auto;
}

.hero-content p {
	margin: 24px auto;
    max-width: 500px;
    text-align: center;
    font-weight: normal;
}


/* ================= BOOKING ================= */
.booking-box {
	padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.booking-box input,
.booking-box button {
	padding: 12px;
	border-radius: var(--radius-sm);
	border: 1px solid #ddd;
	white-space:nowrap
}

.booking-box button {
    color: #fff;
    border: none;
    width: 300px;
    font-size: 1em;
	text-transform: uppercase;
}

@media (max-width: 900px) {
	.hero-bg {
		position: absolute;
		inset: 0;
		background-size: cover;
		background-position: 0% 69%;
		filter: brightness(0.85);
		border-bottom-left-radius: 100px;
		border-bottom-right-radius: 100px;
	}

	.hero-content {
		position: relative;
		z-index: 2;
		max-width: 540px;
		margin: 0 auto;
	}

	.hero-content p {
		margin: 24px auto;
		max-width: 500px;
		text-align: center;
		font-weight: normal;
	}

	.booking-box {
		display: flex;
		gap: 12px;
		background: none;
		padding: 16px;
		border-radius: var(--radius);
		box-shadow: var(--shadow);
		flex-direction: column;
		margin: 0 auto;
		align-items: center;
	}
}

/* ================= FEATURES ================= */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
	gap: 20px;
}

/* ================= FEATURES – ICON STYLE ================= */

.feature {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	padding: 20px 24px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	font-weight: 500;
}

.feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
}

.feature-icon svg {
	width: 60px;
    height: 60px;
	fill: var(--primary);
}

.feature-text {
	font-size: 1rem;
	color: #1f1f1f;
}


/* ================= APARTMENT ================= */
#apartment img {
	width: 100%;
	border-radius: var(--radius);
}

.gallery-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 40px;
}

/* egységes képkártya */
.gallery-row img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	border-radius: var(--radius-sm);
	display: block;
}

@media (max-width: 900px) {
	.gallery-row {
		grid-template-columns: repeat(2, 1fr);
	}

	.gallery-row img {
		height: 220px;
	}
}

@media (max-width: 500px) {
	.gallery-row {
		grid-template-columns: 1fr;
	}

	.gallery-row img {
		height: 200px;
	}
}

/* ================= APARTMENT TEXT LAYOUT ================= */

#apartment .text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	max-width: 480px;
}

#apartment .text .subtitle {
	text-align: left;
	letter-spacing: 0.2em;
}

#apartment .text h2 {
	margin: 0;
}

#apartment .text p {
	margin: 0;
	line-height: 1.7;
	color: #333;
}

#apartment .text .btn-secondary {
	margin-top: 12px;
	align-self: flex-start;
}

@media (max-width: 900px) {
	#apartment .text {
		max-width: 100%;
		align-items: center;
		text-align: center;
	}

	#apartment .text .btn-secondary {
		align-self: center;
	}
}

/* ================= ATTRACTIONS SLIDER ================= */
.unique-slider-container {
	position: relative;
}

#attractions .section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
}

.slider-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.slider-track-container {
	width: 100%;
	overflow: hidden;
	border-radius: var(--radius);
}

.slider-track {
	display: flex;
	gap: 24px;
	transition: transform 0.4s ease-in-out;
	will-change: transform;
}

.slide {
	flex: 0 0 calc((100% - (2 * 24px)) / 3);
	height: 260px;
	position: relative;
	background-size: cover;
	background-position: center;
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	padding: 32px 24px;
	color: var(--light);
}

.slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
	z-index: 1;
}

.slide-content {
	position: relative;
	z-index: 2;
}

.slide-content h3 {
	font-family: "Playfair Display", serif;
	font-size: 1.8rem;
	font-weight: 400;
	margin-bottom: 4px;
	line-height: 1.2;
}

.slide-content p {
	font-size: 1.1rem;
	opacity: 0.9;
}

.slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	background-color: var(--primary);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: background-color 0.25s, opacity 0.25s;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slider-btn:hover {
	background-color: #9f7353;
	opacity: 1 !important;
}

.slider-btn svg {
	width: 24px;
	height: 24px;
	fill: var(--light);
}

.slider-btn.prev {
	left: -24px;
}

.slider-btn.next {
	right: -24px;
}

.slider-btn:disabled {
	opacity: 0.8;
	cursor: not-allowed;
}

.slider-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
}

.dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: var(--primary-soft);
	cursor: pointer;
	transition: background-color 0.25s, transform 0.25s;
}

.dot.active {
	background-color: var(--primary);
	transform: scale(1.2);
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */
@media (max-width: 992px) {

	.slide {
		flex: 0 0 calc((100% - (1 * 24px)) / 2);
		height: 340px;
	}

	.slider-btn.prev { left: -12px; }
	.slider-btn.next { right: -12px; }
}

@media (max-width: 600px) {

	.slide {
		flex: 0 0 100%;
		height: 300px;
	}
	#attractions .section-header {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}
	.slider-btn {
		width: 40px;
		height: 40px;
	}
	.slider-btn.prev { left: -8px; }
	.slider-btn.next { right: -8px; }
}

/* ================= PROGRAMS ================= */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
	gap: 32px;
	margin-top: 40px;
}

.card {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.card img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.card h3 {
	padding: 16px;
}

.card p {
	padding: 0 16px 16px;
}

.card a {
	margin: 16px;
	display: inline-block;
}

/* ================= GALÉRIA ELŐNÉZET ================= */
#gallery-preview h2 {
	margin-bottom: 40px;
}

#gallery-preview .grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr); 
	gap: 24px;
	margin-bottom: 40px;
}

.gallery-thumb {
	width: 100%;
	height: 280px;
	object-fit: cover; 
	border-radius: var(--radius); 
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-thumb:hover {
	transform: scale(1.02);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.text-center {
	text-align: center;
}

/* ================= MODAL (FELUGRÓ ABLAK) ================= */
.modal {
	display: none;
	position: fixed;
	z-index: 2000; 
	inset: 0;
	background-color: rgba(15, 26, 26, 0.9);
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	padding: 20px;
}

.modal.open {
	display: flex;
	opacity: 1;
}

.modal-content {
	max-width: 90%;
	max-height: 85vh;
	object-fit: contain;
	border-radius: var(--radius-sm);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
	transform: scale(0.9);
	transition: transform 0.3s ease;
}

.modal.open .modal-content {
	transform: scale(1);
}

.modal-close {
	position: absolute;
	top: 24px;
	right: 32px;
	color: #fff;
	font-size: 40px;
	font-weight: 300;
	cursor: pointer;
	transition: color 0.2s ease, transform 0.2s ease;
	line-height: 1;
}

.modal-close:hover {
	color: var(--primary);
	transform: scale(1.1);
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */
@media (max-width: 900px) {
	#gallery-preview .grid {
		grid-template-columns: repeat(2, 1fr); /* Tableten 2 oszlop */
		gap: 16px;
	}
	.gallery-thumb {
		height: 220px;
	}
}

@media (max-width: 600px) {
	#gallery-preview .grid {
		grid-template-columns: 1fr; /* Mobilon 1 oszlop */
		gap: 16px;
	}
	.gallery-thumb {
		height: 240px;
	}
	
	.modal-close {
		top: 16px;
		right: 20px;
		font-size: 36px;
	}
}

/* ================= HÍRLEVÉL SECTION ================= */
#newsletter {
	background-color: var(--primary); /* A common.css-ben definiált barna színed */
	color: var(--light);
	padding: 60px 0;
}

.newsletter-text .subtitle {
	text-align: left;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 8px;
}

.newsletter-text h2 {
	font-family: "Playfair Display", serif;
	font-size: 2.5rem;
	font-weight: 400;
	margin-bottom: 24px;
	color: var(--light);
}

.newsletter-text p {
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	max-width: 500px;
}

.newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.form-inputs {
	display: flex;
	gap: 16px;
	width: 100%;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
	flex: 1;
	padding: 14px 20px;
	border: none;
	border-radius: var(--radius-sm);
	background-color: var(--light);
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--dark);
	outline: none;
}

.newsletter-form input::placeholder {
	color: #757575;
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.85rem;
	color: var(--light);
	cursor: pointer;
	line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
	margin-top: 2px;
	accent-color: var(--dark); 
}

.checkbox-label a {
	color: var(--light);
	text-decoration: underline;
	font-weight: 500;
}

.btn-submit {
	width: 100%;
	background-color: var(--dark);
	color: var(--light);
	border: none;
	padding: 14px;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.1s ease;
}

.btn-submit:hover {
	background-color: #1a2e2e; 
}

.btn-submit:active {
	transform: scale(0.99);
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */
@media (max-width: 900px) {
	#newsletter {
		padding: 60px 0;
	}
	
	.newsletter-text {
		text-align: center;
		margin-bottom: 32px;
	}
	
	.newsletter-text .subtitle {
		text-align: center;
	}
	
	.newsletter-text p {
		margin: 0 auto;
	}
}

@media (max-width: 600px) {
	.form-inputs {
		flex-direction: column;
		gap: 12px;
	}
	
	.newsletter-text h2 {
		font-size: 2rem;
	}
}

/* ================= REVIEWS ================= */
#reviews h2 {
	margin-bottom: 40px;
}

.reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 24px;
	margin-top: 40px;
}

.review-card {
	background: var(--light);
	padding: 32px 24px;
	border-radius: var(--radius);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	gap: 20px;
	transition: transform 0.3s ease;
}

.review-card:hover {
	transform: translateY(-5px);
}

.review-header {
	display: flex;
	align-items: center;
	gap: 16px;
}

.review-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.review-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.review-meta h3 {
	font-size: 1.4rem;
	font-weight: 500;
	color: var(--dark);
	margin: 0;
	line-height: 1.2;
}

.review-role {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #757575;
	font-weight: 600;
}

.review-text {
	font-size: 0.9rem;
	line-height: 1.6;
	color: #4a4a4a;
	margin: 0;
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */
@media (max-width: 992px) {
	.reviews-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

@media (max-width: 650px) {
	.reviews-grid {
		grid-template-columns: 1fr; 
		gap: 20px;
	}
	
	.review-card {
		padding: 24px 20px;
	}
}

/* ================= GYAKRAN ISMÉTELT KÉRDÉSEK ================= */
#faq {
	position: relative;
	padding: 80px 0;
	overflow: hidden; 
}

#faq::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0; 
	
	background-image: url('../img/faq/background.png');
	background-repeat: repeat;
	background-position: center;
	background-attachment: fixed;
	
	background-size: 240px auto;
	opacity: 0.25;	
	pointer-events: none;
}

#faq .container {
	position: relative;
	z-index: 1;
}

#faq h2 {
	text-align: center;
	font-size: 2.5rem;
	font-weight: 400;
	margin-bottom: 48px;
	color: var(--dark);
}

.faq-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: start;
}

.faq-column {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e0e0e0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.faq-item {
	border-bottom: 1px solid #e0e0e0;
	overflow: hidden;
}

.faq-item:last-child {
	border-bottom: none;
}

.faq-trigger::-webkit-details-marker {
	display: none;
}

.faq-trigger {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 24px;
	font-size: 1rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--primary);
	list-style: none;
	cursor: pointer;
	user-select: none;
	transition: background-color 0.2s ease;
}

.faq-trigger:hover {
	background-color: #fafaf9;
}

.faq-icon {
	position: relative;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.faq-icon::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 0;
	width: 14px;
	height: 2px;
	background-color: var(--primary);
	transition: transform 0.25s ease;
}

.faq-icon::after {
	content: "";
	position: absolute;
	top: 0;
	left: 6px;
	width: 2px;
	height: 14px;
	background-color: var(--primary);
	transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon::after {
	transform: rotate(90deg);
}

.faq-content {
	padding: 0 24px 24px 54px;
}

.faq-content p {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #666;
	margin: 0;
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */
@media (max-width: 992px) {
	.faq-grid {
		grid-template-columns: 1fr; /* Tableten és mobilon egy hasáb lesz */
		gap: 24px;
	}
}

@media (max-width: 600px) {
	#faq {
		padding: 60px 0;
	}
	
	#faq h2 {
		font-size: 2rem;
		margin-bottom: 32px;
	}
	
	.faq-trigger {
		padding: 20px 16px;
		font-size: 0.9rem;
	}
	
	.faq-content {
		padding: 0 16px 20px 46px;
	}
}

/* ================= CONTACT SECTION ================= */
#contact {
	position: relative;
	background-image: url('../img/contact/background.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 100px 0;
	z-index: 1;
}

#contact::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(15, 26, 26, 0.4); 
	z-index: -1;
}

#contact .container.split {
	display: flex;
	align-items: center;
	gap: 60px;
}

.map-container {
	flex: 1;
	display: flex;
	justify-content: center;
}

.contact-map {
	width: 100%;
	max-width: 540px;
	height: auto;
	aspect-ratio: 1 / 1; 
	border-radius: 24px; 
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); 
	overflow: hidden; 
}

.contact-form {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.contact-form .form-header {
	margin-bottom: 24px;
	color: var(--light);
}

.contact-form .subtitle {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 8px;
}

.contact-form h2 {
	font-size: 2.5rem;
	font-weight: 400;
	margin-bottom: 12px;
	color: var(--light);
}

.contact-form .form-lead {
	font-size: 0.9rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	width: 100%;
	padding: 16px 20px;
	margin-bottom: 16px;
	border: none;
	border-radius: var(--radius-sm);
	background-color: var(--light);
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--dark);
	outline: none;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-form textarea {
	resize: vertical;
	min-height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: #757575;
}

.contact-form .checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.85rem;
	color: var(--light);
	cursor: pointer;
	margin-bottom: 24px;
	line-height: 1.4;
}

.contact-form .checkbox-label input[type="checkbox"] {
	margin-top: 2px;
	accent-color: var(--dark);
}

.contact-form .checkbox-label a {
	color: var(--light);
	text-decoration: underline;
}

.contact-form .btn-submit {
	width: 100%;
	background-color: var(--dark);
	color: var(--light);
	border: none;
	padding: 16px;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.1s ease;
}

.contact-form .btn-submit:hover {
	background-color: #1a2e2e;
}

.contact-form .btn-submit:active {
	transform: scale(0.99);
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */
@media (max-width: 992px) {
	#contact {
		padding: 60px 0;
	}
	
	#contact .container.split {
		flex-direction: column-reverse; 
		gap: 40px;
	}
	
	.map-container {
		width: 100%;
	}
	
	.contact-map {
		max-width: 100%;
		aspect-ratio: 16 / 9; 
	}
}

@media (max-width: 600px) {
	.contact-form h2 {
		font-size: 2rem;
	}
}

/* ================= LÁBLÉC (FOOTER) ================= */
#site-footer {
	background-color: var(--dark); 
	color: var(--light);
	padding: 60px 0 30px 0;
	font-size: 0.9rem;
}

#site-footer a {
	color: var(--light);
	text-decoration: none;
	transition: color 0.2s ease;
	opacity: 0.8;
}

#site-footer a:hover {
	color: var(--primary); 
	opacity: 1;
}


.footer-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
	padding-bottom: 30px;
}

.footer-logo {
	font-size: 1.8rem;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.footer-nav {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.footer-nav a {
	font-weight: 400;
	letter-spacing: 0.03em;
}


.footer-social {
	display: flex;
	gap: 20px;
	font-size: 1.2rem;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.2); 
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
	margin: 0;
}

.footer-legal {
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer-legal a {
	color: rgba(255, 255, 255, 0.6);
}

.footer-legal .separator {
	color: rgba(255, 255, 255, 0.3);
	user-select: none;
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */
@media (max-width: 992px) {
	.footer-top {
		flex-direction: column;
		text-align: center;
		gap: 24px;
	}
	
	.footer-nav {
		justify-content: center;
		gap: 16px 24px;
	}
	
	.footer-bottom {
		flex-direction: column;
		gap: 16px;
		text-align: center;
		padding-bottom: 10px;
	}
}

@media (max-width: 480px) {
	.footer-nav {
		flex-direction: column;
		gap: 12px;
	}
}
