/* ----------------------------------------------------------------
	Custom CSS for Heyri Ceramic Experience School
	Theme: Watercolor Gallery (Soft, Blended, Transparent)
-----------------------------------------------------------------*/

:root {
	/* ----------------------------------------------------------------
       THEME: "School of Earth" Palette
       Focus: Warm Clay, Cool Glaze, and Canvas Texture
    -----------------------------------------------------------------*/
	--wc-primary: #D17C64;
	/* Deep Terra Cotta (Clay) - softer/more natural than #E29578 */
	--wc-secondary: #2C5F58;
	/* Forest Ceramic Green (Glaze) - deeper than #006D77 */
	--wc-accent: #AEC3B0;
	/* Pale Sage (Fresh) */
	--wc-bg: #FDFBF7;
	/* Creamy Paper Texture */
	--wc-text: #3D3D3D;
	/* Charcoal Grey (Softer than black) */
	--wc-glass: rgba(255, 255, 255, 0.65);

	/* Typography Constants */
	--font-title: 'Pinyon Script', cursive;
	/* Artistic Accents */
	--font-body: 'Gowun Batang', serif;
	/* Readable but Elegant */
	--font-sans: 'Hahmlet', serif;
	/* Modern Serif for UI */

	/* ----------------------------------------------------------------
       BOOTSTRAP OVERRIDES
    -----------------------------------------------------------------*/
	--bs-primary: var(--wc-primary);
	--bs-secondary: var(--wc-secondary);
	--bs-success: var(--wc-secondary);
	--bs-info: var(--wc-accent);
	--bs-warning: #ECD4C8;
	/* Sand */
	--bs-danger: #D17C64;
	--bs-light: var(--wc-bg);
	--bs-dark: var(--wc-text);
	--bs-body-bg: var(--wc-bg);
	--bs-body-color: var(--wc-text);
}

/* Base Canvas with Artistic Grain */
body {
	background-color: var(--wc-bg) !important;
	/* Subtle noise texture for "Handmade Paper" feel */
	background-image:
		radial-gradient(circle at 15% 25%, rgba(209, 124, 100, 0.03) 0%, transparent 25%),
		radial-gradient(circle at 85% 75%, rgba(44, 95, 88, 0.03) 0%, transparent 30%),
		url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E") !important;
	background-attachment: fixed !important;
	color: var(--wc-text) !important;
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
}

/* ----------------------------------------------------------------
   Typography & Titles
-----------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-body);
	color: var(--wc-text);
	font-weight: 600;
	letter-spacing: -0.02em;
}

/* Artistic Script Titles - Use class .font-artistic */
.font-artistic {
	font-family: var(--font-title) !important;
	font-weight: 400;
}

/* Section Subtitles */
.subtitle-overhead {
	font-family: var(--font-title);
	color: var(--wc-primary);
	font-size: 1.8rem;
	font-weight: 400;
	margin-bottom: 0.5rem;
	display: block;
}

/* Main Artistic Headers */
.display-title {
	font-family: var(--font-body);
	font-weight: 700;
	color: var(--wc-secondary);
	position: relative;
	display: inline-block;
}

/* Brush Stroke Decoration */
.display-title::after {
	content: '';
	position: absolute;
	left: 5%;
	bottom: 2px;
	width: 90%;
	height: 12px;
	background: var(--wc-accent);
	opacity: 0.4;
	z-index: -1;
	transform: skewX(-15deg) rotate(-1deg);
	border-radius: 5px;
	filter: blur(1px);
}


