/*
Theme Name: Wanium Child
Theme URI: http://www.themelogi.com/themes/wanium
Description: A child theme of Wanium Theme
Author: THEMELOGI
Author URI: http://www.themelogi.com
Version: 1.0.0
Template: wanium
*/

/* ===================================
   Navigation - Gold Leaf Active Item
   =================================== */

/* Remove any offset styling on current menu item */
nav .menu > li.current-menu-item > a,
nav .menu > li.current-menu-ancestor > a,
nav .menu > li.current_page_item > a,
nav .menu > li.current_page_ancestor > a,
.offcanvas-menu > li.current-menu-item > a,
.offcanvas-menu > li.current-menu-ancestor > a {
	transform: none !important;
	margin-left: 0 !important;
}

/* Add gold leaf before active menu item */
nav .menu > li.current-menu-item > a::before,
nav .menu > li.current-menu-ancestor > a::before,
nav .menu > li.current_page_item > a::before,
nav .menu > li.current_page_ancestor > a::before,
.offcanvas-menu > li.current-menu-item > a::before,
.offcanvas-menu > li.current-menu-ancestor > a::before {
	content: "\2766"; /* Floral heart / leaf symbol */
	font-size: 12px;
	color: #c9a96e;
	margin-right: 8px;
	display: inline-block;
	vertical-align: middle;
}

/* Alternative: Use a more traditional fleur-de-lis or leaf */
/* Uncomment below and comment above if preferred */
/*
nav .menu > li.current-menu-item > a::before,
.offcanvas-menu > li.current-menu-item > a::before {
	content: "\269C";
	font-size: 14px;
	color: #c9a96e;
	margin-right: 8px;
}
*/

/* ===================================
   Typography - Cinzel Headings
   =================================== */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: 'Cinzel', Georgia, serif !important;
}

/* ===================================
   About Appraiser Section
   =================================== */

@media (max-width: 991px) {
	.about-appraiser-section .col-md-7 {
		padding-right: 15px !important;
		margin-bottom: 40px;
	}

	.about-appraiser-section h2 {
		font-size: 42px !important;
	}

	.credentials {
		flex-direction: column !important;
		gap: 20px !important;
	}
}

@media (max-width: 768px) {
	.about-appraiser-section h2 {
		font-size: 36px !important;
	}

	.appraiser-photo-frame {
		min-height: 400px !important;
		padding: 20px !important;
	}

	.appraiser-photo-frame > div {
		padding: 20px !important;
	}
}

/* ===================================
   Services Section
   =================================== */

.service-card a:hover {
	color: #5a2d0c !important;
}

/* ===================================
   Global Layout Fixes
   =================================== */

.main-container {
	overflow-x: hidden;
}

.main-container > section {
	overflow: visible !important;
}

/* Fix button cutoff issues */
section {
	overflow: visible !important;
}

.horizontal-collection-strip,
.featured-gallery-section {
	overflow: visible !important;
	padding-bottom: 80px !important;
}

.horizontal-collection-strip .container,
.featured-gallery-section .container {
	overflow: visible !important;
}

.horizontal-collection-strip .row,
.featured-gallery-section .row {
	overflow: visible !important;
}

.horizontal-scroll-wrapper {
	overflow-x: auto !important;
	overflow-y: visible !important;
	-webkit-overflow-scrolling: touch !important;
}

/* Ensure proper spacing around buttons */
.wp-block-buttons {
	margin: 40px 0;
	overflow: visible;
}

