/*
Theme Name: LRV Sound
Theme URI: https://lrvsound.ee
Author: LRV Sound
Author URI: https://lrvsound.ee
Description: Premium audio production and services theme
Version: 1.0
Requires at least: 5.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lrvsound
Domain Path: /languages
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Reset & Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-color: #000;
	--primary-foreground: #fff;
	--secondary-color: #f5f5f5;
	--text-primary: #1f2937;
	--text-secondary: #6b7280;
	--border-color: #e5e7eb;
	--transition-base: all 0.3s ease;
	--transition-fast: all 0.2s ease;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Poppins', sans-serif;
	color: var(--text-primary);
	background-color: #deefff;
	line-height: 1.6;
}

/* Navigation Styles */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	transition: var(--transition-base);
}

.navbar.navbar-scrolled {
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
	height: auto;
}

.navbar-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	min-height: 73px;
}

.logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	transition: var(--transition-base);
}

.logo-link:hover {
	transform: scale(1.1);
}

.logo {
	width: 56px;
	height: 56px;
	transition: var(--transition-base);
}

.navbar:not(.navbar-scrolled) .logo {
	filter: brightness(0) invert(1);
}

/* Desktop Navigation */
.nav-menu {
	display: none;
	align-items: center;
	gap: 32px;
}

@media (min-width: 768px) {
	.nav-menu {
		display: flex;
	}
}

.nav-items {
	display: flex;
	list-style: none;
	gap: 32px;
	margin: 0;
	padding: 0;
}

.nav-items li a {
	text-decoration: none;
	font-size: 16px;
	font-weight: 400;
	position: relative;
	display: inline-flex;
	align-items: center;
	transition: var(--transition-fast);
	overflow: visible;
	line-height: 1;
}

.navbar:not(.navbar-scrolled) .nav-items li a {
	color: rgba(255, 255, 255, 0.9);
}

.navbar.navbar-scrolled .nav-items li a {
	color: rgb(0, 0, 0);
}

.nav-items li a:hover {
	color: inherit;
}

.navbar:not(.navbar-scrolled) .nav-items li a:hover {
	color: rgba(255, 255, 255, 0.9);
}

.nav-items li a::before {
	content: '';
	position: absolute;
	inset: 0;
	background-color: #fff;
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.3s ease;
	z-index: -1;
	display: none;
}

.navbar:not(.navbar-scrolled) .nav-items li a:hover::before {
	transform: scaleY(1);
	display: none;
}

/* Underline Animation */
.nav-items li a::after {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 0;
	width: 0;
	height: 1px;
	transition: width 0.3s ease;
}

.navbar:not(.navbar-scrolled) .nav-items li a::after {
	background-color: #fff;
}

.navbar.navbar-scrolled .nav-items li a::after {
	background-color: #000;
}

.nav-items li a:hover::after {
	width: 70%;
}

.navbar:not(.navbar-scrolled) .nav-items li a:hover::after {
	width: 70%;
}

/* CTA Button */
.nav-cta {
	padding: 12px 24px;
	text-decoration: none;
	font-weight: 400;
	font-size: 16px;
	transition: var(--transition-fast);
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	line-height: 1;
	
}

.navbar:not(.navbar-scrolled) .nav-cta {
	color: #fff;
}

.navbar.navbar-scrolled .nav-cta {
	background-color: #deefff;
	background-image: linear-gradient(to top, #ffffff 50%, #deefff 50%);
	background-size: 100% 200%;
	background-position: center top;
	color: #000;
	transition: background-position 0.3s ease;
}

.nav-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background-color: rgba(255, 255, 255, 0.1);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.3s ease;
	z-index: -1;
}

.navbar:not(.navbar-scrolled) .nav-cta::before {
	background-color: #fff;
	transform: scaleY(0);
	transform-origin: bottom;
}

.navbar.navbar-scrolled .nav-cta::before {
	display: none;
}

.navbar:not(.navbar-scrolled) .nav-cta:hover::before {
	transform: scaleY(1);
}

.navbar:not(.navbar-scrolled) .nav-cta:hover {
	color: #000;
}

.navbar.navbar-scrolled .nav-cta:hover::before {
	transform: scaleY(1);
}

