forked from Ameerah-2005/final-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDGS.css
More file actions
299 lines (263 loc) · 7.03 KB
/
Copy pathDGS.css
File metadata and controls
299 lines (263 loc) · 7.03 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
287
288
289
290
291
292
293
294
295
296
297
298
299
.slider{
width: 100%;
height: 420px;
overflow: hidden;
position: relative;
}
/* slides container */
.slides{
display: flex;
align-items: stretch;
height: 100%;
transition: transform 600ms ease;
will-change: transform;
}
.slider .slides img{
width: 100%;
height: 100%;
object-fit: cover;
flex: 0 0 auto;
display: block;
}
body {
margin: 0;
font-family: "Segoe UI", Roboto, Arial, sans-serif;
background: #f4f6f8;
color: #1c1f26;
}
header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding: 18px 28px;
background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
color: #ffffff;
box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
position: sticky;
top: 0;
}
.logo {
margin: 0;
font-size: 1.45rem;
letter-spacing: 0.08em;
text-transform: uppercase;
font-weight: 800;
}
nav {
min-width: 300px;
}
.nav-links {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 10px;
margin: 0;
padding: 0;
list-style: none;
}
.nav-links li {
margin: 0;
}
.nav-links a,
.nav-links button {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 18px;
border-radius: 999px;
font-size: 0.95rem;
font-weight: 600;
transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.nav-links a {
color: #e5e7eb;
text-decoration: none;
background: rgba(255, 255, 255, 0.05);
}
.nav-links a:hover {
background: rgba(255, 255, 255, 0.16);
transform: translateY(-1px);
}
.nav-links button {
border: none;
background: #f8fafc;
color: #111827;
cursor: pointer;
}
.nav-links button:hover {
background: #e2e8f0;
transform: translateY(-1px);
}
.cart-link { position: relative; }
.cart-count {
display: inline-block;
min-width: 22px;
padding: 3px 7px;
margin-left: 8px;
font-size: 0.85rem;
font-weight: 700;
color: #111827;
background: #ffd54d;
border-radius: 999px;
box-shadow: 0 4px 10px rgba(0,0,0,0.08);
vertical-align: middle;
}
@media (max-width: 820px) {
header {
flex-direction: column;
align-items: stretch;
text-align: center;
}
nav {
min-width: auto;
width: 100%;
}
.nav-links {
justify-content: center;
}
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.album {
display: grid;
grid-template-columns: repeat(4, minmax(220px, 1fr));
gap: 20px;
align-items: start;
}
.product-card {
background: #fff;
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 12px;
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
overflow: hidden;
padding: 16px;
}
.product-card img {
width: 100%;
display: block;
border-radius: 10px;
margin-bottom: 16px;
}
.product-card h3 {
margin: 0 0 8px;
font-size: 1.1rem;
}
.product-card h4 {
margin: 0 0 16px;
color: #b12704;
}
.product-card label,
.product-card select,
.product-card input,
.product-card button {
display: block;
width: 100%;
}
.product-card label {
margin: 10px 0 6px;
font-weight: 600;
}
.product-card select,
.product-card input {
padding: 10px;
margin-bottom: 12px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 0.95rem;
}
.product-card button {
padding: 12px;
background: #333;
color: #fff;
border: none;
border-radius: 8px;
font-size: 1rem;
cursor: pointer;
}
@media (max-width: 980px) {
.album {
grid-template-columns: repeat(2, minmax(200px, 1fr));
}
}
@media (max-width: 640px) {
.album {
grid-template-columns: 1fr;
}
}
/* Cart page styles */
.cart-table {
width: 100%;
border-collapse: collapse;
}
.cart-table thead th {
text-align: left;
padding: 10px 8px;
border-bottom: 2px solid rgba(0,0,0,0.06);
}
.cart-table tbody td {
padding: 10px 8px;
border-bottom: 1px solid rgba(0,0,0,0.04);
vertical-align: middle;
}
.c-thumb { width:48px; height:48px; object-fit:cover; border-radius:6px; margin-right:8px; vertical-align:middle }
.c-item { display:flex; align-items:center; gap:8px }
.cart-summary { margin-top:12px; font-size:1.05rem }
.remove-item { background:transparent; border:1px solid #eee; padding:6px 8px; border-radius:8px; cursor:pointer }
/* Cart page layout */
.cart-layout { display:flex; gap:24px; align-items:flex-start }
.cart-list { flex: 1; }
.cart-aside { width: 320px; background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 8px 20px rgba(2,6,23,0.06) }
.cart-summary-box { font-size:1rem; padding:8px 0 }
.cart-actions { display:flex; gap:12px; margin-top:12px }
.btn-primary { background:#111827; color:#fff; border:none; padding:10px 14px; border-radius:10px; cursor:pointer; font-weight:700 }
.btn-secondary { background:#f3f4f6; color:#111827; border:1px solid rgba(0,0,0,0.06); padding:10px 12px; border-radius:10px; cursor:pointer }
/* Modal */
.modal { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background: rgba(2,6,23,0.45); opacity:0; pointer-events:none; transition: opacity 180ms ease }
.modal .modal-content { background:#fff; padding:18px; border-radius:12px; width:90%; max-width:520px; box-shadow:0 12px 40px rgba(2,6,23,0.2) }
.modal.show { opacity:1; pointer-events:auto }
.modal-actions { display:flex; gap:10px; justify-content:flex-end; margin-top:12px }
.booking-list { margin:8px 0 0; padding-left:18px }
/* Booking page styles */
.booking-intro { background: linear-gradient(90deg,#fff,#f8fafc); padding:18px; border-radius:10px; margin-bottom:18px }
.booking-intro h1 { margin:0 0 6px }
.booking-form { background:#fff; padding:18px; border-radius:12px; box-shadow:0 8px 24px rgba(2,6,23,0.04) }
.booking-form .form-row { margin-bottom:12px }
.booking-form label { display:block; font-weight:700; margin-bottom:6px }
.booking-form select,
.booking-form input[type="text"],
.booking-form input[type="file"],
.booking-form textarea { width:100%; padding:10px; border-radius:8px; border:1px solid #e6edf3; font-size:0.95rem }
.booking-form textarea { min-height:100px }
.form-grid { display:grid; grid-template-columns: repeat(2,1fr); gap:12px; margin-bottom:12px }
.form-actions { display:flex; gap:12px; align-items:center }
.form-actions .btn-secondary { text-decoration:none; display:inline-block }
@media (max-width:820px){
.cart-layout { flex-direction:column }
.form-grid { grid-template-columns: 1fr }
}
/* Toast confirmation */
.toast {
position: fixed;
left: 50%;
bottom: 34px;
transform: translateX(-50%) translateY(12px);
background: rgba(17,24,39,0.95);
color: #fff;
padding: 10px 16px;
border-radius: 10px;
box-shadow: 0 8px 24px rgba(2,6,23,0.4);
opacity: 0;
pointer-events: none;
transition: opacity 220ms ease, transform 220ms ease;
z-index: 1200;
font-weight: 700;
}
.toast.show {
opacity: 1;
transform: translateX(-50%) translateY(0);
pointer-events: auto;
}