Files
lash_vanshy/public/css/frontend.css

908 lines
18 KiB
CSS
Executable File

/* ============================================
Lash Vanshy - Estilos Frontend
Diseño: Rosa Pastel (#F8B4C4) + Blanco
============================================ */
/* Variables CSS */
:root {
--primary: #F8B4C4;
--primary-dark: #E89AAD;
--secondary: #FFE4EC;
--accent: #E89AAD;
--background: #FFFFFF;
--text: #4A4A4A;
--text-light: #7a7a7a;
--border: #F0E6EA;
--success: #4CAF50;
--danger: #e74c3c;
--shadow: rgba(248, 180, 196, 0.3);
--font-family: 'Poppins', sans-serif;
}
/* Reset y base */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: var(--font-family);
color: var(--text);
background-color: var(--background);
line-height: 1.6;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.main-content {
flex: 1;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
font-weight: 600;
color: var(--text);
}
a {
text-decoration: none;
color: inherit;
transition: all 0.3s ease;
}
/* ============================================
HEADER
============================================ */
.header-main {
background: linear-gradient(135deg, var(--secondary) 0%, #fff 100%);
box-shadow: 0 2px 15px var(--shadow);
position: sticky;
top: 0;
z-index: 1000;
padding: 0.5rem 0;
}
.header-main .navbar {
padding: 0.5rem 0;
}
.header-main .navbar-brand {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-dark);
}
.brand-icon {
font-size: 1.8rem;
}
.brand-text {
background: linear-gradient(135deg, var(--primary-dark), var(--primary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.header-main .nav-link {
color: var(--text);
font-weight: 500;
padding: 0.5rem 1rem !important;
border-radius: 20px;
transition: all 0.3s ease;
position: relative;
}
.header-main .nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 2px;
background: var(--primary);
transition: all 0.3s ease;
transform: translateX(-50%);
}
.header-main .nav-link:hover,
.header-main .nav-link.active {
color: var(--primary-dark);
}
.header-main .nav-link:hover::after,
.header-main .nav-link.active::after {
width: 70%;
}
.header-main .navbar-toggler {
border: 2px solid var(--primary);
background: transparent;
padding: 0.5rem;
}
.header-main .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(248, 180, 196, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* ============================================
HERO SECTION
============================================ */
.hero-section {
background: linear-gradient(135deg, var(--secondary) 0%, var(--background) 50%, var(--secondary) 100%);
padding: 80px 0;
position: relative;
overflow: hidden;
}
.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F8B4C4' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
opacity: 0.5;
}
.hero-content {
position: relative;
z-index: 1;
text-align: center;
}
.hero-title {
font-size: 3rem;
font-weight: 700;
color: var(--text);
margin-bottom: 1rem;
animation: fadeInUp 1s ease;
}
.hero-title span {
background: linear-gradient(135deg, var(--primary-dark), var(--primary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-subtitle {
font-size: 1.2rem;
color: var(--text-light);
margin-bottom: 2rem;
max-width: 600px;
margin-left: auto;
margin-right: auto;
animation: fadeInUp 1s ease 0.2s both;
}
.hero-image {
border-radius: 20px;
box-shadow: 0 20px 60px var(--shadow);
animation: fadeInUp 1s ease 0.4s both;
}
.hero-btn {
display: inline-block;
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
color: white;
padding: 1rem 2.5rem;
border-radius: 50px;
font-weight: 600;
font-size: 1rem;
box-shadow: 0 10px 30px var(--shadow);
transition: all 0.3s ease;
animation: fadeInUp 1s ease 0.6s both;
}
.hero-btn:hover {
transform: translateY(-3px);
box-shadow: 0 15px 40px var(--shadow);
color: white;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ============================================
SECTIONS
============================================ */
.section-padding {
padding: 80px 0;
}
.section-title {
text-align: center;
margin-bottom: 3rem;
}
.section-title h2 {
font-size: 2.5rem;
color: var(--text);
margin-bottom: 1rem;
}
.section-title h2 span {
color: var(--primary-dark);
}
.section-title p {
color: var(--text-light);
max-width: 600px;
margin: 0 auto;
}
/* Backgrounds */
.bg-secondary {
background-color: var(--secondary) !important;
}
/* ============================================
CARDS
============================================ */
.card-custom {
background: white;
border: none;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 10px 40px var(--shadow);
transition: all 0.3s ease;
}
.card-custom:hover {
transform: translateY(-10px);
box-shadow: 0 20px 60px rgba(248, 180, 196, 0.4);
}
.card-custom .card-img-top {
height: 250px;
object-fit: cover;
border-radius: 20px 20px 0 0;
}
.card-custom .card-body {
padding: 1.5rem;
}
.card-custom .card-title {
font-size: 1.2rem;
font-weight: 600;
color: var(--text);
margin-bottom: 0.5rem;
}
.card-custom .card-text {
color: var(--text-light);
font-size: 0.9rem;
margin-bottom: 1rem;
}
.card-custom .price {
font-size: 1.3rem;
font-weight: 700;
color: var(--primary-dark);
}
.badge-destacado {
position: absolute;
top: 15px;
right: 15px;
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
color: white;
padding: 0.5rem 1rem;
border-radius: 20px;
font-size: 0.8rem;
font-weight: 600;
}
/* ============================================
GALLERY / GALERÍA
============================================ */
.gallery-section {
background: var(--background);
}
.gallery-filters {
display: flex;
justify-content: center;
gap: 1rem;
margin-bottom: 3rem;
flex-wrap: wrap;
}
.filter-btn {
background: white;
border: 2px solid var(--border);
color: var(--text);
padding: 0.75rem 1.5rem;
border-radius: 30px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
}
.filter-btn:hover,
.filter-btn.active {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
border-color: transparent;
color: white;
}
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1.5rem;
}
.gallery-item {
position: relative;
border-radius: 20px;
overflow: hidden;
cursor: pointer;
aspect-ratio: 4/3;
}
.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: all 0.5s ease;
}
.gallery-item:hover img {
transform: scale(1.1);
}
.gallery-item .overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
opacity: 0;
transition: all 0.3s ease;
display: flex;
align-items: flex-end;
padding: 1.5rem;
}
.gallery-item:hover .overlay {
opacity: 1;
}
.gallery-item .overlay-content {
color: white;
}
.gallery-item .overlay-content h4 {
font-size: 1.1rem;
margin-bottom: 0.25rem;
}
.gallery-item .overlay-content p {
font-size: 0.85rem;
opacity: 0.9;
}
.gallery-item .play-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 60px;
height: 60px;
background: var(--primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.5rem;
opacity: 0;
transition: all 0.3s ease;
}
.gallery-item:hover .play-icon {
opacity: 1;
}
/* ============================================
PRODUCTS / SERVICIOS
============================================ */
.products-section {
background: linear-gradient(180deg, var(--secondary) 0%, var(--background) 100%);
}
.category-filters {
display: flex;
justify-content: center;
gap: 1rem;
margin-bottom: 3rem;
flex-wrap: wrap;
}
.products-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2rem;
}
.product-card {
background: white;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 10px 40px var(--shadow);
transition: all 0.3s ease;
position: relative;
}
.product-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 60px rgba(248, 180, 196, 0.4);
}
.product-card img {
width: 100%;
height: 250px;
object-fit: cover;
}
.product-card .product-info {
padding: 1.5rem;
}
.product-card .product-category {
font-size: 0.8rem;
color: var(--primary-dark);
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 600;
margin-bottom: 0.5rem;
}
.product-card .product-title {
font-size: 1.3rem;
font-weight: 600;
color: var(--text);
margin-bottom: 0.5rem;
}
.product-card .product-description {
color: var(--text-light);
font-size: 0.9rem;
margin-bottom: 1rem;
}
.product-card .product-price {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-dark);
}
/* ============================================
CONTACT FORM
============================================ */
.contact-section {
background: var(--background);
}
.contact-card {
background: white;
border-radius: 20px;
box-shadow: 0 20px 60px var(--shadow);
overflow: hidden;
}
.contact-info {
background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
padding: 3rem;
color: var(--text);
height: 100%;
}
.contact-info h3 {
color: var(--text);
margin-bottom: 1.5rem;
}
.contact-info-item {
display: flex;
align-items: flex-start;
gap: 1rem;
margin-bottom: 1.5rem;
}
.contact-info-item i {
width: 40px;
height: 40px;
background: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary-dark);
flex-shrink: 0;
}
.contact-info-item div {
flex: 1;
}
.contact-info-item strong {
display: block;
margin-bottom: 0.25rem;
}
.contact-form {
padding: 3rem;
}
.form-label {
font-weight: 500;
color: var(--text);
margin-bottom: 0.5rem;
}
.form-control {
border: 2px solid var(--border);
border-radius: 10px;
padding: 0.75rem 1rem;
font-family: var(--font-family);
transition: all 0.3s ease;
}
.form-control:focus {
border-color: var(--primary);
box-shadow: 0 0 0 4px rgba(248, 180, 196, 0.2);
outline: none;
}
.form-control::placeholder {
color: #aaa;
}
textarea.form-control {
resize: none;
}
.btn-primary-custom {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
border: none;
color: white;
padding: 1rem 2rem;
border-radius: 50px;
font-weight: 600;
font-size: 1rem;
transition: all 0.3s ease;
width: 100%;
}
.btn-primary-custom:hover {
transform: translateY(-2px);
box-shadow: 0 10px 30px var(--shadow);
background: linear-gradient(135deg, var(--primary-dark), var(--primary));
color: white;
}
/* Alerts */
.alert-success {
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
border: none;
border-radius: 10px;
color: #155724;
padding: 1rem;
margin-bottom: 1.5rem;
}
.alert-danger {
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
border: none;
border-radius: 10px;
color: #721c24;
padding: 1rem;
margin-bottom: 1.5rem;
}
/* ============================================
TESTIMONIALS / TESTIMONIOS
============================================ */
.testimonials-section {
background: var(--secondary);
}
.testimonial-card {
background: white;
border-radius: 20px;
padding: 2rem;
box-shadow: 0 10px 40px var(--shadow);
text-align: center;
margin: 1rem;
}
.testimonial-card .quote-icon {
font-size: 3rem;
color: var(--primary);
margin-bottom: 1rem;
}
.testimonial-card p {
font-style: italic;
color: var(--text-light);
margin-bottom: 1.5rem;
}
.testimonial-card .author {
font-weight: 600;
color: var(--text);
}
/* ============================================
FOOTER
============================================ */
.footer-main {
background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
color: white;
padding: 60px 0 20px;
margin-top: auto;
}
.footer-title {
font-size: 1.3rem;
font-weight: 600;
color: var(--primary);
margin-bottom: 1.5rem;
}
.footer-description {
color: #aaa;
margin-bottom: 1.5rem;
line-height: 1.8;
}
.social-links {
display: flex;
gap: 0.75rem;
}
.social-link {
width: 40px;
height: 40px;
background: rgba(255,255,255,0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
transition: all 0.3s ease;
}
.social-link:hover {
background: var(--primary);
transform: translateY(-3px);
}
.footer-contact {
list-style: none;
padding: 0;
}
.footer-contact li {
display: flex;
align-items: flex-start;
gap: 0.75rem;
margin-bottom: 1rem;
color: #aaa;
}
.footer-contact li i {
color: var(--primary);
margin-top: 0.25rem;
}
.footer-contact a {
color: #aaa;
}
.footer-contact a:hover {
color: var(--primary);
}
.footer-schedule {
list-style: none;
padding: 0;
}
.footer-schedule li {
color: #aaa;
margin-bottom: 0.5rem;
}
.footer-bottom {
border-top: 1px solid rgba(255,255,255,0.1);
margin-top: 3rem;
padding-top: 1.5rem;
text-align: center;
}
.footer-bottom p {
color: #777;
font-size: 0.9rem;
margin: 0;
}
/* ============================================
RESPONSIVE
============================================ */
@media (max-width: 992px) {
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1rem;
}
.section-title h2 {
font-size: 2rem;
}
.contact-info {
padding: 2rem;
}
.contact-form {
padding: 2rem;
}
}
@media (max-width: 768px) {
.hero-section {
padding: 60px 0;
}
.hero-title {
font-size: 2rem;
}
.section-padding {
padding: 60px 0;
}
.gallery-grid {
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
.products-grid {
grid-template-columns: 1fr;
}
.contact-info-item {
flex-direction: column;
}
}
@media (max-width: 576px) {
.hero-title {
font-size: 1.75rem;
}
.hero-btn {
padding: 0.75rem 1.5rem;
font-size: 0.9rem;
}
.gallery-grid {
grid-template-columns: 1fr;
}
.gallery-filters,
.category-filters {
gap: 0.5rem;
}
.filter-btn {
padding: 0.5rem 1rem;
font-size: 0.85rem;
}
}
/* ============================================
UTILITIES
============================================ */
.text-primary {
color: var(--primary-dark) !important;
}
.bg-primary-custom {
background-color: var(--secondary) !important;
}
.placeholder-img {
background: linear-gradient(135deg, var(--secondary), var(--primary));
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 3rem;
}
/* Pagination */
.pagination {
justify-content: center;
margin-top: 2rem;
}
.pagination .page-link {
color: var(--text);
border: 2px solid var(--border);
margin: 0 0.25rem;
border-radius: 10px;
}
.pagination .page-link:hover {
background: var(--primary);
border-color: var(--primary);
color: white;
}
.pagination .page-item.active .page-link {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
border-color: transparent;
color: white;
}
/* Empty state */
.empty-state {
text-align: center;
padding: 4rem 2rem;
color: var(--text-light);
}
.empty-state i {
font-size: 4rem;
color: var(--border);
margin-bottom: 1rem;
}
.empty-state h4 {
color: var(--text);
margin-bottom: 0.5rem;
}
/* Loading */
.loading-spinner {
display: flex;
justify-content: center;
align-items: center;
padding: 4rem;
}
.spinner {
width: 50px;
height: 50px;
border: 4px solid var(--border);
border-top-color: var(--primary);
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}