.navbar.navbar-scrolled .nav-cta:hover {
	background-position: center bottom;
	color: #000;
}

/* Language Switcher */
.pll-inline {
	display: flex;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pll-inline a {
	text-decoration: none;
	font-size: 16px;
	font-weight: 400;
	position: relative;
	display: inline-flex;
	align-items: center;
	transition: var(--transition-fast);
	overflow: visible;
	line-height: 1;
}

.navbar:not(.navbar-scrolled) .pll-inline a {
	color: rgb(255, 255, 255);
}

.navbar.navbar-scrolled .pll-inline a {
	color: var(--text-primary);
}

.pll-inline a::after {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 0;
	width: 0;
	height: 1px;
	transition: width 0.3s ease;
}

.navbar:not(.navbar-scrolled) .pll-inline a::after {
	background-color: #fff;
}

.navbar.navbar-scrolled .pll-inline a::after {
	background-color: #000;
}

.pll-inline a:hover::after {
	width: 70%;
}

.pll-inline .pll-current a {
	font-weight: 600;
	cursor: default;
	opacity: 1;
}

.navbar:not(.navbar-scrolled) .pll-inline .pll-current a {
	color: #fff;
}

.navbar.navbar-scrolled .pll-inline .pll-current a {
	color: #000;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	transition: var(--transition-fast);
}

@media (min-width: 768px) {
	.mobile-menu-toggle {
		display: none;
	}
}

.navbar:not(.navbar-scrolled) .mobile-menu-toggle {
	color: #fff;
}

.navbar:not(.navbar-scrolled) .mobile-menu-toggle:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.navbar.navbar-scrolled .mobile-menu-toggle {
	color: var(--text-primary);
}

.navbar.navbar-scrolled .mobile-menu-toggle:hover {
	background-color: var(--secondary-color);
}

/* Hamburger Menu */
.hamburger {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 24px;
	height: 24px;
	justify-content: center;
}

.line {
	display: block;
	height: 2px;
	background-color: currentColor;
	transition: var(--transition-fast);
	transform-origin: center;
}

.mobile-menu-toggle.active .line1 {
	transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .line2 {
	opacity: 0;
}

.mobile-menu-toggle.active .line3 {
	transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-nav-menu {
	position: fixed;
	top: 73px;
	left: 0;
	right: 0;
	z-index: 40;
	border-bottom: 1px solid;
	display: none;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.3s ease;
}

.mobile-nav-menu.active {
	display: block;
	max-height: 500px;
}

.navbar:not(.navbar-scrolled) .mobile-nav-menu {
	background-color: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(10px);
	border-color: #000;
	border-bottom: none;
}

.navbar.navbar-scrolled .mobile-nav-menu {
	background-color: #fff;
	border-color: #000;
	border-bottom: none;
}

.mobile-nav-content {
	padding: 16px 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mobile-nav-items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mobile-nav-items li a {
	display: block;
	padding: 8px 0;
	font-size: 18px;
	text-decoration: none;
	transition: var(--transition-fast);
}

.navbar:not(.navbar-scrolled) .mobile-nav-items li a {
	color: rgba(255, 255, 255, 0.9);
}

.navbar:not(.navbar-scrolled) .mobile-nav-items li a:hover {
	color: #fff;
}

.navbar.navbar-scrolled .mobile-nav-items li a {
	color: rgba(31, 41, 55, 0.8);
}

.navbar.navbar-scrolled .mobile-nav-items li a:hover {
	color: var(--primary-color);
}

/* Mobile CTA Button */
.mobile-nav-cta {
	display: block;
	width: 100%;
	padding: 12px 24px;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	transition: var(--transition-fast);
}

.navbar:not(.navbar-scrolled) .mobile-nav-cta {
	background-color: #fff;
	color: #000;
}

.navbar:not(.navbar-scrolled) .mobile-nav-cta:hover {
	background-color: rgba(255, 255, 255, 0.85);
}

.navbar.navbar-scrolled .mobile-nav-cta {
	background-color: var(--primary-color);
	color: var(--primary-foreground);
}

.navbar.navbar-scrolled .mobile-nav-cta:hover {
	background-color: rgba(0, 0, 0, 0.9);
}

/* Site Header */
.site-header {
	padding-top: 73px;
}

/* WordPress Core Styles */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Utility Classes */
.wp-align-left {
	margin-right: auto;
}

.wp-align-right {
	margin-left: auto;
}

.wp-align-center {
	margin-left: auto;
	margin-right: auto;
}

/* Container */
.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Hero Section */
.hero-section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/hero-bg-mobile.webp');
	background-size: cover;
	background-position: right;
	background-attachment: scroll;
	background-repeat: no-repeat;
	position: relative;
	overflow: hidden;
	padding-top: 73px;
}

@media (max-width: 650px) {
    .hero-section {
        background-position-x: -610px;
    }
}

@media (min-width: 768px) {
	.hero-section {
		background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/hero-bg-tablet.webp');
		background-position: right;
		background-attachment: fixed;
	}
}

@media (min-width: 1200px) {
	.hero-section {
		background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/hero-bg.webp');
		background-position: right;
	}
}

.hero-content {
	text-align: center;
	color: white;
	max-width: 600px;
	animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-logo-wrapper {
	margin-bottom: 40px;
	animation: zoomIn 0.6s ease;
}

.hero-logo {
	width: 150px;
	height: 150px;
	filter: brightness(0) invert(1);
}

.hero-name {
	font-size: 3.5rem;
	font-weight: 500;
	margin-bottom: 8px;
	line-height: 1.1;
}

.hero-title {
	font-size: 1.5rem;
	font-weight: 400;
	margin-bottom: 24px;
	opacity: 0.95;
}

.hero-description {
	font-size: 1.125rem;
	margin-bottom: 40px;
	opacity: 0.9;
	line-height: 1.6;
	font-weight: 300;
}

.hero-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.hero-buttons .btn {
	font-weight: 400;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 14px 32px;
	border: 2px solid transparent;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	transition: var(--transition-fast);
	cursor: pointer;
	border-radius: 0;
	text-align: center;
	position: relative;
	background-size: 100% 200%;
	background-position: center top;
}

.btn-primary {
	background-color: #deefff;
	background-image: linear-gradient(to top, #ffffff 50%, #deefff 50%);
	color: #000;
	border-color: #deefff;
	transition: background-position 0.3s ease;
}

.btn-primary:hover {
	background-position: center bottom;
	color: #000;
}

.btn-secondary {
	background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, transparent 50%);
	color: white;
	border-color: white;
	transition: background-position 0.3s ease;
}

.btn-secondary:hover {
	background-position: center bottom;
}

.btn-full {
	width: 100%;
}

/* Section Styles */
.site-main {
	margin-top: 0;
}

section {
	padding: 80px 0;
}

.section-title {
	font-size: 2.5rem;
	font-weight: 600;
	text-align: center;
	margin-bottom: 16px;
}

.section-subtitle {
	font-size: 1.125rem;
	color: var(--text-secondary);
	text-align: center;
	margin-bottom: 48px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* About Section */
.about-section {
	background-color: #fff;
	position: relative;
}

.about-section::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 20px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(200, 200, 200, 0.15));
	pointer-events: none;
}

.about-content {
	max-width: 800px;
	margin: 0 auto;
}

.about-carousel {
	text-align: center;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-slide {
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease;
	animation: fadeIn 0.5s ease forwards;
}

.about-slide.active {
	display: block;
	opacity: 1;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.about-slide p {
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--text-secondary);
	margin: 0;
}

.about-dots {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 40px;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid var(--text-secondary);
	background-color: transparent;
	cursor: pointer;
	transition: var(--transition-fast);
	padding: 8px;
	min-width: 28px;
	min-height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-tap-highlight-color: transparent;
}

.dot.active {
	background-color: var(--text-secondary);
}

.dot:active {
	transform: scale(1.2);
}

/* Services Section */
.services-section {
	background-color: #fff;
	position: relative;
}

.services-section::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 20px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(200, 200, 200, 0.15));
	pointer-events: none;
}

.services-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	max-width: 1000px;
	margin: 0 auto;
}

.service-card {
	background-color: white;
	padding: 32px;
	border: 1px solid var(--border-color);
	transition: var(--transition-base);
	cursor: pointer;
	align-self: start;
}

.service-card:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transform: translateY(-5px);
}

