Preview de mixed.css
/* MIXED CSS PACK */
/* Template: impercar.com.ar/index.html */
/* Template mtime: 2025-07-25 17:18:25 */
/* external link (no embedded): https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap */
/* external link (no embedded): https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css */
/* external link (no embedded): https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css */
/* external link (no embedded): https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css */
/* ===== INLINE <style> BLOCK #1 ===== */
:root {
--primary-color: #E63946;
--secondary-color: #1D3557;
--accent-color: #F1C40F;
--dark-color: #2C3E50;
--light-color: #F8F9FA;
--success-color: #2ECC71;
--info-color: #3498DB;
--warning-color: #E67E22;
}
body {
font-family: 'Montserrat', sans-serif;
scroll-behavior: smooth;
background-color: var(--light-color);
color: var(--dark-color);
overflow-x: hidden;
}
h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .display-4 {
font-family: 'Playfair Display', serif;
font-weight: 600;
}
/* Navbar */
.navbar {
background-color: rgba(29, 53, 87, 0.95);
backdrop-filter: blur(10px);
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
padding: 15px 0;
transition: all 0.3s ease;
}
.navbar.scrolled {
padding: 10px 0;
background-color: rgba(29, 53, 87, 0.98);
}
.navbar-brand {
font-size: 1.8rem;
font-weight: 700;
letter-spacing: 1px;
}
.navbar-brand span {
color: var(--primary-color);
}
.nav-link {
font-weight: 500;
margin: 0 8px;
padding: 8px 15px !important;
border-radius: 50px;
transition: all 0.3s ease;
}
.nav-link:hover, .nav-link.active {
background-color: var(--primary-color);
color: white !important;
}
.navbar-toggler {
border: none;
padding: 0.5rem;
}
.navbar-toggler:focus {
box-shadow: none;
}
.navbar-toggler-icon {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Botones flotantes */
.btn-wpp, .btn-ig {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
width: 55px;
height: 55px;
border-radius: 50%;
color: white;
font-size: 24px;
text-decoration: none;
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
transition: all 0.3s ease;
}
.btn-wpp {
background-color: #25D366;
margin-bottom: 70px; /* espacio con el ig */
}
.btn-ig {
background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.btn-wpp:hover, .btn-ig:hover {
transform: scale(1.1);
}
/* Hero Section */
.hero {
background: url('img/3.png') no-repeat center center / cover;
background-color: #1D3557;
color: white;
padding: 500px 0 150px;
text-align: center;
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
bottom: -50px;
left: 0;
width: 100%;
height: 100px;
background: var(--light-color);
transform: skewY(0deg);
z-index: 1;
}
.hero h1 {
font-size: 3.5rem;
margin-bottom: 20px;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
animation: fadeInUp 1s ease;
}
.hero p {
font-size: 1.3rem;
margin-bottom: 30px;
max-width: 700px;
margin-left: auto;
margin-right: auto;
animation: fadeInUp 1s ease 0.2s both;
}
.hero-buttons {
animation: fadeInUp 1s ease 0.4s both;
}
/* Section Titles */
.section-title {
position: relative;
display: inline-block;
margin-bottom: 50px;
color: var(--secondary-color);
}
.section-title::after {
content: '';
position: absolute;
bottom: -15px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 4px;
background: var(--primary-color);
border-radius: 2px;
}
/* About Section */
.about-section {
padding: 100px 0;
position: relative;
}
.icon-box {
text-align: center;
padding: 40px 20px;
border-radius: 10px;
background: white;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
height: 100%;
}
.icon-box:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.icon-box i {
font-size: 50px;
color: var(--primary-color);
margin-bottom: 20px;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.icon-box h5 {
font-weight: 600;
margin-bottom: 15px;
color: var(--secondary-color);
}
/* Gallery Section */
.gallery-section {
padding: 80px 0;
background-color: #f5f7fa;
position: relative;
}
.gallery-section::before {
content: '';
position: absolute;
top: -50px;
left: 0;
width: 100%;
height: 100px;
background: var(--light-color);
transform: skewY(3deg);
z-index: 1;
}
.carousel {
border-radius: 15px;
overflow: hidden;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.carousel img {
height: 500px;
object-fit: cover;
}
.carousel-control-prev, .carousel-control-next {
width: 50px;
height: 50px;
background-color: rgba(0, 0, 0, 0.3);
border-radius: 50%;
top: 50%;
transform: translateY(-50%);
opacity: 0;
transition: all 0.3s ease;
}
.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
opacity: 1;
}
/* Products Section */
.products-section {
padding: 100px 0;
background: white;
}
.product-category {
margin-bottom: 50px;
}
.product-category h4 {
position: relative;
padding-bottom: 15px;
margin-bottom: 30px;
color: var(--secondary-color);
}
.product-category h4::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 3px;
background: var(--primary-color);
}
.product-card {
border: none;
border-radius: 10px;
padding: 30px 20px;
text-align: center;
margin-bottom: 30px;
background: white;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
height: 100%;
position: relative;
overflow: hidden;
}
.product-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 5px;
height: 100%;
background: var(--primary-color);
transition: all 0.3s ease;
}
.product-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.product-card:hover::before {
width: 100%;
opacity: 0.1;
}
.product-card h5 {
font-weight: 600;
margin-bottom: 10px;
color: var(--secondary-color);
}
.product-card .price {
font-weight: 700;
color: var(--primary-color);
font-size: 1.2rem;
}
/* FAQ Section */
.faq-section {
padding: 100px 0;
background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
position: relative;
}
.faq-section::before {
content: '';
position: absolute;
top: -50px;
left: 0;
width: 100%;
height: 100px;
background: white;
transform: skewY(3deg);
z-index: 1;
}
.accordion {
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.accordion-item {
border: none;
border-bottom: 1px solid #eee;
}
.accordion-button {
font-weight: 600;
padding: 20px;
background: white;
color: var(--secondary-color);
}
.accordion-button:not(.collapsed) {
background: var(--primary-color);
color: white;
}
.accordion-button:focus {
box-shadow: none;
border-color: transparent;
}
.accordion-button::after {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231D3557'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-button:not(.collapsed)::after {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-body {
padding: 20px;
background: white;
}
/* Contact Section */
.contact-section {
padding: 100px 0;
background: white;
}
.contact-info {
padding: 40px;
background: var(--secondary-color);
border-radius: 10px;
color: white;
height: 100%;
}
.contact-info h3 {
color: white;
margin-bottom: 30px;
position: relative;
}
.contact-info h3::after {
content: '';
position: absolute;
bottom: -10px;
left: 0;
width: 50px;
height: 3px;
background: var(--primary-color);
}
.contact-info p {
margin-bottom: 20px;
}
.contact-info a {
color: white;
text-decoration: none;
transition: all 0.3s ease;
}
.contact-info a:hover {
color: var(--accent-color);
}
.contact-info i {
margin-right: 10px;
color: var(--accent-color);
}
.contact-form {
padding: 40px;
background: white;
border-radius: 10px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.form-control {
padding: 12px 15px;
border: 1px solid #eee;
border-radius: 5px;
margin-bottom: 20px;
transition: all 0.3s ease;
}
.form-control:focus {
border-color: var(--primary-color);
box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.25);
}
textarea.form-control {
min-height: 150px;
}
/* Footer */
footer {
background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
color: white;
padding: 70px 0 20px;
position: relative;
}
footer::before {
content: '';
position: absolute;
top: -50px;
left: 0;
width: 100%;
height: 100px;
background: white;
transform: skewY(3deg);
z-index: 1;
}
.footer-logo {
font-size: 2rem;
font-weight: 700;
margin-bottom: 20px;
display: inline-block;
}
.footer-logo span {
color: var(--primary-color);
}
.footer-links h5 {
color: white;
margin-bottom: 20px;
position: relative;
}
.footer-links h5::after {
content: '';
position: absolute;
bottom: -10px;
left: 0;
width: 30px;
height: 2px;
background: var(--primary-color);
}
.footer-links ul {
list-style: none;
padding: 0;
}
.footer-links li {
margin-bottom: 10px;
}
.footer-links a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
transition: all 0.3s ease;
}
.footer-links a:hover {
color: white;
padding-left: 5px;
}
.social-links a {
display: inline-block;
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
color: white;
text-align: center;
line-height: 40px;
margin-right: 10px;
transition: all 0.3s ease;
}
.social-links a:hover {
background: var(--primary-color);
transform: translateY(-5px);
}
.copyright {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: 20px;
margin-top: 40px;
color: rgba(255, 255, 255, 0.7);
}
/* Buttons */
.btn {
padding: 8px 20px;
font-size: 0.95rem;
padding: 12px 30px;
border-radius: 50px;
font-weight: 600;
transition: all 0.3s ease;
letter-spacing: 0.5px;
}
.btn-primary {
background-color: var(--primary-color);
border-color: var(--primary-color);
}
.btn-primary:hover {
background-color: #c1121f;
border-color: #c1121f;
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}
.btn-outline-light:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}
/* Badges */
.badge {
padding: 8px 15px;
font-weight: 500;
letter-spacing: 0.5px;
}
.badge-primary {
background-color: var(--primary-color);
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-delay-1 {
animation-delay: 0.2s;
}
.animate-delay-2 {
animation-delay: 0.4s;
}
/* Responsive Adjustments */
@media (max-width: 992px) {
.hero h1 {
font-size: 2.8rem;
}
.hero p {
font-size: 1.1rem;
}
}
@media (max-width: 768px) {
.hero {
background: url('img/3.png') no-repeat center center / cover;
background-color: #1D3557;
color: white;
padding: 360px 0 150px;
text-align: center;
position: relative;
overflow: hidden;
}
.hero h1 {
font-size: 2.2rem;
}
.section-title {
margin-bottom: 40px;
}
.contact-info, .contact-form {
padding: 30px;
}
}
@media (max-width: 576px) {
.hero {
padding-top: 380px;
padding-bottom: 100px;
}
.hero h1 {
font-size: 1.8rem;
line-height: 2.3rem;
margin-bottom: 25px;
}
.hero p {
font-size: 1.1rem;
margin-bottom: 30px;
}
.hero-buttons .btn {
padding: 8px 20px;
font-size: 0.95rem;
display: block;
width: 100%;
}
.hero-buttons .btn:last-child {
margin-top: 15px;
margin-left: 0;
}
.navbar-brand {
font-size: 1.5rem;
}
}
.hero h1 {
font-size: 1.7rem;
line-height: 2.2rem;
}
.hero p {
font-size: 1rem;
margin-top: 10px;
}
.hero-buttons .btn {
padding: 8px 20px;
font-size: 0.95rem;
display: block;
width: 100%;
}
.hero-buttons .btn:last-child {
margin-top: 15px;
margin-left: 0;
}
.navbar-brand {
font-size: 1.5rem;
}
}
.hero {
background: url('img/3.png') no-repeat center center / cover;
background-color: #1D3557;
color: white;
padding: 360px 0 150px;
text-align: center;
position: relative;
overflow: hidden;
}
.hero h1 {
font-size: 1.8rem;
line-height: 2.2rem;
}
.hero-buttons .btn {
padding: 8px 20px;
font-size: 0.95rem;
display: block;
width: 100%;
}
.hero-buttons .btn:last-child {
margin-top: 15px;
margin-left: 0;
}
.navbar-brand {
font-size: 1.5rem;
}
}
/* ===== INLINE <style> BLOCK #2 ===== */
/* Desktop / default */
#ticker-imagenes {
--img-height: 400px;
}
/* Tablets */
@media (max-width: 768px) {
#ticker-imagenes {
--img-height: 40vw; /* antes 150px */
}
}
/* Phones */
@media (max-width: 480px) {
#ticker-imagenes {
--img-height: 55vw; /* antes 120px -> ahora más grande */
}
}
#ticker-imagenes {
--img-height: 400px; /* 🛠️ Cambiá este valor para ajustar el tamaño de las imágenes */
overflow: hidden;
position: relative;
}
.ticker-track {
display: flex;
width: max-content;
animation: tickerScroll 30s linear infinite;
}
.ticker-track img {
height: var(--img-height);
width: auto;
margin-right: 20px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
object-fit: cover;
}
@keyframes tickerScroll {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
}
/* ===== INLINE <style> BLOCK #3 ===== */
/* ===== Config rápida ===== */
:root{
--vv-gap: 24px;
--vv-radius: 12px; /* Reducido el radio de las esquinas */
--vv-shadow: 0 12px 20px -10px rgba(0,0,0,.3); /* Sombra más sutil */
--vv-overlay-strength: .35;
--vv-overlay-speed: 7s;
--vv-border: 1px; /* Borde más delgado */
--vv-max-width: 300px; /* Ancho máximo para los videos */
}
/* ===== Layout ===== */
#videos-verticales.vv-section{
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--vv-max-width)), 1fr));
gap: var(--vv-gap);
padding: clamp(16px, 4vw, 32px);
background: #ffffff; /* Cambiado a blanco (puedes usar transparent si lo prefieres) */
justify-content: center; /* Centra las tarjetas */
max-width: 1200px; /* Ancho máximo de la sección */
margin: 0 auto; /* Centrar la sección */
}
.vv-card{
position: relative;
aspect-ratio: 9 / 16;
border-radius: var(--vv-radius);
overflow: hidden;
box-shadow: var(--vv-shadow);
isolation: isolate;
background: #111;
width: 100%;
max-width: var(--vv-max-width);
margin: 0 auto; /* Centrar la tarjeta */
}
/* Borde animado (opcional) */
.vv-card::before{
content:"";
position:absolute;
inset: calc(-1 * var(--vv-border));
border-radius: inherit;
background: linear-gradient(130deg,#6d28d9,#3b82f6,#ec4899,#6d28d9);
background-size: 300% 300%;
animation: vvBorder var(--vv-overlay-speed) linear infinite;
z-index:-1;
}
@keyframes vvBorder{
0%{ background-position: 0% 50%; }
100%{ background-position: 100% 50%; }
}
/* Video */
.vv-card video{
width:100%;
height:100%;
object-fit: cover;
display:block;
filter: contrast(1.05) saturate(1.05) brightness(.98);
}
/* Overlay animado que "maquilla" el video */
.vv-card::after{
content:"";
position:absolute;
inset:0;
border-radius: inherit;
background:
linear-gradient(to top, rgba(0,0,0,.5), transparent 25%, transparent 75%, rgba(0,0,0,.5)),
linear-gradient(120deg,
rgba(255,255,255,.06) 0%,
rgba(0,0,0,var(--vv-overlay-strength)) 45%,
rgba(255,255,255,.05) 60%,
rgba(0,0,0,var(--vv-overlay-strength)) 90%);
background-size: 100% 100%, 200% 200%;
mix-blend-mode: overlay;
animation: vvSweep var(--vv-overlay-speed) linear infinite;
pointer-events:none;
}
@keyframes vvSweep{
0%{ background-position: 0 0, 0% 50%; }
100%{ background-position: 0 0, 100% 50%; }
}
/* Responsive: ajustes para diferentes tamaños */
@media (max-width: 768px){
#videos-verticales.vv-section{
--vv-gap: 16px;
--vv-max-width: 280px; /* Más pequeño en móviles */
}
}
@media (max-width: 480px){
#videos-verticales.vv-section{
--vv-max-width: 240px; /* Aún más pequeño en móviles pequeños */
--vv-gap: 12px;
}
}