@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');
@import url('https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
    --primary: #D84315;
    --primary-dark: #BF360C;
    --primary-light: #FF5722;
    --secondary: #424242;
    --secondary-dark: #212121;
    --secondary-light: #616161;
    --accent: #FFA726;
    --accent-dark: #F57C00;
    --bg-light: #FAFAFA;
    --bg-dark: #1A1A1A;
    --text-dark: #212121;
    --text-light: #757575;
    --border: #E0E0E0;
    --shadow: rgba(216, 67, 21, 0.1);
    --shadow-hover: rgba(216, 67, 21, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.header {
    background: var(--secondary-dark);
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 9999;
}

.header.scrolled {
    background: rgba(33, 33, 33, 0.98);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-accent {
    color: var(--primary);
}

.nav-link {
    position: relative;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #E0E0E0;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.mobile-menu {
    background: var(--secondary-dark);
    border-top: 3px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mobile-menu .nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
}

.mobile-menu .nav-link:last-child {
    border-bottom: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.875rem 2rem;
    border: 2px solid transparent;
    border-radius: 0;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--shadow-hover);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.875rem 2rem;
    border: 2px solid var(--primary);
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--shadow-hover);
}

.btn-white {
    background: #FFFFFF;
    color: var(--primary);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.875rem 2rem;
    border: 2px solid #FFFFFF;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: transparent;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(216, 67, 21, 0.8) 0%, rgba(191, 54, 12, 0.6) 100%);
}

.section-title {
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title.white {
    color: #FFFFFF;
}

.section-title.white::after {
    background: linear-gradient(90deg, #FFFFFF 0%, var(--accent) 100%);
}

.feature-card {
    background: #FFFFFF;
    border: 2px solid var(--border);
    border-top: 4px solid var(--primary);
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(216, 67, 21, 0.05) 0%, rgba(255, 167, 38, 0.05) 100%);
    transition: left 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-top-color: var(--accent);
}

.feature-card:hover::before {
    left: 0;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #FFFFFF;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

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

.service-card {
    background: #FFFFFF;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

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

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

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

.service-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(33, 33, 33, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.project-card {
    position: relative;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

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

.project-card:hover .project-image {
    transform: scale(1.15);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(216, 67, 21, 0.9) 0%, rgba(33, 33, 33, 0.95) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateY(20px);
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card {
    background: #FFFFFF;
    padding: 2.5rem;
    border-left: 5px solid var(--primary);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: rgba(216, 67, 21, 0.1);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    border-left-color: var(--accent);
}

.testimonial-rating {
    color: var(--accent);
    font-size: 1.25rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
    color: #FFFFFF;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: transform 0.6s ease;
}

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

.stat-card:hover::before {
    transform: translate(-25%, -25%);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    background: #FFFFFF;
    color: var(--text-dark);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(216, 67, 21, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    cursor: pointer;
    accent-color: var(--primary);
}

.accordion-item {
    background: #FFFFFF;
    border: 2px solid var(--border);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--primary);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: var(--bg-light);
    transition: all 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    background: rgba(216, 67, 21, 0.05);
}

.accordion-header.active {
    background: var(--primary);
    color: #FFFFFF;
}

.accordion-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.accordion-content.active {
    padding: 1.5rem;
    max-height: 1000px;
}

.contact-info-card {
    background: #FFFFFF;
    padding: 2rem;
    border: 2px solid var(--border);
    border-left: 5px solid var(--primary);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateX(10px);
    box-shadow: -5px 5px 25px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #FFFFFF;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--secondary);
    color: #FFFFFF;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer {
    background: var(--secondary-dark);
    color: #E0E0E0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
}

.footer-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.footer-link {
    color: #B0B0B0;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 1rem;
}

.footer-link::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    transition: left 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 1.25rem;
}

.footer-link:hover::before {
    left: 0.25rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-dark);
    color: #FFFFFF;
    padding: 1.5rem;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    border-top: 3px solid var(--primary);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner.hidden {
    display: none;
}

.breadcrumb {
    background: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 2px solid var(--border);
}

.breadcrumb-link {
    color: var(--text-light);
    transition: color 0.3s ease;
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--text-light);
    margin: 0 0.5rem;
}

.breadcrumb-current {
    color: var(--primary);
    font-weight: 600;
}

.page-header {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    color: #FFFFFF;
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    position: relative;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(216, 67, 21, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 4px solid #FFFFFF;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(216, 67, 21, 0.2);
}

.timeline-content {
    width: 45%;
    background: #FFFFFF;
    padding: 2rem;
    border: 2px solid var(--border);
    border-left: 4px solid var(--primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

::-webkit-scrollbar {
    width: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 0;
}

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

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.box-shadow-strong {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.gradient-dark {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
}

.border-gradient {
    border-image: linear-gradient(90deg, var(--primary), var(--accent)) 1;
}

.divider {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    margin: 3rem 0;
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .service-image {
        height: 200px;
    }
    
    .project-card {
        height: 300px;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-white {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}