:root {
	--primary: #1e3a5f;
	--accent: #3b82f6;
	--text: #1f2937;
	--light: #f8fafc;
	--white: #ffffff;
	--shadow: rgba(30, 58, 95, 0.1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	line-height: 1.6;
	color: var(--text);
	background: var(--light);
	overflow-x: hidden;
}

.container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* Header */
header {
	padding: 3rem 0 2rem;
	text-align: center;
	background: var(--white);
}

.header-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.flag-container {
	flex: 0 0 auto;
}

.flag {
	height: 80px;
	object-fit: contain;
	filter: drop-shadow(0 4px 6px var(--shadow));
}

.profile-section {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.profile-circle {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	box-shadow: 0 10px 30px rgba(30, 58, 95, 0.3);
	overflow: hidden;
}

.profile-circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;
	color: rgba(255, 255, 255, 0.8);
}

h1 {
	font-size: clamp(2rem, 6vw, 3.5rem);
	font-weight: 800;
	background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 0.5rem;
	letter-spacing: -0.02em;
}

.subtitle {
	font-size: 1.25rem;
	color: #6b7280;
	font-weight: 400;
}

/* Navigation */
nav {
	position: sticky;
	top: 0;
	background: var(--white);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid #e5e7eb;
	z-index: 100;
	padding: 1rem 0;
}

nav ul {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 2rem;
}

nav a {
	text-decoration: none;
	color: var(--text);
	font-weight: 500;
	font-size: 0.95rem;
	transition: all 0.2s;
	border-bottom: 2px solid transparent;
}

nav a:hover, nav a.active {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

/* Main content */
main {
	padding: 4rem 0;
}

section {
	margin-bottom: 6rem;
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

section.visible {
	opacity: 1;
	transform: translateY(0);
}

h2 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 1.5rem;
	line-height: 1.1;
}

h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--primary);
	margin-bottom: 1rem;
}

.section-intro {
	font-size: 1.1rem;
	color: #4b5563;
	margin-bottom: 2rem;
}

/* Lists */
section ul {
	list-style: none;
	margin: 1rem 0;
}

section ul li {
	position: relative;
	padding: 0.75rem 0 0.75rem 1.75rem;
	border-bottom: 1px solid #e5e7eb;
	transition: all 0.2s ease;
}

section ul li:last-child {
	border-bottom: none;
}

section ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	border-radius: 50%;
}

section ul li:hover {
	padding-left: 2rem;
	background: linear-gradient(90deg, rgba(59, 130, 246, 0.05), transparent);
}

/* Services */
.services {
	display: grid;
	gap: 2rem;
}

.service {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 2rem;
	background: var(--white);
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px var(--shadow);
	transition: all 0.3s ease;
	border-left: 4px solid var(--accent);
}

.service:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 25px -5px var(--shadow);
}

.service-icon {
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: white;
	flex-shrink: 0;
}

.service-content h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: var(--primary);
}

/* Cities Section */
.cities-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.city-region {
	background: var(--white);
	padding: 1.5rem;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px var(--shadow);
	transition: all 0.3s ease;
}

.city-region:hover {
	box-shadow: 0 10px 15px -3px var(--shadow);
}

.city-region h3 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--white);
	background: linear-gradient(135deg, var(--primary), var(--accent));
	padding: 0.75rem 1rem;
	margin: -1.5rem -1.5rem 1rem -1.5rem;
	border-radius: 12px 12px 0 0;
}

.city-region ul {
	margin: 0;
}

.city-region ul li {
	font-size: 0.95rem;
	padding: 0.5rem 0 0.5rem 1.5rem;
	border-bottom: 1px solid #f3f4f6;
}

.city-region ul li:last-child {
	border-bottom: none;
}

.city-region ul li:hover {
	padding-left: 1.75rem;
}

.cities-note {
	font-size: 0.95rem;
	color: #6b7280;
	margin-top: 1.5rem;
	padding: 1rem;
	background: #f0f9ff;
	border-radius: 8px;
	border-left: 4px solid var(--accent);
}

