/*
 * SNNOLA - Implementación de Guía de Estilo de Marca
 * 
 * TIPOGRAFÍAS SEGÚN BRAND GUIDE:
 * - Headings/Quotes: Cambon (ExtraLight, Light, Light Italic)
 * - Body/Paragraphs: Futura LT (Regular, Book)
 * - Subheadings/Links: Futura LT (Regular) - en MAYÚSCULAS con letter-spacing
 */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	/* Colores principales de marca */
	--black: #000000; /* Para textos, links, botones y logotipos */
	--ivory: #FCEBD9; /* Fondos RRSS y papel impresión */
	--ice-white: #F5F5F2; /* Fondos logos, posts RRSS y secciones web */
	--pale-grey: #D1D4D4; /* Textos, links, botones, fondos RRSS y papel */
	--terracotta: #B05E5C; /* Solo highlights/acentos */
	--slate: #384247; /* Solo acentos en textos */
	
	/* Asignación por uso */
	--primary-color: #000000; /* Black - textos principales */
	--secondary-bg: #F5F5F2; /* Ice White - fondos web */
	--accent-color: #B05E5C; /* Terracotta - highlights */
	--text-color: #000000; /* Black - textos generales */
	--text-accent: #384247; /* Slate - acentos en textos */
	
	/* Paleta extendida */
	--warm-grey: #CFC2BD;
	--primrose-pink: #EDE3E3;
	--raw-cotton: #F2EBE3;
	--ebony: #2E2E30;
	--stone: #DBC7B8;
	--peony-pink: #FCF0EB;
	--soft-peach: #EDCCB5;
	--china-white: #E8DBCC;
	--blush: #D9ABA6;
	--concrete: #C2BFB5;
}

body {
	font-family: 'Futura LT', 'Futura', 'Trebuchet MS', Arial, sans-serif;
	color: var(--primary-color);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Header & Navegación */
header {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.98);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	z-index: 1000;
	padding: 1.5rem 0;
	transition: all 0.3s ease;
	border-bottom: 1px solid var(--pale-grey);
}

header.scrolled {
	padding: 1rem 0;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 3rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.8rem;
	font-weight: 400;
	letter-spacing: 3px;
	color: var(--primary-color);
	text-decoration: none;
	transition: opacity 0.3s ease;
	font-family: 'Futura LT', 'Futura', sans-serif;
}

.logo:hover {
	opacity: 0.7;
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 3rem;
}

.nav-links a {
	text-decoration: none;
	color: var(--primary-color);
	font-size: 0.85rem;
	font-weight: 400;
	letter-spacing: 2px;
	transition: color 0.3s ease;
	position: relative;
	text-transform: uppercase;
	font-family: 'Futura LT', 'Futura', sans-serif;
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--terracotta);
	transition: width 0.3s ease;
}

.nav-links a:hover {
	color: var(--terracotta);
}

.nav-links a:hover::after {
	width: 100%;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 5px;
}

.menu-toggle span {
	width: 25px;
	height: 2px;
	background: var(--primary-color);
	transition: all 0.3s ease;
}

/* Sección Hero */
.hero {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	background: var(--ice-white);
}

.hero-content {
	text-align: center;
	z-index: 2;
	padding: 2rem;
}

.hero-logo {
	max-width: 200px;
	width: 100%;
	height: auto;
	margin-bottom: 0.5rem;
	-webkit-animation: fadeInUp 1s ease;
	animation: fadeInUp 1s ease;
}

.hero p {
	font-size: 1.2rem;
	color: var(--primary-color);
	letter-spacing: 3px;
	font-weight: 300;
	-webkit-animation: fadeInUp 1s ease 0.2s;
	animation: fadeInUp 1s ease 0.2s;
	-webkit-animation-fill-mode: backwards;
	animation-fill-mode: backwards;
	white-space: nowrap;
}

/* Secciones */
section {
	padding: 8rem 3rem;
	max-width: 1400px;
	margin: 0 auto;
}

.section-title {
	font-size: 2.5rem;
	font-weight: 400;
	letter-spacing: 4px;
	color: var(--primary-color);
	margin-bottom: 3rem;
	text-align: center;
	font-family: 'Futura LT', 'Futura', sans-serif;
}

