
body, ul, li, a, label, input, div {
  font-family: 'Roboto', sans-serif;
  font-size: 18px !important;
  font-weight: 300 !important;
}

p{
  font-family: 'Century Gothic', sans-serif;
  font-weight: bold;
  font-style: italic;
}
.h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 48px !important;
  font-weight: 300 !important;
}

.h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 30px !important;
  font-weight: 300;
}
.h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 22px !important;
}
/* General */
.logo { font-weight: 500 !important;}
.text-warning {  color: #ede861 !important;}
.text-muted { color: white !important;}
.text-success { color: #DCB925 !important;}
.text-light { color: white !important;}
.bg-dark { background-color: #212934 !important;}
.bg-green{background-color: #36555E; color: white;}
.bg-light { background-color: #DCB925 !important;}
.bg-black { background-color: #1d242d !important;}
.bg-success { background-color: #1D1D1B !important;}
.bg-darkgolden{color: #1D1D1B;}
.btn-success {
  background-color: #1D1D1B !important;
  border-color: #DCB925 !important;
}
.pagination .page-link:hover {color: #1D1D1B;}
.pagination .page-link:hover, .pagination .page-link.active {
  background-color: #DCB925;
  color: #fff;
}
/* Nav */
#golden_nav_top { min-height: 25px;}
#golden_nav_top * { font-size: 0.9em !important;}
#golden_main_nav a { color: #212934;}
#golden_main_nav a:hover { color: #DCB925;}
#golden_main_nav .navbar .nav-icon { margin-right: 20px;}

/* Hero Carousel */
#goldenoil-carousel { background: #efefef !important;}
/* Accordion */
.banner_accordion a { color: #000;}
.banner_accordion a:hover { color: #333d4a;}
/* Shop */
.shop-top-menu a:hover { color: #36555E !important;}
/* Product */
.product-wap { box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.10);}
.product-wap .product-color-dot.color-dot-red { background:#f71515;}
.product-wap .product-color-dot.color-dot-blue { background:#6db4fe;}
.product-wap .product-color-dot.color-dot-black { background:#000000;}
.product-wap .product-color-dot.color-dot-light { background:#e0e0e0;}
.product-wap .product-color-dot.color-dot-green { background:#36555E;}
.card.product-wap .card .product-overlay {
  background: rgba(0,0,0,.2);
  visibility: hidden;
  opacity: 0;
  transition: .3s;
}
.card.product-wap:hover .card .product-overlay {
  visibility: visible;
  opacity: 1;
}
.card.product-wap a { color: #000;}
#carousel-related-product .slick-slide:focus { outline: none !important;}
#carousel-related-product .slick-dots li button:before {
  font-size: 15px;
  margin-top: 20px;
}
/* Brand */
.brand-img {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: .5s;
}
.brand-img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
/* Carousel Hero */
#goldenoil-carousel .carousel-indicators li {
  margin-top: -50px;
  background-color: #36555E;
}
#goldenoil-carousel .carousel-control-next i,
#goldenoil-carousel .carousel-control-prev i {
  color: #36555E !important;
  font-size: 2.8em !important;
}
/* Carousel Brand */
.goldenoil-carousel .h1 {
  font-size: .5em !important;
  color: #000 !important;
}
/* Services */
.services-icon-wap {transition: .3s;}
.services-icon-wap:hover, .services-icon-wap:hover i {color: #fff;}
.services-icon-wap:hover {background: #DCB925;}
/* Contact map */
.leaflet-control a, .leaflet-control { font-size: 10px !important;}
.form-control { border: 1px solid #e8e8e8;}
/* Footer */
#goldenoil-footer a { color: #dcdde1;}
#goldenoil-footer a:hover { color: #36555E;}
#goldenoil-footer ul.footer-link-list li { padding-top: 10px;}
#goldenoil-footer ul.footer-icons li {
  width: 2.6em;
  height: 2.6em;
  line-height: 2.6em;
}
#goldenoil-footer ul.footer-icons li:hover {
  background-color: #cfd6e1;
  transition: .5s;
}
#goldenoil-footer ul.footer-icons li:hover i {
  color: #212934;
  transition: .5s;
}
#goldenoil-footer .border-light { border-color: #2d343f !important;}
/*
// Extra small devices (portrait phones, less than 576px)
// No media query since this is the default in Bootstrap
*/
/* Small devices (landscape phones, 576px and up)*/
.product-wap .h3, .product-wap li, .product-wap i, .product-wap p {
  font-size: 12px !important;
}
.product-wap .product-color-dot {
  width: 6px;
  height: 6px;
}

@media (min-width: 576px) {
  .goldenoil-carousel .h1 { font-size: 1em !important;}
  
}

/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
  #golden_main_nav .navbar-nav {max-width: 450px;}
  
 }

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
  #golden_main_nav .navbar-nav {max-width: 550px;}
  #goldenoil-carousel .carousel-item {min-height: 30rem !important;}
  .product-wap .h3, .product-wap li, .product-wap i, .product-wap p {font-size: 18px !important;}
  .product-wap .product-color-dot {
    width: 12px;
    height: 12px;
  }
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {}



/*Agregar*/

.navbar {
    background-color: #36555E !important;
}

.navbar .nav-link {
    color: white !important;
}

.navbar .nav-link:hover {
    color: #ddd !important;
}

.navbar .nav-icon i {
    color: white !important;
}

.transition-all {
  transition: all 0.3s ease;
}
.hover-shadow:hover {
  box-shadow: 0px 4px 20px rgba(0, 123, 255, 0.3);
}

/*Nuestros servicios*/

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.fade-in-up:nth-child(1) {
  animation-delay: 0.3s;
}

.fade-in-up:nth-child(2) {
  animation-delay: 0.6s;
}

.fade-in-up:nth-child(3) {
  animation-delay: 0.9s;
}

@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/*
Estilos del formulario
*/

/* Colores de la marca */
:root {
  --golden-green: #36555E;
  --golden-black: #1D1D1B;
  --golden-gold: #DCB925;
  --golden-white: #FFFFFF;
}

#contactForm {
  background-color: var(--golden-black);
  color: var(--golden-white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

#contactForm:hover {
  transform: scale(1.02);
}

.form-control {
  background: #222;
  border: 2px solid var(--golden-gold);
  color: var(--golden-white);
  transition: all 0.3s ease-in-out;
}

.form-control:focus {
  background: var(--golden-white);
  color: var(--golden-black);
  border-color: var(--golden-green);
  box-shadow: 0 0 10px var(--golden-gold);
}

label {
  font-weight: bold;
  color: var(--golden-gold);
}

/* Botón estilizado */
.btn-submit {
  background: var(--golden-green);
  color: var(--golden-white);
  border: 2px solid var(--golden-gold);
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  border-radius: 5px;
}

.btn-submit:hover {
  background: var(--golden-gold);
  color: var(--golden-black);
  box-shadow: 0 0 10px var(--golden-gold);
  transform: scale(1.05);
}


#responseMessage {
  margin-top: 15px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

#responseMessage.success {
  color: var(--golden-green);
  opacity: 1;
}

#responseMessage.error {
  color: red;
  opacity: 1;
}

.nav-link {
  position: relative;
  color: #1D1D1B; 
  text-decoration: none;
  transition: color 0.3s ease;
  padding-bottom: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background-color: #DCB925; 
  transition: width 0.4s ease;
}

.nav-link:hover {
  color: #DCB925;
  transition-delay: 0.2s;
}

.nav-link:hover::after {
  width: 100%;
}

.bg-link{
  color: #1D1D1B;
}

.bg-link:hover{
color:#FFFFFF;
background-color: #DCB925; 
}


/*
Menu
*/

/* Estilo del mega menú sin cubrir el navbar entero */
.nav-item.dropdown {
  position: relative;
}

.mega-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  border-top: 4px solid #DCB925;
  min-width: 800px;
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-item.dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Estilo Golden Oil */
.mega-title {
  font-family: 'Race Sport', sans-serif;
  font-size: 14px !important;
  font-weight: 100 !important;
  color: #36555E;
  margin-bottom: 0.5rem;
}

.mega-link {
  font-family: 'Century Gothic', sans-serif;
  font-weight: bold;
  font-style: italic;
  color: #1D1D1B;
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
}

.mega-link:hover {
  color: #DCB925;
}


.innovation-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #0a1f61;
  margin: 30px 0;
}
.card_category {
  color: white;
  width: 350px;
  height: 450px;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0;
  padding: 20px;
}

.card_category:hover{
  transform: scale(1.15);
}
.label-title {
  background-color: rgba(0, 54, 126, 0.9);
  padding: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}
.fixed-buttons {
  position: fixed;
  top: 100px;
  right: 0;
  z-index: 999;
}
.fixed-buttons .btn {
  display: block;
  width: 150px;
  margin-bottom: 10px;
  background: #ffc700;
  color: #0a1f61;
  font-weight: bold;
  border-radius: 0;
  border: none;
}


/*card_product*/

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.product-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.product-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1D1D1B;
}

.product-brand {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}

.product-button {
  margin-top: auto;
  padding: 0.6rem 1rem;
  background-color: #36555E;
  color: white;
  border: none;
  border-radius: 0.5rem;
  width: 100%;
  transition: background-color 0.3s ease;
}

.product-button:hover {
  background-color: #2b4349;
}

.modal-content-custom {
  padding: 1rem;
}



@media (max-width: 1200px) {
    body { font-size: 16px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    p, li, a { font-size: 1rem; }
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }
    p, li, a { font-size: 0.95rem; }
}

@media (max-width: 576px) {
    body { font-size: 14px; }
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1rem; }
    p, li, a { font-size: 0.9rem; }
}



/* Ajustes adicionales para títulos en móviles */
@media (max-width: 576px) {
    h1, .h1 {
        font-size: 1.75rem !important;
    }
    h2, .h2 {
        font-size: 1.5rem !important;
    }
    h3, .h3 {
        font-size: 1.25rem !important;
    }
    .card_category h2, .card_category h3, .card_category-title {
        font-size: 1.1rem !important;
    }
    .fw-bold {
        font-weight: 600 !important;
    }
    .text-uppercase {
        letter-spacing: 0.5px !important;
    }
}


@media (max-width: 576px) {
    .card_category {
        transform: none !important;
        border-radius: 8px;
        margin: 0 auto 1rem auto;
        height: 220px !important;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        max-width: 90%;
    }
    .card_category h2, .card_category-title {
        font-size: 1.1rem !important;
        padding: 0.5rem !important;
        text-align: center;
    }
}

.mega-menu {
  display: none;
}
@media (min-width: 992px) {
  .mega-menu {
    display: block !important;
  }
}