/* ==========================================================================
   Custom Styles for Первая Московская Гильдия адвокатов
   Version: 1.1.4
   Last Updated: 2025-01-15
   ========================================================================== */

/* Hamburger Menu Toggle Button
   ========================================================================== */
.header-btn-collapse-nav {
	position: relative;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	background: transparent;
}

.header-btn-collapse-nav i {
	font-size: 24px;
	transition: all 0.3s ease;
}

.header-btn-collapse-nav.active .fa-bars {
	display: none;
}

.header-btn-collapse-nav.active::before {
	content: "\f00d";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 24px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Mobile Navigation Menu
   ========================================================================== */
#mobileNav {
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#mobileNav .dropdown-item {
	padding: 12px 20px;
	border-bottom: 1px solid #f0f0f0;
}

#mobileNav .dropdown-item:hover {
	background-color: #f8f9fa;
}

/* Mobile Submenu Styles
   ========================================================================== */
#mobileNav .collapse {
	background-color: #f8f9fa;
}

#mobileNav .collapse .dropdown-item {
	padding: 10px 20px;
	font-size: 0.9rem;
	background-color: transparent;
}

#mobileNav .collapse .dropdown-item:hover {
	background-color: #e9ecef;
}

/* Dropdown Toggle Arrow Animation
   ========================================================================== */
#mobileNav .dropdown-toggle::after {
	float: right;
	margin-top: 8px;
	transition: transform 0.3s ease;
}

#mobileNav .dropdown-toggle[aria-expanded="true"]::after {
	transform: rotate(180deg);
}

/* Floating Telegram Button (Desktop Only)
   ========================================================================== */
.floating-telegram-btn {
	position: fixed;
	bottom: 110px;
	right: 30px;
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 28px;
	box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
	transition: all 0.3s ease;
	z-index: 9999;
	text-decoration: none !important;
}

.floating-telegram-btn:hover {
	background: linear-gradient(135deg, #006699 0%, #0088cc 100%);
	transform: scale(1.1) translateY(-3px);
	box-shadow: 0 6px 25px rgba(0, 136, 204, 0.6);
	color: #fff;
	text-decoration: none !important;
}

.floating-telegram-btn:focus {
	color: #fff;
	text-decoration: none !important;
	outline: none;
}

.floating-telegram-btn:active {
	transform: scale(1.05) translateY(-1px);
}

.floating-telegram-btn i {
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
}

/* Slider Text Readability
   ========================================================================== */
/* Затемненный оверлей для лучшей читаемости светлого текста */
.slide-with-overlay::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
	z-index: 1;
}

.slide-with-overlay .container {
	position: relative;
	z-index: 2;
}

/* Тени для текста в слайдере */
.slide-with-overlay .text-light,
.slide-with-overlay h2,
.slide-with-overlay p {
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.my_color {
    color: #306b43;
}