/* Grid de Proyectos */
.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 1rem;
	margin-top: 4rem;
	padding: 0 4rem;
}

.project-card {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4/5;
	cursor: pointer;
	background: var(--pale-grey);
}

.project-card img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.project-card:hover img {
	transform: scale(1.05);
}

.project-info {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
	padding: 2rem;
	transform: translateY(100%);
	transition: transform 0.4s ease;
}

.project-card:hover .project-info {
	transform: translateY(0);
}

.project-info h3 {
	color: var(--ivory);
	font-size: 1rem;
	font-weight: 300;
	letter-spacing: 2px;
	margin-bottom: 0.5rem;
	font-family: 'Cambon', 'Cormorant Garamond', serif;
}

.project-info p {
	color: rgba(252, 235, 217, 0.8);
	font-size: 0.9rem;
	letter-spacing: 1px;
}

/* Modal de Proyectos & Carrusel */
.project-modal {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(245, 245, 242, 0.98);
	animation: fadeIn 0.3s ease;
}

.project-modal-content {
	position: relative;
	margin: 2% auto;
	width: 90%;
	max-width: 1200px;
	background: transparent;
}

.project-modal-close {
	position: absolute;
	top: -40px;
	right: 0;
	color: var(--primary-color);
	font-size: 3rem;
	font-weight: 300;
	cursor: pointer;
	transition: color 0.3s ease;
	z-index: 10;
}

.project-modal-close:hover {
	color: var(--accent-color);
}

.project-modal-header {
	text-align: center;
	margin-bottom: 2rem;
}

.project-modal-header h2 {
	font-size: 2rem;
	color: var(--primary-color);
	font-family: 'Cambon', 'Cormorant Garamond', serif;
	font-weight: 400;
	letter-spacing: 3px;
	margin-bottom: 0.5rem;
}

.project-modal-header p {
	color: var(--slate);
	font-size: 0.8rem;
	letter-spacing: 2px;
	font-weight: 300;
}

/* Sección Próximamente */
.coming-soon-section {
	text-align: center;
	padding: 6rem 2rem;
	min-height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.coming-soon-section p {
	font-size: 1.5rem;
	color: var(--slate);
	letter-spacing: 3px;
	font-weight: 300;
	font-family: 'Cambon', 'Cormorant Garamond', serif;
}

/* Badge de Próximamente */
.coming-soon-badge {
    display: inline-block;
    background: var(--terracotta);
    color: var(--ivory);
    font-size: 0.6rem;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-left: 1rem;
    vertical-align: middle;
    font-family: 'Futura LT', 'Futura', sans-serif;
}

.coming-soon-badge-small {
    display: inline-block;
    background: var(--terracotta);
    color: var(--ivory);
    font-size: 0.55rem;
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-left: 0.5rem;
    vertical-align: middle;
    font-family: 'Futura LT', 'Futura', sans-serif;
}

/* Carrusel */
.carousel-container {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.carousel-images {
	position: relative;
	width: 100%;
	height: 70vh;
	overflow: hidden;
}

.carousel-image {
	display: none;
	width: 100%;
	height: 100%;
	object-fit: contain;
	animation: fadeIn 0.5s ease;
}

.carousel-image.active {
	display: block;
}

/* Botones del Carrusel */
.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.7);
	color: var(--ivory);
	border: none;
	font-size: 2rem;
	padding: 1rem 1.5rem;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
	backdrop-filter: blur(5px);
}

.carousel-btn:hover {
	background-color: var(--terracotta);
}

.carousel-btn.prev {
	left: 20px;
}

.carousel-btn.next {
	right: 20px;
}

/* Indicadores del Carrusel */
.carousel-indicators {
	text-align: center;
	margin-top: 1.5rem;
}

.indicator {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin: 0 6px;
	background-color: var(--pale-grey);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
}

.indicator.active {
	background-color: var(--terracotta);
	transform: scale(1.2);
}

.indicator:hover {
	background-color: var(--slate);
}

/* Sección Estudio */
.studio-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	margin-top: 3rem;
}

.studio-text h2 {
	font-size: 2rem;
	font-weight: 300;
	letter-spacing: 3px;
	color: var(--primary-color);
	margin-bottom: 1.5rem;
}

