38503-vm/staticfiles/css/custom.css
2026-02-19 21:42:52 +00:00

234 lines
4.5 KiB
CSS

:root {
--emerald-primary: #10B981;
--emerald-dark: #059669;
--forest-deep: #064E3B;
--amber-warm: #F59E0B;
--glass-bg: rgba(255, 255, 255, 0.8);
--soft-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
body {
font-family: 'Inter', sans-serif;
background-color: #f8fafc;
color: #1e293b;
}
h1, h2, h3, h4, .navbar-brand {
font-family: 'Poppins', sans-serif;
}
.text-emerald {
color: var(--emerald-primary);
}
.bg-emerald {
background-color: var(--emerald-primary);
}
.btn-emerald {
background-color: var(--emerald-primary);
border-color: var(--emerald-primary);
color: white;
font-weight: 600;
transition: all 0.3s ease;
}
.btn-emerald:hover {
background-color: var(--emerald-dark);
border-color: var(--emerald-dark);
color: white;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}
.navbar {
background: var(--glass-bg);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
padding: 1rem 0;
}
.navbar-brand {
font-size: 1.5rem;
color: var(--forest-deep);
}
/* Hero Section */
.hero-section {
padding: 100px 0;
background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
position: relative;
overflow: hidden;
}
.hero-section::after {
content: "";
position: absolute;
top: -10%;
right: -5%;
width: 400px;
height: 400px;
background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
z-index: 0;
}
.hero-title {
font-size: 3.5rem;
font-weight: 800;
line-height: 1.2;
color: var(--forest-deep);
}
/* Cards */
.category-card {
background: white;
border: none;
border-radius: 20px;
padding: 2rem;
text-align: center;
transition: all 0.3s ease;
box-shadow: var(--soft-shadow);
text-decoration: none;
display: block;
}
.category-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.category-icon {
width: 60px;
height: 60px;
background: #ecfdf5;
color: var(--emerald-primary);
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.5rem;
font-size: 1.5rem;
}
.product-card {
background: white;
border: none;
border-radius: 20px;
overflow: hidden;
transition: all 0.3s ease;
box-shadow: var(--soft-shadow);
height: 100%;
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.product-img-wrapper {
height: 220px;
background: #f1f5f9;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
}
.product-img-wrapper img {
transition: transform 0.5s ease;
width: 100%;
height: 100%;
object-fit: cover;
}
.product-card:hover .product-img-wrapper img {
transform: scale(1.1);
}
.product-img-wrapper i {
font-size: 4rem;
color: #cbd5e1;
}
.product-price {
color: var(--emerald-primary);
font-weight: 700;
font-size: 1.25rem;
}
.shop-badge {
background: #f1f5f9;
color: #64748b;
padding: 4px 12px;
border-radius: 100px;
font-size: 0.75rem;
font-weight: 600;
}
/* WhatsApp Button */
.btn-whatsapp {
background-color: #25D366;
color: white;
font-weight: 600;
border-radius: 12px;
}
.btn-whatsapp:hover {
background-color: #128C7E;
color: white;
}
.transform-hover {
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
animation: floating 6s ease-in-out infinite;
}
@keyframes floating {
0% { transform: translateY(0px); }
50% { transform: translateY(-15px); }
100% { transform: translateY(0px); }
}
.transform-hover:hover {
animation-play-state: paused;
transform: scale(1.03) translateY(-5px);
box-shadow: 0 30px 60px -12px rgba(16, 185, 129, 0.3) !important;
}
.transition-all {
transition: all 0.3s ease;
}
/* Search Box */
.search-box {
border: 1px solid rgba(0,0,0,0.05);
transition: all 0.3s ease;
}
.search-box:focus-within {
border-color: var(--emerald-primary);
box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1) !important;
}
/* Categories Active State */
.category-card.active {
background: var(--forest-deep);
color: white !important;
}
.category-card.active .category-icon {
background: rgba(255, 255, 255, 0.1);
color: white;
}
.category-card.active h6 {
color: white !important;
}
@media (max-width: 768px) {
.hero-title {
font-size: 2.5rem;
}
}