/* Elegant Blinds - Custom Styles for Hangers Installation Co */

/* Заставляет strong/b наследовать цвет родителя для корректного отображения контраста */
[class*="text-"] strong,
[class*="text-"] b,
[style*="color"] strong,
[style*="color"] b,
.text-white strong, .text-white b,
.text-light strong, .text-light b {
    color: inherit;
}

/* Custom Color Palette for Professional Trust */
:root {
    --primary-navy: #1e3a5f;
    --secondary-blue: #2c5aa0;
    --accent-gold: #d4af37;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --success-green: #28a745;
    --white: #ffffff;
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Custom Typography */
.font-elegant {
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
}

.font-modern {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
}

/* Hero Section Customizations */
.hero-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

/* Custom Button Styles */
.btn-elegant {
    background: linear-gradient(45deg, var(--accent-gold), #f4d03f);
    border: none;
    color: var(--dark-gray);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-elegant:hover {
    background: linear-gradient(45deg, #f4d03f, var(--accent-gold));
    color: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline-elegant {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-elegant:hover {
    background: var(--white);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

/* Service Cards Customization */
.service-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

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

.service-card .card-body {
    padding: 2rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-navy), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

/* Project Category Cards */
.project-category-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.project-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.project-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: var(--light-gray);
}

.project-stats {
    margin-top: 1.5rem;
}

.stat-small {
    text-align: center;
}

.stat-number-small {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    display: block;
}

.stat-label-small {
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Project Items */
.project-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

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

.project-info {
    text-align: center;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

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

.project-type {
    font-size: 0.85rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Highlight Cards */
.highlight-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Company Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
    color: var(--white);
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    font-family: 'Georgia', serif;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 1rem 0;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-gold);
    font-family: 'Georgia', serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--medium-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-navy);
}

.testimonial-project {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-top: 0.5rem;
}

/* Team Member Cards */
.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-card .card-body {
    padding: 1.5rem;
}

.team-position {
    color: var(--secondary-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 95, 0.8);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Contact Form Customization */
.contact-form {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-group label {
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-navy), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    left: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--accent-gold));
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--primary-navy);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: 500px;
    animation: slideInUp 0.5s ease;
}

.cookie-consent-banner h6 {
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cookie-consent-banner .btn {
    margin-right: 0.5rem;
    margin-top: 0.5rem;
    padding: 8px 20px;
    font-size: 0.85rem;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Navigation Enhancements */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-navy) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--primary-navy) !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-blue) !important;
    transform: translateY(-1px);
}

/* Footer Customization */
.footer-section {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-section h6 {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section .list-unstyled li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

/* Pricing Cards */
.pricing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-navy), var(--secondary-blue), var(--accent-gold));
}

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

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    font-family: 'Georgia', serif;
}

.price-period {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .process-step::after {
        display: none;
    }
    
    .cookie-consent-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .btn-elegant, .btn-outline-elegant {
        padding: 10px 20px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

/* Section Spacing */
.section-padding {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
}

/* Custom Utilities */
.bg-gradient-navy {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
}

.text-navy {
    color: var(--primary-navy);
}

.text-gold {
    color: var(--accent-gold);
}

.border-gold {
    border-color: var(--accent-gold) !important;
}

/* FAQ Accordion Customization */
.accordion .card {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.accordion .card-header {
    background: var(--light-gray);
    border: none;
    padding: 1.5rem;
}

.accordion .btn-link {
    color: var(--primary-navy);
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    text-align: left;
    padding: 0;
}

.accordion .btn-link:hover {
    color: var(--secondary-blue);
}

.accordion .btn-link::after {
    content: '+';
    float: right;
    font-weight: bold;
    color: var(--accent-gold);
}

.accordion .btn-link[aria-expanded="true"]::after {
    content: '-';
}

.accordion .card-body {
    padding: 1.5rem;
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Additional styles for portfolio and service areas */
.service-areas-list ul {
    list-style: none;
    padding: 0;
}

.service-areas-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.process-overview .d-flex {
    align-items: flex-start;
}

.process-number .badge {
    font-size: 0.9rem;
    background-color: var(--primary-navy) !important;
}

/* Feature Cards for automated systems */
.feature-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--primary-navy), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

/* Compatibility Cards */
.compatibility-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.compatibility-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.compatibility-icon {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

/* Industry Cards */
.industry-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

/* Timeline Cards */
.timeline-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.timeline-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--primary-navy), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

/* Service Coverage Cards */
.service-coverage-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-coverage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.coverage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--primary-navy), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

/* Extended Region Cards */
.extended-region-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.extended-region-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.region-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.city-tag {
    background: var(--light-gray);
    color: var(--primary-navy);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.city-tag.small {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
}

/* Map Placeholder */
.map-placeholder {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-info {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-legend {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 0.8rem;
}

/* Contact Methods */
.contact-method {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--primary-navy), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

/* Process Detail Cards */
.process-detail {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-navy), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.process-highlight {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Commercial Process and Benefits */
.commercial-process {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.commercial-benefits {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* Feature List */
.feature-list {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    /* background: var(--light-gray); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 1rem;
}

/* Service Features */
.service-features {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Benefits List */
.benefits-list {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Service Expectations and Guidelines */
.service-expectations {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-guidelines {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.guideline-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* Service Region */
.service-region {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}