.studio-text p {
	margin-bottom: 1.5rem;
	line-height: 1.8;
	color: var(--primary-color);
}

.studio-image {
	width: 100%;
	height: 100%;
	background: var(--pale-grey);
	overflow: hidden;
}

.studio-image img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}

/* Galería del Estudio */
.studio-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 5rem;
	margin-bottom: 0;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	aspect-ratio: 9/16;
	background: var(--ivory);
	border: 1px solid var(--pale-grey);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.gallery-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover img {
	transform: scale(1.05);
}

/* Grid de Valores */
.values-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
	margin-top: 4rem;
}

.value-item {
	text-align: center;
	padding: 2rem;
}

.value-item i {
	font-size: 3rem;
	color: var(--primary-color);
	margin-bottom: 1.5rem;
}

.value-item h3 {
	font-size: 1.3rem;
	font-weight: 400;
	letter-spacing: 2px;
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.value-item p {
	color: var(--primary-color);
	line-height: 1.6;
}

/* Sección Contacto con Formulario */
.contact-section {
	background: var(--ice-white);
}

.contact-container {
	max-width: 600px;
	margin: 0 auto;
}

/* Formulario de Contacto */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 3rem;
}

.form-group {
	position: relative;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 1rem 1.5rem;
	border: 1px solid var(--pale-grey);
	background: white;
	font-family: 'Futura LT', 'Futura', sans-serif;
	font-size: 1rem;
	color: var(--primary-color);
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	border-radius: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--terracotta);
	box-shadow: 0 0 0 2px rgba(176, 94, 92, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: var(--slate);
	opacity: 0.6;
}

.form-group textarea {
	resize: vertical;
	min-height: 150px;
}

.submit-btn {
	background: var(--primary-color);
	color: var(--ivory);
	border: none;
	padding: 1rem 3rem;
	font-family: 'Futura LT', 'Futura', sans-serif;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.3s ease;
	align-self: center;
}

