* {
	box-sizing: border-box;
}

:root {
	--page-bg: #f0ffff;
	--surface: #fffaf0;
	--surface-alt: #fdf5e6;
	--text: #4f4a45;
	--muted: #7a736d;
	--accent: #faebd7;
	--accent-dark: #ffe4e1;
	--shadow: 0 18px 45px rgba(120, 120, 130, 0.14);
}

body {
	margin: 0;
	padding: 0 20px 48px;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.6;
	color: var(--text);
	background: var(--page-bg);
}

nav {
	max-width: 1200px;
	margin: 0 auto 40px;
	padding-top: 20px;
}

nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

nav li {
	position: relative;
}

nav a {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 999px;
	color: var(--text);
	text-decoration: none;
	background: rgba(248, 248, 255, 0.96);
	border: 1px solid rgba(250, 235, 215, 0.85);
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

nav a:hover,
nav a:focus-visible {
	color: #4f4a45;
	background: var(--accent);
	transform: translateY(-1px);
}

.dropbtn {
	padding: 10px 18px;
	font-size: 16px;
	border-radius: 999px;
	color: var(--text);
	background: rgba(248, 248, 255, 0.96);
	border: 1px solid rgba(250, 235, 215, 0.85);
	cursor: pointer;
}

.dropbtn:hover,
.dropbtn:focus-visible,
.dropdown:hover .dropbtn {
	background: var(--accent);
	color: #4f4a45;
}

.dropdown-content {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 8px;
	border-radius: 12px;
	background-color: var(--surface);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
	z-index: 10;
}

.dropdown-content li {
	width: 100%;
}

.dropdown-content a {
	color: #111111;
	display: block;
	width: 100%;
	padding: 14px 16px;
	border-radius: 8px;
	background: transparent;
	border: none;
}

.dropdown-content a:hover,
.dropdown-content a:focus-visible {
	background-color: var(--accent);
	color: #111111;
	transform: none;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
	display: block;
}

h1,
h2,
p,
.gallery {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

h1 {
	margin-top: 0;
	margin-bottom: 16px;
	font-size: clamp(2.2rem, 4vw, 4rem);
	line-height: 1.1;
}

h2 {
	margin-top: 36px;
	margin-bottom: 10px;
	font-size: clamp(1.5rem, 2.2vw, 2.2rem);
}

p {
	margin-top: 0;
	color: var(--muted);
	font-size: 1.05rem;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 32px;
}

.card-category {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 24px;
	background: var(--surface);
	box-shadow: var(--shadow);
}

.card-category img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--surface-alt);
}

.card-category h3,
.card-category p {
	padding-left: 20px;
	padding-right: 20px;
}

.card-category h3 {
	margin: 20px 0 10px;
	font-size: 1.35rem;
}

.card-category p {
	margin-bottom: 24px;
}

@media (max-width: 900px) {
	.gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	body {
		padding-left: 16px;
		padding-right: 16px;
	}

	nav ul {
		gap: 10px;
	}

	.dropdown {
		width: 100%;
	}

	nav a {
		width: 100%;
		text-align: center;
	}

	.dropdown-content {
		position: static;
		display: block;
		min-width: 100%;
		margin-top: 8px;
		padding: 8px;
	}

	.gallery {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}



.footer {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}


.about-image {
	width: 100%;
	max-width: 800px;
	height: auto;
	display: block;
	margin: 40px auto 0;
	border-radius: 12px;
	box-shadow: var(--shadow);
}