/*!
Theme Name: Star Theme
Theme URI: https://them.es/starter
Author: Stanley Wei
Author URI: https://star-workshop.com
Description: Flexible starter theme for developing website projects.
Version: 3.6.1
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: star-theme-bs
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* wordpress - wp-caption */

.wp-caption {
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* wordpress - widget-area */

#widget-area .wp-block-group {
    padding: 20px;
    border-radius: 8px;
}

#widget-area .wp-block-heading {
    color: #333;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

#widget-area .wp-block-latest-posts__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#widget-area .wp-block-latest-posts__list li {
    margin: 5px 0;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}


#widget-area .wp-block-latest-posts__post-title,
#widget-area .wp-block-archives-list li a,
#widget-area .wp-block-categories-list li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

#widget-area .wp-block-latest-posts__post-title:hover,
#widget-area .wp-block-archives-list li a:hover,
#widget-area .wp-block-categories-list li a:hover {
    color: #ff6700;
}

/* wordpress - gallery-item */

.gallery-item {
    display: inline-block;
    text-align: left;
    vertical-align: top;
    width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: none;
    display: inline-block;
    max-width: 100%;
}

.gallery-item a img {
    display: block;
    -webkit-transition: -webkit-filter 0.2s ease-in;
    transition: -webkit-filter 0.2s ease-in;
    transition: filter 0.2s ease-in;
    transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
    -webkit-filter: opacity(60%);
    filter: opacity(60%);
}

.gallery-caption {
    display: block;
    text-align: left;
    padding: 0 10px 0 0;
    margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
    max-width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}

.bypostauthor {
    font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .bg-color {
        background-color: #ff6700;
    }

    #hero-carousel,
    .carousel-inner,
    .carousel-item,
    .carousel-item.active {
        height: 650px !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
        margin: 0em !important;
        font-weight: 800 !important;
    }

    .hero-desc1 {
        font-size: 1.5rem !important;
        font-weight: 600 !important;
    }

    .hero-desc2 {
        font-size: 1rem !important;
        font-weight: 500 !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .bg-color {
        background-color: #ff6700;
    }

    .video-container {
        height: 420px;
    }

    #hero-carousel,
    .carousel-inner,
    .carousel-item,
    .carousel-item.active {
        height: 750px !important;
    }

    .hero-title {
        font-size: 2rem !important;
        margin: 0em !important;
        font-weight: 800 !important;
    }

    .hero-desc1 {
        font-size: 1.5rem !important;
        font-weight: 600 !important;
    }

    .hero-desc2 {
        font-size: 1rem !important;
        font-weight: 500 !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .bg-color {
        background-color: #ff6700;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

#main {
    margin-top: 0 !important;
    /* padding-top: 2.5rem !important; */
}

.post-h {
    min-height: 70vh;
}

.navbar-brand-logo-light {
    width: 120px;
    height: 32px !important;
    margin-right: 40px;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(98deg) brightness(105%) contrast(103%);
}

.navbar-brand-logo-color {
    width: 120px;
    height: 32px !important;
    margin-right: 40px;
    filter: invert(58%) sepia(60%) saturate(5962%) hue-rotate(0deg) brightness(103%) contrast(105%);
}

.navbar {
    transition: all 0.5s;
}

.navbar-scrolled {
    background-color: #ff6700;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.nav_product {
    padding-top: 3.75rem !important;
    z-index: 100 !important;
    background-color: #fff !important;
}

.btn-primary {
    background-color: #ff6700 !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: background-color 0.3s ease !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #ff3d00 !important;
    border: none !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.btn-primary:active {
    background-color: #ffa700 !important;
    transform: translateY(1px) !important;
}

.btn-whatsapp {
    background-color: #25d366 !important;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 2rem;
    border: 4px solid white;
    color: #ffffff !important;
    padding: 8px 13px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: background-color 0.3s ease !important;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background-color: #3bd325 !important;
    border: 4px solid white;
    color: #ffffff !important;
    text-decoration: none !important;
}

.btn-whatsapp:active {
    background-color: #63e493 !important;
    transform: translateY(1px) !important;
}

.btn {
    border-radius: 0.75rem !important;
}

.page-link {
    color: #ff6700 !important;
}

.nav-tabs .nav-link {
  color: #ff6700 !important;
}

.nav-tabs .nav-link.active {
  color: #495057 !important;
  font-weight: 600 !important;
}

.nav-tabs .nav-link:hover {
  color: #ff3d00! important;
}

.active>.page-link,
.page-link.active {
    background-color: #f3f3f3 !important;
    background-image: none !important;
    border-color: #dee2e6 !important;
}

.card {
    border-radius: 1rem !important;
}

.post-thumbnail {
    margin: 0 !important;
    display: block;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0 !important;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

/* Carousel styling ============================== */
#hero-carousel,
.carousel-inner,
.carousel-item,
.carousel-item.active {
    height: 80vh;
}

.hero-caption {
    height: 88%;
    bottom: 0rem;
    left: 5%;
    right: 5%;
    text-align: center;
    padding-bottom: 1.25rem;
    padding-top: 1.25rem;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.carousel-item {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
}

.hero-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
}

.hero-c-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.hero-title {
    font-size: 4rem;
    margin: 0em;
    font-weight: 700;
}

.hero-desc1 {
    font-size: 2rem;
    font-weight: 600
}

.hero-desc2 {
    font-size: 1.5rem;
    font-weight: 500;
}

.hero-icon {
    width: auto;
    height: 40px;
    margin-right: 10px;
    margin-bottom: 12px;
}

.hero-logo {
    width: auto;
    height: 60px;
    margin-right: 10px;
    margin-bottom: 12px;
}

.hero-category-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
}

.hero-main-bg {
    height: 35vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
}

.hero-page-bg {
    height: 50vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
}

section {
    scroll-margin-top: 8em;
}

/* hover GENERAL ============================== */

.hover {
    overflow: hidden;
    position: relative;
    padding-bottom: 100%;
}

.hover-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    transition: all 0.4s;
}

.hover img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s;
}

.hover-content {
    position: relative;
    z-index: 99;
}

/* hover - Product ============================== */

.hover-p::after {
    position: absolute;
    z-index: 90;
    transition: all 0.3s;
    transform: scale(1.1);
    opacity: 0;
    display: block;
    opacity: 0;
}

.hover-p-content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-50%);
    text-align: center;
    z-index: 99;
}

