/**
		 FRW Architects

		 Apidom 2026.
*/

/* ====================================
   CSS Variables
   ==================================== */
:root {
	--color-black: #000;
	--color-white: #fff;
	--color-gray-light: #f5f5f5;
	--color-gray: #999;
	--color-gray-dark: #333;

	--font-primary: 'DIN', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

	--spacing-xs: 8px;
	--spacing-sm: 16px;
	--spacing-md: 24px;
	--spacing-lg: 48px;
	--spacing-xl: 64px;

	--transition: 0.3s ease;

	--max-width: 1400px;
}

/* ====================================
   Reset & Base Styles
   ==================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-primary);
	background-color: var(--color-white);
	color: var(--color-black);
	line-height: 1.6;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	/*
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
	*/
}

video {
	/* Hide video controls for autoplay experience */
	outline: none;
}

video::-webkit-media-controls {
	display: none!important;
}

video::-webkit-media-controls-enclosure {
	display: none!important;
}

video::-webkit-media-controls-panel {
	display: none!important;
}

video::-moz-media-controls {
	display: none!important;
}

a {
	color: var(--color-black);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover {
	color: var(--color-gray-dark);
}

/* ====================================
   Typography
   ==================================== */
h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	line-height: 1.2;
	margin-bottom: var(--spacing-md);
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: var(--spacing-sm);
}

/* ====================================
   Layout
   ==================================== */
#main {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--spacing-md);
}

.content {
	flex: 1;
	padding-top: 86px; /* Space for fixed header */
}

.page {
	padding: 60px 0;
	min-height: 60vh;
}

/* ====================================
   Header & Navigation
   ==================================== */
.header {
	background-color: #fff;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	transition: padding 0.3s ease, box-shadow 0.3s ease;
	padding: 20px 0;
	will-change: transform;
}

.header.scrolled {
	padding: 5px 0;
}

.main-nav {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--spacing-md);
}

.nav-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--spacing-md);
}

.nav-logo {
	display: block;
	height: 45px;
	flex-shrink: 0;
	margin-left: var(--spacing-md);
	transform: scale(0.95);
	transition: all 0.3s ease, opacity 0.3s ease;
}
.nav-logo h6 {
	font-size: 36px;
	font-weight: 900;
	text-transform: uppercase;
	line-height: 45px;
	padding: 0;
	margin: 0;
	transition: all 0.3s ease;
}

.header.scrolled .nav-logo h6 {
	font-size: 26px;
	line-height: 26px;
}

.header.scrolled .nav-logo {
	height: 26px;
}

.nav-logo img {
	height: 100%;
	width: auto;
	display: block;
	transition: none;
	pointer-events: none;
}

.nav-logo:hover {
	transform: scale(1);
}

.nav-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-md);
	align-items: center;
	margin-left: auto;
}

.nav-list li {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.nav-list li.active a {
	font-weight: 600;
}

.nav-list a {
	position: relative;
	display: inline-block;
	padding: 8px 0;
}

.nav-list a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	height: 1px;
	background-color: #000000;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s ease;
}

.nav-list a:hover::after {
	transform: scaleX(1);
}

.nav-list .lang-switch {
	border-left: 1px solid rgba(0, 0, 0, 0.2);
	padding-left: var(--spacing-md);
}

/* Hamburger Menu */
.nav-hamburger {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	z-index: 1001;
}

.nav-hamburger span {
	display: block;
	width: 25px;
	height: 2px;
	background-color: var(--color-black);
	transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.nav-hamburger.active span:nth-child(2) {
	opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

/* ====================================
   Breadcrumb
   ==================================== */
.breadcrumb {
	background-color: var(--color-gray-light);
	padding: var(--spacing-sm) 0;
	font-size: 0.875rem;
}

.breadcrumb-list {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--spacing-md);
	list-style: none;
	display: flex;
	gap: var(--spacing-xs);
	flex-wrap: wrap;
}

.breadcrumb-list li::after {
	content: '›';
	margin-left: var(--spacing-xs);
	color: var(--color-gray);
}

.breadcrumb-list li:last-child::after {
	content: '';
}

.breadcrumb-list li.active {
	color: var(--color-gray);
}

/* ====================================
   Home Page
   ==================================== */
.home {
	margin: 0;
	padding-top: 0!important; /* Override default content padding for full-height hero */
}

.home-hero {
	position: relative;
	height: 100vh;
	width: 100%;
	overflow: hidden;
}

/* Homepage Carousel */
.home-carousel {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.carousel-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
	opacity: 1;
}

.carousel-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.3);
}

