/* Theme overrides for OTDC Panthanivas Rambha - Unique Chilika Lake Coastal Palette & Design System */

/* Self-hosted variable fonts (latin subset). */
@font-face {
	font-family: 'Cormorant Garamond';
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url('../fonts/cormorant-var.woff2') format('woff2');
}
@font-face {
	font-family: 'Cormorant Garamond';
	font-style: italic;
	font-weight: 500 700;
	font-display: swap;
	src: url('../fonts/cormorant-italic.woff2') format('woff2');
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/manrope-var.woff2') format('woff2');
}

/* Typography Tokens */
:root {
	--font-inter: 'Manrope', system-ui, -apple-system, sans-serif;
	--font-playfair: 'Cormorant Garamond', Georgia, serif;
	--color-chilika-navy: #0b2535;
	--color-chilika-teal: #133b52;
	--color-chilika-ocean: #008080;
	--color-sunlit-gold: #d4af37;
	--color-sand-light: #f4f8f9;
}

/* Base Body & Layout Safeguards for Mobile Responsiveness */
html, body {
	overflow-x: hidden;
	max-width: 100%;
	width: 100%;
}

img {
	max-width: 100%;
	height: auto;
}

.font-display {
	font-family: var(--font-playfair);
	font-weight: 600;
	letter-spacing: -0.01em;
}

/* Modern Rounded Aesthetics */
.rounded-sm {
	border-radius: 16px;
}

/* Pill-shaped & Modern Interactive Buttons */
.btn-primary,
.btn-outline {
	border-radius: 9999px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	min-height: 44px;
	padding: 0.75rem 1.75rem;
}

.btn-primary {
	background-color: #d4af37;
	color: #0b2535;
	box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}
.btn-primary:hover {
	background-color: #e5c158;
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(212, 175, 55, 0.45);
}

.btn-outline:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* --- Chilika Lake Coastal Palette Remapping ------------------------------- */

/* Accent: Sunlit Gold. */
.text-orchid-gold,
.group:hover .group-hover\:text-orchid-gold {
	color: #d4af37;
}
.bg-orchid-gold {
	background-color: #d4af37;
}
.border-orchid-gold {
	border-color: #d4af37;
}
.hover\:text-orchid-gold:hover {
	color: #d4af37;
}
.hover\:bg-orchid-gold:hover {
	background-color: #c49f2b;
}
.hover\:border-orchid-gold:hover {
	border-color: #d4af37;
}
.focus\:border-orchid-gold:focus {
	border-color: #d4af37;
}
.fill-orchid-gold {
	fill: #d4af37;
}

/* Accent alpha variants. */
.bg-orchid-gold\/10 {
	background-color: rgba(212, 175, 55, 0.1);
}
.bg-orchid-gold\/20 {
	background-color: rgba(212, 175, 55, 0.2);
}
.text-orchid-gold\/20 {
	color: rgba(212, 175, 55, 0.2);
}
.border-orchid-gold\/20 {
	border-color: rgba(212, 175, 55, 0.2);
}
.border-orchid-gold\/30 {
	border-color: rgba(212, 175, 55, 0.3);
}
.hover\:bg-orchid-gold\/10:hover {
	background-color: rgba(212, 175, 55, 0.1);
}

/* Dark: Deep Lagoon Navy / Charcoal (#0b2535). */
.text-orchid-charcoal {
	color: #0b2535;
}
.text-orchid-charcoal\/50 {
	color: rgba(11, 37, 53, 0.5);
}
.text-orchid-charcoal\/60 {
	color: rgba(11, 37, 53, 0.6);
}
.text-orchid-charcoal\/70 {
	color: rgba(11, 37, 53, 0.7);
}
.text-orchid-charcoal\/80 {
	color: rgba(11, 37, 53, 0.8);
}
.hover\:text-orchid-charcoal:hover {
	color: #0b2535;
}
.bg-orchid-charcoal {
	background-color: #0b2535;
}
.bg-orchid-charcoal\/80 {
	background-color: rgba(11, 37, 53, 0.8);
}
.bg-orchid-charcoal\/95 {
	background-color: rgba(11, 37, 53, 0.95);
}
.bg-orchid-charcoal\/98 {
	background-color: rgba(11, 37, 53, 0.98);
}

/* Light: Soft Pearl Waterfront Shore. */
.bg-orchid-cream {
	background-color: #f4f8f9;
}
.bg-orchid-cream-dark {
	background-color: #e4eeef;
}
.border-orchid-cream-dark {
	border-color: #d1e2e5;
}

/* Deep Bands: Lagoon Ocean Blue & Navy. */
.bg-orchid-ocean {
	background-color: #133b52;
}
.bg-orchid-ocean-dark {
	background-color: #0d2a3c;
}
.bg-orchid-navy {
	background-color: #091b26;
}
.hover\:text-orchid-navy:hover {
	color: #091b26;
}

