@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700|Roboto:300,700&display=swap');

* {
	margin:0;
	padding:0;
	outline:0;
	-webkit-box-sizing:border-box!important;
	box-sizing:border-box!important;
	-webkit-touch-callout:none;
	-webkit-user-select:none;
	-khtml-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
}

.clearfix:after {
	clear:both;
	content:".";
	display:block;
	height:0;
	line-height:0;
	visibility:hidden;
}

.hidden {
	display:none;
}

body .hidden {
	display:none;
}

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

html,body {
	height:100%;
	font-family:'AvenirNext',sans-serif;
	font-size:14px;
	-webkit-transition:background-color 1s ease;
	-o-transition:background-color 1s ease;
	transition:background-color 1s ease;
	background-color: #f8f6f1;
}

#webgl,canvas {
	width:100%;
	height:100%;
	overflow:hidden;
	padding:0;
	z-index:1;
	display:block;
}

h1,h2,h3 {
	font-family:'News 705 BT',serif;
	margin-bottom:15px;
}

h1,h2 {
	font-size:2em;
}

h3 {
	font-size:1.5em;
	font-family:'AvenirNext',sans-serif;
}

h1 span,h2 span,h3 span {
	color:#d8c12e;
}

a {
	color:inherit;
}

p,ul,li {
	margin-bottom:10px;
}

.em {
	font-style:italic;
	color:#aaa;
}

.fa {
	font-size:1em;
}

#logo {
	position:fixed;
	top: 16px;
	left: 11px;
	height: 38px;
	z-index:100;
	background-color: #fff;
}

#loader {
	display:none;
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color:rgba(0,0,0,0.8);
	z-index:3;
	background-image:url(images/loading.svg);
	background-position:center center;
	background-repeat:no-repeat;
	background-size:200px;
}

input[type="text"],input[type="number"],input[type="email"],input[type="tel"],textarea,button {
	width:100%;
	font-size:1em;
	display:block;
	border-radius:0;
	padding:10px;
	margin-bottom:15px;
	background-color:rgba(127,127,127,0.15);
	border:none;
	transition:all .3s ease;
	color:#888;
}

input:focus,textarea:focus {
	color:#333;
}

.panel {
	display:block;
	padding:10px;
	background-color:rgba(127,127,127,0.15);
	border-radius:0;
	margin-bottom:15px;
}

.button {
	display:inline-block;
	vertical-align:top;
	cursor:pointer;
	transition:all .3s ease;
	border-radius:0;
	padding: 12px 24px;
	margin-bottom:15px;
	overflow:hidden;
	background-color:rgba(127,127,127,0.15);
	border:none;
	opacity: 0.66;
	color:#333;
}

.button:hover {
	opacity: 1;
}

.button.selected {
	opacity: 1;
	background-color:#fbdf33;
	color:#333;
}

.button.main {
	background-color:#fbdf33;
	color:#333;
}

.button.main:hover {
	background-color:#fbdf33;
}

.button.small {
	border-color:transparent!important;
}

.button.close {
	padding:3px 6px;
	border:none!important;
	float:right;
	margin:0;
}

body .button.disabled, body .button.disabled:hover {
	cursor:not-allowed!important;
	opacity: 0.33;
}

.button.img {
	position:relative;
	width:calc(50% - 0.7em);
	margin:.25em;
	padding:0;
	transition:all ease .5s;
}

.button.img img {
	transition:all .3s ease;
	-webkit-filter:grayscale(100%);
	filter:grayscale(100%);
}

.button.img:hover img,.button.img.selected img {
	-webkit-filter:grayscale(0%);
	filter:grayscale(0%);
}

.button.img:hover,.button.img.selected {
	border-color:#fbdf33;
}

.button.img p {
	font-weight: 300;
	text-align:center;
	position:absolute;
	top:50%;
	left:50%;
	max-width:80%;
	max-height:80%;
	transform:translate(-50%,-50%);
	text-transform:uppercase;
	color:#fff;
	font-size:1em;
	transition:all ease .5s;
}

#list_prodotti .button.img p {
	font-weight:700;
	font-size:2em;
	left:5%;
	bottom:5%;
	top:auto;
	margin:0;
	-webkit-text-fill-color:transparent;
	-webkit-text-stroke-width:2px;
	-webkit-text-stroke-color:#fbdf33;
}

.button.img.half {
	width:calc(25% - 0.7em);
}

.button.img.half p {
	position:relative;
	top:auto;
	bottom:0;
	left:10%;
	max-width:80%;
	transform:none;
	color:inherit;
	text-transform:none;
}

