/**
 * Main App Styles
 *
 * @package VERTEX
 */

/* Site Branding */
.site-branding {
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
}

.site-title {
	font-size: var(--font-size-h4);
	margin: 0;
}

.site-title a {
	text-decoration: none;
	color: var(--color-primary);
}

.site-description {
	font-size: var(--font-size-small);
	color: var(--color-text-light);
	margin: 0;
}

/* Header Actions */
.header-actions {
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
}

/* Footer (screenshot-style) */
.site-footer {
	padding-bottom: var(--spacing-md);
}

.site-footer .container {
	padding-top: 0;
	padding-bottom: 0;
}

.footer-shell {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	background: radial-gradient(900px 600px at 15% 10%, rgba(255, 255, 255, 0.06), transparent 55%),
		linear-gradient(180deg, #0E1521 0%, #0a0b0f 100%);
	padding: clamp(24px, 4vw, 46px);
	color: #fff;
}

.footer-shell-top {
	display: grid;
	grid-template-columns: 1fr minmax(320px, 520px);
	gap: clamp(18px, 4vw, 64px);
	align-items: start;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: clamp(12px, 2vw, 20px);
}

.footer-logo-img {
	height: auto;
	max-height: clamp(2.2rem, 3.8vw, 3.4rem);
	width: auto;
	display: block;
}

.footer-brand-name {
	font-family: var(--font-primary);
	font-weight: 600;
	letter-spacing: -0.02em;
	font-size: clamp(2.2rem, 3.8vw, 3.4rem);
	line-height: 1.05;
	color: #ffffff;
}

.footer-links-title {
	font-family: var(--font-primary);
	font-weight: 600;
	font-size: 18px;
	margin-bottom: 14px;
	color: rgba(255, 255, 255, 0.92);
}

.footer-quicklinks {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 2;
	column-gap: 48px;
}

.footer-quicklinks li {
	break-inside: avoid;
	margin: 0 0 10px 0;
}

.footer-quicklinks a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	font-size: 15px;
	line-height: 1.6;
	transition: color var(--transition-base);
}

.footer-quicklinks a:hover,
.footer-quicklinks a:focus {
	color: #ffffff;
}

.footer-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.10);
	margin: clamp(22px, 3vw, 34px) 0;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
}

.footer-copyright {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.78);
}

.footer-credit {
	display: flex;
	align-items: center;
	background-color: var(--color-white);
	gap: var(--spacing-xs);
	font-size: var(--text-sm);
	color: var(--color-black);
	text-transform: uppercase;
	padding: var(--spacing-xs);
	text-decoration: none;
	transition: opacity var(--transition-fast);
}

.footer-credit:hover {
	opacity: 0.8;
}

.footer-credit span {
	line-height: 1;
}

.footer-credit .pulse {
	width: 0.4em;
	height: 0.4em;
	border-radius: 50%;
	background-color: var(--color-black);
	animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.4;
	}
}

.footer-credit img {
	height: 1.1em;
	width: auto;
	display: block;
	filter: brightness(0) invert(0);
}

@media (max-width: 900px) {
	.footer-shell-top {
		grid-template-columns: 1fr;
	}

	.footer-quicklinks {
		columns: 1;
	}
}

/* About Section */
.about-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-lg);
	align-items: center;
}

.about-image img {
	width: 100%;
	height: auto;
	border-radius: var(--radius-md);
}

.about-text {
	font-size: var(--font-size-large);
	line-height: var(--line-height-base);
}

/* Accommodations Section */
.accommodations-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--spacing-md);
	margin-top: var(--spacing-lg);
}

/* Amenities Section */
.amenities-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: var(--spacing-md);
	margin-top: var(--spacing-lg);
}

/* Gallery Section */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: var(--spacing-md);
	margin-top: var(--spacing-lg);
}

.gallery-item {
	width: 100%;
	height: auto;
	border-radius: var(--radius-md);
	transition: transform var(--transition-base);
}

.gallery-item:hover {
	transform: scale(1.05);
}

/* Contact Section */
.contact-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-lg);
	margin-top: var(--spacing-lg);
}

.contact-item {
	margin-bottom: var(--spacing-md);
}

.contact-item h3 {
	font-family: var(--font-secondary);
	font-size: var(--font-size-h4);
	margin-bottom: var(--spacing-xs);
	font-weight: 700;
}

