/**
 * Sri Vasavi Components Stylesheet
 *
 * Defines stylesheets for Header, Footer, Hero Slider, and Navigation Drawer overlays.
 * Never uses inline css.
 *
 * @package SVCC
 */

/* ==========================================================================
   1. Buttons System
   ========================================================================== */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	border: 1px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	transition: var(--transition-smooth);
}

.button-gold {
	background-color: var(--svcc-gold);
	color: #FFFFFF;
}

.button-gold:hover {
	background-color: var(--svcc-gold-deep);
	transform: translateY(-2px);
}

.button-blue {
	background-image: linear-gradient(135deg, var(--regency-blue-mid), var(--regency-blue-deep));
	color: #fff;
}

.button-blue:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 119, 200, 0.3);
}

.button-outline {
	background-color: transparent;
	color: var(--text);
	border-color: var(--border);
}

.button-outline:hover {
	background-color: var(--text);
	color: var(--surface);
	border-color: var(--text);
}

.button-outline-dark {
	background-color: transparent;
	color: var(--regency-text);
	border-color: rgba(0, 32, 91, 0.3);
}

.button-outline-dark:hover {
	background-color: var(--regency-text);
	color: #fff;
	border-color: var(--regency-text);
}


/* ==========================================================================
   2. Main Header & Drawer Navigation (Moved to header.css)
   ========================================================================== */


/* ==========================================================================
   4. Hero Slider Component
   ========================================================================== */
/* Hero Slider Component (Moved to homepage.css) */


/* ==========================================================================
   5. Footer Structure (Moved to footer.css)
   ========================================================================== */


/* ==========================================================================
   6. General Utilities & Custom Scrollbar
   ========================================================================== */
::shadow-scrollbar,
/* standard scrollbar customization for clean ui */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--bg);
}

::-webkit-scrollbar-thumb {
	background: var(--border);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--accent);
}

/* Decorative SVG Separator Styles */
.decorative-svg-separator {
	width: 120px;
	height: auto;
	color: var(--accent);
	display: block;
	margin: 0 auto 16px;
}

/* Section Wrappers for Corporate Look (White vs Off-White sections) */
/* Quick Intro Section & Overrides (Moved to homepage.css) */

/* Footer contact items (Moved to footer.css) */

/* Global text-link component styles */
.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 14px;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: var(--transition-smooth);
	text-decoration: none;
}

.text-link svg {
	width: 16px;
	height: 16px;
	transition: transform 0.3s ease;
}

.text-link:hover svg {
	transform: translateX(4px);
}

/* ==========================================================================
   7. Unified Enquiry Modal Popup Styles (Light Mode)
   ========================================================================== */
.enquiry-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	visibility: hidden;
	opacity: 0;
	transition: visibility 0.4s ease, opacity 0.4s ease;
}

.enquiry-modal.is-active {
	visibility: visible;
	opacity: 1;
}

.enquiry-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(10, 17, 40, 0.45);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.enquiry-modal-container {
	position: relative;
	background-color: #ffffff;
	border: 1px solid rgba(197, 168, 128, 0.4);
	border-radius: 12px;
	width: 90%;
	max-width: 640px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 40px rgba(10, 17, 40, 0.15);
	z-index: 10;
	transform: scale(0.9);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	padding: 40px;
}

.enquiry-modal.is-active .enquiry-modal-container {
	transform: scale(1);
}

.enquiry-modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: transparent;
	border: none;
	color: #6b7280;
	cursor: pointer;
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease, color 0.3s ease;
}