.home-content {
	text-align: center;
	color: var(--color-white);
	padding: var(--spacing-md);
}

.home-title {
	font-size: 4rem;
	font-weight: 300;
	margin-bottom: var(--spacing-sm);
	text-transform: uppercase;
	letter-spacing: 4px;
}

.home-subtitle {
	font-size: 1.25rem;
	font-weight: 300;
	letter-spacing: 2px;
}

.home-text-block {
	padding: 60px 20px;
	background: var(--background-color);
}

.home-text-block .container {
	max-width: 900px;
	margin: 0 auto;
	line-height: 1.8;
}

.home-text-block p {
	margin-bottom: 1em;
}

.home-text-block h2,
.home-text-block h3 {
	margin-top: 1.5em;
	margin-bottom: 0.75em;
}

/* Featured Project Section */
.home-featured-project {
	padding: 80px 0;
	background: var(--color-gray-light);
}

.featured-project-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 40px;
	align-items: center;
}

.featured-project-image {
	width: 100%;
	overflow: hidden;
	aspect-ratio: 16/9;
	background: var(--color-white);
}

.featured-project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition);
}

.featured-project-image:hover img {
	transform: scale(1.05);
}

.featured-project-info {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.featured-project-title {
	font-size: 2rem;
	font-weight: 300;
	letter-spacing: 1px;
	margin: 0;
}

.featured-project-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.featured-project-actions .btn {
	display: inline-block;
	padding: 14px 28px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.875rem;
	transition: all var(--transition);
	border: 1px solid var(--color-black);
	text-decoration: none;
}

.featured-project-actions .btn-primary {
	background-color: var(--color-black);
	color: var(--color-white);
}

.featured-project-actions .btn-primary:hover {
	background-color: var(--color-white);
	color: var(--color-black);
	opacity: 1;
}

.featured-project-actions .btn-secondary {
	background-color: var(--color-white);
	color: var(--color-black);
}

.featured-project-actions .btn-secondary:hover {
	background-color: var(--color-black);
	color: var(--color-white);
	opacity: 1;
}

/* ====================================
   Projects Page
   ==================================== */
.page-title {
	margin: var(--spacing-lg) 0 var(--spacing-md);
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 300;
}

.projects-filters {
	margin-bottom: var(--spacing-lg);
}

.filter-group {
	margin-bottom: var(--spacing-md);
}

.filter-group:last-child {
	margin-bottom: 0;
}

.filter-label {
	display: block;
	margin-bottom: var(--spacing-sm);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
}

.filter-buttons {
	display: flex;
	gap: var(--spacing-xs);
	flex-wrap: wrap;
}

.filter-btn {
	padding: var(--spacing-xs) var(--spacing-sm);
	background-color: var(--color-white);
	border: 1px solid var(--color-black);
	color: var(--color-black);
	cursor: pointer;
	transition: all var(--transition);
	font-size: 0.55rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
	background-color: var(--color-black);
	color: var(--color-white);
}

.projects-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-md);
	margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {

	.projects-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.projects-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.project-card {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	background-color: #000;
	transition: all var(--transition);
}

.project-card:hover {
	border-radius: 25px;
}
.project-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition);
	will-change: transform;
}

.project-card:hover img {
	transform: scale(1.1);
	opacity: .3;
}

.project-card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: var(--spacing-md);
	background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
	color: var(--color-white);
	transform: translateY(100%);
	transition: transform var(--transition);
}

.project-card:hover .project-card-overlay {
	transform: translateY(0);
}

.project-card-title {
	font-size: 1.125rem;
	margin-bottom: var(--spacing-xs);
}

.project-card-meta {
	font-size: 0.875rem;
	opacity: 0.8;
}

.loading {
	text-align: center;
	padding: var(--spacing-xl) 0;
	color: var(--color-gray);
}

.no-results {
	text-align: center;
	padding: var(--spacing-xl) 0;
	color: var(--color-gray);
}

/* ====================================
   Single Project Page
   ==================================== */
.project-meta {
	margin-bottom: var(--spacing-lg);
}

.project-info {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-sm);
}