.contact-item a {
	color: var(--color-accent);
	text-decoration: none;
}

.contact-item a:hover {
	text-decoration: underline;
}

/* Footer CTA Section */
.footer-cta {
	background-color: var(--color-background-alt);
	text-align: center;
}

.cta-title {
	font-family: var(--font-secondary);
	font-size: var(--font-size-h2);
	margin-bottom: var(--spacing-md);
	font-weight: 700;
}

.cta-content {
	font-size: var(--font-size-large);
	margin-bottom: var(--spacing-lg);
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

/* Services Section */
.services-section-title {
	font-family: var(--font-secondary);
	font-size: 2.5rem;
	line-height: var(--line-height-heading);
	text-align: center;
	margin-bottom: var(--spacing-xl);
	color: var(--color-text);
	font-weight: 700;
}

.services-carousel-wrapper {
	position: relative;
	margin: 0 auto;
	max-width: 1400px;
	padding: 0 100px;
}

.services-carousel {
	position: relative;
	width: 100%;
	overflow: visible;
	height: 500px;
}

.services-carousel-track {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	perspective: 1200px;
}

.services-card {
	position: absolute;
	width: 600px;
	height: 450px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	transform-origin: center center;
	cursor: pointer;
	left: 50%;
	top: 50%;
	margin-left: -300px;
	margin-top: -225px;
}

.services-card[data-index="0"] {
	transform: translateX(calc(-50% - 350px)) translateY(-50%) scale(0.85) rotateY(15deg);
	opacity: 0.5;
	filter: blur(2px);
	z-index: 1;
	pointer-events: none;
}

.services-card[data-index="1"] {
	transform: translateX(-50%) translateY(-50%) scale(1) rotateY(0deg);
	opacity: 1;
	filter: blur(0);
	z-index: 3;
	pointer-events: auto;
}

.services-card[data-index="2"] {
	transform: translateX(calc(-50% + 350px)) translateY(-50%) scale(0.85) rotateY(-15deg);
	opacity: 0.5;
	filter: blur(2px);
	z-index: 1;
	pointer-events: none;
}

.services-card[data-index="-1"],
.services-card[data-index="3"] {
	display: none;
}

.services-card-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.services-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.services-card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
	z-index: 2;
}

.services-card-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: var(--spacing-lg);
	z-index: 3;
	color: white;
}

.services-card-title {
	font-family: var(--font-secondary);
	font-size: 2rem;
	font-weight: 700;
	color: white;
	margin: 0 0 var(--spacing-sm) 0;
	line-height: 1.2;
}

.services-card-description {
	font-family: var(--font-primary);
	font-size: var(--font-size-base);
	color: rgba(255, 255, 255, 0.95);
	margin: 0;
	line-height: 1.6;
}

.services-carousel-btn {
	position: absolute;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: var(--color-primary);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: all var(--transition-base);
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	top: 50%;
}

.services-carousel-btn-prev {
	left: 20px;
}

.services-carousel-btn-next {
	right: 20px;
}

.services-carousel-btn svg {
	width: 24px;
	height: 24px;
}

/* Responsive */
@media (max-width: 768px) {
	.about-content-wrapper,
	.contact-wrapper {
		grid-template-columns: 1fr;
	}

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

	.accommodations-grid,
	.amenities-grid {
		grid-template-columns: 1fr;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: var(--spacing-lg);
	}

	.site-footer {
		padding: 0;
	}

	.site-footer .container {
		padding-top: var(--spacing-lg);
		padding-bottom: var(--spacing-md);
	}

	.footer-content {
		margin-bottom: var(--spacing-lg);
	}

	.services-section-title {
		font-size: 2rem;
		margin-bottom: var(--spacing-lg);
	}

	.services-carousel-wrapper {
		padding: 0 var(--spacing-sm);
		gap: var(--spacing-sm);
	}

	.services-card {
		flex: 0 0 90%;
		height: 350px;
	}

	.services-card[data-index="0"],
	.services-card[data-index="2"] {
		transform: translateX(0) scale(0.9) rotateY(0deg);
		opacity: 0.3;
	}

	.services-carousel-btn {
		width: 48px;
		height: 48px;
	}

	.services-carousel-btn-prev {
		left: -10px;
	}

	.services-carousel-btn-next {
		right: -10px;
	}
}

