/* Croissy Middelharnis - site specific styles on top of the Porto theme */

body {
	font-family: 'Poppins', sans-serif;
}

.custom-heading-font,
h1.custom-heading-font,
h2.custom-heading-font,
h3.custom-heading-font,
h4.custom-heading-font,
h5.custom-heading-font {
	font-family: 'Playfair Display', Georgia, serif !important;
	letter-spacing: 0;
}

.custom-h-1 {
	height: 4px !important;
}

.custom-shadow {
	box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.25);
}

/* Header */
#header .header-body {
	background: #fff;
}

#header .header-nav-main nav > ul > li > a {
	font-family: 'Poppins', sans-serif;
	font-size: 0.85rem;
	letter-spacing: 0;
	font-weight: 600;
	text-transform: uppercase;
	color: #383838;
}

#header .header-nav-main nav > ul > li.active > a,
#header .header-nav-main nav > ul > li:hover > a {
	color: var(--primary) !important;
	background: transparent !important;
}

#header .header-nav-main nav > ul > li.active > a:before,
#header .header-nav-main nav > ul > li:hover > a:before {
	content: '';
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 4px;
	height: 2px;
	background: var(--primary);
}

#header .header-nav-top .nav > li > a,
#header .header-nav-top .nav > li > span {
	font-size: 0.8rem;
}

#header .header-top .nav-link:hover {
	color: var(--primary) !important;
}

@media (max-width: 991px) {
	#header .header-nav-main nav > ul > li > a {
		color: #fff;
	}
}

/* Hero */
.custom-hero {
	height: 85vh;
	min-height: 520px;
}

.custom-hero .owl-item {
	height: 85vh;
	min-height: 520px;
}

@media (max-width: 767px) {
	.custom-hero,
	.custom-hero .owl-item {
		height: 70vh;
		min-height: 460px;
	}
}

/* Page headers */
.custom-page-header {
	background: #383838 url('../img/hero-croissy.jpg') center center / cover no-repeat;
	position: relative;
	padding: 80px 0;
	margin: 0;
	border: 0;
}

.custom-page-header:before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(40, 32, 22, 0.92) 0%, rgba(40, 32, 22, 0.7) 100%);
}

.custom-page-header .container {
	position: relative;
	z-index: 1;
}

.custom-page-header h1 {
	border: 0;
	padding: 0;
}

.custom-page-header-image {
	padding: 120px 0;
}

.page-header .breadcrumb-light > li,
.page-header .breadcrumb-light > li + li:before {
	color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-light > li a {
	color: #fff;
}

.page-header .breadcrumb-light > li.active {
	color: var(--primary);
}

/* Cards */
.custom-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.18);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 40px -14px rgba(0, 0, 0, 0.28);
}

.custom-card-img {
	width: 100%;
	height: 230px;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.custom-card:hover .custom-card-img {
	transform: scale(1.05);
}

.custom-card .read-more:hover {
	text-decoration: none;
	color: var(--primary-100) !important;
}

.custom-contact-card {
	background: #fff;
	border-radius: 8px;
	border-left: 5px solid var(--primary) !important;
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.18);
}

.custom-contact-card .list-icons li > i {
	color: var(--primary);
	top: 6px;
}

/* Sections */
.bg-color-light {
	background: #f7f3ed !important;
}

.custom-cta {
	padding: 40px 0;
}

.custom-cta .call-to-action-content {
	text-align: left;
}

.custom-cta .call-to-action-btn {
	position: static;
	text-align: right;
	transform: none;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
}

@media (max-width: 575px) {
	.custom-cta .call-to-action-btn {
		justify-content: flex-start;
		margin-top: 1rem;
	}
}

.custom-cta .btn-light {
	background: #fff;
	border-color: #fff;
}

.custom-cta .btn-light:hover {
	background: #f7f3ed;
	border-color: #f7f3ed;
}

/* Menu items (specialiteiten) */
.custom-menu-item {
	margin-bottom: 1.4rem;
}

.custom-menu-item .custom-menu-item-details {
	display: flex;
	align-items: flex-end;
}

.custom-menu-item .custom-menu-item-title,
.custom-menu-item .custom-menu-item-price {
	white-space: nowrap;
}

.custom-menu-item .custom-menu-item-line {
	width: 100%;
	border-bottom: dashed 1px #777;
}

.custom-menu-item .custom-menu-item-title h3 {
	font-family: 'Playfair Display', Georgia, serif;
}

.custom-badge {
	background: var(--primary);
	color: #fff;
	font-weight: 600;
	font-size: 0.7rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 0.4em 0.8em;
	border-radius: 999px;
}

.custom-badge-outline {
	border: 2px solid var(--primary);
	color: var(--primary);
	background: transparent;
	font-weight: 600;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 0.5em 1em;
	border-radius: 999px;
}

/* Weekmenu */
.custom-glass-card {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	backdrop-filter: blur(6px);
}

