/* ========================================
   CANTINA DEL COLLE - Wine Cellar Website
   ======================================== */

/* CSS Variables */
:root {
	--wine-primary: #722F37;
	--wine-dark: #5A252C;
	--wine-light: #8B3D46;
	--gold: #C9A962;
	--gold-light: #D4BC7E;
	--cream: #FDF8F3;
	--cream-dark: #F5EDE3;
	--text-dark: #2D2D2D;
	--text-muted: #666666;
	--text-light: #888888;
	--white: #FFFFFF;
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
	--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
	--shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
	--transition: all 0.3s ease;
}

/* Reset & Base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-dark);
	background-color: var(--white);
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	line-height: 1.3;
}

.cursive {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 500;
	font-style: italic;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}

img {
	max-width: 100%;
	height: auto;
}

/* Container Override */
.container {
	max-width: 1200px;
	padding: 0 20px;
}

/* Section Styles */
section {
	padding: 60px 0;
}

.section-title {
	font-size: clamp(2rem, 5vw, 3rem);
	text-align: center;
	margin-bottom: 40px;
	color: var(--text-dark);
}

.section-title.cursive {
	font-size: clamp(2.5rem, 6vw, 3.5rem);
}

/* Buttons */
.btn {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	padding: 14px 32px;
	border-radius: 7px;
	transition: var(--transition);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;
}

.btn-primary {
	background-color: var(--wine-primary);
	border-color: var(--wine-primary);
	color: var(--white);
}

.btn-primary:hover {
	background-color: var(--wine-dark) !important;
	border-color: var(--wine-dark) !important;
	transform: translateY(-2px) scale(1.1);
	box-shadow: var(--shadow-md);
}

.btn-outline-primary {
	background-color: transparent;
	border: 2px solid var(--wine-primary);
	color: var(--wine-primary);
}

.btn-outline-primary:hover {
	background-color: var(--wine-primary) !important;;
	border-color: var(--wine-primary) !important;
	color: var(--white);
	transform: translateY(-2px) scale(1.1);
}

.btn-light {
	background-color: var(--white);
	color: var(--wine-primary);
	border-color: var(--white);
}

.btn-light:hover {
	background-color: var(--cream);
	border-color: var(--cream);
	color: var(--wine-dark);
	transform: translateY(-2px);
}

.btn-cta {
	padding: 16px 40px;
	font-size: 15px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: linear-gradient(135deg, #3d2317 0%, #5a3525 50%, #2d1a12 100%);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	padding: 60px 20px;
}

/* Placeholder for hero background - replace with actual image */
.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(ellipse at 20% 80%, rgba(114, 47, 55, 0.3) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 20%, rgba(201, 169, 98, 0.2) 0%, transparent 50%),
		url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	z-index: 1;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 2;
}

.hero-content {
	position: relative;
	z-index: 3;
	max-width: 800px;
}

.hero-title {
	font-size: clamp(2.5rem, 8vw, 4.5rem);
	font-weight: 700;
	color: var(--white);
	margin-bottom: 24px;
	text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
	line-height: 1.2;
}

.hero-subtitle {
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 40px;
	font-weight: 300;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* ========================================
   STORY SECTION
   ======================================== */
.story-section {
	background-color: var(--white);
}

.story-content {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.story-content p {
	font-size: 1.125rem;
	color: var(--text-muted);
	margin-bottom: 24px;
	line-height: 1.9;
}

.story-content p:last-child {
	margin-bottom: 0;
}

/* ========================================
   EXPERIENCES SECTION
   ======================================== */
.experiences-section {
	background-color: var(--cream);
}

.experience-card {
	background: var(--white);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
}

.experience-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
}

.experience-card.featured {
	border: 2px solid var(--wine-primary);
}

.popular-badge {
	position: absolute;
	top: 16px;
	right: 16px;
	background: var(--wine-primary);
	color: var(--white);
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	z-index: 10;
}

.experience-image {
	height: 200px;
	overflow: hidden;
}

.experience-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.experience-card:hover .experience-image img {
	transform: scale(1.05);
}

.placeholder-image {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--wine-light);
	position: relative;
}

.placeholder-image i {
	font-size: 48px;
	opacity: 0.6;
}

.placeholder-image::after {
	content: attr(data-label);
	position: absolute;
	bottom: 16px;
	font-size: 12px;
	color: var(--text-light);
	font-weight: 500;
}

.experience-header {
	padding: 24px 24px 16px;
	border-bottom: 1px solid #f0f0f0;
}

.experience-header h3 {
	font-size: 1.25rem;
	margin-bottom: 8px;
	color: var(--text-dark);
}

.experience-tagline {
	font-size: 0.9rem;
	color: var(--text-light);
	margin: 0;
}

.experience-body {
	padding: 20px 24px;
	flex-grow: 1;
}

.experience-body > p {
	font-size: 0.95rem;
	color: var(--text-muted);
	margin-bottom: 20px;
	line-height: 1.7;
}

.experience-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 20px;
}