@media (min-width: 768px) {
	.project-info {
		grid-template-columns: repeat(2, 1fr);
	}
}

.project-info-item {
	display: flex;
	gap: var(--spacing-sm);
}

.project-info-label {
	font-weight: 600;
}

.project-description {
	margin-bottom: var(--spacing-lg);
	line-height: 1.8;
}

.project-gallery {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-md);
	margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
	.project-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

.project-gallery img {
	width: 100%;
	cursor: pointer;
	transition: opacity var(--transition);
}

.project-gallery img:hover {
	opacity: 0.8;
}

.project-nav {
	text-align: center;
	padding: var(--spacing-lg) 0;
}

.btn-back {
	display: inline-block;
	padding: var(--spacing-sm) var(--spacing-md);
	font-size: 0.875rem;
	position: relative;
	text-decoration: none;
	color: #000000;
}

.btn-back::after {
	content: '';
	position: absolute;
	left: var(--spacing-md);
	right: var(--spacing-md);
	bottom: var(--spacing-sm);
	height: 1px;
	background-color: #000000;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s ease;
}

.btn-back:hover {
	color: #000000;
	opacity: 1;
}

.btn-back:hover::after {
	transform: scaleX(1);
}

/* ====================================
   Contact Page
   ==================================== */
.contact-intro {
	text-align: center;
	margin-bottom: var(--spacing-lg);
}

.contact-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-lg);
	margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
	.contact-container {
		grid-template-columns: 2fr 1fr;
	}
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-label {
	margin-bottom: var(--spacing-xs);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.required {
	color: var(--color-gray);
}

.form-input,
.form-textarea {
	padding: var(--spacing-sm);
	border: 1px solid var(--color-gray);
	font-family: inherit;
	font-size: 1rem;
	transition: border-color var(--transition);
}

.form-input:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--color-black);
}

.btn-submit {
	padding: var(--spacing-sm) var(--spacing-md);
	background-color: var(--color-black);
	color: var(--color-white);
	border: none;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.875rem;
	transition: opacity var(--transition);
}

.btn-submit:hover {
	opacity: 0.8;
}

.form-message {
	padding: var(--spacing-sm);
	border-radius: 2px;
	font-size: 0.875rem;
}

.form-message.success {
	background-color: #d4edda;
	color: #155724;
}

.form-message.error {
	background-color: #f8d7da;
	color: #721c24;
}

