38526-vm/assets/css/custom.css
2026-02-17 17:10:18 +00:00

244 lines
4.2 KiB
CSS

/* Custom Styles */
.hero {
padding: 6rem 0;
background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.pexels.com/photos/1640777/pexels-photo-1640777.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
background-size: cover;
background-position: center;
color: white;
text-align: center;
}
.hero-badge {
display: inline-block;
padding: 0.5rem 1rem;
background: rgba(217, 119, 6, 0.9);
border-radius: 2rem;
font-size: 0.875rem;
font-weight: 600;
margin-bottom: 1.5rem;
}
.hero h1 {
font-size: 3.5rem;
font-weight: 800;
margin-bottom: 1rem;
letter-spacing: -0.025em;
}
.hero-tagline {
font-size: 1.5rem;
font-weight: 500;
margin-bottom: 2rem;
opacity: 0.9;
}
.hero-desc {
max-width: 700px;
margin: 0 auto 2.5rem;
font-size: 1.125rem;
opacity: 0.8;
}
.btn-primary {
background-color: var(--primary-color);
border-color: var(--primary-color);
padding: 0.75rem 2rem;
font-weight: 600;
border-radius: var(--border-radius);
}
.btn-primary:hover {
background-color: #B45309;
border-color: #B45309;
}
.btn-outline {
border: 2px solid white;
color: white;
padding: 0.75rem 2rem;
font-weight: 600;
border-radius: var(--border-radius);
text-decoration: none;
transition: all 0.3s;
}
.btn-outline:hover {
background: white;
color: var(--text-color);
}
.section {
padding: 5rem 0;
}
.section-header {
text-align: center;
margin-bottom: 4rem;
}
.section-header h2 {
font-weight: 700;
font-size: 2.25rem;
margin-bottom: 1rem;
}
.section-header p {
color: #6B7280;
font-size: 1.125rem;
}
.kategori-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
}
.kategori-card {
background: white;
padding: 2.5rem 1.5rem;
text-align: center;
border-radius: var(--border-radius);
text-decoration: none;
color: inherit;
transition: transform 0.3s, box-shadow 0.3s;
border: 1px solid #E5E7EB;
}
.kategori-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
color: var(--primary-color);
}
.kategori-icon {
font-size: 3rem;
margin-bottom: 1.5rem;
}
.kategori-card h3 {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 0.5rem;
}
.kategori-card p {
font-size: 0.875rem;
color: #6B7280;
margin-bottom: 0;
}
.menu-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.menu-card {
background: white;
border-radius: var(--border-radius);
overflow: hidden;
border: 1px solid #E5E7EB;
transition: box-shadow 0.3s;
}
.menu-card:hover {
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.menu-card-img {
height: 200px;
position: relative;
}
.menu-card-img img {
width: 100%;
height: 100%;
object-fit: cover;
}
.menu-badge {
position: absolute;
top: 1rem;
right: 1rem;
padding: 0.25rem 0.75rem;
border-radius: 1rem;
font-size: 0.75rem;
font-weight: 600;
}
.rekomendasi {
background: var(--primary-color);
color: white;
}
.menu-card-body {
padding: 1.5rem;
}
.menu-kategori {
font-size: 0.75rem;
font-weight: 600;
color: var(--primary-color);
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 0.5rem;
display: block;
}
.menu-card h3 {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 0.75rem;
}
.menu-card p {
font-size: 0.875rem;
color: #6B7280;
margin-bottom: 1.5rem;
}
.menu-harga {
display: flex;
justify-content: space-between;
align-items: center;
}
.harga {
font-weight: 700;
font-size: 1.125rem;
color: var(--text-color);
}
.btn-whatsapp {
background-color: #25D366;
color: white;
border: none;
}
.btn-whatsapp:hover {
background-color: #128C7E;
color: white;
}
.keunggulan-item {
display: flex;
gap: 1.5rem;
margin-bottom: 2rem;
}
.keunggulan-icon {
font-size: 2rem;
flex-shrink: 0;
}
.keunggulan-item h4 {
font-weight: 700;
margin-bottom: 0.5rem;
}
.keunggulan-item p {
color: #6B7280;
margin-bottom: 0;
}