#sidebar {
	position:fixed;
	bottom:0;
	right:-450px;
	width:450px;
	height:100%;
	overflow:hidden;
	transition:all .5s ease;
	border-radius:0;
	background-color:#fff;
	color:#333;
	border-left: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
	#sidebar {
		width:100%;
		right:-100%;
		border-radius:0;
		height:50%;
	}
}

body.configuring #sidebar {
	right:0;
}

/* Updated to work with flexible canvas sizing */
body.configuring .container #webgl {
	
}

/* Keep original behavior for non-container webgl */
body.configuring #webgl:not(.container #webgl) {
	width:calc(100% - 450px);
}

@media (max-width: 768px) {
	body.configuring .container #webgl {
		margin-right: 0;
		max-width: 100%;
		height:50%;
	}

	body.configuring #webgl {
		height:50%;
		width:100%;
	}

}

#menu {
	position:absolute!important;
	top:16px;
	left:85px;
	line-height:1em;
	z-index:100;
	text-align:right;
	font-weight:700;
}

#menu .fa {
	font-size:1.4em;
}

#menu .button {
	color:white;
}
#menu .button.selected {
	color:#333;
}

.accordion {
	cursor:pointer;
	background-color:rgba(127,127,127,0.15);
	border-radius:0;
	transition:all .3s ease;
	margin-bottom:15px;
	overflow:hidden;
}

.accordion_header {
	padding:.5em 1em;
	border:solid 2px transparent;
}

.accordion:hover > .accordion_header {
	border-color:#fbdf33;
}

.accordion.open > .accordion_header {
	background-color:rgba(250,224,51,0.5);
}

.accordion > .accordion_header:before {
	content:'\27A4';
	display:inline-block;
	margin-right:.5em;
	vertical-align:middle;
	transition:all .3s ease;
	transform:rotate(0deg);
}

.accordion.open > .accordion_header:before {
	transform:rotate(90deg);
}

.accordion > .accordion_content {
	max-height:0;
	overflow:hidden;
	transition:all .5s ease;
	padding:0 1em;
	width:100%;
}

.accordion.open > .accordion_content {
	max-height:3000px;
	padding:1em 1em .5em;
}

#tab_container {
	width:calc(400% + 56px);
	height:calc(100% - 119px);
	overflow:hidden;
	transition:all ease .5s;
}

@media (max-width: 768px) {
	#tab_container {
		height:calc(100% - 80px);
	}
}

.tab {
	display:block;
	float:left;
	width:25%;
	padding:15px 15px 0;
	overflow-y:scroll;
	height:100%;
}

.list_modelli,.list_piastre,.list_preset {
	margin-bottom:15px;
}

#scene_prodotti b {
	text-transform:capitalize;
}

#scene_prodotti .button[material] {
	font-size:12px;
	margin-right:.5em;
	width:calc(50% - 0.7em);
}

#scene_prodotti .color_thumb {
	display:block;
	height:25px;
	margin:-5px -10px 5px;
	background-position:center center;
	background-size:cover;
}

#scene_prodotti .filo_slider {
	width:100%;
	height:6px;
	display:block;
	border-radius:0;
	background-color:transparent;
	border:solid 2px #aaa;
}

#scene_prodotti .filo_slider_handle {
	display:block;
	height:18px;
	width:12px;
	margin:-8px 0;
	cursor:pointer;
	border:solid 2px #333;
	background-color:#333;
	transition:none;
}

#scene_prodotti .filo_slider_handle:hover {
	border-color:#fbdf33;
}

#path {
	text-align:center;
	padding:15px 15px 0;
	overflow:hidden;
	background-color:rgba(127,127,127,0.15);
}

#path > span {
	width:24%;
	padding:50px 5px 5px;
	font-size:12px;
	min-height:30px;
	background-size:30% auto;
	background-position:50% 25%;
	background-repeat:no-repeat;
}

#path .button:not(.disabled) {
	animation-name:blink;
	animation-duration:.3s;
	animation-iteration-count:4;
}

@media (max-width: 768px) {
	#path > span {
		width:24%;
		padding-top:inherit;
		min-height:50px;
		background-size:40px;
		background-position:50% 50%;
	}
	
	#path > span span {
		display:none;
	}
}

#path [tab="tab_ambiente"] {
	background-image:url(images/ico_ambiente.png);
}

#path [tab="tab_prodotto"] {
	background-image:url(images/ico_prodotto.png);
}

