/* Base Styles & Reset */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #3a7bd5;
    --accent-color: #f5a623;
    --dark-color: #2c3e50;
    --light-color: #f9f9f9;
    --text-color: #333;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}
.fab{
    font-weight: 400;
    font-size: 22px;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 20px auto;
}

.highlight {
    color: var(--accent-color);
}

/* Header Styles */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.main-nav .nav-list {
    display: flex;
}

.main-nav .nav-list li {
    margin-left: 25px;
}

.main-nav .nav-list a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
}

.main-nav .nav-list a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.main-nav .nav-list a:hover:after,
.main-nav .nav-list a.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    position: relative;
    transition: var(--transition);
}

.menu-icon:before,
.menu-icon:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    position: absolute;
    transition: var(--transition);
}

.menu-icon:before {
    top: -8px;
}

.menu-icon:after {
    bottom: -8px;
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 120px 0;
    text-align: center;
    background-image: url("/static/static_images/hero-background.7a5d2fa6cd95.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Advantages Section */
.advantages {
    background-color: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    padding: 30px;
    border-radius: 8px;
    background-color: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.advantage-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.advantage-card h3 {
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-color);
    position: relative;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-item {
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 20px;
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text:before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
}

.testimonial-author {
    font-weight: 700;
}

.testimonial-position {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Footer Styles */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-column h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: white;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info li i {
    margin-top: 4px;
    margin-right: 10px;
    color: var(--accent-color);
}
.contact-links {
    display: flex;
    gap: 15px;
}

.contact-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    transition: var(--transition);
}

.contact-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Header Sections with Background Images */
.about-header,
.portfolio-header,
.contact-header,
.catalog-header {
    position: relative;
    color: white;
    padding: 150px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */
    margin-bottom: 0;
}

.about-header::before,
.portfolio-header::before,
.contact-header::before,
.catalog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.about-header .container,
.portfolio-header .container,
.contact-header .container,
.catalog-header .container {
    position: relative;
    z-index: 2;
}

.about-header .page-title,
.portfolio-header .page-title,
.contact-header .page-title,
.catalog-header .page-title {
    color: white;
    margin-bottom: 20px;
    font-size: 2.8rem;
}

.about-header .page-description,
.portfolio-header .page-description,
.contact-header .page-description,
.catalog-header .page-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-header {
    background-image: url("/static/static_images/about-header.5e733972a600.webp");
}

.portfolio-header {
    background-image: url("/static/static_images/portfolio-header.4e97ff4b4988.jpg");
}

.contact-header {
    background-image: url("/static/static_images/contact-header-bg.82b43301fe5e.webp");
}

.catalog-header {
    background-image: url("/static/static_images/catalog-header.34cbc4dcd69d.jpg");
}

/* Catalog Page Styles */
.catalog-header {
    background-color: var(--dark-color);
    color: white;
    padding: 150px 0;
    text-align: center;
    background-attachment: fixed;
    background-position-y: 95%;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.catalog-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-item {
    padding: 8px 20px;
    margin: 5px;
    cursor: pointer;
    background-color: var(--light-color);
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 600;
}

.filter-item:hover,
.filter-item.active {
    background-color: var(--primary-color);
    color: white;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-image {
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
}

.product-info p {
    color: #666;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.product-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}
.modal-overlay{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal{
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: scale(1);
    opacity: 1;
    transition: all 0.4s ease;
}

/* .modal.active{
    transform: scale(1);
    opacity: 1;
} */
.modal-body {
    padding: 30px;
    padding-top: 0px;
}
.modal-header{
    background: #4361ee;
    color: white;
    padding: 20px;
    position: relative;
}

.modal-title{
    font-size: 24px;
    font-weight: 600;
}
.modal-close {
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
    text-align: right;
    padding: 2px 15px;
}

.modal-close:hover {
    color: var(--secondary-color);
}
.btn-center{
    text-align: center;
}
.custom-request {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.custom-request-content {
    max-width: 700px;
    margin: 0 auto;
}

.custom-request h2 {
    margin-bottom: 15px;
}

.custom-request p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.custom-request .btn {
    background-color: white;
    color: var(--primary-color);
}

.custom-request .btn:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .main-nav .nav-list li {
        margin: 15px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Portfolio Page Styles */
.portfolio-header {
    background-color: var(--dark-color);
    color: white;
    padding: 150px 0;
    text-align: center;
    background-attachment: fixed;
    background-position-y: 100%;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 300px;
}

.portfolio-image {
    height: 100%;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    color: white;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h3 {
    margin-bottom: 10px;
}

.portfolio-content p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.portfolio-btn {
    color: white;
    border-color: white;
}

.portfolio-btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.cta {
    background-color: var(--accent-color);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.cta .btn-secondary {
    background-color: transparent;
    border-color: white;
    color: white;
}

.cta .btn-secondary:hover {
    background-color: white;
    color: var(--accent-color);
}

/* About Page Styles */
.about-header {
    background-color: var(--dark-color);
    color: white;
    padding: 150px 0;
    text-align: center;
    background-attachment: fixed;
    background-position-y: 100%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-values {
    background-color: var(--light-color);
}

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

.value-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
}

.about-team {
    background-color: white;
}

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

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-photo {
    height: 300px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .team-photo img {
    transform: scale(1.05);
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    margin-bottom: 5px;
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-bio {
    margin-bottom: 15px;
    color: #666;
}

.team-social {
    display: flex;
    gap: 10px;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--primary-color);
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.about-stats {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        order: 1;
    }
    
    .about-image {
        order: 0;
        margin-bottom: 30px;
    }
}

/* Contact Page Styles */
.contact-header {
    background-color: var(--dark-color);
    color: white;
    padding: 150px 0;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-details h2,
.contact-form-container h2 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.contact-details h2:after,
.contact-form-container h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.contact-intro {
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    margin-right: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-text h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-text p {
    line-height: 1.6;
    color: #666;
}
.contact-text a {
    color: #666;
}
.contact-text a:hover {
    color: var(--primary-color);
}

.social-connect h3 {
    margin-bottom: 15px;
}

.contact-form-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ff3860;
}

.form-checkbox {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
}

.form-checkbox label {
    font-weight: normal;
    font-size: 0.9rem;
    line-height: 1.4;
}

.map-section {
    background-color: var(--light-color);
}

.map-container {
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    height: 100%;
    position: relative;
    background-color: #e9e9e9;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
}

.map-overlay p {
    margin-bottom: 10px;
}

.map-overlay a {
    color: white;
    text-decoration: underline;
}

.faq-section {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.faq-question {
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 15px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}
.spec-table th {
    background-color: #f2f2f2;
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid #ddd;
}
.spec-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}
.spec-table tr:hover {
    background-color: #f1f1f1;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        order: 0;
    }
    
    .contact-form-container {
        order: 1;
    }
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 999;
}

.flash-message {
    padding: 15px 0;
    margin-bottom: 10px;
    transition: opacity 0.5s ease;
}

.flash-message .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flash-message.success {
    background-color: #48c774;
    color: white;
}

.flash-message.error {
    background-color: #ff3860;
    color: white;
}

.flash-message.info {
    background-color: var(--primary-color);
    color: white;
}

.close-flash {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.close-flash:hover {
    opacity: 1;
}

/* Canvas Catalog Section */
.canvas-catalog {
    background-color: var(--light-color);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #666;
}

.canvas-product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.canvas-product-image {
    height: 220px;
    overflow: hidden;
}

.canvas-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.canvas-product-card:hover .canvas-product-image img {
    transform: scale(1.05);
}

.canvas-product-info {
    padding: 25px;
}

.canvas-product-info h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
    text-align: center;
}

.canvas-product-info p {
    margin-bottom: 15px;
    color: #666;
    text-align: center;
    margin-bottom: 0px;
}

.canvas-features {
    margin-bottom: 20px;
}

.canvas-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.canvas-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.canvas-customizer {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 50px;
}

.customizer-title {
    text-align: center;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-size: 1.8rem;
}

.customizer-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #666;
}

.canvas-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

canvas {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    background-color: #f5f5f5;
    border-bottom: 1px solid var(--border-color);
}

.canvas-controls {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
}

.canvas-control {
    flex: 1;
    min-width: 200px;
}

.canvas-control label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.canvas-control select,
.canvas-control input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.canvas-control input[type="range"] {
    height: 10px;
    appearance: none;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    padding: 0;
}

.canvas-control input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.range-value {
    display: inline-block;
    margin-left: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.canvas-info {
    padding: 20px;
    background-color: #f9f9f9;
}

.canvas-info h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.canvas-info p {
    margin-bottom: 10px;
}

.canvas-info span {
    font-weight: 600;
    color: var(--primary-color);
}

.canvas-info .btn {
    margin-top: 20px;
}

.catalog-cta {
    text-align: center;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .canvas-controls {
        flex-direction: column;
    }
    
    .canvas-product-image {
        height: 200px;
    }
    
    .customizer-title {
        font-size: 1.5rem;
    }
}

/* Order Process Section */
.order-process {
    background-color: white;
}

.process-timeline {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    position: relative;
}

.process-timeline:before {
    position: absolute;
    top: 80px;
    left: 20%;
    right: 20%;
    height: 4px;
    background: var(--primary-color);
    z-index: 1;
}

.process-step {
    flex: 1;
    min-width: 250px;
    padding: 20px 15px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 3;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.process-step h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

.process-cta {
    text-align: center;
    margin-top: 50px;
}

.yandex-feedback {
    width: 560px;
    height: 800px;
    overflow: hidden;
    position: relative;
    margin: auto;
}

@media (max-width: 992px) {
    .process-timeline:before {
        left: 10%;
        right: 10%;
        top: 70px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
    }
    
    .process-timeline:before {
        top: 0;
        bottom: 0;
        left: 30px;
        right: auto;
        width: 4px;
        height: auto;
        content: '';
    }
    
    .process-step {
        text-align: left;
        display: flex;
        flex-wrap: wrap;
        padding-left: 70px;
    }
    
    .step-number {
        position: absolute;
        left: 12px;
        top: 20px;
        margin: 0;
    }
    
    .step-icon {
        margin: 0 15px 0 0;
        width: 50px;
        height: 50px;
    }
    
    .process-step h3 {
        margin-top: 10px;
    }
    
    .process-step p {
        width: 100%;
        margin-top: 10px;
    }
    .yandex-feedback {
        width: 90%;
    }
}

/* Product Detail Page Styles */
.product-detail {
    background-color: white;
}

.product-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.product-overview-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-overview-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-overview-content h2 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.product-overview-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.product-overview-content p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: #555;
}

.product-features {
    margin-bottom: 25px;
}

.product-features h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.product-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.product-price-range {
    margin-bottom: 25px;
}

.product-price-range h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-price-range p {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0;
}

.subproducts-section {
    margin-bottom: 60px;
}

.related-products {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 992px) {
    .product-overview {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile Optimization for Background Images */
@media (max-width: 768px) {
    .hero, 
    .about-header,
    .portfolio-header,
    .contact-header,
    .catalog-header {
        background-attachment: scroll;
        padding: 80px 0;
    }
    
    .hero {
        background-position: center center;
    }
    
    .about-header {
        background-position: center center;
    }
    
    .portfolio-header {
        background-position: center center;
    }
    
    .contact-header {
        background-position: center center;
    }
    
    .catalog-header {
        background-position: center center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.2rem !important;
    }
    
    .page-description {
        font-size: 1rem !important;
    }
}

/* Portfolio Item Detail Page */
.portfolio-item-detail {
    background-color: #fff;
    padding: 60px 0;
}

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

/* Gallery Styles */
.portfolio-gallery {
    width: 100%;
}

.portfolio-gallery .main-image {
    width: 100%;
    height: 400px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.portfolio-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-gallery .thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.portfolio-gallery .thumbnail {
    max-width: 180px;
    flex: 1 1 0;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.portfolio-gallery .thumbnail.active {
    border-color: #007bff;
}

.portfolio-gallery .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-gallery .thumbnail:hover {
    transform: translateY(-3px);
}

/* Information Section */
.portfolio-info h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.portfolio-info h3 {
    color: #333;
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.portfolio-info p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.portfolio-info .features ul {
    list-style: none;
    padding-left: 0;
}

.portfolio-info .features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.portfolio-info .features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.portfolio-info .project-details {
    margin-top: 30px;
}

.portfolio-info .details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.portfolio-info .detail-item {
    margin-bottom: 10px;
}

.portfolio-info .detail-item strong {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.portfolio-info .detail-item span {
    color: #333;
    font-size: 1rem;
}

.portfolio-info .cta-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

/* Related Projects Section */
.related-projects {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.related-projects .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

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

.related-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-image {
    height: 220px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.related-content {
    padding: 20px;
}

.related-content h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: #333;
}

.related-content p {
    margin-bottom: 20px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .portfolio-item-content {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-gallery .main-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .portfolio-gallery .main-image {
        height: 300px;
    }
    
    .portfolio-gallery .thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .portfolio-info .details-grid {
        grid-template-columns: 1fr;
    }
} 
