/*
 * Custom Styles for Schamanin Hamburg
 * Extracted from original main.css (lines 1632-1794)
 * 
 * Contains custom styling for:
 * - Blockquotes with source attribution
 * - Image gallery and positioning classes
 * - Tagline styling
 * - Runen divider
 * - Testimonial system
 * - Appointment and subtitle styling
 * - Custom HR breaker
 */

/* Blockquote Source Attribution */
blockquote div.source {
	width: 60%;
	text-align: right;
	font-size: smaller;
	font-weight: bold;
	text-wrap: nowrap;
}

/* Remove dark overlay from all images */
.image:before {
	display: none !important;
}

/* Add subtle border to all images */
.image img {
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 4px !important;
}

/* Image Gallery Styling */
span.image.gallery {
	text-align: center !important;
	display: block !important;
}

span.image.gallery > img {
	display: inline-block !important;
	margin: 10px !important;
	width: auto !important;
	max-width: 45% !important;
}

/* Creative Commons Note (hidden) */
p.ccnote {
	display: none;
}

/* Creative Commons Logo Styling */
a.cc, a.cc:hover, img.cc {
	height: 1.2em;
	text-decoration: none;
	border-bottom: none;
}

/* Tagline Styling */
ul.tagline {
	text-align: center;
	padding-left: 0em;
}

ul.tagline > li {
	display: inline;
	text-transform: uppercase;
	padding-left: 0px;
	letter-spacing: 0.2em;
	font-weight: lighter;
}

ul.tagline > li:after {
	content: " \2022";
}

ul.tagline > li:last-child:after {
	content: "";
}

/* Runen Divider */
div.runes {
	height: 35px;
	content: " ";
	background: url("/images/runes.svg");
	background-repeat: round;
}

/* Image Positioning Classes */
.image.portrait {
	float: right;
	margin-left: 1em;
	width: 12em;
}

.image.landscape {
	float: right;
	margin-left: 1em;
	width: 50%;
}

.image.center {
	max-width: 60%;
	margin: 1em auto;
	display: block;
	text-align: center;
}

.image > img {
	border-radius: 4px;
	width: 100%;
}

/* Utility Classes */
.clearFloat {
	float: clear;
}

.c-origin {
	color: lightgray;
	text-align: right;
	width: 100%;
	font-weight: lighter;
}

/* Appointment and Subtitle Styling */
h3 > div.appointment {
	text-align: right;
	width: 100%;
	font-weight: lighter;
	text-transform: none;
}

h2 > div.subtitle,
h3 > div.subtitle {
	padding-left: 5em;
	font-weight: lighter;
	text-transform: none;
}

/* Custom HR Breaker */
hr.breaker {
	border: 0;
	height: 1px;
	background-image: linear-gradient(to right, transparent, rgb(94, 94, 94), transparent);
	width: 50%;
	margin-left: 25%;
	margin-top: 1em;
	margin-bottom: 2em;
	float: clear;
}

/* Testimonial System */
div.testimonial-container {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	width: 400px;
	min-height: 150px;

	font-size: 0.9rem;
	margin: 0 0.25rem;
	padding: 0.25rem 0.65rem;
	padding-left: 1em;
	padding-top: 0.5em;
	text-align: left;

	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: left;
}

div.testimonial-container:before {
	content: "\201C";
	position: absolute;
	font-size: 80px;
	line-height: 1;
	color: #757f9a;
	font-style: normal;
}

div.testimonial {
	margin-left: 3em;
	text-align: left;
	width: 80%;
	font-size: small;

	position: absolute;
	transform: translateX(100%);
	opacity: 0;
	transition: transform 1.5s ease-in-out, opacity 1.5s ease-in-out;
}

div.testimonial > p {
	margin-bottom: 0px;
}

div.testimonial.active {
	transform: translateX(0%);
	opacity: 1;
}

div.testimonial > div.name {
	width: 100%;
	text-align: right;
	font-size: smaller;
	font-weight: bold;
	text-wrap: nowrap;
}

/* Contact Form Fixes */
input[type="tel"] {
	height: 2.75rem;
}

/* Honeypot Field - Hidden from users, visible to bots */
.UCX,
.ucx {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/* Navigation Dropdown Styles */
#header nav ul li.dropdown {
	position: relative;
}

