Celebrate Every Moment
Create and share beautiful festival greetings with your loved ones
Festival Title
Date
Description
diff --git a/css/style.css b/css/style.css index d9195fe..cd07a77 100644 --- a/css/style.css +++ b/css/style.css @@ -29,7 +29,12 @@ body { } /* Typography */ -h1, h2, h3, h4, h5, h6 { +h1, +h2, +h3, +h4, +h5, +h6 { font-family: 'Playfair Display', serif; margin-bottom: 1rem; } @@ -51,7 +56,7 @@ header { display: flex; justify-content: space-between; align-items: center; - box-shadow: 0 2px 10px rgba(0,0,0,0.1); + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); position: sticky; top: 0; z-index: 1000; @@ -62,10 +67,17 @@ header { font-size: 2.5rem; background: linear-gradient(90deg, var(--accent), var(--primary)); -webkit-background-clip: text; + background-clip: text; -webkit-text-fill-color: transparent; margin: 0; } +.fx-logo { + height: 50px; + width: auto; + margin-right: 0.5rem; +} + nav ul { display: flex; gap: 2rem; @@ -119,7 +131,7 @@ nav a:hover::after { /* Hero Section */ .hero { - background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg.jpg'); + background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg'); background-size: cover; background-position: center; color: white; @@ -131,7 +143,7 @@ nav a:hover::after { .hero h2 { font-size: 3rem; margin-bottom: 1rem; - text-shadow: 2px 2px 4px rgba(0,0,0,0.5); + text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); } .search-container { @@ -146,7 +158,7 @@ nav a:hover::after { border-radius: 50px; border: none; font-size: 1.1rem; - box-shadow: 0 5px 15px rgba(0,0,0,0.2); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .search-btn { @@ -215,7 +227,8 @@ nav a:hover::after { transition: all 0.3s ease; } -.category-tab.active, .category-tab:hover { +.category-tab.active, +.category-tab:hover { background: var(--primary); color: white; } @@ -232,14 +245,14 @@ nav a:hover::after { background: white; border-radius: 15px; overflow: hidden; - box-shadow: 0 5px 15px rgba(0,0,0,0.05); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; } .website-card:hover { transform: translateY(-5px); - box-shadow: 0 10px 25px rgba(0,0,0,0.1); + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); } .card-image { @@ -272,6 +285,7 @@ nav a:hover::after { margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; + line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } @@ -308,7 +322,8 @@ nav a:hover::after { transition: color 0.3s ease; } -.action-btn:hover, .action-btn.active { +.action-btn:hover, +.action-btn.active { color: var(--secondary); } @@ -318,7 +333,7 @@ nav a:hover::after { background: white; padding: 2rem; border-radius: 15px; - box-shadow: 0 5px 15px rgba(0,0,0,0.05); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); } .events-slider { @@ -385,7 +400,7 @@ footer { .social-link { width: 35px; height: 35px; - background: rgba(255,255,255,0.1); + background: rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; @@ -400,7 +415,7 @@ footer { .copyright { text-align: center; padding-top: 2rem; - border-top: 1px solid rgba(255,255,255,0.1); + border-top: 1px solid rgba(255, 255, 255, 0.1); color: var(--gray); } @@ -411,7 +426,7 @@ footer { left: 0; width: 100%; height: 100%; - background: rgba(0,0,0,0.7); + background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; @@ -452,17 +467,67 @@ footer { } /* Responsive */ +/* Mobile Toggle */ +.mobile-toggle { + display: none; + font-size: 1.5rem; +} + @media (max-width: 768px) { header { - flex-direction: column; - gap: 1rem; + position: sticky; + top: 0; + z-index: 1000; + padding: 1rem; + } + + .fx-header-inner { + display: flex; + justify-content: space-between; + align-items: center; + width: 100%; + flex-wrap: wrap; + } + + .mobile-toggle { + display: block; } - - nav ul { + + /* Hide nav by default on mobile */ + #navMenu { + width: 100%; + display: none; + order: 3; + margin-top: 1rem; + border-top: 1px solid var(--light-gray); + padding-top: 1rem; + } + + /* Show nav when class 'show' is added */ + #navMenu.show { + display: block; + animation: slideDown 0.3s ease forwards; + } + + #navMenu ul { + flex-direction: column; gap: 1rem; + text-align: center; } - + .hero h2 { font-size: 2rem; } } + +@keyframes slideDown { + from { + opacity: 0; + transform: translateY(-10px); + } + + to { + opacity: 1; + transform: translateY(0); + } +} \ No newline at end of file diff --git a/index.html b/index.html index d26b3ce..30893b3 100644 --- a/index.html +++ b/index.html @@ -1,70 +1,81 @@ +
-
- BYAMN Festhub
- Festivals
-
-
+
+ Create and share beautiful festival greetings with your loved ones
Date
Description