/* About Section */
#sobre {
	background: var(--white);
	padding: 2.5rem;
	border-radius: 16px;
	box-shadow: 0 4px 6px -1px var(--shadow);
}

#sobre h2 {
	margin-bottom: 1.5rem;
}

#sobre p {
	font-size: 1.05rem;
	color: #4b5563;
	margin-bottom: 1.25rem;
}

#sobre ul {
	background: linear-gradient(135deg, #f8fafc, #f0f9ff);
	padding: 1.5rem;
	border-radius: 12px;
	margin-top: 1rem;
}

#sobre ul li {
	border-bottom: 1px solid #e5e7eb;
	padding: 0.6rem 0 0.6rem 1.75rem;
}

#sobre ul li:last-child {
	border-bottom: none;
}

#sobre ul li::before {
	width: 10px;
	height: 10px;
}

/* History */
.history-grid {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 3rem;
	align-items: start;
}

.history-text p {
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
}

.bagpipe-illustration {
	background: var(--white);
	padding: 2rem;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 4px 6px -1px var(--shadow);
}

/* Gallery */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.gallery-item {
	aspect-ratio: 1;
	background: #f3f4f6;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	color: #9ca3af;
	border: 2px dashed #d1d5db;
	transition: all 0.3s ease;
}

.gallery-item:hover {
	border-color: var(--accent);
	background: #f0f9ff;
}

.instagram-link {
	display: block;
	text-align: center;
	width: 100%;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: white;
	padding: 1rem 2rem;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	margin-top: 2rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.instagram-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

/* Contact */
.contact {
	background: var(--white);
	padding: 3rem;
	border-radius: 20px;
	box-shadow: 0 25px 50px -12px var(--shadow);
	margin-top: 4rem;
	border-top: 4px solid var(--accent);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 1rem;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	font-size: 1rem;
	transition: all 0.2s;
	font-family: inherit;
	background: #fafbff;
}

.form-group select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231e3a5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 1.25rem;
	padding-right: 3rem;
}

.form-group select:focus {
	outline: none;
	border-color: var(--accent);
	background-color: white;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--accent);
	background: white;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: #9ca3af;
}

.btn {
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: white;
	padding: 1.25rem 3rem;
	border: none;
	border-radius: 12px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	transition: all 0.3s ease;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(30, 58, 95, 0.4);
}

.success {
	background: linear-gradient(135deg, #10b981, #059669);
	color: white;
	padding: 1.5rem;
	border-radius: 12px;
	text-align: center;
	margin-bottom: 2rem;
	display: none;
	font-weight: 500;
}

.success.show {
	display: block;
	animation: slideIn 0.4s ease;
}

@keyframes slideIn {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
	text-align: center;
	padding: 3rem 0 2rem;
	color: #6b7280;
	font-size: 0.95rem;
}

.footer-content {
	background: var(--white);
	padding: 2rem;
	border-radius: 16px;
	box-shadow: 0 4px 6px -1px var(--shadow);
	margin-bottom: 1rem;
}

.footer-content p {
	margin: 0.5rem 0;
}

.footer-content a {
	color: var(--accent);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s;
}

.footer-content a:hover {
	color: var(--primary);
	text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
	.header-content {
		gap: 1rem;
		margin-bottom: 1.5rem;
	}

	.profile-circle {
		width: 140px;
		height: 140px;
		margin-bottom: 1rem;
	}

	.flag {
		height: 60px;
	}

	.history-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	nav ul {
		gap: 1rem;
		flex-wrap: wrap;
	}

	.service {
		flex-direction: column;
		text-align: center;
	}

	.contact {
		padding: 2rem 1.5rem;
	}

	.cities-grid {
		grid-template-columns: 1fr;
	}

	#sobre {
		padding: 1.5rem;
	}

	.footer-content {
		padding: 1.5rem;
	}
}