﻿/* Modern CSS - Russo Brothers Auto Collision */
/* Modernized from WebForms to responsive design */

:root {
    /* Dark Theme Colors */
    --primary-color: #1a1a1a; /* Almost black nav bar */
    --primary-dark: #0d0d0d; /* Even darker for nav borders */
    --accent-color: #FF5261; /* Red accent */
    --accent-hover: #bb2d3b; /* Darker red on hover */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    /* Dark Theme - Body & Background */
    --body-bg: #1a1a1a; /* Very dark gray/almost black */
    --card-bg: #2a2a2a; /* Slightly lighter for cards */
    --section-bg: #1f1f1f; /* Section backgrounds */
    /* Text Colors */
    --text-primary: #ffffff; /* White text */
    --text-secondary: #e0e0e0; /* Light gray text */
    --text-muted: #a0a0a0; /* Muted text */
    --text-red: #FF1A2E; /* Bright red */
    /* Borders & Outlines */
    --light-gray: #404040; /* Light gray for backgrounds */
    --medium-gray: #3a3a3a; /* Medium gray */
    --dark-gray: #2a2a2a; /* Dark gray */
    --border-color: #404040; /* Gray borders */
    --card-border: #505050; /* Card borders */
    /* Shadows */
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.7);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--body-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--body-bg);
}

#container {
    flex: 1;
}

/* Header & Navigation - Dark Theme */
#header {
    background: var(--primary-dark);
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

#header1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

#main_menu {
    /*background-color: var(--primary-color);*/
    overflow-x: auto;
    overflow-y: hidden;
}

    #main_menu ul {
        list-style: none;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0;
        margin: 0;
        padding: 0;
    }

        #main_menu ul li {
            margin: 0;
            flex: 0 0 auto;
        }

            #main_menu ul li a {
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 16px 20px;
                color: #fff;
                text-decoration: none;
                transition: var(--transition);
                font-weight: 500;
                font-size: 0.95rem;
                white-space: nowrap;
                border-bottom: 3px solid transparent;
            }

                #main_menu ul li a:hover {
                    background-color: rgba(0, 0, 0, 0.15);
                    border-bottom-color: var(--accent-color);
                }

/*#main_menu ul li.current a {
    background-color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}*/

/* Main Content */
main {
    /*max-width: 1200px;*/
    margin: 0 auto;
    /*padding: 40px 20px;*/
    flex: 1;
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: #fff;
    border-top: 1px solid var(--border-color);
    padding: 20px 0 20px;
    margin-top: 60px;
}

    footer .content-wrapper {
        color: #fff;
    }

    footer p {
        margin-bottom: 0;
        font-size: 0.9rem;
    }

    footer a {
        color: #fff;
        text-decoration: none;
        border-bottom: 1px dotted #fff;
    }

        footer a:hover {
            text-decoration: underline;
        }

.content-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Home Page */
.home-content {
    animation: fadeIn 0.5s ease;
}

    .home-content h1 {
        font-size: 3rem;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 20px;
        letter-spacing: -1px;
    }

.intro {
    font-size: 1.15rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    /*max-width: 800px;*/
    line-height: 1.8;
}

.featured-services {
    margin: 40px 0;
}

    .featured-services h2 {
        font-size: 2rem;
        color: #ffffff;
        margin-bottom: 30px;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.service-item {
    padding: 20px;
    background-color: #2a2a2a;
    border-radius: 8px;
    border: 2px solid #505050;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

    .service-item:hover {
        border-color: var(--accent-color);
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    }

    .service-item h3 {
        color: #ffffff;
        margin-bottom: 10px;
    }

    .service-item p {
        color: var(--text-secondary);
    }

.cta-section {
    background-color: #2a2a2a;
    padding: 40px 20px;
    border-radius: 8px;
    margin: 40px 0;
    border: 2px solid #505050;
}

    .cta-section h2 {
        font-size: 1.8rem;
        color: #ffffff;
        margin-bottom: 20px;
    }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    user-select: none;
}

    .btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    box-shadow: var(--shadow);
}

    .btn-primary:hover:not(:disabled) {
        background-color: var(--accent-hover);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
        text-decoration: none;
    }

    .btn-primary:active {
        transform: translateY(0);
    }

