34968-vm/assets/css/main.css
Flatlogic Bot 2d8abe32bb V27
2025-10-17 06:23:25 +00:00

215 lines
4.0 KiB
CSS

:root {
--primary-color: #007bff;
--secondary-color: #6c757d;
--success-color: #28a745;
--danger-color: #dc3545;
--warning-color: #ffc107;
--info-color: #17a2b8;
--light-color: #f8f9fa;
--dark-color: #343a40;
--font-family-sans-serif: 'Inter', sans-serif;
--font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
body {
font-family: var(--font-family-sans-serif);
line-height: 1.6;
}
.main-header .navbar-brand {
font-weight: 700;
font-size: 1.5rem;
}
.main-header .nav-link {
font-weight: 600;
}
.hero-section {
background: url('https://images.pexels.com/photos/1640777/pexels-photo-1640-1.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center;
background-size: cover;
height: 60vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: white;
position: relative;
}
.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
}
.hero-content {
position: relative;
z-index: 1;
}
.hero-title {
font-size: 3.5rem;
font-weight: 700;
}
.hero-subtitle {
font-size: 1.25rem;
}
.section-title {
font-weight: 700;
margin-bottom: 3rem;
}
.feature-card {
border: none;
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.feature-icon {
font-size: 3rem;
color: var(--primary-color);
}
.restaurant-card {
border: 1px solid #eee;
border-radius: .5rem;
transition: transform .2s, box-shadow .2s;
}
.restaurant-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.cuisine-card {
text-align: center;
text-decoration: none;
color: var(--dark-color);
display: block;
transition: transform .2s;
}
.cuisine-card:hover {
transform: translateY(-5px);
}
.cuisine-card img {
width: 100px;
height: 100px;
border-radius: 50%;
object-fit: cover;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* Restaurant Page Styles */
.restaurant-card-new {
border: none;
border-radius: .75rem;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.restaurant-card-new:hover {
transform: translateY(-8px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}
.restaurant-card-new .card-link {
text-decoration: none;
color: inherit;
display: block;
}
.restaurant-card-new .img-container {
height: 200px;
overflow: hidden;
}
.restaurant-card-new .card-img-top {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.restaurant-card-new:hover .card-img-top {
transform: scale(1.05);
}
.restaurant-card-new .card-body {
padding: 1.25rem;
}
.restaurant-card-new .card-footer {
padding-top: 0;
}
.restaurant-card-new .btn-sm {
font-size: 0.8rem;
padding: 0.4rem 0.8rem;
}
/* Menu Page Styles */
.restaurant-hero-menu {
height: 50vh;
background-size: cover;
background-position: center;
position: relative;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: white;
}
.restaurant-hero-menu::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
}
.restaurant-hero-menu-content {
position: relative;
z-index: 1;
}
.menu-item-card-new {
transition: transform 0.2s ease, box-shadow 0.2s ease;
border: none;
border-radius: .75rem;
overflow: hidden;
}
.menu-item-card-new:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.menu-item-card-new .img-fluid {
height: 100%;
object-fit: cover;
}
.reviews-section .review-card:last-child {
margin-bottom: 0 !important;
}
.reviews-section hr:last-of-type {
display: none;
}