diff --git a/components/navbar-home.html b/components/navbar-home.html index 33a4ebc2..2475ef61 100644 --- a/components/navbar-home.html +++ b/components/navbar-home.html @@ -1,30 +1,28 @@ - + diff --git a/components/navbar.html b/components/navbar.html index be6a245e..a0e2807d 100644 --- a/components/navbar.html +++ b/components/navbar.html @@ -1,12 +1,25 @@ - + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git a/css/components.css b/css/components.css index c05ae640..a2a520c0 100644 --- a/css/components.css +++ b/css/components.css @@ -194,6 +194,34 @@ } /* Responsive Design */ +@media (max-width: 1200px) { + .hamburger { + display: flex; + } + + .nav-menu { + position: fixed; + left: -100%; + top: 70px; + flex-direction: column; + background-color: rgba(0, 0, 0, 0.95); + width: 100%; + text-align: center; + transition: 0.3s; + box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05); + padding: 20px 0; + } + + .nav-menu.active { + left: 0; + } + + .nav-buttons { + flex-direction: column; + gap: 0.5rem; + } +} + @media (max-width: 768px) { .hamburger { display: flex; diff --git a/css/feedback.css b/css/feedback.css index 8b6396aa..307446a4 100644 --- a/css/feedback.css +++ b/css/feedback.css @@ -32,122 +32,6 @@ body::before { z-index: -1; } -/* Navigation Styles */ -.navbar { - background: rgba(0, 0, 0, 0.9); - backdrop-filter: blur(10px); - -webkit-backdrop-filter: blur(10px); - padding: 1rem 0; - position: fixed; - width: 100%; - top: 0; - z-index: 1000; - box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); - border-bottom: 1px solid rgba(255, 255, 255, 0.1); - transition: all 0.3s ease; -} - -.nav-container { - max-width: 1200px; - margin: 0 auto; - padding: 0 20px; - display: flex; - justify-content: space-between; - align-items: center; -} - -.nav-logo h2 { - color: #ff9b36; - font-size: 1.8rem; - font-weight: bold; - margin: 0; - font-family: "Cinzel", serif; - text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); -} - -.nav-menu { - display: flex; - list-style: none; - gap: 2rem; - margin: 0; -} - -.nav-menu a { - display: inline-block; - color: white; - text-decoration: none; - font-weight: 500; - transition: all 0.3s ease-in-out; - position: relative; - padding: 0.5rem 0; -} - -.nav-menu a::after { - content: ""; - position: absolute; - bottom: 0; - left: 0; - width: 0; - height: 2px; - background: #ff9933; - transition: width 0.3s ease; -} - -.nav-menu a:hover::after { - width: 100%; -} - -.nav-menu a:hover { - color: #ff9933; -} - -.nav-buttons { - display: flex; - gap: 1rem; - padding-left: 40px; -} - -.nav-buttons a { - text-decoration: none; - display: inline-flex; - align-items: center; - justify-content: center; - position: relative; - overflow: hidden; - padding: 0.6rem 1.8rem; - border-radius: 16px; - font-weight: 600; - font-size: 1rem; - min-width: 120px; - transition: all 0.3s ease; - gap: 0; - box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); - background: #ff9933; - color: white; -} - -.nav-buttons a span { - display: inline-block; - transition: transform 0.3s ease; -} - -.nav-buttons a i { - opacity: 0; - position: absolute; - right: 1.2rem; - transition: opacity 0.3s ease, transform 0.3s ease; - transform: translateX(-10px); -} - -.nav-buttons a:hover span { - transform: translateX(10px); -} - -.nav-buttons a:hover i { - opacity: 1; - transform: translateX(0); -} - /* Main content styles */ .main-content { padding: 120px 20px 60px; @@ -656,70 +540,9 @@ canvas.confetti-canvas { margin-top: 2rem; } -/* Mobile Navigation */ -.hamburger { - display: none; - flex-direction: column; - cursor: pointer; - gap: 5px; - z-index: 1001; -} - -.hamburger span { - width: 25px; - height: 3px; - background: white; - display: block; - border-radius: 2px; - transition: all 0.3s ease; -} - -.hamburger.active span:nth-child(1) { - transform: translateY(8px) rotate(45deg); -} - -.hamburger.active span:nth-child(2) { - opacity: 0; -} - -.hamburger.active span:nth-child(3) { - transform: translateY(-8px) rotate(-45deg); -} /* Responsive Styles */ @media (max-width: 768px) { - .hamburger { - display: flex; - } - - .nav-menu, - .nav-buttons { - display: none; - flex-direction: column; - position: absolute; - top: 70px; - left: 0; - background-color: rgba(0, 0, 0, 0.95); - width: 100%; - padding: 1rem; - z-index: 100; - } - - .nav-menu.active, - .nav-buttons.active { - display: flex; - } - - .nav-menu li { - margin: 0.5rem 0; - text-align: center; - } - - .nav-buttons { - position: static; - padding: 1rem 0 0; - align-items: center; - } .main-content { padding: 100px 20px 60px; diff --git a/css/navbar.css b/css/navbar.css index 0fb221bb..b5e137ec 100644 --- a/css/navbar.css +++ b/css/navbar.css @@ -1,384 +1,161 @@ +/* Reset */ * { - margin: 0; - padding: 0; - box-sizing: border-box; + margin: 0; + padding: 0; + box-sizing: border-box; } body { - font-family: 'Poppins', sans-serif; - line-height: 1.6; - color: #333; - overflow-x: hidden; - padding-top: 80px; /* Account for fixed navbar */ -} - -/* Override body padding for pages that need custom spacing */ -body.no-navbar-padding { - padding-top: 0; -} - -/* Homepage specific styling - hero section starts right after navbar */ -body.homepage { - padding-top: 0; -} - -.container { - max-width: 1200px; - margin: 0 auto; - padding: 0 20px; + font-family: Arial, sans-serif; } -/* Navigation Styles */ +/* Navbar Container */ .navbar { - background: rgba(0, 0, 0, 0.9); /* Solid black by default */ - backdrop-filter: blur(10px); - -webkit-backdrop-filter: blur(10px); - padding: 1rem 0; - position: fixed; - width: 100%; - top: 0; - z-index: 1000; - box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); - border-bottom: 1px solid rgba(255, 255, 255, 0.1); - transition: all 0.3s ease; - -} - -.nav-container { - max-width: 1200px; - margin: 0 auto; - padding: 0px 20px; - display: flex !important; - justify-content: space-between !important; - align-items: center !important; - flex-direction: row !important; - flex-wrap: nowrap !important; -} - -/* Extra specificity for about-us page */ -.navbar .nav-container { - display: flex !important; - justify-content: space-between !important; - align-items: center !important; -} - -/* Override Bootstrap and other frameworks */ -nav.navbar .nav-container, -div.navbar .nav-container, -.navbar div.nav-container { - display: flex !important; - justify-content: space-between !important; - align-items: center !important; - flex-direction: row !important; -} - -/* Strongest possible override for navbar layout */ -#navbar-container .navbar .nav-container, -body .navbar .nav-container, -html .navbar .nav-container { - display: flex !important; - justify-content: space-between !important; - align-items: center !important; - flex-direction: row !important; - flex-wrap: nowrap !important; - width: 100% !important; - max-width: 1200px !important; - margin: 0 auto !important; - padding: 0px 20px !important; -} - -/* Perfect three-column layout: Logo | Menu | Buttons */ -.navbar .nav-container > * { - flex: 0 0 auto !important; -} - -.navbar .nav-logo { - flex: 0 0 auto !important; - margin-right: auto !important; -} - -.navbar .nav-menu { - flex: 1 !important; - display: flex !important; - justify-content: center !important; - margin: 0 2rem !important; -} - -.navbar .nav-buttons { - flex: 0 0 auto !important; - margin-left: auto !important; -} - -/* Ensure menu items are properly spaced */ -.navbar .nav-menu { - display: flex !important; - list-style: none !important; - gap: 2rem !important; - margin: 0 !important; - justify-content: center !important; - flex: 1 !important; - text-align: center !important; -} - -/* Ensure buttons stay on the right */ -.navbar .nav-buttons { - display: flex !important; - gap: 1rem !important; - margin-left: auto !important; -} - -.side-menu{ - height: 100vh; - width: 0; - position: fixed; - top: 0; - left:0; - background-color: #111; - overflow-x: hidden; - transition: 0.3s; - padding-top: 60px; - z-index:1000; -} -.side-menu ul { - list-style: none; - padding: 0; -} - -.side-menu li { - margin: 15px 0; -} - -.side-menu a { - padding: 10px 25px; - text-decoration: none; - font-size: 18px; + + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 80px; + background: #111; color: white; - display: block; - transition: 0.2s; + z-index: 1000; + box-shadow: 0 2px 5px rgba(0,0,0,0.3); + margin-bottom: 50px; } -.side-menu a:hover { - background: #575757; -} - -.close-btn { - position: absolute; - top: 15px; - right: 25px; - font-size: 30px; - cursor: pointer; - color: white; -} - -/* Ultimate navbar layout fix - this should work on ALL pages */ -.navbar { - background: rgba(0, 0, 0, 0.9) !important; - backdrop-filter: blur(10px); - -webkit-backdrop-filter: blur(10px); - padding: 1rem 0 !important; - position: fixed !important; - width: 100% !important; - top: 0 !important; - z-index: 1000 !important; - box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); - border-bottom: 1px solid rgba(255, 255, 255, 0.1); - transition: all 0.3s ease; -} - -.navbar * { - box-sizing: border-box !important; -} - -.nav-logo h2 { - color: #ff9933; - font-size: 1.8rem; - font-weight: bold; +.nav-container { + display: flex; + justify-content: space-between; + align-items: center; + max-width: 1200px; + margin: 0 auto; + padding: 0.5rem 1rem; } +/* Logo */ .nav-logo h2 a { - text-decoration: none; - color: inherit; + text-decoration: none; + color: #ff9933; + font-size: 1.5rem; + font-weight: bold; } +/* Menu */ .nav-menu { - display: flex; - list-style: none; - gap: 2rem; + display: flex; + list-style: none; + gap: 2rem; } .nav-menu a { - display: inline-block; - color: white; - text-decoration: none; - font-weight: 500; - font-size: 15px; - transition: all 0.3s ease-in-out; + color: #ddd; + text-decoration: none; + font-weight: 500; + transition: 0.3s; } .nav-menu a:hover { - color: #ff9933; - transform: scale(1.05); + color: #ff9933; + border-bottom: 2px solid #ff9933; } +/* Buttons */ .nav-buttons { - display: flex; - gap: 1rem; + display: flex; + gap: 1rem; } .nav-buttons a { - text-decoration: none; - display: inline-flex; - align-items: center; - justify-content: center; - position: relative; - overflow: hidden; - padding: 0.6rem 1.8rem; - border-radius: 16px; - font-weight: 600; - font-size: 1rem; - min-width: 120px; - transition: all 0.3s ease; - gap: 0; - box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); -} - -.nav-buttons a span { - display: inline-block; - transition: transform 0.3s ease; -} - -.nav-buttons a i { - opacity: 0; - position: absolute; - right: 1.2rem; - transition: opacity 0.3s ease, transform 0.3s ease; - transform: translateX(-10px); -} - -/* Hover behavior */ -.nav-buttons a:hover span { - transform: translateX(-8px); -} - -.nav-buttons a:hover i { - opacity: 1; - transform: translateX(0); + text-decoration: none; + padding: 8px 16px; + border-radius: 20px; + font-weight: 600; + transition: 0.3s; } -/* --- Login Button --- */ .btn-login { - background-color: #ff9933; - color: white; - border: 2px solid transparent; - transition: all 0.3s ease; + background: #ff9933; + color: #111; } .btn-login:hover { - background-color: #ffcc00; - color: black; - padding-right: 2.6rem; - transform: translateY(-1px); - box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3); + background: #ffcc00; } -/* --- Signup Button --- */ .btn-signup { - background-color: #ff9933; - color: white; - border: 2px solid transparent; - transition: all 0.3s ease; + background: transparent; + border: 1px solid #ff9933; + color: white; } .btn-signup:hover { - background-color: #ffcc00; - color: black; - padding-right: 3rem; - transform: translateY(-1px); - box-shadow: 0 4px 12px rgba(255, 117, 24, 0.3); -} - -.navbar.scrolled { - background: rgba(0, 0, 0, 0.7); /* Faded black on scroll */ - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); + background: #ff9933; + color: black; } +/* Hamburger Icon */ .hamburger { - display: none; - flex-direction: column; - cursor: pointer; + display: none; + flex-direction: column; + cursor: pointer; } .hamburger span { - width: 25px; - height: 3px; - background: white; - margin: 3px 0; - transition: 0.3s; + width: 25px; + height: 3px; + background: white; + margin: 4px 0; + transition: 0.3s; } -/* Mobile Responsive */ -@media (max-width: 768px) { - .nav-menu { - position: fixed; - left: -100%; - top: 70px; - flex-direction: column; - background-color: rgba(0, 0, 0, 0.95); - width: 100%; - text-align: center; - transition: 0.3s; - padding: 2rem 0; - gap: 1.5rem; - } - - .nav-menu.active { - left: 0; - } +/* Responsive */ +@media (max-width: 1200px) { + .nav-menu, + .nav-buttons { + display: none; + flex-direction: column; + background: #111; + width: 100%; + text-align: center; + padding: 1rem 0; + } - .nav-buttons { - display: none; - } + .nav-menu.active, + .nav-buttons.active { + display: flex; + } - .hamburger { - display: flex; - } + .hamburger { + display: flex; + } - .hamburger.active span:nth-child(2) { - opacity: 0; - } + .nav-container { + flex-wrap: wrap; + } +} - .hamburger.active span:nth-child(1) { - transform: translateY(8px) rotate(45deg); - } +@media (max-width: 768px) { + .nav-menu, + .nav-buttons { + display: none; + flex-direction: column; + background: #111; + width: 100%; + text-align: center; + padding: 1rem 0; + } - .hamburger.active span:nth-child(3) { - transform: translateY(-8px) rotate(-45deg); - } -} + .nav-menu.active, + .nav-buttons.active { + display: flex; + } -/* Back button Css for All pages in Dance category */ - .back-btn - { - position: fixed; - left: 20px; - bottom: 30px; - background-color: #ff9832; - color: white; - border: none; - padding: 12px 20px; - border-radius: 30px; - font-size: 16px; - font-weight: bold; - cursor: pointer; - box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); + .hamburger { display: flex; - align-items: center; - gap: 8px; - transition: all 0.3s ease; - } + } - .back-btn:hover - { - background-color: #ff9832; - transform: scale(1.05); - } \ No newline at end of file + .nav-container { + flex-wrap: wrap; + } +} diff --git a/food-details.css b/food-details.css index 3d0253a6..f73912e0 100644 --- a/food-details.css +++ b/food-details.css @@ -22,6 +22,8 @@ body::before { z-index: -1; } + + /* ✅ Improve container readability */ .food-container { max-width: 800px; diff --git a/index.html b/index.html index 664b5092..c60b6a20 100644 --- a/index.html +++ b/index.html @@ -157,28 +157,7 @@ - - +
@@ -188,8 +167,55 @@

Namaste 🙏

- - + + + + + + + +
diff --git a/pages/about-us.html b/pages/about-us.html index 8afe6db6..62b56da4 100644 --- a/pages/about-us.html +++ b/pages/about-us.html @@ -17,7 +17,53 @@ - + + + + + +
diff --git a/pages/contact-us.html b/pages/contact-us.html index 51f4f276..50754a63 100644 --- a/pages/contact-us.html +++ b/pages/contact-us.html @@ -10,6 +10,14 @@ + + + + + + @@ -18,8 +26,56 @@ + + + + - + + + +
diff --git a/pages/crazyfacts.html b/pages/crazyfacts.html index 5ccb4074..d7b5d676 100644 --- a/pages/crazyfacts.html +++ b/pages/crazyfacts.html @@ -844,10 +844,53 @@ - - --> - +
diff --git a/pages/festival-calendar.html b/pages/festival-calendar.html index 96aac72b..21d4bd5d 100644 --- a/pages/festival-calendar.html +++ b/pages/festival-calendar.html @@ -22,7 +22,52 @@ - + + + + +
diff --git a/test_navbar.html b/test_navbar.html new file mode 100644 index 00000000..08bfbcfe --- /dev/null +++ b/test_navbar.html @@ -0,0 +1,95 @@ + + + + + + Navbar Test + + + + + + + +
+

Navbar Test Page

+

This page is designed to test the navbar responsiveness on different screen sizes.

+

Resize your browser window to test the navbar behavior on:

+
    +
  • Large screens (above 1200px)
  • +
  • Medium screens (768px - 1200px)
  • +
  • Small screens (below 768px)
  • +
+

The hamburger menu will now appear at 1200px width and below, preventing any shrinking or overlapping issues.

+
+ + + + \ No newline at end of file diff --git a/test_navbar_1200.html b/test_navbar_1200.html new file mode 100644 index 00000000..91fd1530 --- /dev/null +++ b/test_navbar_1200.html @@ -0,0 +1,95 @@ + + + + + + Navbar Test - 1200px Breakpoint + + + + + + + +
+

Navbar Test Page - 1200px Breakpoint

+

This page is designed to test the navbar responsiveness on different screen sizes.

+

Resize your browser window to test the navbar behavior:

+
    +
  • Large screens (above 1200px) - Full menu visible
  • +
  • Medium screens (768px - 1200px) - Hamburger menu appears
  • +
  • Small screens (below 768px) - Hamburger menu appears
  • +
+

The hamburger menu now appears at 1200px width and below, preventing any shrinking or overlapping issues.

+
+ + + + \ No newline at end of file