bold-ai-84 / assets /css /styles.css
mobenta's picture
Upload folder using huggingface_hub
bd0eb3e verified
Raw
History Blame Contribute Delete
16.6 kB
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary-color: #ff6b35;
--secondary-color: #004e89;
--accent-color: #ffd23f;
--text-dark: #2c3e50;
--text-light: #6c757d;
--bg-light: #f8f9fa;
--bg-white: #ffffff;
--border-color: #dee2e6;
--shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
--shadow-md: 0 4px 6px rgba(0,0,0,0.1);
--shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
--transition: all 0.3s ease;
}
body {
font-family: 'Montserrat', sans-serif;
line-height: 1.6;
color: var(--text-dark);
background-color: var(--bg-white);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header & Navigation */
.header {
position: fixed;
top: 0;
width: 100%;
background: var(--bg-white);
box-shadow: var(--shadow-sm);
z-index: 1000;
}
.nav {
padding: 1rem 0;
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo-text {
font-size: 1.8rem;
font-weight: 800;
color: var(--primary-color);
text-decoration: none;
}
.nav-menu {
display: flex;
list-style: none;
gap: 2rem;
}
.nav-link {
text-decoration: none;
color: var(--text-dark);
font-weight: 500;
transition: var(--transition);
}
.nav-link:hover {
color: var(--primary-color);
}
.nav-actions {
display: flex;
align-items: center;
gap: 1rem;
}
.cart-btn {
position: relative;
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
padding: 0.5rem;
}
.cart-count {
position: absolute;
top: 0;
right: 0;
background: var(--primary-color);
color: white;
border-radius: 50%;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75rem;
font-weight: 600;
}
.mobile-menu-btn {
display: none;
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
}
/* Buttons */
.btn {
padding: 0.75rem 1.5rem;
border: none;
border-radius: 5px;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
text-decoration: none;
display: inline-block;
text-align: center;
}
.btn-primary {
background: var(--primary-color);
color: white;
}
.btn-primary:hover {
background: #e55a2b;
transform: translateY(-2px);
}
.btn-secondary {
background: var(--secondary-color);
color: white;
}
.btn-secondary:hover {
background: #003d6f;
}
.btn-outline {
background: transparent;
color: var(--primary-color);
border: 2px solid var(--primary-color);
}
.btn-outline:hover {
background: var(--primary-color);
color: white;
}
.btn-large {
padding: 1rem 2rem;
font-size: 1.1rem;
}
.btn-full {
width: 100%;
}
/* Hero Section */
.hero {
margin-top: 80px;
padding: 4rem 0;
background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
display: flex;
align-items: center;
min-height: 600px;
}
.hero-content {
flex: 1;
padding: 2rem;
}
.hero-title {
font-size: 3rem;
font-weight: 800;
color: var(--primary-color);
margin-bottom: 1rem;
line-height: 1.2;
}
.hero-subtitle {
font-size: 1.2rem;
color: var(--text-light);
margin-bottom: 2rem;
}
.hero-actions {
display: flex;
gap: 1rem;
margin-bottom: 2rem;
}
.hero-features {
display: flex;
gap: 2rem;
}
.feature {
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--text-dark);
}
.feature-icon {
font-size: 1.5rem;
}
.hero-image {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
.burger-animation {
font-size: 8rem;
animation: bounce 2s infinite;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0);
}
40% {
transform: translateY(-20px);
}
60% {
transform: translateY(-10px);
}
}
/* Section Styles */
.section-title {
font-size: 2.5rem;
font-weight: 700;
text-align: center;
margin-bottom: 3rem;
color: var(--text-dark);
}
/* Deals Section */
.deals-section {
padding: 4rem 0;
background: var(--bg-light);
}
.deals-carousel {
display: flex;
gap: 2rem;
overflow-x: auto;
padding: 2rem 0;
scroll-snap-type: x mandatory;
}
.deal-card {
min-width: 300px;
background: white;
border-radius: 10px;
padding: 2rem;
box-shadow: var(--shadow-md);
position: relative;
scroll-snap-align: center;
transition: var(--transition);
}
.deal-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-lg);
}
.deal-badge {
position: absolute;
top: -10px;
left: 20px;
background: var(--accent-color);
color: var(--text-dark);
padding: 0.25rem 1rem;
border-radius: 20px;
font-weight: 600;
font-size: 0.875rem;
}
.deal-content h3 {
font-size: 1.5rem;
margin-bottom: 0.5rem;
color: var(--text-dark);
}
.deal-desc {
color: var(--text-light);
margin-bottom: 1rem;
}
.deal-price {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1.5rem;
}
.original-price {
text-decoration: line-through;
color: var(--text-light);
}
.sale-price {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-color);
}
.carousel-indicators {
display: flex;
justify-content: center;
gap: 0.5rem;
margin-top: 1rem;
}
.indicator {
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--border-color);
cursor: pointer;
transition: var(--transition);
}
.indicator.active {
background: var(--primary-color);
width: 30px;
border-radius: 5px;
}
/* Menu Section */
.menu-section {
padding: 4rem 0;
}
.menu-categories {
display: flex;
justify-content: center;
gap: 1rem;
margin-bottom: 3rem;
flex-wrap: wrap;
}
.category-btn {
padding: 0.75rem 1.5rem;
border: 2px solid var(--border-color);
background: white;
border-radius: 25px;
cursor: pointer;
transition: var(--transition);
font-weight: 600;
}
.category-btn.active,
.category-btn:hover {
background: var(--primary-color);
color: white;
border-color: var(--primary-color);
}
.menu-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2rem;
}
.menu-item {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: var(--shadow-md);
transition: var(--transition);
}
.menu-item:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-lg);
}
.menu-item-image {
height: 200px;
background: var(--bg-light);
display: flex;
align-items: center;
justify-content: center;
font-size: 4rem;
}
.menu-item-content {
padding: 1.5rem;
}
.menu-item-title {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
.menu-item-desc {
color: var(--text-light);
margin-bottom: 1rem;
font-size: 0.9rem;
}
.menu-item-footer {
display: flex;
justify-content: space-between;
align-items: center;
}
.menu-item-price {
font-size: 1.25rem;
font-weight: 700;
color: var(--primary-color);
}
/* Locations Section */
.locations-section {
padding: 4rem 0;
background: var(--bg-light);
}
.location-search {
display: flex;
gap: 1rem;
max-width: 500px;
margin: 0 auto 3rem;
}
.location-search input {
flex: 1;
padding: 0.75rem 1rem;
border: 2px solid var(--border-color);
border-radius: 5px;
font-size: 1rem;
}
.locations-map {
margin-bottom: 3rem;
}
.map-placeholder {
background: var(--bg-white);
height: 400px;
border-radius: 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-shadow: var(--shadow-md);
}
.map-icon {
font-size: 4rem;
margin-bottom: 1rem;
}
.map-subtitle {
color: var(--text-light);
}
.locations-list {
display: flex;
flex-direction: column;
gap: 1rem;
}
.location-card {
background: white;
padding: 1.5rem;
border-radius: 10px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: var(--shadow-sm);
transition: var(--transition);
}
.location-card:hover {
box-shadow: var(--shadow-md);
}
.location-info h3 {
font-size: 1.25rem;
margin-bottom: 0.5rem;
}
.location-hours {
color: var(--primary-color);
font-weight: 600;
margin-bottom: 0.5rem;
}
.location-features {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.location-features span {
background: var(--bg-light);
padding: 0.25rem 0.75rem;
border-radius: 15px;
font-size: 0.875rem;
}
.location-distance {
font-size: 1.25rem;
font-weight: 700;
color: var(--primary-color);
}
/* Rewards Section */
.rewards-section {
padding: 4rem 0;
}
.rewards-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}
.rewards-desc {
font-size: 1.1rem;
color: var(--text-light);
margin-bottom: 2rem;
}
.rewards-features {
list-style: none;
margin-bottom: 2rem;
}
.rewards-features li {
padding: 0.5rem 0;
font-size: 1.1rem;
}
.rewards-card {
background: linear-gradient(135deg, var(--primary-color), #ff8c5a);
color: white;
padding: 2rem;
border-radius: 15px;
box-shadow: var(--shadow-lg);
}
.card-header {
font-size: 1.1rem;
margin-bottom: 1rem;
opacity: 0.9;
}
.points-display {
font-size: 3rem;
font-weight: 800;
margin-bottom: 1rem;
}
.card-progress {
background: rgba(255, 255, 255, 0.3);
height: 10px;
border-radius: 5px;
overflow: hidden;
margin-bottom: 1rem;
}
.progress-bar {
background: white;
height: 100%;
border-radius: 5px;
transition: width 0.3s ease;
}
.progress-text {
font-size: 0.9rem;
opacity: 0.9;
}
/* About Section */
.about-section {
padding: 4rem 0;
background: var(--bg-light);
}
.about-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}
.about-text p {
font-size: 1.1rem;
color: var(--text-light);
margin-bottom: 1.5rem;
}
.about-stats {
display: flex;
gap: 2rem;
margin-top: 2rem;
}
.stat {
text-align: center;
}
.stat-number {
display: block;
font-size: 2rem;
font-weight: 800;
color: var(--primary-color);
}
.stat-label {
font-size: 0.9rem;
color: var(--text-light);
}
.image-placeholder {
background: var(--bg-white);
height: 400px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
color: var(--text-light);
box-shadow: var(--shadow-md);
}
/* Footer */
.footer {
background: var(--text-dark);
color: white;
padding: 3rem 0 1rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.footer-section h3 {
margin-bottom: 1rem;
color: var(--accent-color);
}
.footer-section ul {
list-style: none;
}
.footer-section a {
color: white;
text-decoration: none;
opacity: 0.8;
transition: var(--transition);
display: inline-block;
padding: 0.25rem 0;
}
.footer-section a:hover {
opacity: 1;
color: var(--accent-color);
}
.social-links {
display: flex;
gap: 1rem;
margin-bottom: 1rem;
}
.social-link {
font-size: 1.5rem;
}
.newsletter p {
margin-bottom: 0.5rem;
opacity: 0.9;
}
.newsletter-form {
display: flex;
gap: 0.5rem;
}
.newsletter-form input {
flex: 1;
padding: 0.5rem;
border: none;
border-radius: 3px;
}
.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: 1rem;
text-align: center;
opacity: 0.8;
}
.footer-bottom a {
color: white;
text-decoration: none;
}
.footer-bottom a:hover {
color: var(--accent-color);
}
.built-with {
margin-top: 0.5rem;
}
.built-with a {
color: var(--accent-color);
font-weight: 600;
}
/* Cart Sidebar */
.cart-sidebar {
position: fixed;
right: -400px;
top: 0;
width: 400px;
height: 100vh;
background: white;
box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
transition: right 0.3s ease;
z-index: 2000;
display: flex;
flex-direction: column;
}
.cart-sidebar.active {
right: 0;
}
.cart-header {
padding: 1.5rem;
border-bottom: 1px solid var(--border-color);
display: flex;
justify-content: space-between;
align-items: center;
}
.close-cart {
background: none;
border: none;
font-size: 2rem;
cursor: pointer;
color: var(--text-light);
}
.cart-items {
flex: 1;
padding: 1.5rem;
overflow-y: auto;
}
.empty-cart {
text-align: center;
color: var(--text-light);
padding: 2rem;
}
.cart-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 0;
border-bottom: 1px solid var(--border-color);
}
.cart-item-info {
flex: 1;
}
.cart-item-title {
font-weight: 600;
margin-bottom: 0.25rem;
}
.cart-item-price {
color: var(--primary-color);
font-weight: 600;
}
.cart-item-quantity {
display: flex;
align-items: center;
gap: 0.5rem;
}
.quantity-btn {
width: 30px;
height: 30px;
border: 1px solid var(--border-color);
background: white;
border-radius: 3px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.cart-footer {
padding: 1.5rem;
border-top: 1px solid var(--border-color);
}
.cart-total {
display: flex;
justify-content: space-between;
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 1rem;
}
/* Modal */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 3000;
align-items: center;
justify-content: center;
}
.modal.active {
display: flex;
}
.modal-content {
background: white;
border-radius: 10px;
max-width: 500px;
width: 90%;
max-height: 90vh;
overflow-y: auto;
}
.modal-header {
padding: 1.5rem;
border-bottom: 1px solid var(--border-color);
display: flex;
justify-content: space-between;
align-items: center;
}
.modal-close {
background: none;
border: none;
font-size: 2rem;
cursor: pointer;
color: var(--text-light);
}
.modal-body {
padding: 1.5rem;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 600;
}
.form-group input {
width: 100%;
padding: 0.75rem;
border: 2px solid var(--border-color);
border-radius: 5px;
font-size: 1rem;
}
.form-group input:focus {
outline: none;
border-color: var(--primary-color);
}
/* Mobile Responsive */
@media (max-width: 768px) {
.nav-menu {
display: none;
}
.mobile-menu-btn {
display: block;
}
.hero {
flex-direction: column;
text-align: center;
padding: 2rem 0;
}
.hero-title {
font-size: 2rem;
}
.hero-actions {
flex-direction: column;
align-items: center;
}
.burger-animation {
font-size: 4rem;
}
.rewards-content,
.about-content {
grid-template-columns: 1fr;
gap: 2rem;
}
.deals-carousel {
flex-direction: column;
align-items: center;
}
.deal-card {
min-width: 100%;
}
.location-card {
flex-direction: column;
align-items: flex-start;
gap: 1rem;
}
.cart-sidebar {
width: 100%;
right: -100%;
}
.about-stats {
flex-direction: column;
gap: 1rem;
}
}
@media (max-width: 480px) {
.container {
padding: 0 15px;
}
.nav-container {
padding: 0 15px;
}
.section-title {
font-size: 1.8rem;
}
.menu-grid {
grid-template-columns: 1fr;
}
.footer-content {
grid-template-columns: 1fr;
text-align: center;
}
.social-links {
justify-content: center;
}
}