/*
Theme Name: TC-Tulp-V2
Theme URI: 
Author: Hermen Lesscher
Author URI: 
Description: 
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tc-tulp-v2
Tags:
*/

:root {
    --tctulp-light-blue: #009FE3;
    --tctulp-blue: #2463EB;
    --tctulp-dark-blue: #0648C1;
	--tctulp-red: #FE270A;
	--menu-hover-bgcolor: #FE270A;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
}

/* Header and Navigation */
.site-header {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--tctulp-light-blue);
}

.main-navigation {
    width: 100%;
}

.nav-container {
	height: 100px;
	/* max-width: 1200px; */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px 0 20px;
}

.site-branding a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
}

.site-branding .custom-logo {
    max-height: 70px;
    width: auto;
}

.primary-menu {
    list-style: none;
    display: flex;
    gap: 0;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    display: block;
    padding: 1rem 1.25rem;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s;
}

.primary-menu a:hover {
    background-color: var(--menu-hover-bgcolor);
}

/* Parent menu items with submenus - disable click */
.primary-menu > .menu-item-has-children > a {
    pointer-events: none;
    cursor: default;
}

/* But allow hover effect on the parent li */
.primary-menu > .menu-item-has-children:hover > a {
    background-color: var(--menu-hover-bgcolor);
}

/* Dropdown submenus */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--tctulp-light-blue);
    min-width: 200px;
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.primary-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li {
    list-style: none;
    list-style-type: none;
    display: block;
    width: 100%;
    border-top: 1px solid white;
}

.primary-menu .sub-menu li:first-child {
    /* border-top: none; */
}

.primary-menu .sub-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    white-space: nowrap;
}

/* Nested submenus (3rd level) */
.primary-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

/* Main content */
.page-content,
.content-area {
	max-width: 800px;
	margin: 0 auto;
}
.site-content {
    margin-top: 90px;
    padding: 40px 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
	&.front-page {
		max-width: 90vw;
		width: 90vw;
		.page-content {
			max-width: 100%;
		}
	}
}


.page-content h1 {
    margin-bottom: 1.5rem;
}

.entry-content {
    margin-top: 1rem;
}

/* Embed template */
.embed-container {
    position: fixed;
    top: 14px; /* Below the header */
    left: 0;
    right: 0;
    bottom: 0;
	width: 100%;
	height: calc(100% - 70px);
	background: white;
	display: flex;
	justify-content: center;
	align-items: center;
}

.embed-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.embed-error {
    padding: 40px;
    text-align: center;
    color: #666;
}

/* Footer */
.site-footer {
    background: var(--tctulp-light-blue);
    color: #fff;
    padding: 5px;
    text-align: center;
	bottom: 0px;
	position: fixed;
	width: 100%;
}

.wp-block-group {
	border: 2px solid lightgrey;
