:root {
    --primary: #cc0000;
    --primary-dark: #990000;
    --secondary: #333333;
    --light: #f8f9fa;
    --dark: #212529;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --border-radius: 0.25rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

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

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

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

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

.navbar {
    padding: 1.5rem 0;
}

.navbar-brand {
    padding: 0;
    display: inline-block;
}

.navbar-brand img {
    height: auto;
    max-width: 250px;
}

.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

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

.top-bar {
    font-size: 0.9rem;
}

.top-bar .contact-info span {
    margin-right: 1.5rem;
}

.social-icons a {
    margin-left: 0.5rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    opacity: 0.8;
}

.navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.hero-description {
    min-height: 60px;
    will-change: content;
    transition: opacity 0.3s ease;
}

.dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 3px solid var(--primary);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    animation: dropdownAnimation 0.3s ease-in-out;
}

@keyframes dropdownAnimation {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu {
    background-color: var(--white);
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--light);
    color: var(--primary);
}

.hero {
    background-color: var(--primary);
    padding: 5rem 0;
}

.hero h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.feature-card {
    border-radius: var(--border-radius);
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    transition: all 0.3s;
    height: 100%;
}

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

.icon-wrapper {
    margin-bottom: 1.5rem;
}

.card {
    transition: all 0.3s;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 4rem 0 2rem;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer a {
    color: var(--light);
    transition: all 0.3s;
}

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

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.social-icons-footer a {
    margin-right: 0.5rem !important;
    transition: all 0.3s;
}

.social-icons-footer a:hover {
    background-color: var(--primary) !important;
    transform: translateY(-3px);
}

footer ul li a:hover {
    padding-left: 5px;
}

.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

.page-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-weight: 700;
}

.contact-form .form-control {
    border-radius: var(--border-radius);
    padding: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-info-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
}

.service-detail {
    margin-bottom: 4rem;
}

.service-detail img {
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.reference-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.reference-logo {
    height: 80px;
    margin-bottom: 1rem;
    object-fit: contain;
}

#cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 15px 0;
    z-index: 999;
    transition: transform 0.5s ease-in-out;
    transform: translateY(100%);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

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

.cookie-notice-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-notice-text {
    flex: 1;
    min-width: 280px;
}

.cookie-accept-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.cookie-accept-btn:hover {
    background-color: var(--primary-dark);
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 2rem 0;
    }
}

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

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out forwards;
}