.wp-block-button__link,
.btn,
.btn-primary,
.btn-secondary {
	display: inline-block !important;
	border-radius: 2px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wp-block-button__link:hover,
.btn-primary:hover {
	background: #000 !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ===================================
   Artwork & Gallery Styles
   =================================== */

/* Horizontal scroll artwork hover */
.horizontal-artwork-thumb:hover {
	box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
	transform: translateY(-4px);
}

/* Genre card hover */
.featured-genre-card:hover {
	border-color: #3498db !important;
	box-shadow: 0 4px 20px rgba(52, 152, 219, 0.15) !important;
	transform: translateY(-4px);
}

.gallery-genres .genre-item:hover .genre-thumbnail {
	border-color: #3498db !important;
	box-shadow: 0 4px 20px rgba(52, 152, 219, 0.15) !important;
	transform: translateY(-4px);
}

/* Page Title Section */
.page-title {
	padding: 60px 0 40px;
	background: #f8f8f8;
}

.page-title h1 {
	font-size: 48px;
	font-weight: 300;
	letter-spacing: -1px;
	margin-bottom: 12px;
	color: #2c3e50;
}

.page-title .lead {
	font-size: 18px;
	color: #7f8c8d;
	font-weight: 300;
}

/* Gallery - All Genres */
.gallery-genres {
	padding: 80px 0;
	background: #fff;
}

.gallery-genres .row {
	margin-left: -15px;
	margin-right: -15px;
}

.gallery-genres .genre-item {
	margin-bottom: 48px;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-genres .genre-item:hover {
	transform: translateY(-8px);
}

.gallery-genres .genre-item a {
	text-decoration: none;
	color: inherit;
	display: block;
}

.gallery-genres .genre-thumbnail {
	overflow: hidden;
	border-radius: 0;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
	background: #fff;
	height: 350px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.gallery-genres .genre-thumbnail::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.4) 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.gallery-genres .genre-item:hover .genre-thumbnail::after {
	opacity: 1;
}

.gallery-genres .genre-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-genres .genre-item:hover .genre-thumbnail img {
	transform: scale(1.08);
}

.gallery-genres .genre-placeholder {
	background: #e8e8e8;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.gallery-genres .genre-info {
	padding: 24px 0 0;
}

.gallery-genres .genre-info h3 {
	font-size: 26px;
	font-weight: 400;
	margin: 0 0 8px;
	color: #2c3e50;
	letter-spacing: -0.5px;
}

.gallery-genres .genre-count {
	color: #3498db;
	font-size: 15px;
	font-weight: 500;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.gallery-genres .genre-description {
	font-size: 14px;
	color: #7f8c8d;
	line-height: 1.6;
}

/* Genre Archive */
.genre-archive {
	padding: 60px 0;
}

.genre-archive .artwork-item {
	margin-bottom: 48px;
	transition: all 0.3s ease;
}

.genre-archive .artwork-item:hover {
	transform: translateY(-5px);
}

.genre-archive .artwork-item a {
	text-decoration: none;
	color: inherit;
	display: block;
}

.genre-archive .artwork-thumbnail {
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	background: #fff;
	height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.genre-archive .artwork-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.genre-archive .artwork-item:hover .artwork-thumbnail img {
	transform: scale(1.05);
}

.genre-archive .artwork-info {
	padding: 20px 0;
}

.genre-archive .artwork-info h4 {
	font-size: 20px;
	font-weight: 400;
	margin: 0 0 8px;
	color: #2c3e50;
}

.genre-archive .artwork-artist {
	font-style: italic;
	color: #7f8c8d;
	margin-bottom: 6px;
	font-size: 15px;
}

.genre-archive .artwork-dimensions {
	font-size: 13px;
	color: #95a5a6;
	margin-bottom: 10px;
}

.genre-archive .artwork-price {
	color: #2c3e50;
	font-size: 18px;
	font-weight: 600;
}

/* Single Artwork */
.single-artwork {
	padding: 60px 0;
}

.single-artwork .artwork-image {
	margin-bottom: 40px;
}

.single-artwork .artwork-image img {
	width: 100%;
	height: auto;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.single-artwork .artwork-details {
	background: #f8f9fa;
	padding: 32px;
	border-radius: 2px;
	border-left: 4px solid #3498db;
}

.single-artwork .artwork-details h4 {
	margin-top: 0;
	margin-bottom: 24px;
	font-size: 22px;
	font-weight: 400;
	color: #2c3e50;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.single-artwork .artwork-details p {
	margin-bottom: 16px;
	line-height: 1.8;
	color: #34495e;
}

.single-artwork .artwork-details strong {
	font-weight: 600;
	color: #2c3e50;
}

.single-artwork .artwork-price {
	font-size: 20px;
	color: #27ae60;
	font-weight: 600;
}

.single-artwork .artwork-navigation {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #ecf0f1;
}

.single-artwork .artwork-navigation a {
	color: #3498db;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.single-artwork .artwork-navigation a:hover {
	color: #2980b9;
}

.single-artwork .artwork-description h4 {
	font-size: 22px;
	font-weight: 400;
	margin-bottom: 20px;
	color: #2c3e50;
}

/* Pagination */
.pagination {
	text-align: center;
	padding: 40px 0;
}

.pagination .page-numbers {
	display: inline-block;
	margin: 0 4px;
	background: #fff;
	border: 1px solid #ddd;
	color: #333;
	text-decoration: none;
	transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: #3498db;
	color: #fff;
	border-color: #3498db;
}

/* WordPress Block Alignment */
.aligncenter {
	text-align: center;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.has-text-align-center {
	text-align: center;
}

/* WordPress Separator */
.wp-block-separator {
	border: none;
	border-top: 1px solid #e0e0e0;
	margin: 40px 0;
}

/* WordPress Spacer */
.wp-block-spacer {
	clear: both;
}

/* Responsive */
@media (max-width: 991px) {
	.gallery-genres .genre-thumbnail {
		height: 280px;
	}

	.gallery-genres .genre-info h3 {
		font-size: 22px;
	}

	.page-title h1 {
		font-size: 36px;
	}

	.wp-block-button__link,
	.btn {
		padding: 14px 32px !important;
		font-size: 13px !important;
	}
}

@media (max-width: 768px) {
	.single-artwork .artwork-details {
		margin-top: 40px;
	}

	.genre-archive .artwork-item,
	.gallery-genres .genre-item {
		margin-bottom: 32px;
	}

	.gallery-genres .genre-thumbnail {
		height: 250px;
	}

	.page-title {
		padding: 40px 0 30px;
	}

	.page-title h1 {
		font-size: 32px;
	}

	.gallery-genres,
	.genre-archive,
	.single-artwork {
		padding: 40px 0;
	}

	.wp-block-columns {
		flex-direction: column !important;
	}

	.wp-block-column {
		flex-basis: 100% !important;
		margin-bottom: 20px;
	}
}

/* ===================================
   Testimonials Page Styles
   =================================== */

/* Testimonial Letter Container */
.testimonial-letter {
	background: #fff;
	padding: 60px 80px;
	margin: 0 auto 80px;
	max-width: 900px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
	border-left: 3px solid #3498db;
	position: relative;
}

.testimonial-letter:last-child {
	margin-bottom: 0;
}

/* Testimonial Divider */
.testimonial-divider {
	border: none;
	border-top: 2px dotted #e0e0e0;
	margin: 80px auto;
	max-width: 200px;
	opacity: 0.5;
}

/* Letter Date */
.testimonial-date {
	font-family: Georgia, serif;
	font-size: 15px;
	color: #7f8c8d;
	margin-bottom: 20px;
	font-style: italic;
}

/* Letter Greeting */
.testimonial-greeting {
	font-family: Georgia, serif;
	font-size: 17px;
	color: #2c3e50;
	margin-bottom: 30px;
	font-weight: 500;
}

/* Letter Body */
.testimonial-body {
	margin-bottom: 40px;
}

.testimonial-body p {
	font-family: Georgia, serif;
	font-size: 16px;
	line-height: 1.9;
	color: #34495e;
	margin-bottom: 24px;
	text-align: justify;
}

.testimonial-body p:last-child {
	margin-bottom: 0;
}

/* Letter Signature */
.testimonial-signature {
	margin-top: 40px;
	padding-left: 40px;
}

.testimonial-signature p {
	font-family: Georgia, serif;
	font-size: 16px;
	line-height: 1.6;
	color: #2c3e50;
	margin-bottom: 4px;
}

.testimonial-signature strong {
	font-weight: 600;
	font-size: 17px;
}

/* Section Separator */
.vc_separator {
	margin: 60px 0 !important;
}

/* Hero Section */
.testimonials-hero h1 {
	font-size: 48px;
	font-weight: 300;
	letter-spacing: -1px;
	margin-bottom: 20px;
	color: #2c3e50;
}

.testimonials-hero .lead {
	font-size: 20px;
	color: #7f8c8d;
	font-weight: 300;
	max-width: 700px;
	margin: 0 auto;
}

/* Responsive */
@media (max-width: 991px) {
	.testimonial-letter {
		padding: 50px 60px;
		margin-bottom: 60px;
	}

	.testimonials-hero h1 {
		font-size: 40px;
	}
}

@media (max-width: 768px) {
	.testimonial-letter {
		padding: 40px 30px;
		margin-bottom: 50px;
	}

	.testimonial-body p {
		font-size: 15px;
		line-height: 1.8;
		text-align: left;
	}

	.testimonial-greeting {
		font-size: 16px;
	}

	.testimonial-signature {
		padding-left: 0;
	}

	.testimonial-signature p,
	.testimonial-signature strong {
		font-size: 15px;
	}

	.testimonials-hero h1 {
		font-size: 32px;
	}

	.testimonials-hero .lead {
		font-size: 17px;
	}

	.testimonial-divider {
		margin: 50px auto;
	}
}