#path [tab="tab_scena"] {
	background-image:url(images/ico_scena.png);
}

#path [tab="tab_share"] {
	background-image:url(images/ico_share.png);
}

#footer_links {
	opacity:.5;
	transition:all .5s ease 0;
	font-size:12px;
	position:fixed;
	left:14px;
	bottom:14px;
}

@media (max-width: 768px) {
	#footer_links {
		display:none;
	}
}

#footer_links:hover {
	opacity:1;
}

@keyframes blink {
	0% {
		background-color:inherit;
	}
	
	25% {
		background-color:#fbdf33;
	}
	
	50% {
		background-color:#fbdf33;
	}
	
	100% {
		background-color:inherit;
	}
}


/* AR Container Styles */
#ar-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
}

#ar-container video {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#ar-container canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* AR UI Elements */
#ar-container button {
	font-family: inherit;
	transition: all 0.3s ease;
}

#ar-container button:hover {
	transform: scale(1.05);
}

#ar-container button:active {
	transform: scale(0.95);
}

/* AR Share Button Enhancement */
#ar_share_button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #fbdf33;
	color: #333;
	border: none;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

#ar_share_button:hover {
	background: #f0c72b;
	transform: translateY(-2px);
}

#ar_share_button:active {
	transform: translateY(0);
}

/* AR Loading State */
.ar-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 20px 40px;
	border-radius: 10px;
	font-size: 18px;
	z-index: 10001;
	display: flex;
	align-items: center;
	gap: 15px;
}

.ar-loading::before {
	content: '';
	width: 30px;
	height: 30px;
	border: 3px solid transparent;
	border-top-color: white;
	border-radius: 50%;
	animation: ar-spin 1s linear infinite;
}

@keyframes ar-spin {
	to { transform: rotate(360deg); }
}

/* AR Error Message */
.ar-error {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(255, 0, 0, 0.9);
	color: white;
	padding: 20px 30px;
	border-radius: 10px;
	max-width: 80%;
	text-align: center;
	z-index: 10001;
}

/* AR Instructions */
.ar-instructions {
	position: absolute;
	top: 80px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 15px 25px;
	border-radius: 25px;
	font-size: 14px;
	text-align: center;
	z-index: 10000;
	animation: ar-fade-in 0.5s ease;
}

@keyframes ar-fade-in {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

/* AR Reticle Animation */
.ar-reticle-pulse {
	animation: ar-pulse 1.5s infinite;
}

@keyframes ar-pulse {
	0%, 100% {
		opacity: 0.75;
		transform: scale(1);
	}
	50% {
		opacity: 1;
		transform: scale(1.1);
	}
}

/* Mobile AR Optimizations */
@media (max-width: 768px) {
	.ar-instructions {
		font-size: 12px;
		padding: 10px 20px;
	}
}

/* AR Supported Indicator */
.ar-supported::after {
	content: '✓';
	display: inline-block;
	margin-left: 5px;
	color: #4CAF50;
	font-weight: bold;
}

.ar-not-supported {
	opacity: 0.5;
	cursor: not-allowed;
}

.ar-not-supported::after {
	content: '✗';
	display: inline-block;
	margin-left: 5px;
	color: #f44336;
	font-weight: bold;
}

/* Header Styles */
#main-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	z-index: 1000;
	transition: all 0.3s ease;
}

.header-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	height: 70px;
}

.header-left {
	flex: 0 0 auto;
}

.header-logo img {
	height: 40px;
	width: auto;
}

.header-center {
	flex: 1;
	display: flex;
	justify-content: center;
}

.nav-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 40px;
}

.nav-item {
	margin: 0;
}

.nav-link {
	text-decoration: none;
	color: #333;
	font-weight: 500;
	font-size: 16px;
	transition: color 0.3s ease;
	position: relative;
}

.nav-link:hover {
	color: #fbdf33;
}

.nav-link:after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: #fbdf33;
	transition: width 0.3s ease;
}

.nav-link:hover:after {
	width: 100%;
}

.header-right {
	flex: 0 0 auto;
	display: flex;
	gap: 20px;
	align-items: center;
}