.service-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.service-title {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0;
}

.service-toggle {
	font-size: 2rem;
	font-weight: 300;
	color: var(--primary-color);
	transition: var(--transition-fast);
	flex-shrink: 0;
}

.service-card.active .service-toggle {
	transform: rotate(45deg);
}

.service-description {
	color: var(--text-secondary);
	font-size: 1rem;
	line-height: 1.6;
	margin: 0;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-top: 24px;
}

.gallery-item {
	overflow: hidden;
	aspect-ratio: 1;
	background-color: #e0e0e0;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition-base);
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.details-title {
	font-size: 1.1rem;
	font-weight: 400;
	margin: 0 0 16px 0;
	padding: 12px 0;
	color: var(--text-primary);
}

.details-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin-top: 0;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--border-color);
}

.detail-button {
	display: inline-block;
	padding: 10px 16px;
	background-color: #deefff;
	color: #000;
	text-decoration: none;
	text-align: center;
	font-weight: 400;
	font-size: 0.9rem;
	transition: var(--transition-fast);
	border-radius: 2px;
	cursor: pointer;
}

.detail-button:hover {
	background-color: #c2e5ff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-details .btn {
	margin-top: 24px;
	display: block;
	width: 100%;
	font-weight: 400;
}

.studio-logo-wrapper {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--border-color);
	display: flex;
	justify-content: center;
	align-items: center;
}