/* Contact Offices Wrapper */
.contact-offices-wrapper h2 {
	margin-bottom: var(--spacing-md);
	font-size: 1.25rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.offices-stack {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.office-card {
	background-color: var(--color-white);
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
	transition: box-shadow var(--transition);
}

.office-card:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.office-map {
	width: 100%;
	height: 200px;
	background-color: var(--color-gray-light);
}

.office-map iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.office-info {
	padding: var(--spacing-sm) var(--spacing-md);
}

.office-city {
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: var(--spacing-xs);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.office-address {
	font-size: 0.8rem;
	line-height: 1.5;
	margin-bottom: var(--spacing-xs);
	color: var(--color-gray-dark);
}

.office-contact {
	font-size: 0.85rem;
	margin-bottom: 0;
}

.office-contact a {
	color: var(--color-black);
	text-decoration: none;
	transition: opacity var(--transition);
	font-weight: 500;
}

.office-contact a:hover {
	opacity: 0.7;
}

.office-email {
	padding: var(--spacing-sm) 0;
	text-align: center;
	margin-top: var(--spacing-xs);
}

.office-email a {
	color: var(--color-black);
	text-decoration: none;
	font-size: 0.85rem;
	transition: opacity var(--transition);
}

.office-email a:hover {
	opacity: 0.7;
}

/* ====================================
   Common Components
   ==================================== */

/* Page Intro */
.page-intro {
	max-width: 800px;
	margin: 0 auto 64px;
	text-align: center;
	font-size: 18px;
	line-height: 1.6;
	color: #555; /* Improved contrast from #666 */
}

.page-intro p {
	margin-bottom: 16px;
}

/* Empty State */
.empty-state {
	text-align: center;
	padding: 80px 20px;
	color: #999;
	font-size: 18px;
}

/* ====================================
   Lightbox
   ==================================== */
.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	z-index: 10000;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.lightbox.active {
	display: flex;
	animation: lightboxFadeIn 0.3s ease forwards;
}

.lightbox.closing {
	animation: lightboxFadeOut 0.3s ease forwards;
}

@keyframes lightboxFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes lightboxFadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

.lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-image,
.lightbox-video {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	opacity: 0;
	transform: scale(0.95);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-image.active,
.lightbox-video.active {
	opacity: 1;
	transform: scale(1);
}

.lightbox-image.slide-out-left,
.lightbox-video.slide-out-left {
	animation: slideOutLeft 0.3s ease forwards;
}

.lightbox-image.slide-out-right,
.lightbox-video.slide-out-right {
	animation: slideOutRight 0.3s ease forwards;
}

.lightbox-image.slide-in-left,
.lightbox-video.slide-in-left {
	animation: slideInLeft 0.3s ease forwards;
}

.lightbox-image.slide-in-right,
.lightbox-video.slide-in-right {
	animation: slideInRight 0.3s ease forwards;
}

@keyframes slideOutLeft {
	from {
		opacity: 1;
		transform: translateX(0) scale(1);
	}
	to {
		opacity: 0;
		transform: translateX(-50px) scale(0.95);
	}
}

@keyframes slideOutRight {
	from {
		opacity: 1;
		transform: translateX(0) scale(1);
	}
	to {
		opacity: 0;
		transform: translateX(50px) scale(0.95);
	}
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-50px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateX(0) scale(1);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(50px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateX(0) scale(1);
	}
}

.lightbox-close {
	position: fixed;
	top: 20px;
	right: 30px;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 50px;
	cursor: pointer;
	z-index: 10001;
	padding: 0;
	width: 50px;
	height: 50px;
	line-height: 40px;
	transition: opacity 0.3s ease, transform 0.2s ease;
}

.lightbox-close:hover {
	opacity: 0.6;
	transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: #fff;
	font-size: 60px;
	cursor: pointer;
	z-index: 10001;
	padding: 20px;
	transition: opacity 0.3s ease, transform 0.2s ease;
}

.lightbox-prev {
	left: 20px;
}

.lightbox-next {
	right: 20px;
}

.lightbox-prev:hover {
	opacity: 0.6;
	transform: translateY(-50%) translateX(-5px);
}

.lightbox-next:hover {
	opacity: 0.6;
	transform: translateY(-50%) translateX(5px);
}

.lightbox-counter {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 16px;
	background: rgba(0, 0, 0, 0.7);
	padding: 8px 16px;
	border-radius: 20px;
	z-index: 10001;
}

/* ====================================
   Awards Page
   ==================================== */
.awards-list {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.award-item {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 32px;
	padding: 32px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	transition: box-shadow 0.3s;
}

.award-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.award-image {
	width: 100%;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
	border-radius: 4px;
	overflow: hidden;
}

.award-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 16px;
}

.award-content {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.award-title {
	font-size: 24px;
	margin: 0;
	font-weight: 600;
}

.award-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 14px;
	color: #555; /* Improved contrast from #666 */
}

.award-organization {
	font-weight: 500;
}

.award-year {
	font-style: italic;
}

.award-organization::after {
	content: '•';
	margin-left: 16px;
	color: #ccc;
}

.award-description {
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	margin-top: 8px;
}

.award-description p {
	margin-bottom: 12px;
}

/* ====================================
   Team Page
   ==================================== */
.team-members {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.team-member {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 48px;
	align-items: start;
}

.team-member:nth-child(even) {
	grid-template-columns: 1fr 300px;
}

.team-member:nth-child(even) .team-member-photo {
	order: 2;
}

.team-member:nth-child(even) .team-member-content {
	order: 1;
	text-align: right;
}

.team-member-photo {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 8px;
	overflow: hidden;
	background: #f5f5f5;
}

.team-member-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-member-name {
	font-size: 32px;
	margin-bottom: 8px;
}

.team-member-title {
	font-size: 18px;
	color: #666;
	margin-bottom: 24px;
	font-style: italic;
}

.team-member-bio {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
}

.team-member-bio p {
	margin-bottom: 16px;
}

.team-member-bio ul,
.team-member-bio ol {
	margin: 16px 0;
	padding-left: 24px;
}

.team-member-bio li {
	margin: 8px 0;
}

/* ====================================
   News Page
   ==================================== */

/* Single News */
.news-single {
	max-width: 800px;
	margin: 0 auto;
}

.news-title {
	font-size: 36px;
	margin-bottom: 16px;
}

.news-meta {
	color: #666;
	margin-bottom: 32px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e0e0e0;
}

.news-date {
	font-size: 14px;
}

.news-content {
	font-size: 16px;
	line-height: 1.8;
	margin-bottom: 48px;
}

.news-content h1,
.news-content h2,
.news-content h3 {
	margin-top: 32px;
	margin-bottom: 16px;
}

.news-content img {
	max-width: 100%;
	height: auto;
	margin: 24px 0;
	border-radius: 4px;
}

.news-content ul,
.news-content ol {
	margin: 16px 0;
	padding-left: 24px;
}

.news-content li {
	margin: 8px 0;
}

.news-back {
	margin-top: 48px;
}

/* News List */
.news-list {
	max-width: 900px;
	margin: 0 auto;
}

.news-item {
	padding: 32px 0;
	border-bottom: 1px solid #e0e0e0;
}

.news-item:last-child {
	border-bottom: none;
}

.news-item-title {
	font-size: 28px;
	margin-bottom: 12px;
}

.news-item-title a {
	color: #000;
	text-decoration: none;
	transition: opacity 0.3s;
}

.news-item-title a:hover {
	opacity: 0.6;
}

.news-item-meta {
	color: #666;
	font-size: 14px;
}

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 24px;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #e0e0e0;
}

.pagination-btn {
	padding: 12px 24px;
	background: #000;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	transition: opacity 0.3s;
}

.pagination-btn:hover {
	opacity: 0.8;
}

.pagination-info {
	color: #666;
	font-size: 14px;
}

/* ====================================
   Project Detail Page
   ==================================== */

/* Remove padding-top when hero is present */
.content.project-with-hero {
	padding-top: 0;
}

/* Hero Section */
.project-hero {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	background: #000000;
	margin-bottom: 30px;
}

.project-hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0;
}

.project-hero-image.fade-in {
	animation: heroFadeIn 1.5s ease forwards;
}

@keyframes heroFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Bottom overlay with title (wipes in) */
.project-hero-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	padding: 40px 80px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
	clip-path: inset(0 100% 0 0);
	pointer-events: none;
}

.project-hero-overlay.wipe-in {
	animation: overlayWipeIn 1s ease .5s forwards;
}

@keyframes overlayWipeIn {
	from {
		clip-path: inset(0 100% 0 0);
	}
	to {
		clip-path: inset(0 0 0 0);
	}
}

.project-hero-title {
	font-size: 42px;
	font-weight: 900;
	color: #fff;
	text-align: right;
	line-height: 1.2;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--spacing-md);
	text-shadow: 2px 2px 4px #000;
}

/* Project Detail Layout */
.project-detail {
	background: #fff;
}

.project-layout {
	display: flex;
	min-height: 100vh;
}

/* Photo Gallery - 2/3 width */
.project-photos {
	width: 66.666%;
	display: flex;
	flex-direction: column;
}

.project-photo-item {
	width: 100%;
	cursor: pointer;
	overflow: hidden;
	margin-bottom: 30px;
}

.project-photo-item img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}