#header nav ul li.dropdown .dropdown-toggle {
	cursor: pointer;
}

#header nav ul li.dropdown .dropdown-toggle:after {
	content: " ▼";
	font-size: 0.6rem;
	margin-left: 0.5rem;
	transition: transform 0.3s ease;
}

#header nav ul li.dropdown:hover .dropdown-toggle:after {
	transform: rotate(180deg);
}

#header nav ul li.dropdown:hover .dropdown-toggle,
#header nav ul li.dropdown.active .dropdown-toggle {
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	background-color: rgba(255, 255, 255, 0.05);
}

#header nav ul li.dropdown .dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 100%;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: solid 1px rgba(255, 255, 255, 0.3);
	border-top: none;
	border-radius: 0 0 4px 4px;
	padding: 0;
	margin: 0;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
	display: flex;
	flex-direction: column;
}

#header nav ul li.dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

#header nav ul li.dropdown .dropdown-menu li {
	border-left: none;
	border-top: solid 1px rgba(255, 255, 255, 0.2);
	padding-left: 0;
	width: 100%;
}

#header nav ul li.dropdown .dropdown-menu li:first-child {
	border-top: none;
}

#header nav ul li.dropdown .dropdown-menu li a {
	display: block;
	min-width: 7.5rem;
	height: 2.75rem;
	line-height: 2.75rem;
	padding: 0 1.25rem 0 1.45rem;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	font-size: 0.8rem;
	border-bottom: 0;
	white-space: nowrap;
	background: transparent;
}

#header nav ul li.dropdown .dropdown-menu li a:hover {
	background-color: rgba(255, 255, 255, 0.15);
}

#header nav ul li.dropdown .dropdown-menu li a:active {
	background-color: rgba(255, 255, 255, 0.25);
}

/* Mobile Navigation Dropdown Adjustments - nur für kleine Handys */
@media screen and (max-width: 480px) {
	#header nav ul li.dropdown .dropdown-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: solid 1px rgba(255, 255, 255, 0.3);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
		border-radius: 4px;
		margin-top: 0.5rem;
		width: 100%;
	}
	
	#header nav ul li.dropdown:hover .dropdown-menu,
	#header nav ul li.dropdown.active .dropdown-menu {
		max-height: 300px;
	}
	
	#header nav ul li.dropdown .dropdown-menu li {
		border-top: solid 1px rgba(255, 255, 255, 0.2);
		padding-left: 0;
		text-align: center;
		width: 100%;
	}
	
	#header nav ul li.dropdown .dropdown-menu li:first-child {
		border-top: none;
	}
	
	#header nav ul li.dropdown .dropdown-menu li a {
		height: 3rem;
		line-height: 3rem;
		padding: 0 1rem;
		font-size: 0.7rem;
		text-align: center;
		width: 100%;
		display: block;
		background: transparent;
	}
	
	#header nav ul li.dropdown .dropdown-menu li a:hover {
		background-color: rgba(255, 255, 255, 0.15);
	}
}

/* Tablet Navigation - Click-Verhalten mit schwebendem Dropdown */
@media screen and (min-width: 481px) and (max-width: 980px) {
	#header nav ul li.dropdown .dropdown-menu {
		/* Schwebendes Dropdown wie Desktop */
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 100%;
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		border: solid 1px rgba(255, 255, 255, 0.3);
		border-top: none;
		border-radius: 0 0 4px 4px;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: all 0.3s ease;
		z-index: 1000;
	}
	
	/* Click-Verhalten statt Hover */
	#header nav ul li.dropdown.active .dropdown-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
	
	#header nav ul li.dropdown .dropdown-menu li {
		border-top: solid 1px rgba(255, 255, 255, 0.2);
		padding-left: 0;
		width: 100%;
	}
	
	#header nav ul li.dropdown .dropdown-menu li:first-child {
		border-top: none;
	}
	
	#header nav ul li.dropdown .dropdown-menu li a {
		height: 2.75rem;
		line-height: 2.75rem;
		padding: 0 1.25rem 0 1.45rem;
		font-size: 0.75rem;
		text-align: left;
		white-space: nowrap;
		background: transparent;
	}
	
	#header nav ul li.dropdown .dropdown-menu li a:hover {
		background-color: rgba(255, 255, 255, 0.15);
	}
}