.studio-logo-link {
	display: inline-block;
	text-decoration: none;
	transition: var(--transition-base);
	cursor: pointer;
}

.studio-logo-link:hover {
	transform: scale(1.05);
}

.studio-logo {
	max-width: 100%;
	height: auto;
	max-height: 180px;
	display: block;
	transition: var(--transition-base);
}

.studio-logo-link:hover .studio-logo {
	filter: brightness(1.1);
}

.service-gallery,
.service-details {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.service-card.active .service-gallery,
.service-card.active .service-details {
	max-height: 1000px;
}

/* Portfolio Section */
.portfolio-section {
	background-color: #ffffff;
	position: relative;
}

.portfolio-section::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 20px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(200, 200, 200, 0.15));
	pointer-events: none;
}

.portfolio-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: stretch;
}

.portfolio-column {
	display: flex;
	flex-direction: column;
}
.column-title {
	text-align: center;
	font-size: 1.75rem;
	font-weight: 400;
	margin-bottom: 32px;
	color: var(--text-primary);
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.project-card {
	overflow: hidden;
	position: relative;
	aspect-ratio: 5/3;
	background-color: #e0e0e0;
	cursor: pointer;

}

.project-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition-base);
}

.project-card:hover .project-image {
	transform: scale(1.05);
}

.project-info {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 24px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
	color: white;
	transform: translateY(20px);
	transition: var(--transition-base);
}

.project-card:hover .project-info {
	transform: translateY(0);
}

.project-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 4px;
}

.project-type {
	font-size: 0.875rem;
	opacity: 0.9;
}

.videos-container {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 1;
	
	
}

.videos-viewport {
	position: relative;
	flex: 1;
	overflow: hidden;
	background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
	aspect-ratio: 9/16;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	max-width: 100%;
	max-height: 600px;
}

.videos-track {
	display: flex;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	height: 100%;
}

.video-slide {
	flex: 0 0 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	height: 100%;
}

.carousel-video-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	background: #000;
}

.carousel-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.carousel-video-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.video-title {
    top: 0;
    position: absolute;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    padding: 16px 12px 12px;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.video-nav {
	background: none;
	border: 2px solid var(--text-primary);
	color: var(--text-primary);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 1.5rem;
	transition: var(--transition-fast);
	flex-shrink: 0;
}

.video-nav > span {
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translateY(-2px);
}

.video-nav:hover {
	background-color: var(--text-primary);
	color: #fff;
	transform: scale(1.1);
}

.video-nav:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}



.videos-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
}

.video-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--secondary-color);
	cursor: pointer;
	transition: var(--transition-fast);
	border: none;
	padding: 0;
}