/* Contact Form */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 0.5rem;
    animation: fadeIn 0.5s ease;
}

.contact-intro {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-form {
    margin-bottom: 40px;
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid #404040;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group:last-child {
        margin-bottom: 0;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #ffffff;
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 12px;
        border: 2px solid #404040;
        border-radius: 6px;
        font-family: inherit;
        font-size: 1rem;
        transition: var(--transition);
        background-color: #1a1a1a;
        color: #ffffff;
    }

    .form-group input:disabled,
    .form-group textarea:disabled,
    .form-group select:disabled {
        background-color: var(--light-gray);
        color: var(--text-muted)
    }

        .form-group input:hover,
        .form-group textarea:hover,
        .form-group select:hover {
            border-color: #dc3545;
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: #dc3545;
            box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.2);
            background-color: #1a1a1a;
            color: #ffffff;
        }

    .form-group.has-error input,
    .form-group.has-error textarea {
        border-color: var(--danger-color);
    }

        .form-group.has-error input:focus,
        .form-group.has-error textarea:focus {
            box-shadow: 0 0 0 4px rgba(217, 83, 79, 0.1);
        }

.form-actions {
    margin-top: 30px;
}

    .form-actions button {
        width: 100%;
        padding: 14px;
    }

.contact-info {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    border: 1px solid #404040;
}

    .contact-info h2 {
        color: #ffffff;
        margin-bottom: 15px;
    }

    .contact-info a {
        color: var(--accent-color);
        text-decoration: none;
    }

        .contact-info a:hover {
            text-decoration: underline;
        }

/* Alerts - Dark Theme */
.alert {
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid;
    animation: slideDown 0.3s ease;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.15);
    color: #7cfc00;
    border-left-color: #28a745;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border-left-color: #ffc107;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
    border-left-color: #dc3545;
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.15);
    color: #5dade2;
    border-left-color: #17a2b8;
}

/* About Page */
.about-container {
    padding: 40px 20px;
    background-color: var(--body-bg);
    animation: fadeIn 0.5s ease;
}

    .about-container h1 {
        color: #ffffff;
        margin-bottom: 30px;
    }

.about-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.about-values h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 30px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(680px, 1fr));
    gap: 2rem;
    margin-bottom: 40px;
}

.value-item {
    padding: 20px;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a 0%, #242424 100%);
    border-radius: 0.75rem;
    border: 2px solid #505050;
    border-left: 4px solid var(--accent-color);
}

.value-item-text {
    padding: 0.8rem 1.5rem 1.5rem;
}
    .value-item-text h3 {
        color: #ffffff;
        margin-bottom: 10px;
    }

    .value-item-text p {
        color: var(--text-secondary);
    }

/* Services Page */
.services-container {
    padding: 40px 20px;
    background-color: var(--body-bg);
    animation: fadeIn 0.5s ease;
}

    .services-container h1 {
        color: #ffffff;
        margin-bottom: 20px;
    }

.intro-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.service-card {
    padding: 25px;
    background-color: #2a2a2a;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    border: 2px solid #505050;
}

    .service-card h2 {
        color: #ffffff;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .service-card p {
        color: var(--text-secondary);
    }

/* Repair Process Page */
.repair-process-container {
    padding: 40px 20px;
    background-color: var(--body-bg);
    animation: fadeIn 0.5s ease;
}

    .repair-process-container h1 {
        color: #ffffff;
        margin-bottom: 20px;
    }

