/* Construct-B2 - Minimal CSS with Bootstrap-first approach */

/* CSS Variables */
:root {
    --dark-red: #8B0000;
    --bright-orange: #FF6600;
    --light-gray: #F2F2F2;
    --dark-gray: #333333;
    --primary: #c15105;
    --light: #f7fbff;
    --text-color: #666565;
    --background-color: #fff;
}

/* Global Styles */
body {
    font-family: "Roboto Slab", serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", sans-serif;
    color: var(--dark-gray);
}

/* Header Styles */
.navbar {
    background-color: var(--dark-red) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: "Raleway", sans-serif;

    font-weight: 600;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-nav .nav-link {
    color: white !important;
    font-family: "Raleway", sans-serif;

    font-weight: 500;
    transition: color 0.3s ease;

}

.navbar-nav .nav-link:hover {
    color: var(--bright-orange) !important;
}

/* Section Styles */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--bright-orange);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(139, 0, 0, 0.6), rgba(139, 0, 0, 0.7)), url('./img/hero-construction.webp');
    background-size: cover;
    background-position: center;
    min-height: 800px;
    color: white;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Card Styles */
.custom-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.card-overlay {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(255, 102, 0, 0.8));
    color: white;
    padding: 2rem;
    border-radius: 10px;
}

/* Step Cards */
.step-card {
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    background: white;
    transition: border-color 0.3s ease;
}

.step-card:hover {
    border-color: var(--bright-orange);
}

.step-number {
    background-color: var(--bright-orange);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    top: -15px;
    left: 20px;
}

/* Technology Cards */
.tech-card-left {
    background: linear-gradient(135deg, var(--bright-orange), #ff8533);
}

.tech-card-center {
    background: linear-gradient(135deg, var(--dark-red), #a61111);
}

.tech-card-right {
    background: linear-gradient(135deg, var(--primary), #d4611c);
}

.tech-card {
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Form Styles */
.contact-form {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-family: "Roboto Slab", serif;
}

.form-control:focus {
    border-color: var(--bright-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
}

.btn-custom {
    background: linear-gradient(135deg, var(--bright-orange), var(--primary));
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.btn-custom:hover {
    transform: translateY(-2px);
    color: white;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--dark-red), #660000);
    color: white;
    padding: 3rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(135deg, var(--bright-orange), var(--primary));
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--bright-orange));
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer h5 {
    color: white;
    margin-bottom: 1rem;
}

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

.footer a:hover {
    color: var(--bright-orange);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark-red), #660000);
    color: white;
    padding: 1rem;
    z-index: 1050;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

/* FAQ Styles */
.faq-item {
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: var(--light-gray);
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    border: none;
    text-align: left;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 1rem;
    display: none;
}

.faq-answer.show {
    display: block;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--bright-orange);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-3px);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .footer::before,
    .footer::after {
        width: 50px;
    }
}

/* Page Title for Secondary Pages */
.page-title {
    background-color: var(--light);
    padding: 7rem 0 5rem;
    text-align: center;
}

.page-title h1 {
    color: var(--dark-gray);
    font-size: 2.5rem;
    margin: 0;
}

/* Map Container */
.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

/* Material Card Variations */
.material-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid var(--bright-orange);
}

.material-card h5 {
    color: var(--dark-red);
    margin-bottom: 1rem;
}

/* Budget Calculator */
.budget-calculator {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

/* Thank You Page */
.thank-you-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 500px;
    margin: 3rem auto;
}

.thank-you-card .material-icons {
    font-size: 4rem;
    color: var(--bright-orange);
    margin-bottom: 1rem;
}