.video-dot.active {
	background-color: var(--primary-color);
	width: 24px;
	border-radius: 4px;
}

.video-dot:hover {
	background-color: var(--text-primary);
}

/* Video Cards Grid */
.videos-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	height: 600px;
	overflow-y: auto;
}

.video-card {
	position: relative;
	
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
	background: #e0e0e0;
	transition: var(--transition-base);
	max-height: 400px;
	
}

.video-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-card-preview,
.video-card-preview-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.video-card-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	opacity: 0;
	transition: var(--transition-base);
}

.video-card:hover .video-card-overlay {
	opacity: 1;
	background: rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
	.video-card-overlay {
		opacity: 1;
		background: rgba(0, 0, 0, 0.6);
	}
}

.play-icon {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: var(--transition-base);
	padding: 0;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.video-card:hover .play-icon {
	transform: scale(1.1);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.video-card-title {
	color: #fff;
	font-size: 0.95rem;
	font-weight: 600;
	text-align: center;
	margin: 0;
	padding: 0 12px;
}

.video-card.active {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Featured Video Section */
.featured-video-container {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.featured-video-player {
	position: relative;
	aspect-ratio: 16/9;
	overflow: hidden;
	border-radius: 8px;
	background: #000;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.featured-video {
	width: 100%;
	height: 100%;
	display: block;
}

.featured-video-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-primary);
	margin: 8px 0 0 0;
	text-align: center;
}

/* Contact Section */
.contact-section {
	background-color: #fff;
	position: relative;
}

.contact-section::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 20px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(200, 200, 200, 0.15));
	pointer-events: none;
}

.contact-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	max-width: 1200px;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.contact-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.contact-info h3,
.contact-form-wrapper h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 24px;
}

.info-items {
	margin-bottom: 32px;
}

.info-item {
	margin-bottom: 24px;
}

.info-item strong {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
	color: var(--text-primary);
}

.info-item a,
.info-item p {
	color: var(--text-secondary);
	text-decoration: none;
	transition: var(--transition-fast);
}

.info-item a:hover {
	color: var(--primary-color);
}

.contact-note {
	padding-top: 24px;
	border-top: 1px solid var(--border-color);
	color: var(--text-secondary);
	line-height: 1.8;
}

.social-links {
	display: flex;
	gap: 16px;
	margin-top: 24px;
}

.social-links a {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	color: var(--primary-color);
	text-decoration: none;
	transition: var(--transition-fast);
	font-weight: 600;
	font-size: 1.2rem;
	line-height: 1;
}

.social-icon {
	width: 40px;
	height: 40px;
	display: block;
	flex-shrink: 0;
}

.footer-social .social-icon,
.contact-section .social-icon {
	width: 32px;
	height: 32px;
}

.footer-social a:nth-child(3) .social-icon,
.contact-section .social-links a:nth-child(3) .social-icon {
	width: 37px;
	height: 37px;
}

.social-links a:hover {
	color: #888888;
}

/* Contact Form */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-group label {
	font-weight: 600;
	color: var(--text-primary);
	padding: 0;
	margin: 0;
}

.form-input {
	padding: 12px 16px;
	border: 1px solid var(--border-color);
	background-color: white;
	font-family: inherit;
	font-size: 1rem;
	transition: var(--transition-fast);
	width: 100%;
	box-sizing: border-box;
}

.form-input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-textarea {
	resize: vertical;
	min-height: 120px;
}

.form-message {
	padding: 16px;
	border-radius: 2px;
	margin-bottom: 8px;
}

.form-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.form-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Contact Form 7 Compatibility */
.wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.wpcf7-form .form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wpcf7-form .form-group label {
	font-weight: 600;
	color: var(--text-primary);
	padding: 0;
	margin: 0;
}

.wpcf7-form input[type="text"].form-input,
.wpcf7-form input[type="email"].form-input,
.wpcf7-form input[type="tel"].form-input,
.wpcf7-form textarea.form-input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--border-color);
	background-color: white;
	font-family: inherit;
	font-size: 1rem;
	transition: var(--transition-fast);
	box-sizing: border-box;
}

