/*
Theme Name: Nagashree Lodge
Theme URI: https://nagashreelodgekollur.in
Author: Nagashree Lodge
Description: A custom, mobile-friendly theme for Nagashree Lodge, Kollur — a short walk from Sri Mookambika Temple. All text, phone numbers, rooms and photos are editable under Appearance → Customize → Lodge Details.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nagashree
Tags: one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
	--kumkum: #8a1c1c;
	--kumkum-deep: #5e1010;
	--saffron: #e2861b;
	--turmeric: #f2c14e;
	--cream: #fbf6ec;
	--sand: #f3e7d1;
	--ink: #2b1b12;
	--muted: #6e5a4b;
	--line: #e6d6bb;
	--leaf: #2f5d3a;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(60, 25, 10, .10);
	--serif: "Cormorant Garamond", Georgia, serif;
	--sans: "Mukta", "Noto Sans Kannada", system-ui, -apple-system, "Segoe UI", sans-serif;
	--kn: "Noto Sans Kannada", "Mukta", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--sans);
	font-size: 18px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--kumkum); }
a:hover { color: var(--kumkum-deep); }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 .5em;
	color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.55rem; }

p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 8px; left: 8px; z-index: 1000;
	background: #fff; padding: 8px 14px; border-radius: 6px;
}

.wrap {
	width: min(1140px, 100% - 40px);
	margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	padding: .8em 1.35em;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform .15s ease, background .15s ease, color .15s ease;
	cursor: pointer;
	line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--kumkum); color: #fff; }
.btn-primary:hover { background: var(--kumkum-deep); color: #fff; }
.btn-whatsapp { background: #1f9e55; color: #fff; }
.btn-whatsapp:hover { background: #17813f; color: #fff; }
.btn-ghost { border-color: currentColor; color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: var(--kumkum); color: var(--kumkum); background: transparent; }
.btn-outline:hover { background: var(--kumkum); color: #fff; }

/* ---------- Header ---------- */
.topbar {
	background: var(--kumkum-deep);
	color: #f7e6cf;
	font-size: .88rem;
}
.topbar .wrap {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 0;
	flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 246, 236, .95);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 72px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--ink);
}
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand .custom-logo { max-height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; }
.brand-sub { font-family: var(--kn); font-size: .82rem; color: var(--muted); }