.project-photo-item:hover img {
	transform: scale(1.02);
}

.project-no-photos {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	color: #999;
	font-size: 18px;
}

/* Project Info - 1/3 width, sticky */
.project-info-sticky {
	width: 33.333%;
	height: 100vh;
	position: sticky;
	top: 0;
	overflow-y: auto;
}

.project-info-content {
	padding: 60px 40px 25px;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.project-title {
	font-size: 32px;
	font-weight: 400;
	margin: 0 0 30px 0;
	line-height: 1.2;
	color: #000;
}

.project-meta {
	margin-bottom: 30px;
	background: #f2f2f2;
	padding: 5px 15px;
	border-radius: 12px;
}

.project-meta-item {
	display: flex;
	justify-content: space-between;
	padding: 3px 0;
}

.meta-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #666;
	font-weight: 500;
}

.meta-value {
	font-size: 12px;
	color: #000;
	text-align: right;
}

.project-description {
	font-size: 15px;
	line-height: 1.8;
	color: #333;
	margin-bottom: 40px;
	flex: 1;
}

.project-description p {
	margin: 0 0 16px 0;
}

/* Video Player Styles */
.project-video {
	width: 100%;
	height: auto;
	display: block;
	background-color: #000;
	border: none;
	outline: none;
}

.project-video:focus {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.project-video-item {
	cursor: default;
}

/* ====================================
   Project Navigation
   ==================================== */
.project-navigation {
	width: 100%;
	padding: 40px 0;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 20px;
	align-items: center;
}

.project-nav-left {
	justify-self: start;
}

.project-nav-center {
	justify-self: center;
}

.project-nav-right {
	justify-self: end;
}

.project-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	color: #000000;
	text-decoration: none;
	position: relative;
}