.wpcf7-form input[type="text"].form-input:focus,
.wpcf7-form input[type="email"].form-input:focus,
.wpcf7-form input[type="tel"].form-input:focus,
.wpcf7-form textarea.form-input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.wpcf7-form textarea.form-input {
	resize: vertical;
	min-height: 120px;
}

.wpcf7-submit.btn {
	width: 100%;
	padding: 12px 24px;
	border: none;
	cursor: pointer;
	font-weight: 400;
}

.wpcf7-response-output {
	margin: 0 !important;
	border: none !important;
	padding: 0 !important;
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes zoomIn {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* Footer Styles */
.site-footer {
	background-color: #deefff;
	color: #000;
	margin-top: 80px;
}

.footer-content {
	padding: 0 0 40px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
}

.footer-section {
	flex: 1;
}

.footer-section h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 16px;
}

.footer-logo {
	height: 56px;
	width: auto;
	margin-bottom: 16px;
	filter: brightness(0);
}

.footer-section h4 {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 16px;
}

.footer-section p {
	color: #333;
	margin-bottom: 8px;
	line-height: 1.6;
}

.footer-section ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-section ul li {
	margin-bottom: 12px;
}

.footer-section a {
	color: #000;
	text-decoration: none;
	transition: var(--transition-fast);
}

.footer-section a:hover {
	color: #555;
}

.footer-bottom {
	border-top: 1px solid #000000;
	padding: 24px 0;
}

.footer-bottom-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.footer-bottom-content p {
	color: #333;
	margin: 0;
	font-size: 0.875rem;
	line-height: 1;
	display: flex;
	align-items: center;
}

.footer-social {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-top: -4px;
}

.footer-social a {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	color: var(--text-primary);
	text-decoration: none;
	transition: var(--transition-fast);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
	flex-shrink: 0;
}

.footer-social a:hover {
	color: #888888;
}

/* Responsive */
@media (max-width: 945px) {
	.portfolio-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 768px) {
	.hero-name {
		font-size: 2rem;
	}

	.hero-title {
		font-size: 1.25rem;
	}

	.hero-description {
		font-size: 1rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}

	.hero-buttons {
		flex-direction: column;
		padding: 0 5px;
	}

	.btn {
		width: 100%;
	}

	.contact-content {
		grid-template-columns: 1fr;
	}

	.portfolio-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.videos-grid {
		grid-template-columns: 1fr;
		height: 1000px;
	}

	.video-card {
		max-height: 600px;
	}

	.featured-video-player {
		aspect-ratio: 16/9;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.footer-bottom-content {
		flex-direction: column;
		text-align: center;
	}

	.footer-social {
		justify-content: center;
	}

	.service-card.active .service-gallery,
	.service-card.active .service-details {
		max-height: 2000px;
	}

	.portfolio-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.projects-grid {
		grid-template-columns: 1fr;
	}

	.videos-container {
		padding: 0;
	}

	.video-nav {
		width: 40px;
		height: 40px;
		font-size: 1.2rem;
	}

	.videos-viewport {
		max-width: 100%;
	}
}

/* Image Modal */
.image-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(10px);
	z-index: 1000;
	animation: fadeIn 0.3s ease;
}

.image-modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-content {
	position: relative;
	max-width: 90%;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1001;
}

.modal-image {
	max-width: 100%;
	max-height: 85vh;
	object-fit: contain;
}

.modal-close {
	position: fixed;
	top: 20px;
	right: 30px;
	background: none;
	border: none;
	color: #fff;
	font-size: 40px;
	cursor: pointer;
	z-index: 1002;
	transition: var(--transition-fast);
	padding: 0;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-close:hover {
	color: #ccc;
	transform: scale(1.1);
}

.modal-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #fff;
	font-size: 40px;
	cursor: pointer;
	padding: 0;
	transition: var(--transition-fast);
	z-index: 1002;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-nav:hover {
	color: #ccc;
	transform: translateY(-50%) scale(1.2);
}

.modal-nav:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.modal-prev {
	left: 20px;
}

.modal-next {
	right: 20px;
}

.modal-counter {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 14px;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 8px 16px;
	border-radius: 4px;
	z-index: 1002;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
