/* Custom CSS for YTTEC AB Betongslipning Örebro
  Theme colors: Gray, White, Black, Wine Red
  Fonts: Roboto and Roboto Condensed */
:root {
    --primary: #8B0000;

    /* Wine red */
    --primary-dark: #5E0000;
    --primary-light: #8b091f;
    --dark: #121212;
    --gray-dark: #555555;
    --gray: #777777;
    --gray-light: #EEEEEE;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --black: #000000;
}

/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    padding-top: 87px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
}

.lead {
    font-weight: 300;
}

/* Bootstrap Overrides */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

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

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

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

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

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

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

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

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Roboto Condensed', sans-serif;
}

.brand-text {
    font-weight: 700;
    font-size: 1.5rem;
}

.brand-subtext {
    font-size: 0.9rem;
    font-weight: 400;
}

.nav-link {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--gray-light) !important;
}

.offert-btn {
    margin-left: 0.5rem;
    border-radius: 4px;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background-color: var(--light);
    background-image: url('assets/images/slip18002f.webp');
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center bottom;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-image {
    overflow: hidden;
}

/* Page Header */
.page-header {
    padding: 3rem 0;
}

/* Services Section */
.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    max-height: 80px;
}

/* Feature Box */
.feature-box {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-height: 60px;
}

/* Testimonials */
.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

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

.testimonial-author {
    text-align: right;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary);
}

.cta-buttons {
    margin-top: 1.5rem;
}

/* Service Detail */
.service-detail {
    padding: 4rem 0;
}

.service-features {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    position: relative;
}

.service-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background-color: var(--primary);
}

.process-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2rem;
}

.process-number {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 1;
}

.process-content {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Accordion */
.accordion-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.accordion-button {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500;
    padding: 1.25rem;
}

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

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(139, 0, 0, 0.25);
}

.accordion-body {
    padding: 1.5rem;
}

/* Contact Form */
.contact-form-container,
.quote-form-container {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

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

.form-section-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

/* Quote Info Sidebar */
.quote-info-sidebar .info-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.quote-info-sidebar h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.process-list,
.feature-list {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.process-list li,
.feature-list li {
    margin-bottom: 0.5rem;
}

/* Map Container */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    background-color: var(--gray-light);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer {
    background-color: var(--dark);
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
    font-family: 'Roboto Condensed', sans-serif;
}

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

.footer a:hover {
    color: var(--primary-light) !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .offert-btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .process-timeline::before {
        left: 15px;
    }

    .process-step {
        padding-left: 50px;
    }

    .process-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 3rem 0;
        background-size: cover;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .service-card,
    .feature-box,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }

    body {
        padding-top: 64px;
    }
}

.txsh {
    text-shadow: 2px 0px 3px rgba(0, 0, 0, 0.79);
}

.sandwide {
    background-image: url('assets/images/slipbeg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}