/*
Theme Name: Vine n Voyage
Theme URI: https://www.itwebsmith.com
Author: IT WebSmith Inc.
Author URI: https://www.itwebsmith.com/
Description: A luxury travel agency block theme where fine taste meets faraway places. Designed for Vine n Voyage, utilizing custom Gutenberg block layouts and a sophisticated color palette.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vinenvoyage
Tags: full-site-editing, block-themes, translation-ready, custom-colors, travel, luxury

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool.
*/

/* --- Editorial & Luxury Theme Styles --- */

/* Luxury Frame for Group Blocks - elegant top/bottom gold borders instead of a box */
.wp-block-group.is-style-luxury-frame {
	border-top: 1px solid var(--wp--preset--color--gold);
	border-bottom: 1px solid var(--wp--preset--color--gold);
	border-left: none;
	border-right: none;
	padding: var(--wp--preset--spacing--300) 0;
	margin-top: var(--wp--preset--spacing--300);
	margin-bottom: var(--wp--preset--spacing--300);
	background-color: transparent;
	transition: all 0.4s ease;
}

/* Editorial Card Style - floating cards with rounded corners and soft shadows instead of boxes */
.wp-block-column.is-style-editorial-card,
.wp-block-group.is-style-editorial-card {
	border: none;
	border-radius: 12px;
	padding: var(--wp--preset--spacing--250);
	background-color: var(--wp--preset--color--white);
	box-shadow: 0 12px 36px rgba(41, 40, 36, 0.03);
	transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	display: flex;
	flex-direction: column;
	height: 100%;
}
.wp-block-column > .wp-block-group.is-style-editorial-card {
	height: 100%;
}
.wp-block-group.is-style-editorial-card > *:last-child {
	margin-top: auto !important;
}
.wp-block-column.is-style-editorial-card:hover,
.wp-block-group.is-style-editorial-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 48px rgba(41, 40, 36, 0.06);
}

/* Serif elegant quote */
.serif-quote {
	font-family: var(--wp--preset--font-family--serif-heading);
	font-size: var(--wp--preset--font-size--extra-large);
	font-style: italic;
	line-height: 1.5;
	color: var(--wp--preset--color--burgundy);
	text-align: center;
	padding: var(--wp--preset--spacing--200) 0;
	position: relative;
}
.serif-quote::before {
	content: "“";
	font-size: 5rem;
	position: absolute;
	top: -1.5rem;
	left: 50%;
	transform: translateX(-50%);
	color: var(--wp--preset--color--gold);
	opacity: 0.15;
	font-family: var(--wp--preset--font-family--serif-heading);
}

/* Editorial Uppercase Spacing */
.luxury-tagline {
	letter-spacing: 0.25em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--wp--preset--color--gold);
	font-size: var(--wp--preset--font-size--small);
}

/* Subtle transitions for buttons */
.wp-block-button__link {
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease !important;
}
.wp-block-button__link:hover {
	transform: translateY(-1px);
}

/* Responsive and high-quality site logo sizing */
.wp-block-site-logo img {
	height: auto !important;
	max-width: 100%;
	display: block;
}

/* Custom Scrollbar Styles - Gold thumb over Cream track */
html {
	scrollbar-color: var(--wp--preset--color--gold) var(--wp--preset--color--cream);
	scrollbar-width: auto;
}

::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}
::-webkit-scrollbar-track {
	background: var(--wp--preset--color--cream);
}
::-webkit-scrollbar-thumb {
	background-color: var(--wp--preset--color--gold);
	border-radius: 6px;
	border: 3px solid var(--wp--preset--color--cream);
}
::-webkit-scrollbar-thumb:hover {
	background-color: var(--wp--preset--color--burgundy);
}

/* --- Luxury Background Hero Slider --- */

.luxury-slider-hero {
	position: relative !important;
	overflow: hidden !important;
	min-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--wp--preset--color--burgundy) !important;
	margin-top: 0 !important;
	margin-block-start: 0 !important;
}

/* Absolute position for sliding cover blocks */
.luxury-slider-hero .luxury-slide {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0;
	z-index: 1;
	pointer-events: none;
	animation: luxury-slider-fade 24s infinite ease-in-out;
}

/* Image zoom effect inside slides */
.luxury-slider-hero .luxury-slide img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	transform: scale(1.05);
	animation: luxury-slider-zoom 24s infinite ease-in-out;
}

/* Stagger keyframe delays for 4 background slides */
.luxury-slider-hero .luxury-slide:nth-of-type(1),
.luxury-slider-hero .luxury-slide:nth-of-type(1) img {
	animation-delay: 0s;
}
.luxury-slider-hero .luxury-slide:nth-of-type(2),
.luxury-slider-hero .luxury-slide:nth-of-type(2) img {
	animation-delay: 6s;
}
.luxury-slider-hero .luxury-slide:nth-of-type(3),
.luxury-slider-hero .luxury-slide:nth-of-type(3) img {
	animation-delay: 12s;
}
.luxury-slider-hero .luxury-slide:nth-of-type(4),
.luxury-slider-hero .luxury-slide:nth-of-type(4) img {
	animation-delay: 18s;
}

/* Static text content overlaid on top */
.luxury-slider-hero .luxury-slider-content {
	position: relative !important;
	z-index: 5 !important;
	pointer-events: auto;
	width: 100%;
}

/* Background Crossfade Animation Keyframes */
@keyframes luxury-slider-fade {
	0% { opacity: 0; }
	5% { opacity: 1; }   /* Fade in (1.2s) */
	25% { opacity: 1; }  /* Stay fully visible for 4.8s */
	30% { opacity: 0; }  /* Fade out (1.2s) */
	100% { opacity: 0; }
}

/* Background Pan/Zoom Animation Keyframes */
@keyframes luxury-slider-zoom {
	0% { transform: scale(1.03) translate(0, 0); }
	25% { transform: scale(1.08) translate(-1%, -0.5%); } /* Subtle motion pan */
	30% { transform: scale(1.03); }
	100% { transform: scale(1.03); }
}

/* Header Concierge Contact Links */
.header-contact-links {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}
.header-contact-links a {
	text-decoration: none;
	transition: color 0.3s ease, transform 0.2s ease;
	display: flex;
	align-items: center;
}
.header-contact-links a:hover {
	color: var(--wp--preset--color--burgundy) !important;
	transform: translateY(-1px);
}
.header-contact-links svg {
	stroke: currentColor;
	transition: stroke 0.3s ease;
}

/* Header Wide Layout Constraints */
.header-wide-container {
	max-width: 1400px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100% !important;
}