/* ----------------------------------------------------------------
   Buttons: "Artistic" Style
-----------------------------------------------------------------*/
.btn-artistic {
	font-family: var(--font-sans);
	font-weight: 600;
	letter-spacing: 0.05em;
	padding: 12px 30px;
	border-radius: 50px;
	/* Full pill */
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: linear-gradient(135deg, #D17C64 0%, #E89F8A 100%);
	color: white !important;
	box-shadow:
		0 4px 15px rgba(209, 124, 100, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	text-decoration: none !important;
	position: relative;
	overflow: hidden;
}

.btn-artistic:hover {
	transform: translateY(-2px);
	box-shadow:
		0 8px 25px rgba(209, 124, 100, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
	background: linear-gradient(135deg, #E89F8A 0%, #D17C64 100%);
}

.btn-artistic-secondary {
	background: linear-gradient(135deg, #2C5F58 0%, #3D7A70 100%);
	box-shadow: 0 4px 15px rgba(44, 95, 88, 0.2);
}

.btn-artistic-secondary:hover {
	background: linear-gradient(135deg, #3D7A70 0%, #2C5F58 100%);
	box-shadow: 0 8px 25px rgba(44, 95, 88, 0.3);
}

/* ----------------------------------------------------------------
   Components: Mosaic & Cards
-----------------------------------------------------------------*/

/* Wrapper to unify link contents */
.mosaic-tile {
	display: block;
	position: relative;
	overflow: hidden;
	transition: all 0.5s ease;
}

/* The Image Shape Container */
.shape-clay-1,
.shape-clay-2,
.shape-clay-3 {
	border-radius: 20px;
	/* Base soft curve */
	transition: border-radius 0.5s ease, box-shadow 0.5s ease;
}

/* Specific Organic Shapes */
.shape-clay-1 {
	border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-clay-2 {
	border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
}

.shape-clay-3 {
	border-radius: 40% 60% 60% 40% / 40% 60% 40% 60%;
}

/* Hover Effects on shapes */
.mosaic-tile:hover .shape-clay-1,
.mosaic-tile:hover .shape-clay-2,
.mosaic-tile:hover .shape-clay-3 {
	border-radius: 15px;
	/* Return to more "card-like" on hover for focus */
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.mosaic-tile img {
	transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.mosaic-tile:hover img {
	transform: scale(1.08);
}


/* Floating Glass Panels (Dashboard) */
.glass-info-card {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.6);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
	border-radius: 24px;
	padding: 30px;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-info-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.tour-link-name {
	font-family: var(--font-body);
	font-weight: 600;
	color: var(--wc-text);
	font-size: 0.95rem;
	color: var(--wc-text);
	text-decoration: none !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Base Canvas with Artistic Grain */
body {
	background-color: var(--wc-bg) !important;
	/* Subtle earthy bleed simulation + Noise Granularity */
	background-image:
		radial-gradient(circle at 10% 25%, rgba(226, 149, 120, 0.05) 0%, transparent 20%),
		radial-gradient(circle at 90% 75%, rgba(0, 109, 119, 0.03) 0%, transparent 25%),
		url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E") !important;
	background-attachment: fixed !important;
	background-size: cover, cover, 150px 150px;
	/* Noise tiles */
	color: var(--wc-text) !important;
	font-family: 'Hahmlet', serif;
}

/* ----------------------------------------------------------------
   THEME: Global Pastel Color Harmony
-----------------------------------------------------------------*/
/* Titles & Typography */
/* Artistic Titles & Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.title-center h3 {
	font-family: 'Gowun Batang', serif;
	color: var(--wc-secondary) !important;
	font-weight: 500;
	/* Slightly bolder for readability on texture */
	line-height: 1.4;
}

/* Fancy Titles (Handwritten nuance) */
.fancy-title h4,
.before-heading,
.subtitle {
	color: var(--wc-primary) !important;
	font-family: 'Hahmlet', serif;
	font-weight: 700;
	letter-spacing: 2px;
	/* Airy spacing */
	text-transform: uppercase;
	font-size: 0.95rem;
}

/* Brush Stroke Underline - Organic */
.title-center h3 {
	position: relative;
	display: inline-block;
}

.title-center h3::after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	bottom: 5px;
	width: 100%;
	height: 15px;
	/* Thicker for paint look */
	background: var(--wc-accent);
	opacity: 0.3;
	z-index: -1;
	/* Irregular slant */
	transform: skewX(-15deg) rotate(-2deg);
	border-radius: 20% 80% 80% 20% / 50% 20% 80% 50%;
	/* Organic pill */
	filter: blur(2px);
	/* Soft watercolor edge */
}

/* ----------------------------------------------------------------
   THEME: Sophisticated Page Titles (.title-block)
-----------------------------------------------------------------*/
.title-block {
	text-align: center;
	padding: 30px 0 20px;
	position: relative;
	margin-bottom: 30px;
}

.title-block::after {
	content: "";
	/* Watercolor Underline */
	display: block;
	width: 60px;
	height: 3px;
	/* Slightly thinner */
	background: var(--wc-primary);
	margin: 15px auto 0;
	border-radius: 2px;
	opacity: 0.6;
}

.title-block h2 {
	font-family: 'Gowun Batang', serif;
	font-size: 2.5rem;
	color: var(--wc-secondary) !important;
	/* Deep Teal */
	margin-bottom: 10px;
	font-weight: 700;
	letter-spacing: -1px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	/* Replace &ensp; with gap */
}

.title-block h2 i {
	font-size: 2rem;
	color: var(--wc-accent) !important;
	/* Sage Icon */
	opacity: 0.8;
	transform: translateY(-2px);
}

.title-block strong,
.title-block span {
	font-family: 'Hahmlet', serif;
	font-size: 1.1rem;
	color: #7f8c8d;
	/* Soft Grey for Subtitle */
	font-weight: 400;
	display: block;
	/* Force new line for subtitle */
	margin-top: 5px;
	letter-spacing: 1px;
}

/* Hide the old raw &ensp; if possible, or just accept them as spacing */


/* ----------------------------------------------------------------
   Buttons & Borders: Pastel Harmony
-----------------------------------------------------------------*/
.button {
	border-radius: 30px !important;
	/* Soft pill shape */
	padding: 10px 30px;
	font-family: 'Gowun Batang', serif;
	font-size: 1.05rem;
	transition: all 0.4s ease;

	/* Pastel Border added */
	border: 2px solid var(--wc-primary) !important;
	/* Terra Cotta Border */

	color: white !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	box-shadow: 0 5px 15px rgba(0, 109, 119, 0.15);
	/* Deep Teal Shadow */
}

/* ----------------------------------------------------------------
   THEME: Sophisticated Gallery (Modern Petal)
-----------------------------------------------------------------*/
.col-lg-4.center img,
.col-lg-4 img,
.col-lg-3 img,
.portfolio-single-image img {
	/* The Modern Petal Shape */
	border-radius: 4px 60px 4px 60px !important;

	/* Elegant Frame */
	border: 1px solid rgba(255, 255, 255, 0.4) !important;
	box-shadow: 0 15px 35px rgba(0, 50, 60, 0.08);
	/* Deep, diffused shadow */

	transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	width: 100%;
	object-fit: cover;
	background: white;
	/* Matte backing */
	padding: 5px;
	/* Tiny matte spacing */
}

/* Hover Effect: Lift & Sharpen */
.col-lg-4.center:hover img,
.col-lg-3:hover img,
.portfolio-single-image img:hover {
	/* Slightly sharper curve on hover */
	border-radius: 60px 4px 60px 4px !important;

	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 25px 50px rgba(0, 50, 60, 0.12);
	border-color: var(--wc-primary);
	/* Terra Cotta Hint */
}

/* ----------------------------------------------------------------
   Buttons & Borders: Premium Glaze (Stylish)
-----------------------------------------------------------------*/
.button {
	/* The Soft Superellipse Shape */
	border-radius: 12px !important;
	padding: 12px 35px;

	/* Typography: Modern & Sharp */
	font-family: 'Hahmlet', serif;
	font-size: 0.95rem;
	letter-spacing: 1.5px;
	font-weight: 600;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	/* Bouncy */

	/* 1. Premium Gradient (Terra Cotta -> Soft Peach) */
	background: linear-gradient(135deg, #E29578 0%, #FFB4A2 100%) !important;

	/* 2. Glossy Sheen (Inner Light) */
	border: none !important;
	box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3),
		0 6px 15px rgba(226, 149, 120, 0.3) !important;

	/* 3. White Text with Shadow */
	color: #FFFFFF !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
}

/* UNIFICATION: Map ALL distinct classes to the Premium Style */
.button-pink,
.button-clay,
.button-amber,
.button-sage,
.button-leaf,
.button-dirtygreen,
.button-3d,
.button-rounded {
	/* Identical Base Style */
	background: linear-gradient(135deg, #E29578 0%, #FFB4A2 100%) !important;
	border-color: transparent !important;
	border-bottom: none !important;
	/* Remove clunky 3D borders */
	color: #FFFFFF !important;
}

/* Hover: Lift & Glow with Organic Wobble */
.button:hover,
.button-pink:hover,
.button-clay:hover,
.button-amber:hover,
.button-sage:hover,
.button-leaf:hover,
.button-dirtygreen:hover {
	/* Brighter Gradient on Hover */
	background: linear-gradient(135deg, #FFB4A2 0%, #E29578 100%) !important;
	transform: translateY(-3px) scale(1.02);
	/* Stronger Shadow */
	box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4),
		0 15px 30px rgba(226, 149, 120, 0.5) !important;
	color: #FFFFFF !important;
	/* Organic Wobble */
	animation: organicWobble 0.6s ease-in-out;
}

@keyframes organicWobble {

	0%,
	100% {
		border-radius: 12px;
	}

	25% {
		border-radius: 10px 14px 12px 12px;
	}

	50% {
		border-radius: 13px 11px 13px 11px;
	}

	75% {
		border-radius: 12px 12px 10px 14px;
	}
}

/* Ghost / Outline Buttons (The only exception) */
.button-outline {
	background: transparent !important;
	color: var(--wc-primary) !important;
	/* Terra Cotta */
	border: 2px solid var(--wc-primary) !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

.button-outline:hover {
	background: var(--wc-primary) !important;
	color: white !important;
	box-shadow: 0 10px 20px rgba(226, 149, 120, 0.3) !important;
}


/* Global Borders */
hr {
	border-top-color: var(--wc-primary) !important;
	/* Terra Cotta Divider */
	opacity: 0.4;
}

/* ----------------------------------------------------------------
   THEME: Reservation Guides - "Glass Info Card"
-----------------------------------------------------------------*/
.glass-info-card {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);

	border: 1px solid rgba(226, 149, 120, 0.2) !important;
	/* Faint Terra Cotta */
	border-radius: 4px 40px 4px 40px !important;
	/* Ceramic Curve */

	padding: 40px;
	margin-bottom: 30px;
	box-shadow: 0 10px 40px rgba(0, 50, 60, 0.05);
	/* Deep Soft Shadow */
	position: relative;
	/* For watermark */
	overflow: hidden;
}

/* Special Group Highlight (Hero Card) */
/* Special Group Highlight (Hero Card) - Renamed to bypass cache */
.glass-info-card.special-group-clean {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(253, 251, 247, 0.9) 100%);
	border-left: 5px solid var(--wc-primary) !important;
	/* Thick Accent */
	box-shadow: 0 15px 50px rgba(226, 149, 120, 0.15);
	/* Warmer Shadow */
}

/* Watermark Icon */
/* Watermark Icon */
/* Watermark Icon - REMOVED due to broken font rendering */
/*
.glass-info-card.special-group::before {
	content: none; 
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	top: -20px;
	right: -20px;
	font-size: 15rem;
	color: rgba(226, 149, 120, 0.05);
	z-index: 0;
	pointer-events: none;
}
*/

/* Typography inside Card */
.glass-info-card h3 {
	color: var(--wc-secondary) !important;
	/* Deep Teal */
	font-family: 'Gowun Batang', serif;
	border-bottom: 2px solid var(--wc-accent);
	/* Sage Underline */
	padding-bottom: 15px;
	margin-bottom: 25px;
	display: inline-block;
	position: relative;
	z-index: 1;
}

.glass-info-card i {
	color: var(--wc-primary) !important;
	/* Terra Cotta Icons */
	margin-right: 8px;
}

.glass-info-card span,
.glass-info-card div {
	font-family: 'Hahmlet', serif;
	color: #4A4A4A;
	line-height: 1.8;
	position: relative;
	z-index: 1;
}

/* ----------------------------------------------------------------
   THEME: Notice Section - "The Bulletin Board"
-----------------------------------------------------------------*/
.card .table th {
	background-color: transparent !important;
	border-top: none !important;
	border-bottom: 2px solid var(--wc-secondary) !important;
	/* Deep Teal Line */

	color: var(--wc-secondary) !important;
	font-family: 'Gowun Batang', serif;
	font-size: 1rem;
	padding-bottom: 15px;
}

.card .table td {
	border-bottom: 1px dashed rgba(131, 197, 190, 0.3) !important;
	/* Faint Sage Dash */
	vertical-align: middle;
	padding: 12px 5px;
}

.card .table td:first-child,
.card .table td:last-child {
	font-family: 'Hahmlet', serif;
	color: var(--wc-accent) !important;
	/* Sage for No. and Date */
	font-size: 0.85rem;
}

/* Notice Subject Links */
.card .table a {
	color: #4A4A4A !important;
	transition: all 0.3s ease;
	font-weight: 400;
}

.card .table a:hover {
	color: var(--wc-primary) !important;
	/* Terra Cotta Highlight */
	text-decoration: none;
	padding-left: 5px;
	/* Slide effect */
}

/* ----------------------------------------------------------------
   THEME: Media Section - "The Curated Gallery"
-----------------------------------------------------------------*/
/* Refined Title */
.fancy-title.title-center h3 {
	font-family: 'Gowun Batang', serif !important;
	color: var(--wc-secondary) !important;
	border-bottom: 3px double var(--wc-accent) !important;
	/* Sage Double Line */
	padding-bottom: 10px;
	display: inline-block;
}

/* 3. Sub Menu: Wet Brush Stroke */
.sub-menu-container .menu-link {
	font-family: 'Hahmlet', serif !important;
	/* Synced with Main Menu */
	font-size: 0.95rem !important;
	color: var(--wc-secondary) !important;
	padding: 12px 20px !important;
	transition: all 0.3s ease;
	border-bottom: 1px solid rgba(226, 149, 120, 0.1);
}

/* Gallery Container Spacing */
#oc-images,
#oc-images-2,
#oc-images-3 {
	padding: 30px 0;
	margin-bottom: 30px;

	/* Subtle Background Highlight */
	background: radial-gradient(ellipse at center, rgba(226, 149, 120, 0.05) 0%, transparent 70%);
}

/* ----------------------------------------------------------------
   THEME: The Floating Watercolor Palette (Refined Colors)
-----------------------------------------------------------------*/
/* Staggered Grid (Desktop Only) */
@media (min-width: 992px) {
	.col-lg-4.center:nth-child(even) {
		margin-top: 60px;
	}
}

/* Glassmorphism Widgets - Refined */
.card {
	background: rgba(255, 255, 255, 0.85);
	/* Slightly more solid */
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.6) !important;
	border-radius: 4px 30px 4px 30px !important;
	/* Matching Petal Theme */
	box-shadow: 0 10px 40px 0 rgba(0, 50, 60, 0.05);
}

/* 5. Program Schedule: Tour Link Box (Premium Grid) */
.tour-link-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 10px 0 !important;
	display: grid !important;
	/* Grid Layout */
	grid-template-columns: 1fr 1fr;
	/* 2 Columns */
	gap: 10px;
}

.tour-link-item {
	display: flex;
	align-items: center;
	background: #FFFFFF;
	border: 1px solid rgba(0, 0, 0, 0.05);
	border-left: 4px solid var(--wc-secondary);
	/* Accent Strip */
	border-radius: 4px;
	/* Slight rounded corners */
	padding: 10px 15px;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
	height: 100%;
	/* Equal height */
}

.tour-link-item:hover {
	transform: translateY(-3px);
	/* Lift Up */
	border-left-color: var(--wc-primary);
	/* Terra Cotta Change */
	box-shadow: 0 5px 15px rgba(226, 149, 120, 0.2);
}

.tour-link-icon {
	width: 36px;
	height: 36px;
	background: rgba(131, 197, 190, 0.2);
	/* Sage Tint */
	color: var(--wc-secondary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 12px;
	font-size: 1rem;
	flex-shrink: 0;
	/* Prevent shrinking */
}

.tour-link-content {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
	overflow: hidden;
	/* Text overflow safety */
}

.tour-link-name {
	font-family: 'Gowun Batang', serif;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--wc-text);
	text-decoration: none !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tour-link-item:hover .tour-link-name {
	color: var(--wc-primary) !important;
}

.tour-link-phone {
	font-family: 'Outfit', sans-serif;
	/* Clean Number Font */
	font-size: 0.85rem;
	color: #666;
	letter-spacing: 0.5px;
}

/* 1. Floating Header Strip */
#header-wrap {
	background: rgba(255, 255, 255, 0.8) !important;
	/* Slightly more opaque */
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	border-bottom: 2px solid rgba(226, 149, 120, 0.3) !important;
	/* Terra Cotta Fade */
	/* Soft floating shadow */
	box-shadow: 0 10px 30px rgba(0, 109, 119, 0.05) !important;
}

#header {
	background: transparent !important;
	border-bottom: none !important;
}

/* 2. Top Level Menu: Paint Dabs */
.menu-link {
	color: var(--wc-secondary) !important;
	/* Deep Teal */
	font-family: 'Hahmlet', serif;
	font-weight: 700 !important;
	font-size: 1.1rem !important;
	position: relative;
	z-index: 1;
	transition: color 0.3s ease;
	padding-top: 25px !important;
	padding-bottom: 25px !important;
}

/* The Paint Dab Blob */
.menu-item>.menu-link::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	width: 50px;
	height: 40px;
	background: rgba(226, 149, 120, 0.3);
	/* Terra Cotta Wash */
	border-radius: 60% 40% 30% 70% / 50% 60% 40% 60%;
	/* Organic shape */
	z-index: -1;
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	filter: blur(2px);
}

.menu-item:hover>.menu-link {
	color: #E29578 !important;
	/* Terra Cotta Text on Hover */
}

.menu-item:hover>.menu-link::before {
	transform: translate(-50%, -50%) scale(1.5);
	/* Expand blob */
}

/* 3. Dropdown Menu: Ceramic Paper Card */
.sub-menu-container {
	/* Structural Visibility Specs (Required) */
	position: absolute !important;
	top: 90% !important;
	/* Slight overlap */
	left: 0 !important;
	min-width: 240px !important;
	z-index: 99999 !important;
	display: none;

	/* Creative Style */
	background-color: #FDFBF7 !important;
	/* Paper Texture */
	border: none !important;
	border-radius: 0 0 25px 25px !important;
	box-shadow: 0 20px 50px rgba(0, 109, 119, 0.15) !important;
	/* Teal Shadow */
	padding: 15px 0 20px 0 !important;

	/* Artistic Border Top: Terra Cotta */
	border-top: 4px solid var(--wc-primary) !important;
}

/* Animation */
.menu-item:hover>.sub-menu-container {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	animation: dripDown 0.4s ease forwards;
}

@keyframes dripDown {
	0% {
		opacity: 0;
		transform: translateY(10px) scaleY(0.9);
	}

	100% {
		opacity: 1;
		transform: translateY(0) scaleY(1);
	}
}

/* 4. Dropdown Items: Ceramic Glaze Wash */
.sub-menu-container .menu-item {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

.sub-menu-container .menu-item>.menu-link {
	font-size: 0.95rem !important;
	/* Default Text: Deep Teal (Matches Main Menu) */
	color: var(--wc-secondary) !important;
	text-transform: none !important;
	font-weight: 500 !important;
	padding: 12px 30px !important;

	/* Sliding Glaze Background (Sage) */
	background: linear-gradient(to right, rgba(131, 197, 190, 0.2) 50%, transparent 50%);
	background-size: 200% 100%;
	background-position: right bottom;
	transition: all 0.4s ease;
	border-bottom: 1px dashed rgba(226, 149, 120, 0.2);
	/* Terra Cotta Dash */
}

.sub-menu-container .menu-item:last-child>.menu-link {
	border-bottom: none;
}

.sub-menu-container .menu-item:hover>.menu-link {
	background-position: left bottom;
	/* Slide color in */

	/* Hover Text: Terra Cotta (Warmth) */
	color: var(--wc-primary) !important;

	padding-left: 40px !important;
	/* Slide text */
	font-weight: 700 !important;
}

/* Fix Overflows */
.primary-menu,
.menu-container,
.menu-item,
#header-wrap,
#header {
	overflow: visible !important;
}

.card .fancy-title h4 {
	color: var(--wc-secondary) !important;
	letter-spacing: 1px;
}

/* Footer */
#footer {
	background-color: var(--wc-secondary) !important;
	color: #FDFBF7 !important;
	border-top: none;
}

/* ----------------------------------------------------------------
   THEME: Media Section - "The Professional Archive"
-----------------------------------------------------------------*/
/* Carousel Item Container */
.image-carousel .oc-item {
	padding: 15px;
	/* Space for shadow/lift */
}

/* The Media Assets (TV, Facility, Blog) */
.image-carousel .oc-item img {
	/* Shape: Subtle Ceramic Curve */
	border-radius: 4px 20px 4px 20px !important;

	/* Default: Clean, Monotone Archive */
	filter: grayscale(100%) opacity(0.8);
	border: 1px solid rgba(0, 0, 0, 0.05) !important;

	/* Smooth Transition */
	transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	/* Faint shadow */
	width: 100%;
}

/* Hover: Alive & Focused */
.image-carousel .oc-item:hover img {
	filter: grayscale(0%) opacity(1);
	/* Bloom */
	transform: translateY(-5px) scale(1.03);
	/* Lift */
	box-shadow: 0 15px 30px rgba(0, 109, 119, 0.15);
	/* Teal Shadow */
	border-color: var(--wc-primary) !important;
	/* Terra Cotta Hint */
}

/* ----------------------------------------------------------------
   THEME: Artistic Homepage Redesign (Organic/Mosaic)
-----------------------------------------------------------------*/

/* 1. Organic Clay Shapes (Border Radius) with Rough Zigzag Fade */
.shape-clay-1,
.shape-clay-2,
.shape-clay-3 {
	position: relative !important;
	overflow: hidden !important;
	box-shadow: none !important;
	transform: translateZ(0);
	/* Apply the SVG Fractal Noise Filter for "Natural Zigzag" Edges */
	filter: url(#rough-edges);
}

/* Pseudo-element for the vignette/fade effect */
.shape-clay-1::after,
.shape-clay-2::after,
.shape-clay-3::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	border-radius: inherit;
	/* Vignette removed as requested */
	box-shadow: none;
}

.shape-clay-1 {
	/* Slightly simpler radius as base for distortion */
	border-radius: 40% 60% 70% 30% / 40% 50% 60% 50% !important;
}

.shape-clay-2 {
	border-radius: 60% 40% 30% 70% / 60% 30% 70% 40% !important;
}

.shape-clay-3 {
	border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% !important;
}

/* 2. Floating Animation (Bobbing) */
@keyframes float-bob {
	0% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-10px);
	}

	100% {
		transform: translateY(0px);
	}
}