.submit-btn:hover {
	background: var(--pale-grey);
	color: var(--primary-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.submit-btn:active {
	transform: translateY(0);
}

/* Redes Sociales */
.social-links {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-top: 2rem;
}

.social-link {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--primary-color);
	border-radius: 50%;
	color: var(--primary-color);
	font-size: 1.5rem;
	transition: all 0.3s ease;
	text-decoration: none;
}

.social-link:hover {
	background: var(--pale-grey);
	border-color: var(--primary-color);
	color: var(--primary-color);
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(176, 94, 92, 0.3);
}

/* Footer */
footer {
	background: var(--primary-color);
	color: var(--ivory);
	padding: 3rem;
}

.footer-content {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 3rem;
}

.footer-section h4 {
	font-size: 1.2rem;
	font-weight: 400;
	letter-spacing: 2px;
	margin-bottom: 1.5rem;
}

.footer-section a {
	display: block;
	color: rgba(252, 235, 217, 0.7);
	text-decoration: none;
	margin-bottom: 0.8rem;
	transition: color 0.3s ease;
}

.footer-section a:hover {
	color: var(--terracotta);
}

.footer-bottom {
	text-align: center;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(252, 235, 217, 0.1);
	color: rgba(252, 235, 217, 0.5);
	font-size: 0.9rem;
}

/* Overlay de Próximamente */
.project-card[data-project="la-moraleja"],
.project-card[data-project="plaza-oriente"] {
    position: relative;
}

.project-card[data-project="la-moraleja"]::before,
.project-card[data-project="plaza-oriente"]::before {
    content: 'COMING SOON';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(200, 200, 200, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 2rem;
    font-weight: 300;
    color: var(--primary-color);
    letter-spacing: 4px;
    z-index: 2;
    transition: all 0.4s ease;
    font-family: 'Cambon', 'Cormorant Garamond', serif;
    text-align: center;
    white-space: pre-line;
}

/* Hover - COMING SOON desaparece para mostrar la info */
.project-card[data-project="la-moraleja"]:hover::before,
.project-card[data-project="plaza-oriente"]:hover::before {
    opacity: 0;
    pointer-events: none;
}

/* Asegurar que la info se muestre correctamente */
.project-card[data-project="la-moraleja"] .project-info,
.project-card[data-project="plaza-oriente"] .project-info {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card[data-project="la-moraleja"]:hover .project-info,
.project-card[data-project="plaza-oriente"]:hover .project-info {
    opacity: 1;
}

/* Créditos del Footer */
.footer-credits {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: rgba(252, 235, 217, 0.5);
}

.credit-link {
    color: rgba(252, 235, 217, 0.6);
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 400;
}

.credit-link:hover {
    color: var(--terracotta);
}

/* Animaciones */
@-webkit-keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Responsive */
@media (max-width: 968px) {
	.nav-links {
		position: fixed;
		left: -100%;
		top: 80px;
		flex-direction: column;
		background-color: var(--ivory);
		width: 100%;
		text-align: center;
		transition: 0.3s;
		box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
		padding: 2rem 0;
	}

	.nav-links.active {
		left: 0;
	}

	.menu-toggle {
		display: flex;
	}

	.hero-logo {
		max-width: 200px;
	}

	.projects-grid {
		grid-template-columns: 1fr;
		padding: 0 1rem;
		gap: 1rem;
	}

	.studio-content {
		grid-template-columns: 1fr;
	}

	.values-grid {
		grid-template-columns: 1fr;
	}

	section {
		padding: 4rem 2rem;
	}

	nav {
		padding: 0 2rem;
	}

	.project-modal-content {
		margin: 80px auto 20px;
		padding-top: 0;
	}

	.project-modal-close {
		top: 15px;
		right: 15px;
		font-size: 2.5rem;
		width: 45px;
		height: 45px;
	}

	.carousel-images {
		height: 55vh;
	}

	.carousel-btn {
		font-size: 1.5rem;
		padding: 0.8rem 1.2rem;
	}

	.carousel-btn.prev {
		left: 10px;
	}

	.carousel-btn.next {
		right: 10px;
	}

	.project-modal-header h2 {
		font-size: 1.7rem;
	}

	.project-modal-header p {
		font-size: 0.95rem;
	}

	.coming-soon-badge {
        font-size: 0.55rem;
        padding: 0.25rem 0.6rem;
        margin-left: 0.7rem;
    }
    
    .coming-soon-badge-small {
        font-size: 0.5rem;
        padding: 0.2rem 0.5rem;
    }

	.studio-gallery {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		margin-top: 3rem;
	}
	
	.gallery-item {
		max-width: 500px;
		margin: 0 auto;
	}

	.contact-container {
		padding: 0 1rem;
	}
	
	.social-links {
		gap: 1.5rem;
	}
	
	.social-link {
		width: 45px;
		height: 45px;
		font-size: 1.3rem;
	}

	.project-card[data-project="la-moraleja"]::before,
    .project-card[data-project="plaza-oriente"]::before {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
	.hero-logo {
		max-width: 140px;
	}
	
	.hero p {
		font-size: 1rem;
		letter-spacing: 2px;
		white-space: nowrap;
	}

	.logo {
		font-size: 1.4rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.project-modal-content {
		margin: 70px auto 20px;
		width: 95%;
	}

	.project-modal-close {
		top: 10px;
		right: 10px;
		font-size: 2rem;
		width: 40px;
		height: 40px;
	}

	.carousel-images {
		height: 50vh;
	}

	.carousel-btn {
		font-size: 1.2rem;
		padding: 0.5rem 1rem;
	}

	.project-modal-header h2 {
		font-size: 1.4rem;
	}

	.project-modal-header p {
		font-size: 0.85rem;
	}

	.coming-soon-badge {
        font-size: 0.5rem;
        padding: 0.2rem 0.5rem;
        margin-left: 0.5rem;
    }
    
    .coming-soon-badge-small {
        font-size: 0.45rem;
        padding: 0.15rem 0.4rem;
    }

	.submit-btn {
		width: 100%;
		padding: 1rem 2rem;
	}
	
	.social-links {
		gap: 1rem;
	}
	
	.social-link {
		width: 40px;
		height: 40px;
		font-size: 1.2rem;
	}

	.project-card[data-project="la-moraleja"]::before,
    .project-card[data-project="plaza-oriente"]::before {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
}