.wishlist-link, .cart-link {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.wishlist-link svg, .cart-link svg {
	width: 24px;
	height: 24px;
	stroke-width: 1.5;
}

.wishlist-link:hover, .cart-link:hover {
	color: #fbdf33;
}

/* Hero Section */
.hero {
	height: 100vh;
	background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('images/rooms/living_2048.jpg') center/cover;
	opacity: 0.3;
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 600px;
	padding: 0 20px;
}

.hero-title {
	font-size: 3.5rem;
	color: white;
	margin-bottom: 20px;
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	line-height: 1.2;
}

.hero-subtitle {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 30px;
	line-height: 1.6;
}

.hero-btn {
	display: inline-block;
	background: #fbdf33;
	color: #333;
	padding: 15px 30px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.hero-btn:hover {
	background: #f1d530;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(251, 223, 51, 0.3);
}

/* Sections */
.section {
	padding: 80px 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.section-title {
	font-size: 2.5rem;
	text-align: center;
	margin-bottom: 50px;
	color: #333;
	font-family: 'Playfair Display', serif;
	font-weight: 700;
}

/* Collections */
.collections {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.collection-card {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.3s ease;
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.collection-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.collection-img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.collection-card:hover .collection-img {
	transform: scale(1.05);
}

.collection-name {
	padding: 20px;
	font-size: 1.3rem;
	font-weight: 600;
	color: #333;
	text-align: center;
}

.collection-link {
	position: absolute;
	bottom: 20px;
	right: 20px;
	color: #fbdf33;
	font-weight: 600;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.collection-card:hover .collection-link {
	opacity: 1;
}

/* Configurator Highlight */
.configurator-highlight {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
	margin-top: 50px;
}

.configurator-img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 8px;
}

.configurator-title {
	font-size: 2rem;
	color: #333;
	margin-bottom: 20px;
	font-family: 'Playfair Display', serif;
	font-weight: 700;
}

.configurator-desc {
	font-size: 1.1rem;
	color: #666;
	line-height: 1.6;
	margin-bottom: 30px;
}

.configurator-btn {
	display: inline-block;
	background: #fbdf33;
	color: #333;
	padding: 12px 25px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.configurator-btn:hover {
	background: #f1d530;
	transform: translateY(-2px);
}

/* Testimonials */
.testimonials {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 60px 40px;
}

.testimonial {
	text-align: center;
	margin-bottom: 40px;
}

.testimonial:last-child {
	margin-bottom: 0;
}

.testimonial-quote {
	font-size: 1.2rem;
	font-style: italic;
	color: #555;
	margin-bottom: 15px;
	line-height: 1.6;
}

.testimonial-author {
	color: #999;
	font-weight: 600;
}

/* Footer */
#main-footer {
	background: #2c2c2c;
	color: white;
	padding: 40px 20px 20px;
	margin-top: 80px;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 20px;
}

.footer-bottom-left img {
	height: 30px;
	width: auto;
	filter: brightness(0) invert(1);
}

.footer-bottom-right {
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
}

/* Page-specific Styles for About and Contact */

/* Active Navigation Link */
.nav-link.active {
	color: #fbdf33;
}

.nav-link.active:after {
	width: 100%;
}

/* Page Hero Section */
.page-hero {
	height: 60vh;
	background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	overflow: hidden;
	margin-top: 70px;
}

.page-hero:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('images/rooms/bedroom_2048.jpg') center/cover;
	opacity: 0.2;
	z-index: 1;
}

.page-hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	padding: 0 20px;
}

.page-title {
	font-size: 3rem;
	color: white;
	margin-bottom: 20px;
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	line-height: 1.2;
}

.page-subtitle {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
	margin: 0;
}

/* About Page Styles */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	margin-bottom: 80px;
}

.about-text p {
	font-size: 1.1rem;
	line-height: 1.7;
	color: #555;
	margin-bottom: 20px;
}

.about-image, .values-image {
	position: relative;
}

.rounded-image {
	width: 100%;
	height: 400px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-section {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 80px 40px;
	margin-bottom: 80px;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-top: 50px;
}

.feature-card {
	text-align: center;
	padding: 30px 20px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, #fbdf33, #f1d530);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 2rem;
	color: #333;
}

.feature-card h3 {
	font-size: 1.4rem;
	color: #333;
	margin-bottom: 15px;
	font-family: 'Playfair Display', serif;
	font-weight: 600;
}

.feature-card p {
	color: #666;
	line-height: 1.6;
	margin: 0;
}

/* Values Section */
.values-section {
	margin-bottom: 80px;
}

.values-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.values-list {
	margin-top: 30px;
}

.value-item {
	margin-bottom: 30px;
	padding-bottom: 25px;
	border-bottom: 1px solid #eee;
}

.value-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.value-item h4 {
	font-size: 1.3rem;
	color: #333;
	margin-bottom: 10px;
	font-family: 'Playfair Display', serif;
	font-weight: 600;
}

.value-item p {
	color: #666;
	line-height: 1.6;
	margin: 0;
}

/* Contact Page Styles */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	margin-bottom: 80px;
}

.contact-intro {
	font-size: 1.1rem;
	color: #666;
	line-height: 1.6;
	margin-bottom: 40px;
}

.contact-methods {
	margin-top: 40px;
}

.contact-method {
	display: flex;
	align-items: flex-start;
	margin-bottom: 30px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

.contact-icon {
	width: 50px;
	height: 50px;
	background: #fbdf33;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20px;
	flex-shrink: 0;
}

.contact-icon i {
	font-size: 1.2rem;
	color: #333;
}

.contact-details h4 {
	font-size: 1.2rem;
	color: #333;
	margin-bottom: 8px;
	font-family: 'Playfair Display', serif;
	font-weight: 600;
}

.contact-details p {
	color: #333;
	margin-bottom: 5px;
	font-weight: 500;
}

.contact-hours {
	color: #888;
	font-size: 0.9rem;
	font-style: italic;
}

/* Contact Form */
.contact-form-container {
	background: white;
	padding: 40px;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
	font-size: 1.8rem;
	color: #333;
	margin-bottom: 30px;
	font-family: 'Playfair Display', serif;
	font-weight: 600;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	color: #333;
	font-weight: 500;
	font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e1e1e1;
	border-radius: 6px;
	font-size: 1rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	background: white;
	color: #333;
	margin-bottom: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: #fbdf33;
	box-shadow: 0 0 0 3px rgba(251, 223, 51, 0.1);
	outline: none;
	color: #333;
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 30px;
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	cursor: pointer;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #666;
}

.checkbox-label input[type="checkbox"] {
	margin-right: 12px;
	margin-top: 2px;
	width: auto;
	transform: scale(1.2);
}

.submit-btn {
	background: #fbdf33;
	color: #333;
	padding: 15px 40px;
	border: none;
	border-radius: 6px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
	width: 100%;
	margin-bottom: 0;
}

.submit-btn:hover {
	background: #f1d530;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(251, 223, 51, 0.3);
}

/* FAQ Section */
.faq-section {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 80px 40px;
}

.faq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.faq-item {
	background: white;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-item h4 {
	font-size: 1.2rem;
	color: #333;
	margin-bottom: 15px;
	font-family: 'Playfair Display', serif;
	font-weight: 600;
}

.faq-item p {
	color: #666;
	line-height: 1.6;
	margin: 0;
}

/* Mobile Menu Styles - Fixed Implementation */
.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	padding: 5px;
	z-index: 1001;
	position: relative;
}

.mobile-menu-toggle span {
	width: 25px;
	height: 3px;
	background: #333;
	margin: 3px 0;
	transition: all 0.3s ease;
	border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
	display: none;
	position: fixed;
	top: 70px;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	padding: 20px 0;
	transform: translateY(-100%);
	transition: transform 0.3s ease;
	visibility: hidden;
	opacity: 0;
}

.mobile-nav.active {
	transform: translateY(0);
	visibility: visible;
	opacity: 1;
}

.mobile-nav-menu {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
	text-align: center;
}

.mobile-nav-menu .nav-item {
	margin: 0;
}

.mobile-nav-menu .nav-link {
	font-size: 18px;
	padding: 18px 20px;
	display: block;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	text-decoration: none;
	color: #333;
	font-weight: 500;
	transition: all 0.3s ease;
}

.mobile-nav-menu .nav-link:hover {
	background: rgba(251, 223, 51, 0.1);
	color: #fbdf33;
}

.mobile-nav-menu .nav-link.active {
	background: rgba(251, 223, 51, 0.2);
	color: #fbdf33;
	font-weight: 600;
}

.mobile-nav-menu .nav-link:last-child {
	border-bottom: none;
}

@media (max-width: 768px) {
	.mobile-menu-toggle {
		display: flex;
	}

	.mobile-nav {
		display: block;
	}

	.nav-menu {
		display: none !important;
	}

	/* Ensure header has proper stacking */
	#main-header {
		z-index: 1002;
	}
}

@media (max-width: 480px) {
	.mobile-nav {
		top: 55px;
	}

	.mobile-nav-menu .nav-link {
		font-size: 17px;
		padding: 16px 20px;
	}
}

/* Touch improvements for mobile */
@media (max-width: 768px) {
	/* Restore touch behaviors for mobile */
	* {
		-webkit-touch-callout: default;
		-webkit-user-select: text;
		-khtml-user-select: text;
		-moz-user-select: text;
		-ms-user-select: text;
		user-select: text;
	}

	/* But keep non-selectable for UI elements */
	.header-container,
	.mobile-menu-toggle,
	.nav-menu,
	.collection-card,
	button,
	.button {
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		-khtml-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}

	/* Improve touch targets */
	.collection-card,
	.hero-btn,
	.configurator-btn,
	.nav-link {
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.collection-card {
		flex-direction: column;
	}

	/* Better button spacing on mobile */
	.hero-btn,
	.configurator-btn {
		margin: 10px auto;
	}
}

/* Additional Mobile Responsive Enhancements */

/* Improved form focus states and floating labels */
.form-group.focused label {
	transform: translateY(-12px) scale(0.8);
	color: #fbdf33;
}

.form-group label {
	transition: all 0.3s ease;
	transform-origin: left top;
}

/* Better mobile keyboard handling */
@media (max-width: 768px) {
	/* Prevent zoom on input focus in iOS */
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	select,
	textarea {
		font-size: 16px !important;
	}

	/* Improve mobile form experience */
	.contact-form-container {
		padding: 20px 15px;
		border-radius: 8px;
	}

	.form-group input,
	.form-group select,
	.form-group textarea {
		padding: 15px 12px;
		font-size: 16px;
	}

	/* Better checkbox styling on mobile */
	.checkbox-label input[type="checkbox"] {
		width: 18px;
		height: 18px;
		margin-right: 10px;
		margin-top: 1px;
	}

	/* Improve mobile navigation spacing */
	.mobile-nav-menu .nav-link {
		padding: 18px 20px;
		font-size: 17px;
	}

	/* Better hero text scaling */
	.logo-text {
		font-size: 1.6rem !important;
		margin-bottom: 8px !important;
	}
}

/* Enhanced touch feedback */
@media (hover: none) and (pointer: coarse) {
	/* Mobile-specific hover replacements */
	.collection-card:active {
		transform: scale(0.98);
		transition: transform 0.1s ease;
	}

	.hero-btn:active,
	.configurator-btn:active,
	.submit-btn:active {
		transform: scale(0.98);
	}

	.feature-card:active {
		transform: translateY(-2px) scale(0.98);
	}
}

/* Improved mobile sidebar for configurator */
@media (max-width: 480px) {
	#sidebar {
		height: 60%;
		border-radius: 12px 12px 0 0;
	}

	body.configuring #webgl {
		height: 40%;
	}

	.tab {
		padding: 10px 8px 0;
	}

	#path > span {
		font-size: 10px;
		padding: 30px 3px 3px;
		min-height: 40px;
	}
}