.hover-p-description {
    opacity: 0;
    transform: scale(1.3);
    transition: all 0.3s;
}

.hover-p img {
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hover-p .hover-overlay {
    background: rgba(000, 000, 000, 0.03);
}

.hover-p:hover img {
    width: 100%;
}

.hover-p:hover::after {
    opacity: 1;
    transform: none;
}

.hover-p:hover .hover-p-description {
    opacity: 1;
    transform: none;
}

.hover-p:hover .hover-overlay {
    background: rgba(0, 0, 0, 0.1);
}

/* wpcf7 ============================== */

.wpcf7-h {
    font-size: 1em !important;
    padding-bottom: 6px !important;
}

.wpcf7-not-valid-tip {
    color: #dc3232;
    /* Red */
    font-size: 0.9em !important;
    font-weight: 200;
    display: block;
    padding-top: 4px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 1em 0 1em !important;
    ;
    padding: 1em 1em !important;
    ;
    border: 2px solid #00a0d2;
    /* Blue */
    text-align: center;
    border-radius: 1rem !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #EDF8EE;
    border-color: #46b450;
    /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background-color: #FBE9E9;
    border-color: #dc3232;
    /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
    background-color: #FEEEE7;
    border-color: #f56e28;
    /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    background-color: #FFF0E6;
    border-color: #ff6700;
    /* Yellow */
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #bbb;
    font-weight: 100;
}

input[type="tel"]::placeholder,
input[type="text"]::placeholder {
    color: #bbb;
    font-weight: 100;
}

.wpcf7-form input::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #bbb;
    font-weight: 100;
}

.wpcf7-form input::-moz-placeholder {
    /* Firefox 19+ */
    color: #bbb;
    font-weight: 100;
}

.wpcf7-form input:-ms-input-placeholder {
    /* IE 10+ */
    color: #bbb;
    font-weight: 100;
}

.wpcf7-form input:-moz-placeholder {
    /* Firefox 18- */
    color: #bbb;
}

/* video ============================== */

.video-container {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
    background-color: #000;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    color: white;
    text-align: center;
    z-index: 2;
}

.video-replay-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
    color: white;
    text-align: center;
    z-index: 2;
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    backdrop-filter: blur(5px);
}

.play-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.play-button i {
    font-size: 60px;
    color: white;
    margin-left: 5px;
}

.replay-button {
    margin-bottom: 20px;
}

.video-player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1031;
    background: rgba(0, 0, 0, 0.85);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.video-player video {
    width: 80%;
    max-width: 1000px;
    height: auto;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.close-btn {
    position: fixed;
    top: 50px;
    right: 50px;
    background: #ff6700;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 1032;
    display: none;
    cursor: pointer;
    transition: all 0.3s ease;
    justify-content: center;
    align-items: center;
}

.close-btn:hover {
    background: #ff3d00;
    transform: scale(1.1);
}

.close-btn i {
    font-size: 24px;
    display: block;
    line-height: 1;
}

/* Safari specific fixes */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance: none) {
        .video-overlay {
            -webkit-transform: translateZ(0);
        }
    }
}

/* footer ============================== */

#footer {
    background-color: #111 !important;
}

#footer p {
    margin-top: 12px !important;
    color: #bbb;
    font-weight: 200;
}

#footer svg {
    fill: #bbb;
}