427 lines
7.4 KiB
CSS
427 lines
7.4 KiB
CSS
/*
|
|
MajuroEats Theme
|
|
*/
|
|
|
|
:root {
|
|
--coral: #FF6F61;
|
|
--orange: #FF9A8B;
|
|
--ocean-blue: #00A7E1;
|
|
--palm-green: #3D9970;
|
|
--coconut-white: #FFFFFF;
|
|
--sand: #F4F1EA;
|
|
--text-dark: #333333;
|
|
--text-light: #666666;
|
|
--border-color: #EAEAEA;
|
|
|
|
--font-family: 'Nunito', sans-serif;
|
|
--border-radius: 12px;
|
|
--shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.07);
|
|
--shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);
|
|
--transition: all 0.3s ease-in-out;
|
|
}
|
|
|
|
/* --- Global Styles --- */
|
|
body {
|
|
font-family: var(--font-family);
|
|
background-color: var(--coconut-white);
|
|
color: var(--text-dark);
|
|
margin: 0;
|
|
padding-top: 80px; /* Space for fixed header */
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--coral);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
a:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
main {
|
|
display: block; /* For older browsers */
|
|
}
|
|
|
|
.page-content {
|
|
padding-top: 40px;
|
|
padding-bottom: 40px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 2.8rem;
|
|
font-weight: 800;
|
|
text-align: center;
|
|
margin-bottom: 50px;
|
|
color: var(--text-dark);
|
|
position: relative;
|
|
padding-bottom: 15px;
|
|
}
|
|
|
|
.section-title::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 80px;
|
|
height: 4px;
|
|
background-color: var(--coral);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* --- Navigation Bar --- */
|
|
.main-header {
|
|
background-color: rgba(255, 255, 255, 0.85);
|
|
backdrop-filter: blur(10px);
|
|
border-bottom: 1px solid var(--border-color);
|
|
box-shadow: var(--shadow-soft);
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
z-index: 1000;
|
|
height: 80px;
|
|
}
|
|
|
|
.main-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 100%;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 1.8rem;
|
|
font-weight: 800;
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
.logo-icon {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
gap: 30px;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: var(--text-light);
|
|
font-weight: 700;
|
|
font-size: 1rem;
|
|
padding: 10px 0;
|
|
border-bottom: 2px solid transparent;
|
|
}
|
|
|
|
.nav-links a:hover, .nav-links a.active {
|
|
color: var(--coral);
|
|
border-bottom-color: var(--coral);
|
|
}
|
|
|
|
.nav-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.nav-link-button {
|
|
color: var(--text-light);
|
|
font-weight: 700;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.nav-button {
|
|
padding: 10px 20px;
|
|
border-radius: 50px;
|
|
font-weight: 700;
|
|
font-size: 1rem;
|
|
border: 2px solid var(--coral);
|
|
}
|
|
|
|
.nav-button.primary {
|
|
background-color: var(--coral);
|
|
color: var(--coconut-white);
|
|
}
|
|
|
|
.nav-button.primary:hover {
|
|
background-color: transparent;
|
|
color: var(--coral);
|
|
}
|
|
|
|
.hamburger {
|
|
display: none;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
}
|
|
|
|
.hamburger span {
|
|
display: block;
|
|
width: 25px;
|
|
height: 3px;
|
|
background-color: var(--text-dark);
|
|
margin: 5px 0;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
/* --- Hero Section --- */
|
|
.hero-section {
|
|
background-color: #f8f9fa;
|
|
padding: 100px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 3.5rem;
|
|
font-weight: 800;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-size: 1.25rem;
|
|
color: var(--text-light);
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
|
|
.hero-section .btn-primary {
|
|
background-color: #ff5a5f;
|
|
border-color: #ff5a5f;
|
|
font-size: 1.25rem;
|
|
padding: 15px 40px;
|
|
border-radius: 50px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.hero-section .btn-primary:hover {
|
|
background-color: #e04f54;
|
|
border-color: #e04f54;
|
|
}
|
|
|
|
.hero-section .text-muted {
|
|
color: #6c757d !important;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* --- How It Works Section --- */
|
|
#how-it-works {
|
|
padding: 60px 0;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.step {
|
|
padding: 20px;
|
|
}
|
|
|
|
.step-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.step h3 {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.step p {
|
|
color: var(--text-light);
|
|
}
|
|
|
|
/* --- Restaurant & Cuisine Cards --- */
|
|
.restaurant-card, .cuisine-card {
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--border-radius);
|
|
transition: var(--transition);
|
|
background-color: #fff;
|
|
}
|
|
|
|
.restaurant-card:hover, .cuisine-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: var(--shadow-medium);
|
|
}
|
|
|
|
.restaurant-card .card-img-top {
|
|
border-top-left-radius: var(--border-radius);
|
|
border-top-right-radius: var(--border-radius);
|
|
height: 200px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.restaurant-card .card-body {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.restaurant-card .card-title a {
|
|
color: var(--text-dark);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.restaurant-card .card-title a:hover {
|
|
color: var(--coral);
|
|
}
|
|
|
|
.cuisine-card {
|
|
display: block;
|
|
padding: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.cuisine-card img {
|
|
width: 100px;
|
|
height: 100px;
|
|
object-fit: cover;
|
|
border-radius: 50%;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.cuisine-card h5 {
|
|
color: var(--text-dark);
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* --- Modal Styles --- */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1001;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
background-color: rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: #fefefe;
|
|
margin: 10% auto;
|
|
padding: 20px;
|
|
border: 1px solid #888;
|
|
width: 80%;
|
|
max-width: 600px;
|
|
border-radius: var(--border-radius);
|
|
position: relative;
|
|
}
|
|
|
|
.close-btn {
|
|
color: #aaa;
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 20px;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.close-btn:hover,
|
|
.close-btn:focus {
|
|
color: black;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#map {
|
|
height: 400px;
|
|
width: 100%;
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
border-radius: var(--border-radius);
|
|
}
|
|
|
|
#confirm-location-btn {
|
|
width: 100%;
|
|
padding: 15px;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* --- Responsive Design --- */
|
|
@media (max-width: 992px) {
|
|
.nav-links {
|
|
display: none;
|
|
position: absolute;
|
|
top: 80px;
|
|
left: 0;
|
|
width: 100%;
|
|
background-color: var(--coconut-white);
|
|
flex-direction: column;
|
|
gap: 0;
|
|
padding: 20px 0;
|
|
box-shadow: var(--shadow-medium);
|
|
}
|
|
|
|
.nav-links.active {
|
|
display: flex;
|
|
}
|
|
|
|
.nav-links li {
|
|
text-align: center;
|
|
}
|
|
|
|
.nav-links a {
|
|
padding: 15px;
|
|
display: block;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.nav-actions {
|
|
display: none; /* Simple toggle, for complex logic more JS is needed */
|
|
}
|
|
|
|
.nav-actions.active {
|
|
display: flex;
|
|
position: absolute;
|
|
top: calc(80px + 250px); /* Adjust based on nav-links height */
|
|
left: 0;
|
|
width: 100%;
|
|
background-color: var(--coconut-white);
|
|
justify-content: center;
|
|
padding: 20px 0;
|
|
box-shadow: var(--shadow-medium);
|
|
}
|
|
|
|
.hamburger {
|
|
display: block;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 2.8rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
body {
|
|
padding-top: 70px;
|
|
}
|
|
.main-header, .main-nav {
|
|
height: 70px;
|
|
}
|
|
.nav-links {
|
|
top: 70px;
|
|
}
|
|
.hero-title {
|
|
font-size: 2.2rem;
|
|
}
|
|
.hero-subtitle {
|
|
font-size: 1.1rem;
|
|
}
|
|
}
|