/* =============================================================================
   Bogdanbor Child — Kapcsolat page
   ============================================================================= */

/* .container, .section-eyebrow, .section-header, .section-title, .section-lead
   are defined globally in typography.css. */

/* -----------------------------------------------------------------------------
   Contact form feedback messages
   ----------------------------------------------------------------------------- */
.contact-feedback {
	padding:       1rem 1.25rem;
	border-left:   3px solid;
	margin-bottom: 1.5rem;
	font-size:     0.9375rem;
	line-height:   1.6;
}

.contact-feedback--success {
	background-color: #f0faf4;
	border-color:     #2d7a4f;
	color:            #1a4d31;
}

.contact-feedback--error {
	background-color: #fdf4f3;
	border-color:     #c0392b;
	color:            #7a1f17;
}

.section-eyebrow {
	/* defined in typography.css */
}

.section-header {
	margin-bottom: 3rem; /* tighter on contact page */
}

.section-title {
	/* defined in typography.css */
}

.section-lead {
	/* defined in typography.css */
}

/* -----------------------------------------------------------------------------
   Page wrapper — offset for fixed header
   ----------------------------------------------------------------------------- */
.page-kapcsolat {
	padding-top: var(--header-height, 80px);
}

/* -----------------------------------------------------------------------------
   Contact info section
   ----------------------------------------------------------------------------- */
.kapcsolat-info {
	padding:       6rem 0 5rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.kapcsolat-details {
	list-style:     none;
	margin:         3rem 0 0;
	padding:        0;
	display:        flex;
	flex-direction: column;
	gap:            2rem;
}

.kapcsolat-details__item {
	display:     flex;
	gap:         1.25rem;
	align-items: flex-start;
}

.kapcsolat-details__item svg {
	flex-shrink: 0;
	margin-top:  3px;
	color:       #7b3b2f;
}

.kapcsolat-details__label {
	font-family:    var( --font-ui );
	font-size:      var( --text-xs );
	letter-spacing: var( --tracking-widest );
	text-transform: uppercase;
	color:          #999;
	margin-bottom:  0.25rem;
}

.kapcsolat-details__value {
	font-size:   1rem;
	color:       #1a1a1a;
	font-style:  normal;
	line-height: 1.6;
}

.kapcsolat-details__value--link {
	text-decoration: none;
	color:           #1a1a1a;
	transition:      color 0.25s;
}

.kapcsolat-details__value--link:hover {
	color: #7b3b2f;
}

/* -----------------------------------------------------------------------------
   Contact form section
   ----------------------------------------------------------------------------- */
.kapcsolat-form-section {
	padding: 6rem 0;
}

.contact-form {
	max-width: 640px;
}

.form-row {
	display: flex;
	gap:     1.5rem;
	margin:  0; /* reset any inherited browser/theme margin */
}

.form-row--half > .form-group {
	flex: 1;
}

.form-group {
	display:        flex;
	flex-direction: column;
	margin-bottom:  2rem;
}

.form-group label {
	font-family:    var( --font-ui );
	font-size:      var( --text-xs );
	letter-spacing: var( --tracking-widest );
	text-transform: uppercase;
	color:          #999;
	margin-bottom:  0.625rem;
}

.form-group input,
.form-group textarea {
	border:             none;
	border-bottom:      1px solid rgba(0, 0, 0, 0.15);
	background:         transparent;
	padding:            0.625rem 0;
	font-size:          1rem;
	color:              #1a1a1a;
	outline:            none;
	transition:         border-color 0.25s;
	font-family:        inherit;
	width:              100%;
	border-radius:      0;
	-webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
	border-bottom-color: #7b3b2f;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: #ccc;
}

.form-group textarea {
	resize:     vertical;
	min-height: 140px;
}

.form-actions {
	margin-top: 2.5rem;
}

/* Scoped to .contact-form to win specificity over Blocksy's global button rules. */
.contact-form .btn-submit {
	-webkit-appearance: none;
	appearance:         none;
	display:            inline-block;
	padding:            0.875rem 2.5rem;
	background:         #1a1a1a;
	color:              #fff;
	border:             none;
	border-radius:      0;
	box-shadow:         none;
	font-family:        var( --font-ui );
	font-size:          var( --text-xs );
	font-weight:        400;
	letter-spacing:     var( --tracking-widest );
	text-transform:     uppercase;
	cursor:             pointer;
	transition:         background 0.25s, transform 0.2s;
}

.contact-form .btn-submit:hover {
	background: #7b3b2f;
}

.contact-form .btn-submit:active {
	transform: scale(0.98);
}

@media (max-width: 600px) {
	.form-row--half {
		flex-direction: column;
		gap:            0;
	}
}

/* -----------------------------------------------------------------------------
   Map section — full-bleed
   ----------------------------------------------------------------------------- */
.map-container {
	width:    100%;
	height:   420px;
	overflow: hidden;
}

.map-container iframe {
	width:   100%;
	height:  100%;
	border:  0;
	display: block;
}

.map-placeholder {
	display:         flex;
	flex-direction:  column;
	align-items:     center;
	justify-content: center;
	gap:             1rem;
	width:           100%;
	height:          100%;
	background:      #f0ede8;
	color:           #b8a898;
}

.map-placeholder p {
	font-size:      0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin:         0;
}