.process-timeline {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));*/
    /* Desktop: 8 columns */
    grid-template-columns: repeat(8, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

/* Tablets / Medium Screens: 4 columns */
@media (max-width: 1800px) {
    .process-timeline {
        grid-template-columns: repeat(4, minmax(200px, 1fr));
        gap: 20px;
        margin: 40px 0;
    }
}

/* Mobile Screens: 1 column */
@media (max-width: 1000px) {
    .process-timeline {
        grid-template-columns: repeat(1, minmax(200px, 1fr));
        gap: 20px;
        margin: 40px 0;
    }
}

.process-step {
    padding: 20px;
    background-color: #2a2a2a;
    border-radius: 8px;
    position: relative;
    border: 2px solid #505050;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 15px;
}

.process-step h2 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-secondary);
}

.process-timeline-pic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.process-pic {
    width: 100%;
    border-radius: 8px;
    border: 2px solid #505050;
}

/* Location Page */
.location-container {
    max-width: 1390px;
    margin: 0 auto;
    padding: clamp(0.2rem, 0.2rem + 3vw, 3rem) clamp(0.2rem, 0.2rem + 3vw, 3rem);
    animation: fadeIn 0.5s ease;
}

    .location-container h1 {
        color: #ffffff;
        margin-bottom: 30px;
    }

.location-info {
    background-color: #ecebf0;
    padding: 0px;
    border-radius: 0.5rem;
    margin-bottom: 40px;
}

    .location-info h2 {
        color: var(--primary-color);
        margin-bottom: 20px;
    }

    .location-info h3 {
        color: var(--primary-color);
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .location-info p {
        color: var(--primary-color);
        margin-bottom: 10px;
    }

    .location-info a {
        color: #85000C;
        text-decoration: none;
    }

        .location-info a:hover {
            color: var(--success-color);
            text-decoration: none;
        }

.map-container {
    background-color: var(--light-gray);
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-radius: 8px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Directions Page */
.directions-container {
    margin: 0 auto;
    padding: 40px 0.5rem;
    max-width: 1100px;
    animation: fadeIn 0.5s ease;
}

.directions-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.direction-method {
    padding: 25px;
    background-color: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

    .direction-method h2 {
        color: var(--primary-color);
        margin-bottom: 15px;
    }

    .direction-method ul {
        list-style: none;
        margin-top: 15px;
    }

        .direction-method ul li {
            margin-bottom: 8px;
        }

    .direction-method a {
        color: var(--accent-color);
        text-decoration: none;
    }

        .direction-method a:hover {
            text-decoration: underline;
        }

/* Card Container Layout */
.directions-card {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 2rem;
    max-width: 650px;
    margin: 2rem auto;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.business-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.business-address {
    color: #aaaaaa;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Base Button Styling */
.directions-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Repair Status Page */
.repair-status-container {
    padding: 40px 20px;
}

    .repair-status-container h1 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 30px;
    }

.status-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.status-info {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-danger {
    color: var(--danger-color);
}

.text-success {
    color: var(--success-color);
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Validation Error Styles */
.field-validation-error {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}

input.input-validation-error,
textarea.input-validation-error {
    border-color: var(--danger-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        /*padding: 30px 15px;*/
    }

    #main_menu ul {
        flex-wrap: wrap;
    }

        #main_menu ul li a {
            padding: 14px 15px;
            font-size: 0.9rem;
        }

    .home-content h1,
    .about-container h1,
    .services-container h1,
    .repair-process-container h1,
    .location-container h1,
    .directions-container h1,
    .repair-status-container h1 {
        font-size: 2rem;
    }

    .services-grid,
    .values-grid,
    .services-list,
    .process-timeline,
    .directions-methods {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }

    .cta-section {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    main {
        /*padding: 20px 12px;*/
    }

    #main_menu ul {
        flex-direction: column;
    }

        #main_menu ul li {
            flex-basis: 100%;
        }

            #main_menu ul li a {
                padding: 12px 15px;
                font-size: 0.85rem;
                justify-content: flex-start;
            }

    .home-content h1,
    .about-container h1,
    .services-container h1,
    .repair-process-container h1,
    .location-container h1,
    .directions-container h1,
    .repair-status-container h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        display: block;
        width: 100%;
    }

    .contact-form {
        padding: 15px;
    }

    .featured-services h2,
    .about-values h2,
    .services-container h1 + .intro-text + h2,
    .repair-process-container h1 + .intro-text + h2 {
        font-size: 1.5rem;
    }

    .process-step .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}




.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-zoom-in {
    transition: transform 0.3s ease-in-out;
}

    .img-zoom-in:hover {
        transform: scale(1.05);
    }

.img-fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.img-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.img-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.img-slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

.img-grayscale {
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}

    .img-grayscale:hover {
        filter: grayscale(0%);
    }

.img-brightness {
    filter: brightness(0.9);
    transition: filter 0.3s ease-in-out;
}

    .img-brightness:hover {
        filter: brightness(1);
    }

.img-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease-in-out;
}

    .img-shadow:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    }

