/* Base Styles */
:root {
	--gold: #d2af55;
	--gold-600: #c39a3e;
	--gold-700: #a8852f;
	--bg: #ffffff;
	--cream: #fff7e3;
	--ink: #1a1a1a;
	--muted: #666666;
	--surface: #f8f8f8;
	--shadow: 0 4px 20px rgba(0,0,0,0.08);
	--shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
}

* {
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	margin: 0;
	font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	display: block;
	border-radius: 8px;
}

.container {
	width: min(1200px, 90%);
	margin: 0 auto;
}

h1, h2, h3 {
	line-height: 1.2;
	margin: 0 0 16px;
	font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p { color: var(--ink); margin: 0 0 1.2rem; font-size: 1rem; }

.section { padding: 80px 0; }
.section-intro { color: var(--muted); margin-bottom: 40px; font-size: 1.1rem; line-height: 1.6; }

.grid.two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

@media (max-width: 900px) {
	.grid.two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* Header */
.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255,255,255,0.98);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid rgba(0,0,0,0.08);
	box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.nav-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; color: inherit; gap: 12px; }
.logo { width: 48px; height: 48px; object-fit: contain; border-radius: 0; background: transparent; box-shadow: none; }
.brand-name { font-weight: 600; letter-spacing: 0.5px; font-size: 1.1rem; }

.nav { position: relative; }
.nav-list { display: flex; gap: 32px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; letter-spacing: 0.3px; transition: color .2s ease; }
.nav-list a:hover { color: var(--gold-700); }
.nav-list .btn { padding: 10px 20px; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.5px; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s ease, opacity .3s ease; }

@media (max-width: 800px) {
	.nav-toggle { display: inline-block; }
	.nav { position: static; }
	.nav-list { position: absolute; right: 4%; top: 64px; background: #fff; border: 1px solid #eee; border-radius: 12px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; width: min(260px, 92vw); padding: 12px; transform-origin: top right; transform: scale(0.98) translateY(-6px); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease; }
	.nav-list.open { opacity: 1; pointer-events: auto; transform: scale(1) translateY(0); }
	.nav-list li { border-bottom: 1px dashed #eee; }
	.nav-list li:last-child { border-bottom: 0; }
	.nav-list a { padding: 10px 12px; display: block; }
}

/* Hero */
.hero {
	position: relative;
	min-height: 85vh;
	display: grid;
	place-items: center;
	background-image: url('assets/entrance.jpg');
	background-size: cover;
	background-position: center;
	isolation: isolate;
}

.hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.25));
	z-index: -1;
}

