Skip to content

Commit 3f19e27

Browse files
authored
Update styles.css
1 parent 62c36c4 commit 3f19e27

File tree

1 file changed

+30
-99
lines changed

1 file changed

+30
-99
lines changed

css/styles.css

Lines changed: 30 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,18 @@
1111
--box-shadow-strong: rgba(216, 195, 132, 0.6);
1212
}
1313

14-
/* Base Reset & Typography */
15-
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
14+
/* Reset & Base Styles */
15+
*, *::before, *::after {
16+
box-sizing: border-box;
17+
margin: 0;
18+
padding: 0;
19+
}
1620
body {
1721
font-family: 'Montserrat', sans-serif;
1822
background: var(--dark-background);
1923
color: var(--light-text);
20-
line-height: 1.6;
2124
font-size: 16px;
25+
line-height: 1.6;
2226
scroll-behavior: smooth;
2327
}
2428
a {
@@ -32,12 +36,12 @@ a:hover, a:focus {
3236
outline-offset: 2px;
3337
}
3438

35-
/* Navigation Bar */
39+
/* Navigation */
3640
nav {
3741
position: sticky;
3842
top: 0;
39-
background: var(--medium-dark-background);
4043
z-index: 999;
44+
background: var(--medium-dark-background);
4145
box-shadow: 0 2px 8px var(--shadow-color);
4246
}
4347
.nav-container {
@@ -69,7 +73,7 @@ nav {
6973
color: var(--dark-text);
7074
}
7175

72-
/* Hamburger Menu */
76+
/* Mobile Menu */
7377
.menu-toggle {
7478
display: none;
7579
flex-direction: column;
@@ -128,8 +132,6 @@ header.hero {
128132
max-width: 300px;
129133
height: auto;
130134
margin-bottom: 20px;
131-
z-index: 2;
132-
position relative;
133135
}
134136
header.hero h1 {
135137
font-family: 'Cinzel', serif;
@@ -175,7 +177,7 @@ header.hero p {
175177
color: var(--dark-text);
176178
}
177179

178-
/* Sections */
180+
/* Section Styling */
179181
section {
180182
max-width: 1200px;
181183
margin: 60px auto;
@@ -248,14 +250,16 @@ section p {
248250
margin-top: 15px;
249251
}
250252

251-
/* Footer & Buttons */
253+
/* Footer */
252254
footer {
253255
background: var(--medium-dark-background);
254256
color: #888;
255257
padding: 20px;
256258
font-size: 0.9em;
257259
text-align: center;
258260
}
261+
262+
/* Back to Top */
259263
.back-to-top {
260264
display: none;
261265
position: fixed;
@@ -295,7 +299,7 @@ footer {
295299
width: 35px;
296300
}
297301

298-
/* Responsive */
302+
/* Responsive Design */
299303
@media (max-width: 600px) {
300304
.nav-links {
301305
display: none;
@@ -311,99 +315,26 @@ footer {
311315
.nav-links.open {
312316
display: flex;
313317
}
314-
.menu-toggle { display: flex; }
315-
.hero-logo-img { max-width: 200px; }
316-
header.hero h1 { font-size: 28px; }
317-
.hero-buttons { flex-direction: column; }
318+
.menu-toggle {
319+
display: flex;
320+
}
321+
.hero-logo-img {
322+
max-width: 200px;
323+
}
324+
header.hero h1 {
325+
font-size: 28px;
326+
}
327+
.hero-buttons {
328+
flex-direction: column;
329+
}
318330
.hero-buttons .button {
319331
width: 90%;
320332
max-width: 300px;
321333
}
322-
.back-to-top, .whatsapp-float {
334+
.back-to-top,
335+
.whatsapp-float {
323336
width: 50px;
324337
height: 50px;
325338
right: 20px;
326339
}
327-
}/* Gallery Styles */
328-
.gallery-section {
329-
padding: 60px 20px;
330-
max-width: 1200px;
331-
margin: auto;
332-
}
333-
.search-bar {
334-
text-align: center;
335-
margin-bottom: 20px;
336-
}
337-
#searchInput {
338-
padding: 10px;
339-
width: 90%;
340-
max-width: 400px;
341-
border: 1px solid var(--primary-gold);
342-
background: var(--dark-background);
343-
color: var(--light-text);
344-
border-radius: 6px;
345-
}
346-
.filter-buttons {
347-
text-align: center;
348-
margin-bottom: 30px;
349-
}
350-
.filter-buttons button {
351-
background: transparent;
352-
color: var(--primary-gold);
353-
border: 1px solid var(--primary-gold);
354-
padding: 8px 16px;
355-
margin: 5px;
356-
border-radius: 5px;
357-
cursor: pointer;
358-
font-size: 14px;
359-
}
360-
.filter-buttons button.active,
361-
.filter-buttons button:hover {
362-
background: var(--primary-gold);
363-
color: var(--dark-text);
364-
}
365-
.gallery-grid {
366-
display: grid;
367-
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
368-
gap: 30px;
369-
}
370-
.cake-card {
371-
background: var(--medium-dark-background);
372-
border-radius: 10px;
373-
padding: 20px;
374-
text-align: center;
375-
box-shadow: 0 4px 12px var(--shadow-color);
376-
display: flex;
377-
flex-direction: column;
378-
}
379-
.cake-card img {
380-
width: 100%;
381-
height: auto;
382-
border-radius: 8px;
383-
}
384-
.cake-card h3 {
385-
margin: 12px 0 8px;
386-
color: var(--primary-gold);
387-
font-family: 'Cinzel', serif;
388-
}
389-
.cake-card .price {
390-
font-weight: bold;
391-
margin-bottom: 8px;
392-
}
393-
.cake-card .description {
394-
font-size: 14px;
395-
color: var(--medium-text);
396-
margin-bottom: auto;
397-
}
398-
.order-button {
399-
margin-top: 10px;
400-
padding: 10px 20px;
401-
background: var(--primary-gold);
402-
color: var(--dark-text);
403-
border-radius: 6px;
404-
font-weight: bold;
405-
text-decoration: none;
406-
}
407-
.order-button:hover {
408-
background: var(--primary-gold-light);
409-
}
340+
}

0 commit comments

Comments
 (0)