/* Better landscape mobile handling */
@media (max-height: 500px) and (orientation: landscape) {
	.hero {
		height: 100vh;
		min-height: 400px;
	}

	.hero-title {
		font-size: 2rem !important;
		margin-bottom: 10px;
	}

	.hero-subtitle {
		font-size: 0.9rem !important;
		margin-bottom: 20px;
	}

	.page-hero {
		height: 70vh;
		min-height: 300px;
	}

	.page-title {
		font-size: 2rem !important;
	}
}

/* Loading states for better UX */
.loading {
	opacity: 0.7;
	pointer-events: none;
	position: relative;
}

.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid #fbdf33;
	border-radius: 50%;
	border-top-color: transparent;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	html {
		scroll-behavior: auto;
	}
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.hero-btn,
	.configurator-btn,
	.submit-btn {
		border: 2px solid currentColor;
	}

	.nav-link:after {
		height: 3px;
	}

	.collection-card {
		border: 1px solid #333;
	}
}

/* Dark mode considerations */
@media (prefers-color-scheme: dark) {
	/* Note: This would need to be fully implemented with dark color variables */
	.mobile-nav {
		background: rgba(30, 30, 30, 0.98);
		color: white;
	}
}

/* Print styles */
@media print {
	.mobile-menu-toggle,
	.mobile-nav,
	#main-header,
	#main-footer,
	.hero-btn,
	.configurator-btn {
		display: none !important;
	}

	.hero {
		height: auto;
		background: none;
		color: black;
		padding: 20px 0;
	}

	.page-hero {
		height: auto;
		background: none;
		color: black;
		padding: 20px 0;
		margin-top: 0;
	}

	.section {
		padding: 20px 0;
		page-break-inside: avoid;
	}
}