.img-rounded-sm {
    border-radius: 0.25rem;
}

.img-rounded-md {
    border-radius: 0.5rem;
}

.img-rounded-lg {
    border-radius: 1rem;
}

.img-rounded-full {
    border-radius: 50%;
}

.img-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
}

.img-container-rad-t {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.img-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0.5rem;
}

.img-container:hover .img-overlay {
    opacity: 1;
}

.img-overlay-text {
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
}

.hero-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3.2 / 1;
    overflow: hidden;
    background-color: #000;
}

.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.hero-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
}

.hero-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: 0.8vw 2vw;
    box-sizing: border-box;
    color: #ffffff;
}

    .hero-text-overlay h1 {
        font-size: clamp(0.8rem, 0.0615rem + 2.4615vw, 4rem);
    }

    .hero-text-overlay h2 {
        font-size: clamp(0.6rem, 0.0462rem + 1.8462vw, 3rem);
        padding-top: clamp(0.2rem, 0.0233rem + 1.8462vw, 3rem);
        padding-bottom: 0;
    }

    .hero-text-overlay p {
        font-size: clamp(0.6rem, 0.3816rem + 0.699vw, 1.5rem);
        padding-top: clamp(0.6rem, 0.0233rem + 2.4854vw, 4rem);
    }

.hero-btn-group {
    position: absolute;
    bottom: 1vw;
    left: 1vw;
    display: flex;
    gap: 1.0vw;
    align-items: center;
}

