﻿:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #5351b9;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-primary: #4872b3;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-primary-rgb: 100, 98, 58;
    --bs-secondary-rgb: 108, 117, 125;
    --bs-success-rgb: 25, 135, 84;
    --bs-info-rgb: 13, 202, 240;
    --bs-warning-rgb: 255, 193, 7;
    --bs-danger-rgb: 220, 53, 69;
    --bs-light-rgb: 248, 249, 250;
    --bs-dark-rgb: 33, 37, 41;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-body-color-rgb: 33, 37, 41;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-font-sans-serif: "Merriweather Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: Merriweather, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-body-bg: #fff;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-2xl: 2rem;
    --bs-border-radius-pill: 50rem;
    --bs-link-color: #2f972f;
    --bs-link-hover-color: #c34e2e;
    --bs-code-color: #d63384;
    --bs-highlight-bg: #fff3cd;
}
html {
    height: 100%;
    scroll-padding-top: calc(4.5rem - 1px);
}

body {
    width: 100%;
    height: 100%;
    font-family: 'Merriweather Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}


#mainNav {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: #fff;
}

#mainNav .navbar-brand {
    font-weight: 700;
    color: #212529;
}
#mainNav .navbar-nav .nav-link {
    font-weight: 700;
    color: #212529;
}

#mainNav .navbar-nav .nav-link:hover {
    color: #212529;
}
@media (min-width: 992px) {
    #mainNav .navbar-nav .nav-item .nav-link {
        color: rgba(255, 255, 255, 0.7);
        padding: 0 1rem;
        padding-right: 1rem;
    }
}
@media (min-width: 992px) {
    #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link {
        color: #212529;
    }
}
#mainNav,
#mainNav .navbar,
#mainNav .container,
#mainNav .navbar .container {
    outline: none !important;
}
/* =========================
   SECCIONES
   ========================= */
.page-section {
    padding: 8rem 0;
}

/* =========================
   MASTHEAD / HERO
   ========================= */

header.masthead {
    padding-top: 10rem;
    padding-bottom: calc(10rem - 4.5rem);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

    header.masthead h1, header.masthead .h1 {
        font-size: 2.25rem;
    }

@media (min-width: 992px) {
    header.masthead {
        height: 100vh;
        min-height: 40rem;
        padding-top: 4.5rem;
        padding-bottom: 0;
    }

        header.masthead p {
            font-size: 1.15rem;
        }

        header.masthead h1, header.masthead .h1 {
            font-size: 3rem;
        }
}

@media (min-width: 1200px) {
    header.masthead h1, header.masthead .h1 {
        font-size: 3.5rem;
    }
}
@media (min-width: 992px) {
    #mainNav {
        box-shadow: none;
        background-color: transparent;
    }
}
@media (min-width: 992px) {
    #mainNav .navbar-brand {
        color: rgba(255, 255, 255, 0.7);
    }
}
@media (min-width: 992px) {
  #mainNav.navbar-shrink .navbar-brand {
    color: #212529;
  }
}
@media (min-width: 992px) {
    #mainNav.navbar-shrink .navbar-brand {
        color: #212529;
    }
}
@media (min-width: 992px) {
    #mainNav.navbar-shrink {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        background-color: #fff;
    }
}
/* =========================
   BOTONES
   ========================= */
.btn-xl {
    padding: 1.25rem 2.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 10rem;
}

/* =========================
   DIVIDERS
   ========================= */
hr.divider {
    height: 0.2rem;
    max-width: 3.25rem;
    margin: 1.5rem auto;
    background-color: #000;
    opacity: 1;
}

hr.divider-light {
    background-color: #fff;
}

/* =========================
   PORTFOLIO
   ========================= */
#portfolio .portfolio-box {
    position: relative;
    display: block;
}

#portfolio .portfolio-box img {
    width: 100%;
    height: auto;
}

#portfolio .portfolio-box-caption {
    position: absolute;
    inset: 0;
    background: rgba(100, 98, 58, 0.9);
    color: #fff;
    opacity: 0;
    transition: opacity 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

#portfolio .portfolio-box:hover .portfolio-box-caption {
    opacity: 1;
}

#portfolio .project-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    opacity: 0.75;
}

#portfolio .project-name {
    font-size: 0.95rem;
}
@media (max-width: 980px) {
    #portfolio .container-fluid .portfolio-box .portfolio-box-caption, #portfolio .container-sm .portfolio-box .portfolio-box-caption, #portfolio .container-md .portfolio-box .portfolio-box-caption, #portfolio .container-lg .portfolio-box .portfolio-box-caption, #portfolio .container-xl .portfolio-box .portfolio-box-caption, #portfolio .container-xxl .portfolio-box .portfolio-box-caption {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        height: 100%;
        position: absolute;
        bottom: 0;
        text-align: center;
        opacity: 1;
        color: #fff;
        background: rgba(100,98,58,0.5);
        transition: opacity 0.25s ease;
        text-align: center;
    }

    #portfolio .container-fluid .portfolio-box:hover .portfolio-box-caption, #portfolio .container-sm .portfolio-box:hover .portfolio-box-caption, #portfolio .container-md .portfolio-box:hover .portfolio-box-caption, #portfolio .container-lg .portfolio-box:hover .portfolio-box-caption, #portfolio .container-xl .portfolio-box:hover .portfolio-box-caption, #portfolio .container-xxl .portfolio-box:hover .portfolio-box-caption {
        opacity: 0.8;
    }

    #portfolio .container-fluid .portfolio-box .portfolio-box-caption .project-name {
        font-size: 1.0rem;
    }
}
/* =========================
   SERVICE CARDS
   ========================= */
.service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
}
.text-primary {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #181e14;
    --bs-btn-border-color: #f8f9fa;
    --bs-btn-hover-color: black;
    --bs-btn-hover-bg: #d3d4d5;
    --bs-btn-hover-border-color: #c34e2e;
    --bs-btn-focus-shadow-rgb: 100, 122, 88;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #c34e2e;
    --bs-btn-active-border-color: #b74a2c;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #5351b9;
    --bs-btn-disabled-border-color: #5351b9;
    border:none;
}
/* =========================
   FOOTER
   ========================= */
footer {
    font-size: 0.875rem;
}
.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    fill: currentColor;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

.icon-xl {
    width: 3rem;
    height: 3rem;
}
header.masthead {
    position: relative;
    overflow: hidden;
}

.masthead-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.masthead-content {
    margin-top:10%;
    position: relative;
    z-index: 1;
}