/* Soft Elevation Shadows */
.shadow-sm {
	box-shadow: 0 4px 18px rgba(11, 37, 53, 0.06);
}
.shadow-xl {
	box-shadow: 0 16px 36px rgba(11, 37, 53, 0.12);
}
.shadow-lg {
	box-shadow: 0 12px 28px rgba(9, 27, 38, 0.2);
}

/* Desktop dropdown menus open on hover. */
#desktop-nav li:hover > .dropdown-menu,
#desktop-nav li:focus-within > .dropdown-menu {
	display: block;
	animation: dropdownFade 0.25s ease-out;
}

@keyframes dropdownFade {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

#desktop-nav .dropdown-menu {
	z-index: 60;
	border: 1px solid rgba(212, 175, 55, 0.2);
	border-radius: 12px;
}

#mobile-menu {
	z-index: 55;
	box-shadow: 0 16px 40px rgba(9, 27, 38, 0.5);
}

/* --- Coastal Lagoon Framing --------------------------------------------- */
.arch-top {
	border-radius: 24px 24px 0 0;
}
.arch-img {
	clip-path: polygon(0 0, 100% 0, 100% 93%, 50% 100%, 0 93%);
	transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), clip-path 0.5s ease;
}

/* Wave & Sun Divider under section titles. */
.palace-divider {
	display: flex;
	align-items: center;
	gap: 14px;
	width: min(240px, 75vw);
	margin: 18px auto 0;
	color: #d4af37;
}
.palace-divider::before,
.palace-divider::after {
	content: '';
	height: 2px;
	flex: 1;
	background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.7));
	border-radius: 2px;
}
.palace-divider::after {
	background: linear-gradient(to left, transparent, rgba(212, 175, 55, 0.7));
}
.palace-divider svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	flex-shrink: 0;
	transform: rotate(45deg);
}

/* Waterfront Top Bar */
#royal-strip {
	background: linear-gradient(90deg, #091b26, #133b52 50%, #091b26);
	border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}
#royal-strip a {
	transition: color 0.2s ease;
}
#royal-strip a:hover {
	color: #d4af37;
}

/* Marquee Welcome Band */
#palace-marquee {
	border-top: 1px solid rgba(212, 175, 55, 0.3);
	border-bottom: 1px solid rgba(212, 175, 55, 0.3);
	background: #e4eeef;
	overflow: hidden;
	white-space: nowrap;
}
#palace-marquee .marquee-track {
	display: inline-block;
	animation: palaceScroll 32s linear infinite;
}
@keyframes palaceScroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* Attraction Cards: Lagoon Badge */
.attraction-card .attraction-index {
	position: absolute;
	top: -18px;
	left: 50%;
	transform: translateX(-50%);
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: #0b2535;
	border: 2px solid #d4af37;
	color: #d4af37;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 1.15rem;
	font-weight: 700;
	z-index: 10;
	box-shadow: 0 4px 12px rgba(11, 37, 53, 0.3);
}

/* Card Hover Lift Effects */
article.group,
.attraction-card {
	transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}
article.group:hover,
.attraction-card:hover {
	transform: translateY(-6px);
}

/* Custom Scrollbar & Selection */
::selection {
	background: rgba(212, 175, 55, 0.35);
	color: #0b2535;
}
::-webkit-scrollbar {
	width: 10px;
}
::-webkit-scrollbar-track {
	background: #e4eeef;
}
::-webkit-scrollbar-thumb {
	background: #133b52;
	border-radius: 5px;
	border: 2px solid #e4eeef;
}
::-webkit-scrollbar-thumb:hover {
	background: #0b2535;
}

/* Pulse animation for WhatsApp floating button */
@keyframes pulseGlow {
	0% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
	}
	70% {
		box-shadow: 0 0 0 16px rgba(34, 197, 94, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
	}
}

a[aria-label="Chat on WhatsApp"] {
	animation: pulseGlow 2.5s infinite;
}

/* Mobile Responsiveness Optimizations (Screens < 640px) */
@media (max-width: 640px) {
	.section-padding {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}
	
	.font-display.text-5xl,
	.font-display.text-6xl,
	.font-display.text-7xl,
	.font-display.text-8xl,
	.font-display.text-9xl {
		font-size: 2.75rem !important;
		line-height: 1.05 !important;
	}

	.btn-primary,
	.btn-outline {
		width: 100%;
		text-center: center;
	}

	a[aria-label="Chat on WhatsApp"] {
		bottom: 1.25rem;
		right: 1.25rem;
		width: 3.25rem;
		height: 3.25rem;
	}
}
