:root {
    --primary-color: #F85C00;
    --dark-color: #181D24;
    --text-color: #888;
    --white-color: #ffffff;
    --light-bg: #f8f9fa;
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Header Styles */
.top-bar {
    background-color: var(--dark-color);
    padding: 0.5rem 0;
}

.top-bar .email-link {
    color: var(--white-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.top-bar .email-link:hover {
    color: var(--primary-color);
}

.main-header {
    background-color: var(--white-color);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo-wrapper {
    background-color: var(--primary-color);
    padding: 1.2rem 2rem;
    display: inline-block;
    position: relative;
}

.logo-wrapper::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    width: 0;
    height: 0;
    border-left: 20px solid var(--primary-color);
    border-top: 35px solid transparent;
    border-bottom: 35px solid transparent;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar {
    padding: 0;
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 600;
    padding: 1rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

/* Custom Button Styles */
.btn-custom {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.btn-custom .btn-text {
    padding: 1rem 2rem;
    position: relative;
    z-index: 2;
}

.btn-custom .btn-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    border-radius: 50px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.btn-custom:hover::before {
    transform: scaleX(1);
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(248, 92, 0, 0.4);
}

.btn-custom:hover .btn-icon {
    background-color: var(--primary-color);
    transform: rotate(45deg);
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    background-color: white;
    color: var(--primary-color);
    border-radius: 40px;
    padding: 20px 32px;
    transition: all 0.4s ease;
}

.btn-outline-custom .btn-icon {
    background-color: var(--primary-color);
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(24, 29, 36, 0.9) 0%, rgba(248, 92, 0, 0.8) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white-color);
}

.hero-content h1 {
    color: var(--white-color);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
   
}

.hero-content p {
    color: var(--white-color);
    font-size: 1.4rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--white-color);
}

.about-images {
    display: flex;
    gap: 1rem;
    height: 600px;
}

.about-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img:hover img {
    transform: scale(1.1);
}

.about-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(248, 92, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.about-img:hover::before {
    opacity: 1;
}

.about-content h2 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--light-bg);
background-image: url("images/service-shape-1.webp");
background-repeat: no-repeat;
background-position: right center;
background-size: contain; /* или contain / cover — если нужно */
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.service-card {
    background-color: var(--white-color);
   
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--dark-color) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(248, 92, 0, 0.2);
}

.service-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
    position: relative;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card > div:first-child {
    position: relative;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 2rem;
    transition: all 0.4s ease;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 10;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
}

.service-card h4 {
    margin-bottom: 1rem;
    margin-top: 0;
    transition: color 0.3s ease;
}

.service-card:hover h4 {
    color: var(--primary-color);
}

.service-card p {
    flex-grow: 1;
}

.service-card .btn-custom {
    margin-top: auto;
}

/* CTA Section */
.cta-section {
    position: relative;
    /* padding: 120px 0; */
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248, 92, 0, 0.95) 0%, rgba(24, 29, 36, 0.95) 100%);
    z-index: 1;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white-color);
}

.cta-content h2 {
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: var(--white-color);
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Steps Section */
.steps-section {
    padding: 100px 0;
    background-color: var(--white-color);
}

.step-item {
    text-align: center;
    position: relative;
    padding: 2rem;
    transition: all 0.4s ease;
}

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

.step-number::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1) rotate(10deg);
}

.step-item:hover .step-number::before {
    opacity: 1;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
}

.step-item h4 {
    margin-bottom: 1rem;
}

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

/* Order Form Section */
.order-form-section {
    padding: 100px 0 200px 0;
    background-color: var(--light-bg);
    background-image: url("images/c1.webp");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
}

.form-control {
    border: 2px solid #e0e0e0;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(248, 92, 0, 0.15);
}

.form-select {
    border: 2px solid #e0e0e0;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(248, 92, 0, 0.15);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--white-color);
}

.testimonial-card {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    height: 100%;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(248, 92, 0, 0.15);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.author-info h5 {
    margin-bottom: 0.2rem;
    color: var(--dark-color);
}

.author-info span {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.accordion-button {
    background-color: var(--white-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 1.5rem;
    border: none;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    filter: brightness(0);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--white-color);
}

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

.footer h5 {
    color: var(--white-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-color);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-color);
}

.newsletter-form {
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(255,255,255,0.2);
    background-color: rgba(255,255,255,0.1);
    color: var(--white-color);
    border-radius: 40px;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255,255,255,0.15);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form button {
    margin-top: 1rem;
    width: 100%;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    /* max-width: 500px; */
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.4s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cookie-buttons button {
    flex: 1;
    min-width: 120px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-color);
}

.bg-primary-custom {
    background-color: var(--primary-color);
}

.overlay-dark {
    position: relative;
}

.overlay-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(24, 29, 36, 0.7);
}

/* Responsive Design */
@media (max-width: 991px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-images {
        height: 400px;
        margin-bottom: 2rem;
    }
    
    .navbar-collapse {
        background-color: var(--white-color);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .logo-wrapper::after {
        display: none;
    }
}

@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-custom {
        width: 100%;
        justify-content: space-between;
    }
    
    .about-images {
        flex-direction: column;
        height: auto;
    }
    
    .about-img {
        height: 250px;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}

/* Service Detail Pages Specific */
.service-hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    color: var(--white-color);
}

.service-hero h1 {
    color: var(--white-color);
}

.service-content-section {
    padding: 80px 0;
}

.feature-box {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.4s ease;
    border-left: 4px solid var(--primary-color);
}

.feature-box:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(248, 92, 0, 0.2);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-step {
    position: relative;
    padding: 2rem;
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(248, 92, 0, 0.2);
}

.process-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Contact Page Specific */
.contact-info-box {
    background-color: var(--white-color);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
}

.contact-info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(248, 92, 0, 0.2);
}

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

.alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* 404 Page Specific */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
}

.error-content {
    text-align: center;
    color: var(--white-color);
}

.error-code {
    font-size: 10rem;
    font-weight: 900;
    color: var(--white-color);
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-content h2 {
    color: var(--white-color);
    margin-bottom: 1rem;
}

.error-content p {
    color: var(--white-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: var(--white-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}