/* Opening hours */
.custom-hours li {
	padding: 0.35rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-hours li:last-child {
	border-bottom: 0;
}

.custom-hours-dark li:last-child {
	border-bottom: 0 !important;
}

/* Buttons */
.custom-btn-facebook {
	background: #1877f2;
	border-color: #1877f2;
	color: #fff !important;
}

.custom-btn-facebook:hover,
.custom-btn-facebook:focus {
	background: #166fe5;
	border-color: #166fe5;
	color: #fff !important;
}

/* Quote */
.custom-quote {
	border-left: 4px solid var(--primary);
	padding: 0.5rem 0 0.5rem 1.25rem;
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
}

/* Feature boxes */
.feature-box-style-4 .feature-box-icon i {
	font-size: 2.6rem;
}

/* Legal pages */
.custom-legal p,
.custom-legal li {
	line-height: 1.8;
}

/* Footer */
.custom-footer {
	background: #2b2521;
	border-top: 4px solid var(--primary);
}

.custom-footer .footer-copyright {
	background: #221d1a;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.custom-footer a:hover {
	color: var(--primary) !important;
}

.custom-footer .social-icons-clean-with-border li a {
	border-color: rgba(255, 255, 255, 0.2);
}

/* Map */
.custom-map iframe {
	filter: saturate(0.85);
}

/* Compact main nav so all eight items fit on one row */
@media (min-width: 992px) {
	#header .header-nav-main nav > ul > li > a {
		padding: 0 0.7rem;
		font-size: 0.78rem;
	}

	#header .header-nav-main nav > ul > li.active > a:before,
	#header .header-nav-main nav > ul > li:hover > a:before {
		left: 0.7rem;
		right: 0.7rem;
	}
}

@media (min-width: 1200px) {
	#header .header-nav-main nav > ul > li > a {
		padding: 0 0.9rem;
		font-size: 0.82rem;
	}
}

.custom-footer-logo {
	background: #fff;
	border-radius: 6px;
	padding: 8px 12px;
}

/* Heading case and breadcrumb contrast fixes */
.custom-heading-font {
	text-transform: none !important;
}

.page-header .breadcrumb-light > li,
.page-header .breadcrumb-light > li + li:before {
	color: rgba(255, 255, 255, 0.75) !important;
}

.page-header .breadcrumb-light > li a {
	color: #fff !important;
}

.page-header .breadcrumb-light > li.active {
	color: var(--primary) !important;
}

/* Umbraco: static hero without slider or overlay */
.custom-hero-static {
	position: relative;
	display: flex;
	align-items: center;
	height: 85vh;
	min-height: 520px;
	background-color: #383838;
	background-size: cover;
	background-position: center;
}

.custom-hero-static h1,
.custom-hero-static h2,
.custom-hero-static p {
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

@media (max-width: 767px) {
	.custom-hero-static {
		height: 70vh;
		min-height: 460px;
	}
}

/* Umbraco: page header with image from the CMS (warm gradient, no gray overlay) */
.custom-page-header-dynamic {
	position: relative;
	margin: 0;
	border: 0;
	padding: 90px 0;
	background-color: #383838;
	background-size: cover;
	background-position: center;
}

.custom-page-header-dynamic:before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(40, 32, 22, 0.9) 0%, rgba(40, 32, 22, 0.55) 100%);
}

.custom-page-header-dynamic .container {
	position: relative;
	z-index: 1;
}

.custom-page-header-dynamic h1 {
	border: 0;
	padding: 0;
	margin: 0;
}

.custom-page-header-dynamic .sub-title {
	display: block;
	opacity: 0.85;
	margin-top: 0.25rem;
}

.custom-page-header-dynamic .breadcrumb {
	background: transparent;
	margin: 0;
	padding: 0;
	font-size: 0.75rem;
	text-transform: uppercase;
}

/* Umbraco: rich text inside blocks */
.custom-rte p:last-child { margin-bottom: 0; }
.custom-rte p { opacity: 0.85; }
.custom-rte p:first-child { font-size: 1.1em; opacity: 1; }
.custom-rte ul { padding-left: 1.2rem; }
.custom-rte ul li { margin-bottom: 0.5rem; line-height: 1.7; }
.custom-rte h3 { font-family: 'Playfair Display', Georgia, serif; text-transform: none; font-size: 1.3rem; margin: 1.5rem 0 0.5rem; }
.custom-rte-light p:last-child { margin-bottom: 0; }
.custom-rte-light a { color: var(--primary); }

/* Umbraco: readable hero text without a full overlay */
.custom-hero-panel {
	display: block;
}

.custom-hero-static h1,
.custom-hero-static h2,
.custom-hero-static p {
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 0, 0, 0.5);
}

.custom-hero-static h2.text-color-primary {
	color: #e6c48f !important;
}

.custom-hero-static p {
	opacity: 0.95;
}


/* Umbraco: readable text in Banner met achtergrond */
.custom-banner .custom-banner-text,
.custom-banner .custom-banner-text p,
.custom-banner h2,
.custom-banner .custom-glass-card {
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.custom-banner .custom-banner-text {
	opacity: 1 !important;
	font-weight: 400;
}

.custom-banner .custom-glass-card {
	background: rgba(20, 16, 12, 0.55);
	border-color: rgba(255, 255, 255, 0.25);
}

.custom-rte-light,
.custom-rte-light p,
.custom-rte-light li,
.custom-rte-light strong {
	color: #fff !important;
}

.custom-banner .custom-banner-text p {
	font-size: 1.1em;
	line-height: 1.7;
}

/* Menu underline: same position on hover and active, no dropdown bridge */
#header .header-nav-main nav > ul > li > a {
	position: relative;
}

#header .header-nav-main nav > ul > li > a:before {
	transition: opacity 0.2s ease;
}