.animate-float {
	animation: float-bob 4s ease-in-out infinite;
}

.animate-float-delayed {
	animation: float-bob 4.5s ease-in-out infinite;
	animation-delay: 1s;
}

/* 3. Watercolor Washes (Backgrounds) */
.bg-wash-terra {
	background: radial-gradient(circle at top right, rgba(226, 149, 120, 0.1), transparent 70%),
		radial-gradient(circle at bottom left, rgba(255, 180, 162, 0.1), transparent 70%);
}

.bg-wash-sage {
	background: radial-gradient(circle at top left, rgba(131, 197, 190, 0.1), transparent 70%),
		radial-gradient(circle at bottom right, rgba(0, 109, 119, 0.05), transparent 70%);
}

/* 4. Mosaic Grid Tweaks */
.mosaic-tile {
	overflow: hidden;
	position: relative;
	transition: all 0.5s ease;
}

.mosaic-tile:hover {
	z-index: 10;
	transform: scale(1.02);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
}

/* ----------------------------------------------------------------
   THEME: Ceramic Palette (Extended)
   Moved from programs_fp.php for global use
-----------------------------------------------------------------*/
:root {
	--ceramic-sage: #6B7F6D;
	--ceramic-clay: #C77D63;
	--ceramic-ochre: #D4A373;
	--ceramic-slate: #6B7C85;
	--ceramic-text: #4A4A4A;
	--ceramic-bg: #F9F8F6;
}