.project-nav-link::after {
	content: '';
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 8px;
	height: 1px;
	background-color: #000000;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s ease;
}

.project-nav-link:hover {
	color: #000000;
}

.project-nav-link:hover::after {
	transform: scaleX(1);
}

.project-nav-link.project-nav-all {
	font-weight: 300;
	font-size: 0.875rem;
}

.project-nav-arrow {
	font-size: 20px;
	line-height: 1;
}

.project-nav-label {
	font-size: 14px;
}

@media (max-width: 767px) {
	.project-navigation {
		grid-template-columns: 1fr;
		gap: 16px;
		text-align: center;
	}

	.project-nav-left,
	.project-nav-center,
	.project-nav-right {
		justify-self: center;
	}
}

/* ====================================
   Footer
   ==================================== */
.footer {
	background-color: #eee;
	color: #333;
	padding: var(--spacing-lg) 0 var(--spacing-md);
	margin-top: var(--spacing-xl);
}

.footer-content {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--spacing-md);
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-lg);
}

@media (min-width: 768px) {
	.footer-content {
		grid-template-columns: repeat(3, 1fr);
	}
}

.footer-title {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: var(--spacing-sm);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.footer-text {
	font-size: 0.875rem;
	opacity: 0.8;
}

.footer a {
	color: var(--color-white);
}

.social-links {
	display: flex;
	gap: var(--spacing-sm);
	margin-top: var(--spacing-xs);
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.1);
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
	background-color: rgba(0, 0, 0, 0.2);
	transform: translateY(-2px);
}

.social-links svg {
	width: 20px;
	height: 20px;
}

.footer-legal {
	text-align: center;
	font-size: 0.75rem;
	opacity: 0.6;
}

@media (min-width: 768px) {
	.footer-legal {
		grid-column: 1 / -1;
	}
}

/* ====================================
   Error Page
   ==================================== */
.error-page {
	padding: var(--spacing-xl) 0;
	text-align: center;
}

.error-title {
	font-size: 8rem;
	font-weight: 300;
	opacity: 0.2;
}

.error-subtitle {
	margin-bottom: var(--spacing-md);
}

.btn-home {
	display: inline-block;
	margin-top: var(--spacing-md);
	padding: var(--spacing-sm) var(--spacing-md);
	border: 1px solid var(--color-black);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.875rem;
}

/* ====================================
   Utilities
   ==================================== */
.text-center {
	text-align: center;
}

.hidden {
	display: none!important;
}