.main-nav ul {
	list-style: none;
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	align-items: center;
}
.main-nav a {
	display: block;
	padding: 8px 12px;
	color: var(--ink);
	text-decoration: none;
	font-weight: 500;
	border-radius: 8px;
}
.main-nav a:hover,
.main-nav .current-menu-item > a { color: var(--kumkum); background: var(--sand); }
.main-nav .nav-cta a { background: var(--kumkum); color: #fff; padding-inline: 18px; border-radius: 999px; }
.main-nav .nav-cta a:hover { background: var(--kumkum-deep); color: #fff; }

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 8px 10px;
	cursor: pointer;
	color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; display: block; }

@media (max-width: 880px) {
	.nav-toggle { display: block; }
	.main-nav {
		position: absolute;
		inset: 100% 0 auto 0;
		background: var(--cream);
		border-bottom: 1px solid var(--line);
		display: none;
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 18px; }
	.main-nav a { padding: 12px; }
	.main-nav .nav-cta a { text-align: center; margin-top: 6px; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	color: #fff;
	background-color: var(--kumkum-deep);
	background-image:
		linear-gradient(120deg, rgba(70, 10, 10, .92) 0%, rgba(110, 24, 18, .78) 45%, rgba(160, 70, 20, .55) 100%),
		var(--hero-img, none);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}
.hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 26px;
	background:
		radial-gradient(circle at 13px -4px, transparent 15px, var(--cream) 16px) 0 0 / 26px 26px repeat-x;
}
.hero .wrap {
	position: relative;
	z-index: 1;
	padding: clamp(70px, 11vw, 130px) 0 clamp(90px, 12vw, 150px);
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 40px;
	align-items: center;
}
.hero-kicker {
	display: inline-block;
	font-family: var(--kn);
	color: var(--turmeric);
	letter-spacing: .02em;
	margin-bottom: 14px;
	font-size: 1.05rem;
}
.hero h1 { color: #fff; margin-bottom: .3em; }
.hero-lead { font-size: 1.2rem; max-width: 34em; color: #f8e9d6; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.hero-card {
	background: rgba(255, 248, 238, .08);
	border: 1px solid rgba(255, 230, 200, .3);
	border-radius: 20px;
	padding: 26px 28px;
	backdrop-filter: blur(4px);
}
.hero-card h2 { color: #fff; font-size: 1.6rem; margin-bottom: 14px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero-facts li { display: flex; gap: 12px; align-items: flex-start; color: #f8e9d6; font-size: 1rem; }
.hero-facts svg { width: 22px; height: 22px; flex: none; color: var(--turmeric); margin-top: 3px; }
.hero-facts strong { color: #fff; display: block; }

.hero-motif {
	position: absolute;
	right: -120px;
	top: -120px;
	width: 520px;
	height: 520px;
	opacity: .09;
	color: var(--turmeric);
	pointer-events: none;
}

@media (max-width: 880px) {
	.hero .wrap { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--sand); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: .8rem;
	font-weight: 700;
	color: var(--saffron);
	margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* About */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(30px, 6vw, 70px);
	align-items: center;
}
.about-visual {
	position: relative;
	border-radius: 22px;
	overflow: hidden;
	aspect-ratio: 4 / 3.4;
	background: linear-gradient(160deg, #a8331d, #5e1010);
	box-shadow: var(--shadow);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .placeholder-art { width: 100%; height: 100%; }
.about-badge {
	position: absolute;
	left: 18px;
	bottom: 18px;
	background: var(--cream);
	color: var(--ink);
	border-radius: 12px;
	padding: 10px 16px;
	font-weight: 600;
	font-size: .95rem;
	box-shadow: var(--shadow);
}
.about-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.about-points li { display: flex; gap: 10px; align-items: flex-start; }
.about-points svg { width: 22px; height: 22px; color: var(--leaf); flex: none; margin-top: 4px; }

@media (max-width: 880px) {
	.about-grid { grid-template-columns: 1fr; }
}

/* Rooms */
.rooms-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.room {
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
}
.room-media { aspect-ratio: 16 / 10; background: var(--sand); }
.room-media img { width: 100%; height: 100%; object-fit: cover; }
.room-media .placeholder-art { width: 100%; height: 100%; }
.room-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { margin-bottom: 6px; }
.room-body p { color: var(--muted); font-size: 1rem; flex: 1; }
.room-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	border-top: 1px dashed var(--line);
	padding-top: 16px;
	margin-top: 8px;
}
.room-price { font-weight: 700; color: var(--kumkum); font-size: 1.05rem; }
.room-foot .btn { padding: .6em 1.1em; font-size: .95rem; }

@media (max-width: 960px) { .rooms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .rooms-grid { grid-template-columns: 1fr; } }

/* Amenities */
.amenities {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.amenity {
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 20px;
	display: flex;
	gap: 14px;
	align-items: center;
	font-weight: 600;
}
.amenity-icon {
	width: 46px; height: 46px;
	border-radius: 12px;
	background: #fff;
	color: var(--kumkum);
	display: grid;
	place-items: center;
	flex: none;
	border: 1px solid var(--line);
}
.amenity-icon svg { width: 24px; height: 24px; }

@media (max-width: 960px) { .amenities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .amenities { grid-template-columns: 1fr; } }

/* Nearby */
.nearby-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.place {
	background: #fff;
	border-radius: var(--radius);
	padding: 26px;
	border: 1px solid var(--line);
	position: relative;
}
.place-dist {
	display: inline-block;
	background: var(--sand);
	color: var(--kumkum-deep);
	font-weight: 700;
	font-size: .82rem;
	border-radius: 999px;
	padding: 3px 12px;
	margin-bottom: 12px;
}
.place p { color: var(--muted); font-size: 1rem; margin: 0; }
.place.featured {
	grid-column: span 3;
	background: linear-gradient(120deg, var(--kumkum-deep), var(--kumkum));
	color: #f8e9d6;
	border: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 26px;
	align-items: center;
	padding: 30px 34px;
}
.place.featured h3 { color: #fff; }
.place.featured p { color: #f8e9d6; }
.place.featured .place-dist { background: var(--turmeric); color: var(--kumkum-deep); }
.place.featured svg { width: 74px; height: 74px; color: var(--turmeric); }

@media (max-width: 880px) {
	.nearby-grid { grid-template-columns: 1fr; }
	.place.featured { grid-column: auto; grid-template-columns: 1fr; }
}

/* Contact */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	gap: 30px;
	align-items: stretch;
}
.contact-card {
	background: #fff;
	border-radius: 20px;
	padding: 34px;
	box-shadow: var(--shadow);
	border: 1px solid var(--line);
}
.contact-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .ci {
	width: 44px; height: 44px; flex: none;
	border-radius: 12px;
	background: var(--sand);
	color: var(--kumkum);
	display: grid; place-items: center;
}
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a, .contact-list span.v { font-weight: 600; font-size: 1.1rem; text-decoration: none; color: var(--ink); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map-frame {
	border-radius: 20px;
	overflow: hidden;
	min-height: 380px;
	box-shadow: var(--shadow);
	border: 1px solid var(--line);
	background: var(--sand);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band {
	background: var(--saffron);
	background-image: linear-gradient(110deg, #d9741a, #e9a13a);
	color: var(--ink);
	padding: 46px 0;
}
.cta-band .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.cta-band h2 { margin: 0; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.cta-band p { margin: 4px 0 0; }
.cta-band .btn-primary { background: var(--kumkum-deep); }

/* ---------- Footer ---------- */
.site-footer {
	background: #23140d;
	color: #d9c6ad;
	padding: 60px 0 30px;
	font-size: .98rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--turmeric); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 36px;
	margin-bottom: 40px;
}
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #bfa88c; }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.1);
	padding-top: 22px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	font-size: .88rem;
	color: #a8927a;
}

@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating contact (mobile) */
.float-contact {
	position: fixed;
	right: 16px;
	bottom: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 60;
}
.float-contact a {
	width: 56px; height: 56px;
	border-radius: 50%;
	display: grid; place-items: center;
	color: #fff;
	box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.float-contact a svg { width: 26px; height: 26px; }
.float-contact .fc-call { background: var(--kumkum); }
.float-contact .fc-wa { background: #1f9e55; }

/* ---------- Generic pages / posts ---------- */
.page-hero {
	background: linear-gradient(120deg, var(--kumkum-deep), var(--kumkum));
	color: #fff;
	padding: 60px 0 50px;
}
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 0; }
.entry {
	max-width: 760px;
	margin: 0 auto;
	padding: 60px 0 80px;
}
.entry-content > * + * { margin-top: 1em; }
.entry-content img { border-radius: 12px; }
.entry-content h2 { margin-top: 1.4em; }
.post-list { display: grid; gap: 26px; }
.post-card {
	background: #fff;
	border-radius: var(--radius);
	padding: 26px;
	border: 1px solid var(--line);
}
.post-card h2 { font-size: 1.7rem; margin-bottom: 6px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-meta { color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.pagination { margin-top: 36px; display: flex; gap: 10px; justify-content: center; }
.pagination .page-numbers { padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--kumkum); color: #fff; border-color: var(--kumkum); }

/* WordPress core alignment classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: .9rem; color: var(--muted); }