body {
	background-color: var(--ceramic-bg);
	color: var(--ceramic-text);
}

.font-script {
	font-family: 'Pinyon Script', cursive;
}

/* Custom Colors */
.text-sage {
	color: var(--ceramic-sage) !important;
}

.bg-sage-subtle {
	background-color: rgba(107, 127, 109, 0.1) !important;
	color: var(--ceramic-sage) !important;
}

.border-sage {
	border-color: rgba(107, 127, 109, 0.3) !important;
}

.text-clay {
	color: var(--ceramic-clay) !important;
}

.bg-clay-subtle {
	background-color: rgba(199, 125, 99, 0.1) !important;
	color: var(--ceramic-clay) !important;
}

.border-clay {
	border-color: rgba(199, 125, 99, 0.3) !important;
}

.text-ochre {
	color: var(--ceramic-ochre) !important;
}

.bg-ochre-subtle {
	background-color: rgba(212, 163, 115, 0.1) !important;
	color: var(--ceramic-ochre) !important;
}

.border-ochre {
	border-color: rgba(212, 163, 115, 0.3) !important;
}

.text-slate {
	color: var(--ceramic-slate) !important;
}

.bg-slate-subtle {
	background-color: rgba(107, 124, 133, 0.1) !important;
	color: var(--ceramic-slate) !important;
}