/* No select utility */
.no-select {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

/* Lazy loading placeholder */
img[loading="lazy"] {
	background-color: var(--color-gray-light);
}

/* Focus visible for accessibility */
*:focus-visible {
	outline: 2px solid var(--color-black);
	outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
	position: absolute;
	top: -40px;
	left: 0;
	background: var(--color-black);
	color: var(--color-white);
	padding: 8px 16px;
	text-decoration: none;
	z-index: 10000;
}

.skip-to-content:focus {
	top: 0;
}

/* ====================================
   Skeleton Loading Screens
   ==================================== */
.skeleton-card {
	background: linear-gradient(
		90deg,
		var(--color-gray-light) 25%,
		#e0e0e0 50%,
		var(--color-gray-light) 75%
	);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
	border-radius: 0;
	pointer-events: none;
}

@keyframes shimmer {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

/* Skeleton for project cards */
.project-card.skeleton-card {
	aspect-ratio: 1;
	position: relative;
	overflow: hidden;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
	.skeleton-card {
		animation: none;
		background: var(--color-gray-light);
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms!important;
		animation-iteration-count: 1!important;
		transition-duration: 0.01ms!important;
	}
}

/* ====================================
   Responsive Adjustments
   ==================================== */

/* Tablet and below - Show hamburger menu */
@media (max-width: 1000px) {
	/* Show hamburger menu */
	.nav-hamburger {
		display: flex;
	}

	/* Hide desktop menu by default */
	.nav-list {
		position: fixed;
		top: 0;
		right: -100%;
		width: 280px;
		height: 100vh;
		background-color: var(--color-white);
		flex-direction: column;
		align-items: flex-start;
		padding: 80px 24px 24px;
		gap: 0;
		margin: 0;
		box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
		transition: right 0.3s ease;
		overflow-y: auto;
	}

	.nav-list.active {
		right: 0;
	}

	.nav-list li {
		width: 100%;
		padding: 16px 0;
		border-bottom: 1px solid #eee;
		font-size: 14px;
	}

	.nav-list li a {
		display: block;
		width: 100%;
	}

	.nav-list .lang-switch {
		border-left: none;
		border-top: 2px solid var(--color-black);
		padding-left: 0;
		padding-top: 16px;
		margin-top: 16px;
	}

	/* Overlay when menu is open */
	.nav-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
		z-index: 999;
	}

	.nav-overlay.active {
		opacity: 1;
		visibility: visible;
	}
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
	:root {
		--spacing-lg: 32px;
		--spacing-xl: 48px;
	}

	h1 {
		font-size: 2rem;
	}

	.home-title {
		font-size: 2.5rem;
	}

	.page-title {
		font-size: 32px;
		margin-bottom: 32px;
	}

	.header {
		padding: 12px 0;
	}

	.header.scrolled {
		padding: 8px 0;
	}

	.nav-logo {
		height: 40px;
	}

	.header.scrolled .nav-logo {
		height: 32px;
	}

	/* Awards Page Responsive */
	.awards-list {
		gap: 32px;
	}

	.award-item {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 24px;
	}

	.award-image {
		max-width: 150px;
		margin: 0 auto;
	}

	.award-title {
		font-size: 20px;
	}

	/* Team Page Responsive */
	.team-members {
		gap: 48px;
	}

	.team-member {
		grid-template-columns: 1fr!important;
		gap: 24px;
	}

	.team-member:nth-child(even) .team-member-photo {
		order: 1;
	}

	.team-member:nth-child(even) .team-member-content {
		order: 2;
		text-align: left;
	}

	.team-member-photo {
		max-width: 250px;
		margin: 0 auto;
	}

	.team-member-name {
		font-size: 24px;
	}

	.team-member-title {
		font-size: 16px;
	}

	/* News Page Responsive */
	.news-title {
		font-size: 28px;
	}

	.news-item-title {
		font-size: 22px;
	}

	/* Project Hero Responsive */
	.project-hero {
		height: 80vh;
	}

	.project-hero-overlay {
		padding: 40px 20px;
	}

	.project-hero-title {
		font-size: 32px;
	}

	/* Project Detail Responsive */
	.project-layout {
		flex-direction: column;
	}

	.project-photos,
	.project-info-sticky {
		width: 100%;
	}

	.project-info-sticky {
		position: relative;
		height: auto;
		order: -1; /* Place text before images on mobile */
	}

	.project-photos {
		order: 1; /* Place images after text on mobile */
	}

	.project-info-content {
		padding: 40px 20px;
		min-height: auto;
	}

	.project-title {
		font-size: 24px;
		margin: 0 0 20px 0;
	}

	/* Lightbox Responsive */
	.lightbox-content {
		max-width: 95%;
	}

	.lightbox-prev {
		left: 10px;
		padding: 10px;
		font-size: 40px;
	}

	.lightbox-next {
		right: 10px;
		padding: 10px;
		font-size: 40px;
	}

	.lightbox-close {
		top: 10px;
		right: 15px;
		font-size: 40px;
	}

	.lightbox-counter {
		bottom: 20px;
		font-size: 14px;
		padding: 6px 12px;
	}

	/* Featured Project Responsive */
	.home-featured-project {
		padding: 40px 0;
	}

	.featured-project-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.featured-project-title {
		font-size: 1.5rem;
	}

	.featured-project-image {
		aspect-ratio: 4/3;
	}
}

/* ====================================
   Page Blocks (Frontend)
   ==================================== */
.page-content {
	padding: var(--spacing-xl) 0;
	min-height: 60vh;
}

.page-title {
	font-size: 2.5rem;
	font-weight: 300;
	margin-bottom: var(--spacing-lg);
	text-align: center;
}

.page-blocks {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--spacing-md);
}

