/*
Theme Name: RDN Martor
Theme URI: https://rdn-martor.com
Author: RDN Martor
Author URI: https://rdn-martor.com
Description: A professional theme for RDN Martor company showcasing construction and installation services
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rdn-martor
Tags: construction, business, responsive, modern

*/

:root {
    --primary: #FF5722;
    --primary-dark: #F4511E;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --background-light: #F5F5F5;
    --background-white: #FFFFFF;
    --border-color: #E0E0E0;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Dark bg */

.dark_bg_element {
    padding: 60px 0;
    background-color: #2D2D2D;
    background-color: #333336;
    color: white;
}

.dark_bg_element h2 {
    text-align: center;
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
}


/* Footer Styles */
.site-footer {
    background-color: #333336;
    color: #ffffff;
    padding: 1rem 0;
    margin-top: 4rem;
    position: relative;
}

.site-footer a:hover {
    color: #FF5722;
}

.site-footer .site-footer-v {
    position: absolute;
    top: -149px;
    right: 0;
    height: 150px;
    z-index: 1;
}

.teslstar-section {
    text-align: center;
    margin-top: 6rem;
    margin-bottom: 6rem;
    padding: 0 1rem;
}

.teslstar-section img {
    max-width: 1200px;
}

.site-footer {
    margin-top: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    font-size: 11px;
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
}

.footer-link:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-link:hover {
    color: #FF5722;
}

.site-info {
    position: relative;
    width: 100%;
    text-align: center;
}

.site-info hr {
    border: 0;
    height: 0px;
    border-bottom: 1px dotted #999999;
    margin: 1rem 0;
    width: 100%;
    /*max-width: 300px;*/
    margin-left: auto;
    margin-right: auto;
}


.copyright,
.copyright a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.5px;
    margin: 0;
    font-weight: 400;
}

.infos {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .footer-link:not(:last-child)::after {
        display: none;
    }

    .site-footer {
        /*
        padding: 2.5rem 0;
        */
    }

    .site-info::before {
        width: calc(100% - 30px);
    }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .contact-grid {
        gap: 60px;
    }
}

@media screen and (max-width: 768px) {
    .contact-section {
        padding: 2rem 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-section {
        height: 350px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .contact-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .contact-icon-wrapper svg {
        width: 20px;
        height: 20px;
    }

    .submit-button {
        width: 100%;
        padding: 14px 20px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {

    .tab-button {
        width: 100%;
        text-align: center;
        max-width: 100%;
    }

    .tabs-nav-margin {
        width: 0;
        display: none;
    }
}


@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* .tabs-nav { */
    /* flex-direction: column; */
    /* } */

    /* .tab-button {
        width: 100%;
        text-align: center;
        max-width: 100%;
    }

    .tabs-nav-margin {
        width: 0;
        display: none;
    } */



}

/* Single Post Navigation */
.entry-nav {
    position: relative;
    margin: 2rem 0;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-items: auto;
    justify-content: space-between;
}

.entry-nav .nav-prev,
.entry-nav .nav-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 20px;
}

.entry-nav .nav-prev.disabled,
.entry-nav .nav-next.disabled {
    opacity: 0.25;
    pointer-events: none;
}

/*
.entry-nav .nav-next:hover,
.entry-nav .nav-prev:hover {
    background: rgba(255, 255, 255, 0.15);
    width: 50px;
    height: 50px;
    left: -25px;
}
*/

.entry-nav .nav-next .screen-reader-text,
.entry-nav .nav-prev .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tab-content-header-container .tab-content .wp-element-button {
    /* background-color: transparent; */
    /* color: var(--primary); */
    /* border: 1px solid var(--primary); */

    background-color: var(--primary);
    color: #fff;
    /*  */
    display: inline-block;
    padding: 10px 35px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    border-radius: 0;
}

.tab-content-header-container .tab-content .wp-element-button:hover {
    background-color: var(--primary);
    color: #fff;
}