.border-slate {
	border-color: rgba(107, 124, 133, 0.3) !important;
}

/* Card Styling */
.nav-card {
	border: none !important;
	background: #FFFFFF;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.nav-card .group:hover .group-hover-opacity {
	opacity: 1 !important;
}

.nav-card .group:hover .transition-transform {
	transform: scale(1.05);
}

.transition-transform {
	transition: transform 0.6s ease;
}

.transition-opacity {
	transition: opacity 0.4s ease;
}

/* Mascot Positioning */
.mascot-float {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 70px;
	width: auto;
	opacity: 0.15;
	z-index: 0;
	transition: all 0.5s ease;
}

.nav-card:hover .mascot-float {
	opacity: 0.8;
	filter: saturate(1.2);
}

/* Micro-interactions */
.hover-lift {
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.hover-lift:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

html {
	scroll-behavior: smooth;
}

/* ----------------------------------------------------------------
   THEME: Compact Page Titles (.title-block-compact)
   Requested for Reservation & Check-in Pages
-----------------------------------------------------------------*/
.title-block-compact {
	text-align: center;
	padding: 20px 0 15px;
	margin-bottom: 25px;
	position: relative;
	border-bottom: 1px dashed rgba(209, 124, 100, 0.3);
}

.title-block-compact h2 {
	font-family: 'Gowun Batang', serif;
	font-size: 1.6rem;
	/* Reduced from 2.5rem */
	color: var(--wc-secondary) !important;
	margin-bottom: 0;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	white-space: nowrap;
}

.title-block-compact h2 i {
	font-size: 1.4rem;
	color: var(--wc-accent) !important;
	transform: translateY(-1px);
}

.title-block-compact span {
	font-family: 'Hahmlet', serif;
	font-size: 0.9rem;
	color: #888;
	display: block;
	margin-top: 5px;
}

/* ----------------------------------------------------------------
   Hotfix: Force Submenu Visibility for Desktop
-----------------------------------------------------------------*/
@media (min-width: 992px) {

	/* Ensure sub-menu container is visible on hover even if JS fails */
	.menu-item:hover>.sub-menu-container,
	.menu-item:hover>.mega-menu-content {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		top: 100% !important;
		pointer-events: auto !important;
	}

	/* Ensure it stays visible during click/active state if needed */
	.menu-item:active>.sub-menu-container,
	.menu-item:focus-within>.sub-menu-container {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	/* CRITICAL FIX: Override JS adding .d-none on click */
	.menu-item:hover>.sub-menu-container.d-none,
	.menu-item.current>.sub-menu-container.d-none,
	.menu-item:hover>.sub-menu-container,
	.menu-item:focus-within>.sub-menu-container {
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
		height: auto !important;
		pointer-events: auto !important;
		background-color: #fff !important;
		/* Ensure background is white */
		z-index: 1000 !important;
	}

	/* Force CHILDREN to be visible too */
	.menu-item:hover>.sub-menu-container *,
	.menu-item:hover>.sub-menu-container li,
	.menu-item:hover>.sub-menu-container a {
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
		height: auto !important;
	}

	/* CRITICAL FIX: Override JS adding .d-none on click */
	.menu-item:hover>.sub-menu-container.d-none,
	.menu-item.current>.sub-menu-container.d-none {
		display: block !important;
	}
}