/* ------------------------------------------------------------------------------
	Template Name: Flosix
	Author: Designstub
	Author URI: http://www.designstub.com
	License: GNU General Public License version 3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
	Version: 1.0

/* ------------------------------------------------------------------------------
	Typography
-------------------------------------------------------------------------------*/

/* Общие стили */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-weight: 700;
    color: #2c3e50;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* Шапка */
header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.navigation .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navigation .nav-links li {
    margin-left: 25px;
}

.navigation .nav-links li a {
    font-weight: 500;
    font-size: 16px;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.navigation .nav-links li a:hover {
    color: #3498db;
}

.navigation .nav-links li a[href^="tel:"] {
    background-color: #3498db;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.navigation .nav-links li a[href^="tel:"]:hover {
    background-color: #2980b9;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .navigation .nav-links {
        display: none;
        flex-direction: column;
        background-color: #ffffff;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 200px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
    }

    .navigation .nav-links li {
        margin: 0;
        padding: 10px;
        text-align: center;
    }

    .navigation .nav-links li a {
        display: block;
    }

    .nav-toggle {
        display: flex;
    }

    .navigation.active .nav-links {
        display: flex;
    }
}

/* Баннер */
.banner {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.banner h1 {
    font-size: 3em;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.banner p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Секции */
section {
    padding: 80px 0;
}

.section-padding {
    padding: 100px 0;
}

/* Портфолио */
#portfolio .portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#portfolio .portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

#portfolio .portfolio-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* FAQ */
.frequent-ask-accrodian .card {
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.frequent-ask-accrodian .card-header {
    background-color: #ffffff;
    padding: 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.frequent-ask-accrodian .card-header h4 {
    margin: 0;
    font-size: 18px;
    color: #2c3e50;
}

.frequent-ask-accrodian .card-body {
    padding: 15px;
    background-color: #f9f9f9;
    font-size: 16px;
    color: #555;
}

/* Команда */
.team-section .team-post {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-section .team-post:hover {
    transform: translateY(-10px);
}

.team-section .team-post img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.team-section .hover-team {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: rgba(52, 152, 219, 0.9);
    color: #fff;
    padding: 20px;
    transition: bottom 0.3s ease;
    text-align: center;
}

.team-section .team-post:hover .hover-team {
    bottom: 0;
}

.team-section .hover-team .namet {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-section .hover-team span {
    font-size: 16px;
    color: #ecf0f1;
}

/* Отзывы */
.testimonial-description {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.testimonial-description:hover {
    transform: translateY(-10px);
}

.testimonial-description p {
    font-style: italic;
    font-size: 16px;
    color: #555;
}

.user-text {
    margin-top: 15px;
    font-weight: 700;
    color: #2c3e50;
}

/* Футер */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 16px;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .navigation ul {
        display: none;
        flex-direction: column;
        background-color: #ffffff;
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .navigation ul li {
        margin: 0;
        text-align: center;
        padding: 15px;
    }

    .nav-toggle {
        display: block;
    }

    .banner h1 {
        font-size: 2.5em;
    }

    .team-section .team-post {
        margin-bottom: 30px;
    }
}