/* Block Heading */
.block-heading {
	font-weight: 300;
	margin: var(--spacing-lg) 0 var(--spacing-md);
	line-height: 1.3;
}

.block-heading:first-child {
	margin-top: 0;
}

/* Block WYSIWYG */
.block-wysiwyg {
	margin: var(--spacing-md) 0;
}

.wysiwyg-content {
	line-height: 1.8;
	font-size: 1.05rem;
}

.wysiwyg-content p {
	margin: var(--spacing-sm) 0;
}

.wysiwyg-content ul,
.wysiwyg-content ol {
	margin: var(--spacing-sm) 0;
	padding-left: var(--spacing-lg);
}

.wysiwyg-content li {
	margin: var(--spacing-xs) 0;
}

.wysiwyg-content a {
	color: var(--color-black);
	text-decoration: underline;
	transition: opacity var(--transition);
}

.wysiwyg-content a:hover {
	opacity: 0.7;
}

.wysiwyg-content strong {
	font-weight: 600;
}

.wysiwyg-content em {
	font-style: italic;
}

.wysiwyg-content h2,
.wysiwyg-content h3,
.wysiwyg-content h4 {
	font-weight: 500;
	margin: var(--spacing-md) 0 var(--spacing-sm);
}

.wysiwyg-content h2 {
	font-size: 1.8rem;
}

.wysiwyg-content h3 {
	font-size: 1.5rem;
}

.wysiwyg-content h4 {
	font-size: 1.3rem;
}

/* Block Image */
.block-image {
	margin: var(--spacing-lg) 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.block-image img {
	width: 100%;
	height: auto;
	display: block;
	transition: opacity var(--transition);
}

.block-image img:hover {
	opacity: 0.95;
}

.block-image figcaption {
	margin-top: var(--spacing-sm);
	font-size: 0.9rem;
	color: var(--color-gray);
	text-align: center;
	font-style: italic;
}

/* Image Sizes */
.block-image.small {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.block-image.medium {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.block-image.large {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.block-image.full {
	max-width: 100%;
}

/* Block Video */
.block-video {
	margin: var(--spacing-lg) 0;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.block-video video {
	width: 100%;
	height: auto;
	display: block;
	background-color: var(--color-black);
}

.video-embed {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
}

.video-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.video-caption {
	margin-top: var(--spacing-sm);
	font-size: 0.9rem;
	color: var(--color-gray);
	text-align: center;
	font-style: italic;
}

/* Footer Navigation */
.footer-nav {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-sm);
	justify-content: center;
	margin-top: var(--spacing-sm);
	padding: 0;
}

.footer-nav li {
	margin: 0;
}

.footer-nav a {
	color: var(--color-white);
	text-decoration: none;
	font-size: 0.9rem;
	opacity: 0.7;
	transition: opacity var(--transition);
}

.footer-nav a:hover {
	opacity: 1;
	text-decoration: underline;
}

/* Responsive Adjustments for Blocks */
@media (max-width: 768px) {
	.page-title {
		font-size: 2rem;
	}

	.page-blocks {
		padding: 0 var(--spacing-sm);
	}

	.block-heading {
		font-size: 1.5rem;
		margin: var(--spacing-md) 0 var(--spacing-sm);
	}

	.wysiwyg-content {
		font-size: 1rem;
	}

	.wysiwyg-content h2 {
		font-size: 1.5rem;
	}

	.wysiwyg-content h3 {
		font-size: 1.3rem;
	}

	.wysiwyg-content h4 {
		font-size: 1.1rem;
	}

	.block-image.small,
	.block-image.medium,
	.block-image.large {
		max-width: 100%;
	}

	.footer-nav {
		flex-direction: column;
		align-items: center;
	}
}

/* ===========================
   SCROLL REVEAL ANIMATIONS
   =========================== */

.scroll-reveal {
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
	opacity: 1;
	transform: translateY(0);
}

/* Section title styling */
.section-title {
	font-size: 32px;
	font-weight: 400;
	margin-bottom: 40px;
	text-align: center;
	color: #000000;
}

@media (max-width: 767px) {
	.section-title {
		font-size: 24px;
		margin-bottom: 30px;
	}
}
