-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
286 lines (258 loc) · 13.5 KB
/
style.css
File metadata and controls
286 lines (258 loc) · 13.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
/* ==========================================================================
Global and Desktop Styles
========================================================================== */
/* --- Global Styles & Variables --- */
html {
scroll-behavior: smooth;
}
:root {
--primary-color: #FEA116;
--dark-blue: #0F172B;
--white: #FFFFFF;
--light-gray: #F1F8FF;
--text-dark: #333;
--text-light: #666;
--font-family: 'Poppins', sans-serif;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: var(--font-family);
background-color: var(--light-gray);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* --- Base Button Style --- */
/* UPDATED .btn STYLE */
.btn {
background-color: var(--primary-color);
color: var(--white);
/* Adjust padding to be more balanced for two lines */
padding: 10px 20px;
border-radius: 4px;
text-decoration: none;
font-weight: 600;
/* Add these two properties for perfect alignment */
text-align: center;
line-height: 1.3;
}
/* --- Header Section --- */
header {
position: absolute;
width: 100%;
top: 0;
left: 0;
padding: 20px 0;
z-index: 10;
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo { display: flex; align-items: center; text-decoration: none; color: var(--white); font-size: 32px; font-weight: 700; }
.logo img { height: 40px; margin-right: 10px; }
nav ul { list-style: none; display: flex; gap: 30px; }
nav a { text-decoration: none; color: var(--white); font-weight: 600; }
nav a:hover { color: var(--primary-color); }
/* Solid Header for Inner Pages */
.page-with-solid-header header { position: static; background-color: var(--dark-blue); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.page-with-solid-header .logo,
.page-with-solid-header nav a { color: var(--white); }
.page-with-solid-header .logo img { filter: brightness(0) invert(1); }
/* --- Hero Section (Homepage) --- */
#hero { background: linear-gradient(rgba(15, 23, 43, .9), rgba(15, 23, 43, .9)), url(./images/hero-image.jpg); background-position: center; background-repeat: no-repeat; background-size: cover; padding: 150px 0; }
.hero-container { display: flex; align-items: center; gap: 70px; }
.hero-content { flex: 1; }
.dish-image { flex: 1; text-align: center; }
.dish-image img { max-width: 100%; height: auto; border-radius: 12px; }
.hero-content h1 { color: var(--white); font-size: 64px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { color: var(--white); font-size: 16px; line-height: 1.6; margin-bottom: 30px; }
/* --- About Us Section --- */
#about { padding: 100px 0; }
.about-container { display: flex; align-items: center; gap: 50px; }
.about-images { flex: 1; }
.about-images img { max-width: 100%; height: auto; border-radius: 8px; display: block; }
.about-content { flex: 1; }
.section-subtitle { color: var(--primary-color); font-weight: 600; font-size: 20px; display: inline-block; position: relative; padding-right: 60px; margin-bottom: 15px; }
.section-subtitle::after { content: ''; position: absolute; width: 45px; height: 2px; background-color: var(--primary-color); top: 50%; right: 0; transform: translateY(-50%); }
.section-title { font-size: 40px; color: var(--dark-blue); margin-bottom: 20px; display: flex; align-items: center; }
.section-title img { height: 35px; margin: 0 10px; }
.section-text { color: var(--text-light); line-height: 1.6; margin-bottom: 20px; }
.about-stats { display: flex; gap: 40px; margin-top: 30px; margin-bottom: 40px; }
.stat-item { display: flex; align-items: center; gap: 15px; }
.stat-item:last-child { border-left: 2px solid var(--primary-color); padding-left: 40px; }
.stat-item .number { font-size: 48px; font-weight: 700; color: var(--primary-color); }
.stat-item p { color: var(--text-light); line-height: 1.2; }
.stat-item p strong { color: var(--dark-blue); font-weight: 600; }
/* --- Features Section --- */
#features { padding-top: 100px; padding-bottom: 100px; margin-top: -50px; position: relative; z-index: 5; background-color: white; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.feature-card { background: var(--white); padding: 0; border-radius: 4px; text-align: center; box-shadow: 0 0 45px rgba(0, 0, 0, .08); transition: all 0.3s ease-in-out; }
.feature-card a { text-decoration: none; display: block; padding: 30px; height: 100%; }
.feature-card .icon { height: 60px; margin-bottom: 20px; transition: filter 0.3s ease-in-out; }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--dark-blue); transition: color 0.3s ease-in-out; }
.feature-card p { color: var(--text-light); font-size: 14px; line-height: 1.5; transition: color 0.3s ease-in-out; }
.feature-card:hover { background-color: goldenrod; transform: translateY(-10px); }
/* --- Testimonials Section --- */
#testimonials { padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { padding: 30px; background: var(--white); border-radius: 8px; box-shadow: 0 0 45px rgba(0, 0, 0, .08); transition: all .3s ease; }
.testimonial-card:hover { transform: translateY(-10px); }
.testimonial-card p { color: var(--text-light); font-style: italic; line-height: 1.6; }
.client-info { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.client-info h4 { color: var(--dark-blue); font-weight: 600; margin-bottom: 5px; }
.client-info small { color: var(--text-light); }
/* --- Footer --- */
.main-footer { background: var(--dark-blue); color: var(--white); padding: 25px 0; }
.footer-container { display: flex; justify-content: space-between; align-items: center; }
.footer-right ul { list-style: none; display: flex; gap: 15px; }
.footer-right a { text-decoration: none; color: var(--white); }
/* --- Other Pages (Menu, Booking, Contact, Team) --- */
#food-menu, #team, #contact-page-content { padding: 100px 0; background-color: white; }
.content-page-body { display: flex; flex-direction: column; min-height: 100vh; }
.content-page-body main { flex-grow: 1; display: flex; align-items: center; justify-content: center; }
.menu-tabs ul { list-style: none; display: flex; justify-content: center; gap: 40px; margin-bottom: 50px; }
.menu-tabs li { display: flex; align-items: center; gap: 15px; cursor: pointer; padding-bottom: 15px; border-bottom: 3px solid transparent; }
.menu-tabs li.active { border-bottom-color: var(--primary-color); }
.menu-tabs li.active small, .menu-tabs li.active strong { color: var(--primary-color); }
.menu-tabs img { height: 40px; }
.menu-tabs small { display: block; color: var(--text-light); }
.menu-tabs strong { display: block; color: var(--dark-blue); font-weight: 600; }
.menu-image-container, .team-image-container { text-align: center; }
.menu-image-container img, .team-image-container img { max-width: 100%; height: auto; }
.booking-page-body { height: 100vh; overflow: hidden; }
.booking-page-main { height: 100%; display: flex; }
.booking-container { display: flex; width: 100%; }
.booking-image { flex-basis: 50%; background-size: cover; background-position: center; }
.booking-image img { width: 100%; height: 100%; object-fit: cover; }
.booking-form-wrapper { flex-basis: 50%; background-color: var(--dark-blue); padding: 60px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.close-button { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 36px; font-weight: 300; text-decoration: none; line-height: 1; transition: transform 0.2s ease; }
.close-button:hover { transform: scale(1.2); }
.booking-form-wrapper .section-title { color: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 4px; background-color: #fff; font-family: var(--font-family); font-size: 16px; color: var(--text-dark); }
.form-grid textarea, .form-grid button { grid-column: span 2; }
.form-grid button { padding: 18px; border: none; cursor: pointer; font-size: 16px; }
#page-hero { background: linear-gradient(rgba(15, 23, 43, .9), rgba(15, 23, 43, .9)), url(./images/hero-image.jpg); background-position: center; background-size: cover; padding: 120px 0; text-align: center; }
#page-hero h1 { color: var(--white); font-size: 56px; margin-bottom: 10px; }
#page-hero .breadcrumbs { color: var(--white); font-size: 16px; }
#page-hero .breadcrumbs a { color: var(--primary-color); text-decoration: none; }
#contact-page-content { padding: 100px 20px;
background-color: white; }
#contact-page-content .container {
padding-left: 0;
padding-right: 0;
/* This ensures the container still works but without adding extra padding */
max-width: 1200px;
margin: 0 auto;
}
.contact-info-cards { display: flex; justify-content: space-around; gap: 30px; text-align: center; margin-bottom: 60px; }
.contact-card h4 { color: var(--primary-color); font-size: 20px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.contact-card h4 img { height: 20px; }
.contact-card p { color: var(--text-light); }
.contact-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.map-container { min-height: 400px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .form-row { display: flex; gap: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 4px; font-family: var(--font-family); font-size: 16px; }
.contact-form button { border: none; cursor: pointer; }
.map-container iframe {
width: 100%;
height: 80%;
border: none;
border-radius: 8px;
}
/* ==========================================================================
RESPONSIVE DESIGN - MEDIA QUERIES (Corrected Version)
========================================================================== */
/* --------------------------------------------------------------------------
TABLET VIEW (Screens up to 992px wide)
-------------------------------------------------------------------------- */
@media (max-width: 992px) {
/* --- GENERAL --- */
.section-title { font-size: 36px; }
/* --- HOMEPAGE --- */
.hero-container,
.about-container {
flex-direction: column;
text-align: center;
gap: 40px;
}
.hero-content h1 { font-size: 52px; }
.about-images, .about-content { flex: 1 1 100%; }
.about-stats { justify-content: center; }
.features-grid { grid-template-columns: repeat(2, 1fr); }
.testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
/* --- CONTACT PAGE --- */
.contact-main-grid {
grid-template-columns: 1fr;
gap: 50px;
}
/* --- BOOKING PAGE --- */
.booking-container { flex-direction: column; }
.booking-page-body { height: auto; overflow: auto; }
.dish-image { max-width: 70%; }
}
/* --------------------------------------------------------------------------
MOBILE PHONE VIEW (Screens up to 768px wide)
-------------------------------------------------------------------------- */
@media (max-width: 768px) {
/* --- HEADER --- */
header nav { display: none; }
/* This rule applies a solid background to the header on ALL pages on mobile for consistency */
header {
position: static;
background-color: var(--dark-blue);
}
/* This ensures logo text is white on the solid header */
header .logo {
color: var(--white);
}
/* --- HOMEPAGE --- */
.hero-content h1 { font-size: 42px; }
.about-stats { flex-direction: column; gap: 30px; align-items: center; }
.stat-item:last-child { border-left: none; padding-left: 0; border-top: 2px solid var(--primary-color); padding-top: 30px; }
.features-grid { grid-template-columns: 1fr; }
.dish-image { max-width: 70%; }
/* --- MENU PAGE --- */
.menu-tabs ul { flex-direction: column; align-items: flex-start; gap: 25px; }
/* --- BOOKING PAGE --- */
.booking-image { display: none; }
.booking-form-wrapper { flex-basis: 100%; padding: 40px 20px; }
.form-grid { grid-template-columns: 1fr; }
.form-grid textarea, .form-grid button { grid-column: 1; }
/* --- CONTACT PAGE --- */
#page-hero { padding: 60px 0; }
#page-hero h1 { font-size: 38px; }
.contact-info-cards { flex-direction: column; gap: 40px; align-items: center; }
.contact-form .form-row { flex-direction: column; gap: 20px; width:100%}
#contact-page-content { padding: 80px 0; width: 100%}
/* --- FOOTER --- */
.footer-container { flex-direction: column; gap: 20px; text-align: center; }
}
/* --------------------------------------------------------------------------
EXTRA-SMALL PHONE VIEW (Screens up to 480px wide)
-------------------------------------------------------------------------- */
@media (max-width: 480px) {
body {
overflow-x: hidden;
}
.container {
padding: 0 15px;
}
.section-title { font-size: 30px; line-height: 1.2; text-align: center; justify-content: center; }
.hero-content h1 { font-size: 36px; }
.dish-image { max-width: 70%; }
.section-subtitle { font-size: 18px; display: block; text-align: center; padding-right: 0; }
.section-subtitle::after { display: none; }
#about, #features, #testimonials, #contact-page-content { padding: 60px 15px; }
.contact-form .form-row { flex-direction: column; width:100%}
.booking-form-wrapper { padding: 30px 15px; }
}