.hero-btn-outline-custom,
.hero-btn-solid-custom {
    background: transparent;
    border: 2px solid #dc3545;
    color: #dc3545;
    font-size: clamp(0.6rem, 0.3923rem + 0.6923vw, 1.5rem);
    padding: clamp(0.1rem, 0.0rem + 0.1vw, 1rem) clamp(0.2rem, 0.2rem + 0.4vw, 1.5rem);
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.hero-btn-solid-custom {
    background: #dc3545;
    color: white;
}

.hero-btn-outline-custom:hover {
    background: #dc3545;
    color: white;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
}

.hero-btn-solid-custom:hover {
    background: linear-gradient(180deg, #bb2d3b 0%, #a01f2b 100%);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.5);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.hidden {
    opacity: 0;
}

.fade-in {
    animation: fadeInAnimation 1s forwards;
}

.fade-out {
    animation: fadeOutAnimation 0.5s forwards;
}

@keyframes fadeInAnimation {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOutAnimation {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}



.card-enhanced {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

    .card-enhanced:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(-4px);
    }

    .card-enhanced.lift-on-hover:hover {
        transform: translateY(-8px);
    }

.card-bordered {
    border: 1px solid #e0e0e0;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #2a2a2a 0%, #242424 100%);
    border-radius: 0.75rem;
    border: 2px solid #505050;
    transition: all 0.3s ease;
    position: relative;
}

    .service-card:hover {
        box-shadow: 0 8px 24px rgba(220, 53, 69, 0.3);
        transform: translateY(-6px);
        border-color: #dc3545;
    }

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        /*background: linear-gradient(90deg, #ffffff 0%, #dc3545 100%);*/
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .service-card:hover::before {
        opacity: 1;
    }

    .service-card h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: #ffffff;
        transition: color 0.3s ease;
    }

    .service-card:hover h3 {
        color: #dc3545;
    }

    .service-card p {
        color: #e0e0e0;
        flex-grow: 1;
        margin-bottom: 0;
        line-height: 1.6;
    }

.grid-responsive {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (max-width: 768px) {
    .grid-responsive {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.container-max-width {
    max-width: 2500px;
    margin: 0 auto;
    padding: 0 clamp(0.2rem, 0.2rem + 3vw, 3rem);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #dc3545 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--accent-color);
}

.text-primary {
    color: #ffffff;
}

.text-secondary {
    color: #e0e0e0;
}

.text-white {
    color: #ffffff;
}

.text-red {
    color: var(--text-red);
}

.heading-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

    .heading-underline::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: radial-gradient(circle, var(--text-red) 20%, var(--text-secondary) 100%);
        border-radius: 2px;
    }

.section-padding-all {
    padding: 2rem 1rem;
}

.section-padding {
    padding: 4rem 0;
}

.section-padding-lg {
    padding: 6rem 0;
}

.section-padding-sm {
    padding: 2rem 0;
}

.section-bg-light {
    background-color: #2a2a2a;
}

.section-bg-white {
    background-color: #2a2a2a;
}

.section-border-top {
    border-top: 1px solid #404040;
    padding-top: 3rem;
}


.btn-primary-custom {
    background: linear-gradient(180deg, #dc3545 0%, #bb2d3b 100%);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

    .btn-primary-custom:hover {
        background: linear-gradient(180deg, #bb2d3b 0%, #a01f2b 100%);
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.5);
        transform: translateY(-2px);
        color: white;
        text-decoration: none;
    }

.btn-outline-custom {
    background: transparent;
    border: 2px solid #dc3545;
    color: #dc3545;
    padding: 0.65rem 1.9rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

    .btn-outline-custom:hover {
        background: #dc3545;
        color: white;
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
        transform: translateY(-2px);
        text-decoration: none;
    }


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


@media (max-width: 576px) {
    .hide-mobile {
        display: none;
    }

    .section-padding {
        padding: 2rem 0;
    }
}

@media (min-width: 577px) and (max-width: 992px) {
    .hide-tablet {
        display: none;
    }
}

@media (min-width: 993px) {
    .hide-desktop {
        display: none;
    }
}


.hover-grow {
    transition: transform 0.3s ease;
}

    .hover-grow:hover {
        transform: scale(1.05);
    }

.hover-shadow {
    transition: box-shadow 0.3s ease;
}

    .hover-shadow:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.hover-text-accent {
    transition: color 0.3s ease;
    cursor: pointer;
    color: var(--accent-color)
}

    .hover-text-accent:hover {
        color: #dc3545;
    }


a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

    a:hover {
        color: #ffffff;
        text-decoration: underline;
    }

    a:focus {
        outline: 2px solid #dc3545;
        outline-offset: 2px;
        border-radius: 2px;
    }

.link-light {
    color: #e0e0e0;
}

    .link-light:hover {
        color: #ffffff;
        text-decoration: underline;
    }

.link-accent {
    color: #dc3545;
    font-weight: 500;
}

    .link-accent:hover {
        color: #ffffff;
    }

.gap-custom-1 {
    gap: 1rem;
}

.gap-custom-2 {
    gap: 2rem;
}

.gap-custom-3 {
    gap: 3rem;
}

.mt-custom {
    margin-top: 2rem;
}

.mb-custom {
    margin-bottom: 2rem;
}

.p-custom {
    padding: 2rem;
}