.enquiry-modal-close:hover {
	color: var(--svcc-gold, #b62a2e);
	transform: rotate(90deg);
}

.enquiry-modal-close svg {
	width: 24px;
	height: 24px;
}

.enquiry-modal-content {
	color: #1f2937;
}

.enquiry-modal-header {
	margin-bottom: 25px;
	text-align: center;
}

.modal-subtitle {
	color: var(--svcc-gold, #b62a2e);
	font-size: 12px;
	letter-spacing: 2px;
	display: block;
	margin-bottom: 5px;
}

.enquiry-modal-header h2 {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 400;
	color: #0a1128;
}

.enquiry-modal-header p {
	margin: 0;
	font-size: 14px;
	color: #4b5563;
	line-height: 1.5;
}

/* Form Styles */
.unified-enquiry-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

@media (max-width: 560px) {
	.unified-enquiry-form .form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.enquiry-modal-container {
		padding: 30px 20px;
	}
}

.unified-enquiry-form .form-group {
	margin-bottom: 18px;
	display: flex;
	flex-direction: column;
}

.unified-enquiry-form label:not(.consent-checkbox-label) {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #0a1128;
	margin-bottom: 8px;
	font-weight: 700;
}

/* Privacy Consent Checkbox for Unified Forms */
.unified-enquiry-form .form-group.form-consent-group {
	display: block !important;
	flex-direction: row !important;
	margin-bottom: 16px !important;
}

.unified-enquiry-form .consent-checkbox-label {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	gap: 10px !important;
	cursor: pointer;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-size: 12.5px !important;
	font-weight: 400 !important;
	color: #4B5563 !important;
	line-height: 1.5 !important;
	margin: 0 !important;
	padding: 0 !important;
	user-select: none;
}

.unified-enquiry-form .consent-checkbox-label input[type="checkbox"] {
	width: 17px !important;
	height: 17px !important;
	min-width: 17px !important;
	max-width: 17px !important;
	min-height: 17px !important;
	max-height: 17px !important;
	margin: 2px 0 0 0 !important;
	padding: 0 !important;
	border: 1.5px solid #CBD5E1 !important;
	border-radius: 4px !important;
	accent-color: #D6202C !important;
	cursor: pointer;
	flex-shrink: 0 !important;
	display: inline-block !important;
	box-shadow: none !important;
}

.unified-enquiry-form .consent-checkbox-label span {
	font-size: 12.5px !important;
	color: #4B5563 !important;
	font-weight: 400 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	line-height: 1.5 !important;
	display: inline !important;
}

.unified-enquiry-form .consent-checkbox-label a {
	color: #0E5FB8 !important;
	text-decoration: underline !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.unified-enquiry-form .consent-checkbox-label a:hover {
	color: #D6202C !important;
}

.unified-enquiry-form input[type="text"],
.unified-enquiry-form input[type="tel"],
.unified-enquiry-form input[type="email"],
.unified-enquiry-form input[type="date"],
.unified-enquiry-form select,
.unified-enquiry-form textarea {
	background-color: #ffffff;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 12px 16px;
	color: #1f2937;
	font-family: var(--font-body);
	font-size: 14px;
	outline: none;
	transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
	width: 100%;
}

.unified-enquiry-form input[type="tel"],
.contact-form input[type="tel"] {
	padding-left: 52px !important;
}

.unified-enquiry-form input:focus,
.unified-enquiry-form select:focus,
.unified-enquiry-form textarea:focus {
	border-color: var(--svcc-gold, #b62a2e);
	background-color: #ffffff;
	box-shadow: 0 0 0 3px rgba(182, 42, 46, 0.12);
}

.unified-enquiry-form select option {
	background-color: #ffffff;
	color: #1f2937;
}

.unified-enquiry-form textarea {
	resize: vertical;
}

.form-submit-container {
	margin-top: 25px;
	display: flex;
	justify-content: center;
}

.unified-enquiry-form .contact-submit-btn {
	width: 100%;
	max-width: 240px;
	position: relative;
}

.btn-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: #fff;
	animation: spin 0.8s linear infinite;
}

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

/* AJAX Response Notification Box */
.modal-form-response {
	margin-top: 20px;
	padding: 15px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
	animation: fadeIn 0.4s ease;
}

.modal-form-response.success {
	background-color: rgba(16, 185, 129, 0.08);
	border: 1px solid rgba(16, 185, 129, 0.2);
	color: #065f46;
}

.modal-form-response.error {
	background-color: rgba(220, 38, 38, 0.08);
	border: 1px solid rgba(220, 38, 38, 0.2);
	color: #991b1b;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Telephone Input overrides */
.iti {
	width: 100%;
}

.iti__country-list {
	background-color: #ffffff !important;
	color: #1f2937 !important;
	border: 1px solid #d1d5db !important;
	width: 270px !important;
}

.iti__country-name {
	color: #1f2937 !important;
}

.iti__dial-code {
	color: #6b7280 !important;
}

/* ==========================================================================
   Interactive Lightbox Modal Styles
   ========================================================================== */
.lightbox-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(15, 14, 13, 0.95);
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.lightbox-modal.is-active {
	display: flex;
	opacity: 1;
}

.lightbox-close {
	position: absolute;
	top: 30px;
	right: 30px;
	background: none;
	border: none;
	color: #FFFFFF;
	font-size: 36px;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.3s ease;
	line-height: 1;
	z-index: 10010;
}

.lightbox-close:hover {
	opacity: 1;
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.05);
	border: none;
	color: #FFFFFF;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.3s ease, background 0.3s ease;
	z-index: 10010;
}

.lightbox-nav:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.15);
}

.lightbox-prev {
	left: 30px;
}

.lightbox-next {
	right: 30px;
}

.lightbox-nav svg {
	width: 24px;
	height: 24px;
	stroke: currentColor;
}

.lightbox-content-wrapper {
	max-width: 80%;
	max-height: 80vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

.lightbox-img {
	max-width: 100%;
	max-height: 75vh;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	opacity: 0;
	transform: scale(0.97);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-img.is-loaded {
	opacity: 1;
	transform: scale(1);
}

.lightbox-caption {
	color: #FFFFFF;
	margin-top: 20px;
	text-align: center;
	font-size: 15px;
	font-family: var(--font-body);
	opacity: 0.9;
}

@media (max-width: 768px) {
	.lightbox-close {
		top: 20px;
		right: 20px;
	}

	.lightbox-nav {
		width: 40px;
		height: 40px;
	}

	.lightbox-prev {
		left: 10px;
	}

	.lightbox-next {
		right: 10px;
	}

	.lightbox-content-wrapper {
		max-width: 90%;
	}
}

/* ==========================================================================
   Sticky Floating WhatsApp Contact Widget
   ========================================================================== */
.sv-sticky-whatsapp {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 9990;
	display: flex;
	align-items: center;
	gap: 10px;
	background-color: #25D366;
	color: #FFFFFF !important;
	padding: 12px;
	border-radius: 50px;
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
	text-decoration: none !important;
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.sv-sticky-whatsapp:hover,
.sv-sticky-whatsapp:focus {
	transform: scale(1.08) translateY(-3px);
	box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
	color: #FFFFFF !important;
}

.sv-whatsapp-icon {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.sv-whatsapp-icon svg {
	width: 28px;
	height: 28px;
	fill: #FFFFFF;
}

.sv-whatsapp-tooltip {
	font-family: var(--font-body, -apple-system, sans-serif);
	font-size: 13px;
	font-weight: 700;
	padding-right: 8px;
	white-space: nowrap;
	display: none;
}

@media (min-width: 768px) {
	.sv-sticky-whatsapp:hover .sv-whatsapp-tooltip {
		display: inline-block;
	}
}

@media (max-width: 575.98px) {
	.sv-sticky-whatsapp {
		bottom: 18px;
		right: 18px;
		padding: 10px;
	}

	.sv-whatsapp-icon {
		width: 28px;
		height: 28px;
	}

	.sv-whatsapp-icon svg {
		width: 24px;
		height: 24px;
	}
}