body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}

article {
    width: 85%;
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: #000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Заголовки */
h1, h2 {
    color: #00bfa5;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.75rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Параграфы */
p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Стили для списков */
ul, ol {
    padding-left: 20px;
}

ul li, ol li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Стили для кнопок */
button {
    background-color: #3498db;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background-color: #2980b9;
}

/* Breadcrumb (хлебные крошки) */
.breadcrumb ul {
    list-style: none;
    padding: 0;
    display: flex;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb ul li {
    margin-right: 10px;
}

.breadcrumb ul li a {
    color: #00bfa5;
    text-decoration: none;
}

.breadcrumb ul li::after {
    content: ">";
    margin-left: 10px;
    color: #666;
}

.breadcrumb ul li:last-child::after {
    content: "";
}

.breadcrumb ul li:last-child {
    color: #00897b;
}

/* Spinner */
.spinner {
    margin: 20px auto;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s ease infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Стили для Listview (список с элементами) */
.listview {
    list-style-type: none;
    padding-left: 0;
}

.listview li {
    background-color: #333;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 5px solid #00897b;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.listview li:hover {
    background-color: #00897b;
    color: #fff;
    border-left-color: #fff;
    cursor: pointer;
}

/* Footer */
footer {
    text-align: center;
    background-color: #2c3e50;
    padding: 20px 0;
    margin-top: 40px;
    color: white;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

/* Мобильные стили */
@media (max-width: 768px) {
    body {
        font-size: 0.9rem;
    }

    article {
        width: 95%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* Оформление ссылок */
a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

body {
    padding-top: 130px;
}

body {
    font-family: Arial, sans-serif;
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text */
    line-height: 1.6;
}

/* Container */
.container {
    
    width: 90%;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background-color: #1f1f1f; /* Darker header */
    border-bottom: 1px solid #333;
}

header .logo h1 {
    color: #00bfa5; /* Accent color for the logo */
    margin-bottom: 0px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #00bfa5; /* Highlight on hover */
}

.cta {
    background-color: #00bfa5;
    color: #121212;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta:hover {
    background-color: #00897b;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/images/bg.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    background-attachment: fixed;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
}

/* Projects Section */
.projects {
    background-color: #1a1a1a;
    padding: 50px 0;
}

.projects h2 {
    color: #00bfa5;
    text-align: center;
    margin-bottom: 0px;
}

.project-list {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.project {
    background-color: #2b2b2b;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.project img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.project h3 {
    color: #00bfa5;
    margin-bottom: 10px;
}

.project p {
    color: #cccccc;
}

.project:hover {
    transform: translateY(-10px);
}

/* Testimonials Section */
.testimonials {
    padding: 50px 0;
    text-align: center;
    background-color: #121212;
}

.testimonials h2 {
    color: #00bfa5;
    margin-bottom: 20px;
}

.testimonials p {
    color: #ccc;
    font-style: italic;
}

/* About Us Section */
.about {
    background-color: #1a1a1a;
    padding: 50px 0;
}

.about h2 {
    color: #00bfa5;
    text-align: center;
    margin-bottom: 0px;
}

.founders {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.founder {
    text-align: center;
    background-color: #2b2b2b;
    padding: 20px;
    border-radius: 8px;
    max-width: 300px;
}

.founder img {
    border-radius: 50%;
    margin-bottom: 10px;
}

.founder h3 {
    color: #00bfa5;
}

.founder p {
    color: #ccc;
}

/* Services Section */
.services {
    padding: 50px 0;
    background-color: #121212;
}

.services h2 {
    color: #00bfa5;
    text-align: center;
    margin-bottom: 0px;
}

.services ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.services li {
    margin-bottom: 10px;
    color: #ccc;
}

.services strong {
    color: #00bfa5;
}

/* Portfolio Section */
.portfolio {
    background-color: #1a1a1a;
    padding: 50px 0;
}

.portfolio h2 {
    color: #00bfa5;
    text-align: center;
    margin-bottom: 0px;
}

.portfolio-list {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.portfolio img {
    border-radius: 8px;
}

/* Blog Section */
.blog {
    padding: 50px 0;
    background-color: #121212;
}

.blog h2 {
    color: #00bfa5;
    text-align: center;
    margin-bottom: 0px;
}

.blog-posts a {
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    padding: 10px;
    border: 1px solid #333;
    margin-bottom: 10px;
    transition: background-color 0.3s;
}

.blog-posts a:hover {
    background-color: #333;
}

/* Contact Us Section */
.contact {
    background-color: #1a1a1a;
    padding: 50px 0;
}

.contact h2 {
    color: #00bfa5;
    text-align: center;
    margin-bottom: 20px;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.contact input,
.contact textarea,
.contact button {
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #2b2b2b;
    color: #e0e0e0;
    outline: none;
}

.contact button {
    background-color: #00bfa5;
    color: #121212;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact button:hover {
    background-color: #00897b;
}

.contact-info p {
    color: #ccc;
    text-align: center;
}

/* Footer Section */
footer {
    background-color: #1f1f1f;
    color: #ccc;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: #00bfa5;
    text-decoration: none;
}

footer .social-media a {
    margin: 0 10px;
    color: #e0e0e0;
    transition: color 0.3s;
}

footer .social-media a:hover {
    color: #00bfa5;
}


.container > p {
    text-align: center;
}



.blog > .container > p {
    margin-bottom: 21px;
}

.portfolio > .container > p {
    margin-bottom: 21px;
}

.services > .container > p {
    margin-bottom: 21px;
}

.about > .container > p {
    margin-bottom: 21px;
}

.projects > .container > p {
    margin-bottom: 21px;
}

@media screen and (min-width: 992px){
    header > .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .project-list > .project {
        max-width: calc(100% / 3 - 15px);
    }
}


/* Base styles for header and navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background-color: #1f1f1f;
    border-bottom: 1px solid #333;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 10000000;
}

nav {
    display: flex;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #e0e0e0;
    cursor: pointer;
    outline: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 132px; /* Adjust based on header height */
        right: 0;
        background-color: #1f1f1f;
        width: 100%;
        height: 100vh;
        display: none;
        flex-direction: column;
        padding: 20px;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
        transition: transform 0.3s;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
    }

    nav.active {
        display: flex;
    }

    .cta {
        display: none; /* Optional: Hide CTA button on mobile for a cleaner look */
    }

    header > .container{
        display: flex;
    }

    .logo{
        flex-grow: 1;
    }    
}
