/* Custom Footer Styles */
.custom-footer {
	background-color: #2a2a2a;
	color: #ffffff;
	padding: 40px 0 20px;
	margin-top: 60px;
}

.custom-footer-content {
	max-width: 1079px;
	margin: 0 auto;
	padding: 0;
}

.footer-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-bottom: 40px;
}

.custom-footer--has-studio-column .footer-columns {
	grid-template-columns: repeat(4, 1fr);
}

.footer-column {
	display: flex;
	flex-direction: column;
}

.footer-section {
	margin-bottom: 30px;
}

.footer-section-content {
	display: block;
}

.footer-heading {
	color: #b8d430;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Company name heading in contact section */
.footer-column-right .footer-heading {
	color: #b8d430;
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 10px;
}

.footer-section-company 
{
    display:flex;
    flex-direction: column;
}
.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li {
    line-height: 1.8;
	list-style: none;
}

.footer-links a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.3s ease;
	font-size: 14px;
	display: inline-block;
}

.footer-links a:hover {
	color: #b8d430;
}

/* WordPress Menu Styles */
.footer-links .menu-item {
    line-height: 1.8;
}

.footer-links .sub-menu {
	list-style: none;
	padding-left: 20px;
	margin-top: 5px;
}

/* Language Switcher Styles */
.footer-languages {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-languages .language-item {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.footer-languages .language-flag-icon {
	width: 20px;
	height: 15px;
	margin-right: 8px;
	object-fit: cover;
	border-radius: 2px;
}

.footer-languages .language-item.active a {
	color: #b8d430;
}

/* WPML Language Switcher Styles */


.footer-languages .wpml-ls {
	margin: 0;
	padding: 0;
}

.footer-languages .wpml-ls-item {

	list-style: none;
}

.footer-languages .wpml-ls-link {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.3s ease;
	font-size: 14px;
	display: flex;
	align-items: center;
}

.footer-languages .wpml-ls-link:hover {
	color: #b8d430;
}

.footer-languages .wpml-ls-flag {
	width: 20px;
	height: 15px;
	margin-right: 8px;
	object-fit: cover;
	border-radius: 2px;
}

.footer-languages .wpml-ls-current-lang .wpml-ls-link {
	color: #b8d430;
}

/* Contact Section Styles - Based on company-info-widget.css */
.footer-contact-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 12px;
	gap: 8px;
}

.footer-icon {
	min-width: 30px;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
}

.footer-icon svg {
	width: 28px;
	height: 28px;
	color: #C1CD21;
	flex-shrink: 0;
}

.footer-contact-details {
	flex: 1;
	color: #ffffff;
	font-size: 14px;
	line-height: 1.4;
}

.footer-contact-details > div {
	font-size: 13px;
	line-height: 1.4;
	margin-bottom: 2px;
}

.footer-contact-details a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.3s ease;
	font-size: 16px;
	line-height: 1.4;
	display: block;
	margin-bottom: 2px;
}

.footer-contact-details a:hover {
	color: #b8d430;
	text-decoration-color: #c3cc21;
}

.footer-contact-details .working-hours {
	color: #C1CD21;
	font-size: 13px;
	margin-top: 5px;
}

/* Copyright Section */
.footer-copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #3a3a3a;
	margin-top: 30px;
}

.footer-copyright p {
	color: #999999;
	font-size: 13px;
	margin: 0;
}

/* Accordion Styles for Mobile */
.footer-accordion-toggle {
	background: none;
	border: none;
	padding: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	text-align: left;
}

/* Prevent global button hovers from altering the accordion trigger */
.footer-accordion-toggle:hover,
.footer-accordion-toggle:focus,
.footer-accordion-toggle:active {
	background: none !important;
	color: inherit !important;
	box-shadow: none !important;
}

.footer-accordion-toggle .footer-heading {
	margin-bottom: 0;
	flex: 1;
}

.footer-accordion-icon {
	color: #b8d430;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: 10px;
}

.footer-accordion-icon svg {
	width: 100%;
	height: 100%;
}

.footer-section-accordion.active .footer-accordion-icon {
	transform: rotate(180deg);
}

/* Desktop: Show all content, hide toggle, maintain original order */
@media (min-width: 769px) {
	/* Desktop order: Informations | Products | Studio menu | Company */
	.footer-column-left {
		order: 1;
	}
	
	.footer-column-middle {
		order: 2;
	}
	
	.footer-column-studio {
		order: 3;
	}
	
	.footer-column-right {
		order: 4;
	}
	
	.footer-section-accordion .footer-accordion-toggle {
		pointer-events: none;
		cursor: default;
	}
	
	.footer-section-accordion .footer-accordion-toggle:hover {
		background: none;
	}
	
	.footer-accordion-icon {
		display: none;
	}
	
	.footer-section-content {
		display: block !important;
		max-height: none !important;
		overflow: visible !important;
		padding-top: 0 !important;
	}
	
	.footer-section-accordion {
		border-bottom: none;
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	.custom-footer-content {
		padding: 0 20px;
	}
	
	.footer-columns {
		grid-template-columns: 1fr;
		gap: 0;
		display: flex;
		flex-direction: column;
	}
	
	.custom-footer {
		padding: 30px 0 15px;
	}
	
	.footer-column {
		margin-bottom: 0;
		border-bottom: none;
	}
	
	/* Mobile: Company, Products, Studio menu, then Informations/Languages */
	.footer-column-right {
		order: 1;
	}
	
	.footer-column-middle {
		order: 2;
	}
	
	.footer-column-studio {
		order: 3;
	}
	
	.footer-column-left {
		order: 4;
	}
	
	.footer-section {
		margin-bottom: 0;
		padding: 20px 0;
		border-bottom: 1px solid #3a3a3a;
	}
	
	/* Remove border from last section */
	.footer-column:last-child .footer-section:last-child {
		border-bottom: none;
	}
	
	/* Accordion sections - collapsed by default on mobile */
	.footer-section-accordion .footer-section-content {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease, padding 0.3s ease;
		padding-top: 0;
	}
	
	.footer-section-accordion.active .footer-section-content {
		max-height: 1000px;
		padding-top: 15px;
	}
	
	/* Company section - always visible, no accordion */
	.footer-section-company .footer-section-content {
		max-height: none !important;
		overflow: visible !important;
		padding-top: 15px;
	}
	
	.footer-accordion-toggle {
		padding: 0;
		margin-bottom: 0;
	}
}

@media (max-width: 480px) {
	.custom-footer-content {
		padding: 0 15px;
	}
	
	.footer-heading {
		font-size: 14px;
	}
	
	.footer-links a,
	.footer-contact-details {
		font-size: 13px;
	}
}