.experience-meta span {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.875rem;
	color: var(--text-muted);
}

.experience-meta i {
	color: var(--wine-light);
	width: 16px;
}

.experience-price {
	font-size: 2rem;
	font-weight: 700;
	color: var(--wine-primary);
}

.btn-book {
	margin: 0 24px 24px;
	text-align: center;
	display: block;
	width: calc(100% - 48px);
	cursor: pointer;
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */
.why-section {
	background-color: var(--white);
}

.why-card {
	text-align: center;
	padding: 40px 24px;
}

.why-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
	border-radius: 50%;
	transition: var(--transition);
}

.why-icon i {
	font-size: 32px;
	color: var(--wine-primary);
}

.why-card:hover .why-icon {
	background: var(--wine-primary);
	transform: scale(1.1);
}

.why-card:hover .why-icon i {
	color: var(--white);
}

.why-card h3 {
	font-size: 1.125rem;
	margin-bottom: 12px;
	color: var(--text-dark);
}

.why-card p {
	font-size: 0.95rem;
	color: var(--text-muted);
	line-height: 1.6;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-section {
	background-color: var(--cream);
}

.steps-container {
	max-width: 700px;
	margin: 0 auto;
}

.step {
	display: flex;
	gap: 24px;
	margin-bottom: 40px;
	align-items: flex-start;
}

.step:last-child {
	margin-bottom: 0;
}

.step-number {
	width: 56px;
	height: 56px;
	min-width: 56px;
	background: var(--wine-primary);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
}

.step-content h3 {
	font-size: 1.25rem;
	margin-bottom: 8px;
	color: var(--text-dark);
}

.step-content p {
	font-size: 0.95rem;
	color: var(--text-muted);
	line-height: 1.7;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery-section {
	background: linear-gradient(135deg, #3d2317 0%, #5a3525 50%, #2d1a12 100%);
}

.gallery-section .section-title {
	color: var(--white);
}

.gallery-container {
	max-width: 900px;
	margin: 0 auto;
}

.gallery-main {
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 20px;
	aspect-ratio: 16/10;
	background: rgba(255, 255, 255, 0.1);
}

.gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery-placeholder {
	background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
}

.gallery-placeholder i {
	font-size: 80px;
	color: rgba(255, 255, 255, 0.3);
}

.gallery-placeholder::after {
	color: rgba(255, 255, 255, 0.5);
}

.gallery-thumbnails {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.gallery-thumb {
	width: 80px;
	height: 60px;
	border-radius: 8px;
	overflow: hidden;
	border: 3px solid transparent;
	background: none;
	padding: 0;
	cursor: pointer;
	transition: var(--transition);
}

.gallery-thumb.active {
	border-color: var(--gold);
}

.gallery-thumb:hover {
	border-color: var(--gold-light);
}

.gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.thumb-placeholder {
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
}

.thumb-placeholder i {
	font-size: 20px;
	color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
	background-color: var(--white);
}

.testimonial-card {
	background: var(--cream);
	border-radius: 12px;
	padding: 32px;
	height: 100%;
	transition: var(--transition);
}

.testimonial-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.testimonial-header {
	margin-bottom: 20px;
}

.stars {
	display: flex;
	gap: 4px;
	margin-bottom: 12px;
}

.stars i {
	color: var(--gold);
	font-size: 16px;
}

.testimonial-header h3 {
	font-size: 1.125rem;
	color: var(--text-dark);
}

.testimonial-body p {
	font-size: 0.95rem;
	color: var(--text-muted);
	line-height: 1.7;
	margin-bottom: 16px;
}

.testimonial-author {
	font-weight: 600;
	color: var(--wine-primary) !important;
	font-size: 0.9rem !important;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
	background: linear-gradient(135deg, var(--wine-primary) 0%, var(--wine-dark) 100%);
	padding: 80px 0;
	text-align: center;
}

.cta-section .section-title {
	margin-bottom: 20px;
}

.cta-subtitle {
	font-size: 1.125rem;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 32px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.btn-cta-light {
	padding: 16px 40px;
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
	background: #1a1a1a;
	color: rgba(255, 255, 255, 0.8);
	padding: 60px 0 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.5rem;
	color: var(--white);
	margin-bottom: 16px;
	font-style: italic;
}

.footer-col h3 {
	font-size: 1rem;
	color: var(--white);
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.footer-col p {
	font-size: 0.9rem;
	line-height: 1.7;
}

.footer-contacts {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-contacts li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
	font-size: 0.9rem;
}

.footer-contacts i {
	color: var(--gold);
	margin-top: 4px;
	width: 16px;
}

.footer-contacts a:hover {
	color: var(--gold);
}

.footer-hours p {
	font-size: 0.9rem;
	margin-bottom: 4px;
}

.footer-hours .small-text {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 12px;
}

.footer-bottom {
	padding: 24px 0;
	text-align: center;
}

.footer-bottom p {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 991px) {
	section {
		padding: 80px 0;
	}

	.section-title {
		margin-bottom: 48px;
	}

	.hero-section {
		min-height: 90vh;
	}
}

@media (max-width: 768px) {
	section {
		padding: 60px 0;
	}

	.section-title {
		margin-bottom: 40px;
	}

	.hero-title {
		font-size: 2.5rem;
	}

	.hero-subtitle {
		font-size: 1rem;
	}

	.step {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.step-number {
		margin-bottom: 16px;
	}

	.gallery-thumbnails {
		flex-wrap: wrap;
	}

	.footer-grid {
		gap: 32px;
	}
}

@media (max-width: 576px) {
	.container {
		padding: 0 16px;
	}

	.btn {
		padding: 12px 24px;
		font-size: 13px;
	}

	.btn-cta,
	.btn-cta-light {
		padding: 14px 28px;
	}

	.experience-header,
	.experience-body {
		padding-left: 20px;
		padding-right: 20px;
	}

	.btn-book {
		margin-left: 20px;
		margin-right: 20px;
	}

	.testimonial-card {
		padding: 24px;
	}
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-on-scroll {
	opacity: 0;
	animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ========================================
   BOOKING MODAL
   ======================================== */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	padding: 20px;
}

.modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

.modal-container {
	background: var(--white);
	border-radius: 16px;
	width: 100%;
	max-width: 480px;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	transform: translateY(-20px) scale(0.95);
	transition: transform 0.3s ease;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-container {
	transform: translateY(0) scale(1);
}

.modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	border: none;
	background: transparent;
	font-size: 28px;
	color: var(--text-light);
	cursor: pointer;
	transition: var(--transition);
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	border-radius: 50%;
}

.modal-close:hover {
	color: var(--text-dark);
	background: var(--cream);
}

.modal-header {
	padding: 32px 32px 24px;
	border-bottom: 1px solid #f0f0f0;
	display: flex;
	flex-direction: column;
}

.modal-header h2 {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
	display: block;
	width: 100%;
}

.modal-subtitle {
	font-size: 0.95rem;
	color: var(--text-muted);
	margin: 0;
}

.booking-form {
	padding: 24px 32px 32px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-dark);
	margin-bottom: 8px;
}

.form-group input,
.form-group select {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.95rem;
	color: var(--text-dark);
	transition: var(--transition);
	background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
	outline: none;
	border-color: var(--wine-primary);
	box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.1);
}

.form-group input::placeholder {
	color: var(--text-light);
}

.input-icon {
	position: relative;
}

.input-icon i {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-light);
	pointer-events: none;
}

.input-icon input {
	padding-left: 44px;
}

.select-wrapper {
	position: relative;
}

.select-wrapper::after {
	content: '\f078';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-light);
	pointer-events: none;
	font-size: 12px;
}

.select-wrapper select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 44px;
	cursor: pointer;
}

.btn-submit {
	width: 100%;
	padding: 16px;
	font-size: 1rem;
	margin-top: 8px;
	text-transform: none;
	letter-spacing: 0;
}

/* Slots Loading */
.slots-loading {
	position: absolute;
	top: 50%;
	left: 16px;
	transform: translateY(-50%);
	color: var(--wine-primary);
	font-size: 0.85rem;
	background: #f5f5f5;
}

.form-group select:disabled {
	background-color: #f5f5f5;
	color: var(--text-light);
	cursor: not-allowed;
}

/* Booking Message Notification */
.booking-message {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 16px 48px 16px 20px;
	border-radius: 10px;
	box-shadow: var(--shadow-lg);
	z-index: 10001;
	transform: translateX(120%);
	transition: transform 0.3s ease;
	max-width: 400px;
}

.booking-message.show {
	transform: translateX(0);
}

.booking-message-success {
	background: linear-gradient(135deg, #2ecc71, #27ae60);
	color: var(--white);
}

.booking-message-error {
	background: linear-gradient(135deg, #e74c3c, #c0392b);
	color: var(--white);
}

.booking-message-content {
	display: flex;
	align-items: center;
	gap: 12px;
}

.booking-message-content i {
	font-size: 1.5rem;
	flex-shrink: 0;
}

.booking-message-content span {
	font-size: 0.95rem;
	line-height: 1.4;
}

.booking-message-close {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: var(--white);
	font-size: 1.5rem;
	cursor: pointer;
	opacity: 0.8;
	transition: opacity 0.2s;
	line-height: 1;
}

.booking-message-close:hover {
	opacity: 1;
}

/* Modal Responsive */
@media (max-width: 576px) {
	.modal-container {
		max-height: 95vh;
		border-radius: 12px;
	}

	.modal-header {
		padding: 24px 20px 20px;
	}

	.modal-header h2 {
		font-size: 1.25rem;
		padding-right: 30px;
	}

	.booking-form {
		padding: 20px;
	}

	.form-group input,
	.form-group select {
		padding: 12px 14px;
	}

	.input-icon input {
		padding-left: 40px;
	}

	.booking-message {
		left: 20px;
		right: 20px;
		max-width: none;
	}
}

