/*
Theme Name: Puertas Electricas Abrecar
Description: Tema de WordPress con Bootstrap
Author: Jaydcarvajal
Version: 1.0
*/

/*==============================
  Global Variables
==============================*/
:root {
    --primary-color: #1bae70;
    --secondary-color: #004d40;
    --light-color: #f0f2f3;
    --text-color: #000;
    --white: #fff;

    --font-small: 0.875rem;
    --font-p: 1.125rem;
    --font-h3: 1.3rem;
    --font-xlarge: 4rem;
    --font-h2:2rem;
}

/*==============================
  General Styles
==============================*/
.reviews{
    width: 30%;
    margin-left: 35.5%;
    padding-top: 5%;
}
.quote{
    margin-left: 10%;
    padding: 5px;
}
.cta-container{
    background-color: var(--cta-banner-backgroground);
    min-height: 250px;
    color: white;
}
.benefits li{
    font-size: 1.4rem;;
    font-weight: 500;
    margin-bottom: 25px;
}.benefits ul{
    padding-left: 20%;
}

/* Table Styles */
.styled-table {
    width: 80%;
    border-collapse: collapse;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto; /* Center table horizontally */
}

.styled-table thead tr {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.styled-table th,
.styled-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: var(--white);
}

/* Buttons */
.btn-link {
    font-weight: 400;
    color: var(--primary-color);
    font-size: 1.12rem;
    text-decoration: none;
}

/* Typography */
h4 {
    font-size: var(--font-large);
}

.content p {
    font-size: var(--font-p);
    line-height: 1.5;
    letter-spacing: normal;
}

.content h3 {
    font-weight: 700;
    margin-top: 60px;
}

/* Cards */
.card .card-header h3 {
    font-size: var(--font-xlarge);
}

/* Images */
.types-content img {
    width: 80%;
    margin-left: 10%;
}

.types-content a p {
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    border-top: 2px solid #d7d8d9;
}

footer a {
    color: var(--white);
}

.footer-content {
    height: 30vh;
    text-align: center;
}

.footer-content ul {
    list-style: none;
}

.footer-content img {
    width: 20px;
    height: 20px;
    min-height: 20px;
}

/* Banners */
.banner-img .col-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0;
}

/* Section 1 */
.section1 {
    background-color: var(--light-color);
    padding-bottom: 3rem;
}

/* Section 5 */
.section5 {
    background-color: var(--primary-color);
    height: auto;
    color: var(--white);
    padding-bottom: 20px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

.section5 img {
    width: 100%;
    height: 100%;
}

/* Lists */
.em {
    padding: 10px;
    border-left: 5px solid var(--text-color);
    display: block;
    margin: 10px 0;
}

.em p {
    font-size: var(--font-p);
    line-height: 1.6;
}

.em strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Sections */
.sections {
    padding-bottom: 50px;
    width: 85%;
    margin-left: 7.5%;
}

.sections a {
    text-decoration: underline;
    color: var(--text-color);
}

.sections h2,
.news-sections h2 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 500;
    font-size:var(--font-h2);
    padding-top: 2.25rem;
}

.news-sections h3 {
    color: var(--text-color);
    text-align: center;
}

.news-sections .row img,
.sections .row img {
    padding-top: 10px;
}

.col-md-4 h3 {
    font-size: var(--font-h3);
    color: var(--text-color);
}

.copy {
    margin-top: 3rem;
}

.title h1 {
    align-content: center;
}

/* Tables */
.table {
    width: 80%;
}

.table tbody tr {
    height: 5vh;
}

.table td {
    width: 45vw;
}

.table-left {
    width: 25vw !important;
}

.table ul {
    padding-left: 10px;
    padding-right: 0;
}

/*==============================
  Responsive Styles
==============================*/
@media (max-width: 991.98px) {
    .types-content img {
        width: 50%;
        margin-left: 25%;
    }

    .copy {
        margin-top: 3rem;
    }

    .copy p,
    .types-content a p {
        text-align: center;
    }

    .table {
        width: 100%;
    }

    .table td {
        width: auto;
    }

    .footer-content {
        text-align: center;
    }

    /* Ensure headers look consistent on mobile */
    h3,
    h4 {
        font-size: var(--font-header-mobile);
        text-align: center;
    }

    .news-sections h3,
    .sections h3 {
        font-size: var(--font-header-mobile);
        text-align: center;
    }.sections {
        padding-bottom: 50px;
        width: 100%;
        margin-left: 0%;
    }
}