.hero-content { text-align: center; color: #fff; max-width: 800px; }
.hero-title { font-weight: 700; letter-spacing: .5px; margin-bottom: 20px; }
.hero-tagline { color: #f3f4f6; margin-bottom: 32px; font-size: 1.2rem; line-height: 1.6; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.5px; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn-primary { background: var(--gold); color: #fff; box-shadow: 0 6px 20px rgba(199,160,73,0.3); }
.btn-primary:hover { transform: translateY(-2px); background: var(--gold-600); box-shadow: 0 10px 25px rgba(199,160,73,0.4); }
.btn-contrast { background: #fff; color: var(--ink); }
.btn-contrast:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255,255,255,0.3); }

/* About */
.about .about-media img { border-radius: 12px; box-shadow: var(--shadow); }

/* Services */
.services { background: var(--surface); }
.services .services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.services .card { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.services .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.services .card img { aspect-ratio: 4/3; object-fit: cover; }
.services .card h3 { padding: 16px 20px 8px; font-size: 1.25rem; }
.services .card p { padding: 0 20px 20px; color: var(--muted); line-height: 1.6; }
.services .card a { position: relative; display: block; color: inherit; text-decoration: none; }
.services .card a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6)); opacity: 0; transition: opacity .3s ease; border-radius: 16px; }
.services .card a::after { content: "View Details →"; position: absolute; left: 20px; bottom: 16px; color: #fff; font-weight: 600; font-size: 0.9rem; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.services .card:hover a::before { opacity: 1; }
.services .card:hover a::after { opacity: 1; transform: translateY(0); }
.services .card h3, .services .card p { position: relative; z-index: 1; }

@media (max-width: 800px) {
	.services .services-grid { grid-template-columns: 1fr; }
}

/* Location */
.map-wrapper { border-radius: 16px; overflow: hidden; border: 1px solid rgba(0,0,0,0.08); box-shadow: var(--shadow); }
.map-wrapper iframe { width: 100%; height: 400px; display: block; border: 0; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { margin: 12px 0; font-size: 1rem; }
.contact-list a { color: var(--gold-700); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.contact-form { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 16px; align-content: start; }
.contact-form label { display: grid; gap: 8px; font-weight: 500; }
.contact-form input, .contact-form textarea {
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 8px;
	padding: 14px 16px;
	font: inherit;
	width: 100%;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(199,160,73,0.1); }
.form-note { color: var(--muted); font-size: 0.9rem; }

/* Footer */
.footer { background: var(--ink); color: #e5e7eb; padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a { color: #e5e7eb; text-decoration: none; font-size: 0.9rem; transition: color .2s ease; }
.footer-links a:hover { color: var(--gold); }
.footer-right { display: flex; align-items: center; gap: 16px; }
.back-to-top { color: #e5e7eb; text-decoration: none; }
.back-to-top:hover { color: var(--gold); }

@media (max-width: 600px) {
	.footer-inner { flex-direction: column; gap: 20px; text-align: center; }
	.footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
	.footer-right { flex-direction: column; gap: 8px; }
}

/* Utilities */
.section h2 { position: relative; padding-bottom: 12px; }
.section h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background: var(--gold); border-radius: 2px; }

/* Compact header */
.header.compact { background: rgba(255,255,255,0.98); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.header.compact .logo { width: 40px; height: 40px; }
.header.compact .nav-container { padding: 12px 0; }

/* Social media */
.socials { display: flex; gap: 12px; align-items: center; }
.social { display: grid; place-items: center; width: 32px; height: 32px; color: var(--gold-700); transition: color .2s ease, transform .2s ease; }
.social:hover { color: var(--gold); transform: translateY(-1px); }
.social svg { width: 16px; height: 16px; }

/* Lightbox */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.9); display: none; align-items: center; justify-content: center; z-index: 1000; }
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: min(92vw, 1400px); max-height: 86vh; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.lightbox-controls { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.lightbox-btn { pointer-events: auto; background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.lightbox-btn:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.lightbox-close { position: absolute; top: 18px; right: 18px; }
.lightbox-caption { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #f3f4f6; background: rgba(0,0,0,0.35); padding: 8px 12px; border-radius: 8px; font-size: 0.95rem; max-width: 92vw; backdrop-filter: blur(4px); }

@media (max-width: 560px) {
	.lightbox-btn { width: 40px; height: 40px; }
}

/* Tile gallery */
/*
.gallery-grid { position: relative; }
.tile { position: relative; overflow: hidden; border-radius: 12px; box-shadow: var(--shadow); }
.tile img { width: 100%; height: 100%; display: block; border-radius: 12px; transition: transform .35s ease; }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55)); opacity: 0; transition: opacity .3s ease; border-radius: 12px; }
.tile::after { content: attr(data-title); position: absolute; left: 12px; right: 12px; bottom: 10px; color: #fff; font-weight: 600; letter-spacing: .3px; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.tile:hover img { transform: scale(1.06); }
.tile:hover::before { opacity: 1; }
.tile:hover::after { opacity: 1; transform: translateY(0); }
*/
/* Masonry layout */
.gallery-grid.masonry { column-count: 3; column-gap: 16px; }
.gallery-grid.masonry .tile { display: inline-block; width: 100%; margin: 0 0 16px; }

@media (max-width: 900px) {
	.gallery-grid.masonry { column-count: 2; }
}
@media (max-width: 560px) {
	.gallery-grid.masonry { column-count: 1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
} 